]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Consolidate Linux fcntl implementation
[thirdparty/glibc.git] / ChangeLog
1 2017-06-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
4 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5 * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
6 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
7 * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
8 * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
9 * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
10 * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
11 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
12 * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
13 * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
14 * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
15 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
16 fcntl_common and add check for F_GETOWN.
17 (__libc_fcntl): Use SYSCALL_CANCEL macro.
18 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
19 use default implementation.
20
21 2017-06-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
22
23 * elf/dl-tunables.h (tunable_is_name): Move from...
24 * elf/dl-tunables.c (is_name): ... here.
25 (parse_tunables, __tunables_init): Adjust.
26 * manual/tunables.texi: Document glibc.tune.cpu.
27 * sysdeps/aarch64/dl-tunables.list: New file.
28 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
29 cpu_list): New type.
30 (cpu_list): New list of CPU names and their MIDR.
31 (get_midr_from_mcpu): New function.
32 (init_cpu_features): Override MIDR if necessary.
33
34 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
35 (__libc_ifunc_impl_list): Unconditionally select thunderx
36 routine for testing.
37
38 2017-06-30 H.J. Lu <hongjiu.lu@intel.com>
39
40 [BZ #21120]
41 * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
42 * sysdeps/generic/malloc-alignment.h: Here. New file.
43 * sysdeps/i386/malloc-alignment.h: Likewise.
44 * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
45
46 2017-06-30 Florian Weimer <fweimer@redhat.com>
47
48 * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
49 variable.
50 (test_file_contents): Use it.
51
52 2017-06-30 Florian Weimer <fweimer@redhat.com>
53
54 * resolv/res_init.c (res_setoptions): Remove source argument.
55 (res_vinit_1): Adjust.
56
57 2017-06-30 Florian Weimer <fweimer@redhat.com>
58
59 * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
60
61 2017-06-30 Florian Weimer <fweimer@redhat.com>
62
63 * resolv/res_data.c: Reformat to GNU style.
64 (res_close): Update comments.
65
66 2017-06-30 Florian Weimer <fweimer@redhat.com>
67
68 * resolv/res_data.c (res_query, res_search, res_querydomain)
69 (hostalias): Move to ...
70 * resolv/res_Send.c (res_query, res_search, res_querydomain)
71 (hostalias): here.
72
73 2017-06-30 Florian Weimer <fweimer@redhat.com>
74
75 * resolv/res_data.c (res_isourserver, res_send): Move to ...
76 * resolv/res_send.c (res_isourserver, res_send): here.
77
78 2017-06-30 Florian Weimer <fweimer@redhat.com>
79
80 * resolv/res_debug.c (_res_opcodes): Rename ...
81 (res_opcodes): ... as compatibility symbol.
82 (fp_nquery): Use res_opcodes.
83 * include/resolv.h (_res_opcodes): Remove declaration.
84
85 2017-06-30 Florian Weimer <fweimer@redhat.com>
86
87 * include/resolv.h (res_pquery): Remove declaration.
88 * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
89 functions.
90 (_res_opcodes): Remove variable.
91 * resolv/res_debug.c (do_section): Receive pfcode instead of
92 statp.
93 (res_pquery): Rename ...
94 (fp_nquery): to this function. Skip unnecessary _res
95 initialization.
96 (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
97
98 2017-06-30 Florian Weimer <fweimer@redhat.com>
99
100 * resolv/res_debug.h: Remove file.
101 * resolv/README: Adjust.
102
103 2017-06-30 Florian Weimer <fweimer@redhat.com>
104
105 * resolv/res_end.c (DEBUG): Remove macro and preprocessor
106 conditionals.
107 (Aerror, Perror): Remove function definitions.
108
109 2017-06-30 Florian Weimer <fweimer@redhat.com>
110
111 * resolv/res_data.c (res_mkquery): Move ...
112 * resolv/res_mkquery.c (res_mkquery): to here.
113
114 2017-06-30 Florian Weimer <fweimer@redhat.com>
115
116 * resolv/res_mkquery.c: Reformat to GNU style.
117 (T_OPT): Remove definition. It is present in the header file.
118
119 2017-06-30 Florian Weimer <fweimer@redhat.com>
120
121 * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
122 conditionals.
123
124 2017-06-30 Florian Weimer <fweimer@redhat.com>
125
126 * support/support_capture_subprocess_check.c
127 (support_capture_subprocess_check): Report actual exit status.
128
129 2017-06-30 Florian Weimer <fweimer@redhat.com>
130
131 [BZ #19570]
132 * resolv/res_send.c (nameserver_offset): New function.
133 (__libc_res_nsend): Use it to implement RES_ROTATE.
134 (get_nsaddr): Add assert with name server
135 range check.
136 * resolv/Makefile (xtests): Add tst-resolv-rotate.
137 (tst-resolv-rotate): Link against libpthread.
138 * resolv/tst-resolv-rotate.c: New file.
139
140 2017-06-29 Joseph Myers <joseph@codesourcery.com>
141
142 [BZ #21457]
143 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
144 [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
145 [__WORDSIZE == 64] (MC_PC): Likewise.
146 [__WORDSIZE == 64] (MC_NPC): Likewise.
147 [__WORDSIZE == 64] (MC_Y): Likewise.
148 [__WORDSIZE == 64] (MC_G1): Likewise.
149 [__WORDSIZE == 64] (MC_G2): Likewise.
150 [__WORDSIZE == 64] (MC_G3): Likewise.
151 [__WORDSIZE == 64] (MC_G4): Likewise.
152 [__WORDSIZE == 64] (MC_G5): Likewise.
153 [__WORDSIZE == 64] (MC_G6): Likewise.
154 [__WORDSIZE == 64] (MC_G7): Likewise.
155 [__WORDSIZE == 64] (MC_O0): Likewise.
156 [__WORDSIZE == 64] (MC_O1): Likewise.
157 [__WORDSIZE == 64] (MC_O2): Likewise.
158 [__WORDSIZE == 64] (MC_O3): Likewise.
159 [__WORDSIZE == 64] (MC_O4): Likewise.
160 [__WORDSIZE == 64] (MC_O5): Likewise.
161 [__WORDSIZE == 64] (MC_O6): Likewise.
162 [__WORDSIZE == 64] (MC_O7): Likewise.
163 [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
164 __MC_NGREG if [__USE_MISC].
165 [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
166 [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
167 [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
168 Define fields using __ctx.
169 [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag. Define fields
170 using __ctx.
171 [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
172 (REG_PSR): Define only for [__USE_MISC].
173 (REG_PC): Likewise.
174 (REG_nPC): Likewise.
175 (REG_Y): Likewise.
176 (REG_G1): Likewise.
177 (REG_G2): Likewise.
178 (REG_G3): Likewise.
179 (REG_G4): Likewise.
180 (REG_G5): Likewise.
181 (REG_G6): Likewise.
182 (REG_G7): Likewise.
183 (REG_O0): Likewise.
184 (REG_O1): Likewise.
185 (REG_O2): Likewise.
186 (REG_O3): Likewise.
187 (REG_O4): Likewise.
188 (REG_O5): Likewise.
189 (REG_O6): Likewise.
190 (REG_O7): Likewise.
191 [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
192 [__WORDSIZE == 64] (REG_FPRS): Likewise.
193 (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
194 (gregset_t): Define using __NGREG.
195 (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
196 __SPARC_MAXREGWINDOW if [__USE_MISC].
197 (struct rwindow): Rename to struct __rwindow. Define fields using
198 __ctx.
199 (rw_fp): Define only for [__USE_MISC].
200 (rw_rtn): Likewise.
201 (gwindows_t): Remove struct tag. Define fields using __ctx and
202 __SPARC_MAXREGWINDOW.
203 (MAXFPQ): Define only for [__USE_MISC].
204 (struct fpq): Rename to struct __fpq. Define fields using __ctx.
205 (struct fq): Rename to struct __fq. Define fields using __ctx.
206 (FPU_REGS_TYPE): Define only for [__USE_MISC].
207 (FPU_DREGS_TYPE): Likewise.
208 (V7_FPU_FSR_TYPE): Likewise.
209 (V9_FPU_FSR_TYPE): Likewise.
210 (V9_FPU_FPRS_TYPE): Likewise.
211 [__WORDSIZE == 64] (fpregset_t): Remove struct tag. Define fields
212 using __ctx.
213 [__WORDSIZE != 64] (fpregset_t): Likewise.
214 [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
215 [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
216 [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
217 Rename field filler to __glibc_reserved1.
218 * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
219 (MC_FILLER): Remove.
220
221 2017-06-29 Florian Weimer <fweimer@redhat.com>
222
223 * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
224 Adjust format string.
225 * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
226 dependency.
227
228 2017-06-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
229
230 * sysdeps/posix/spawni.c (__spawni_child): New function.
231 (__spawni): Rename to __spawnix.
232
233 2017-06-29 Florian Weimer <fweimer@redhat.com>
234
235 * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
236 Use it to make the temporary copy at the start of the work buffer.
237 (process_arg): Adjust call to group_number.
238
239 2017-06-29 Florian Weimer <fweimer@redhat.com>
240
241 * stdio-common/vfprintf.c (printf_positional): Use struct
242 scratch_buffer to allocate backing storage for the args_value,
243 args_size, args_type arrays.
244
245 2017-06-29 Florian Weimer <fweimer@redhat.com>
246
247 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
248 scratch_buffer.
249
250 2017-06-29 Florian Weimer <fweimer@redhat.com>
251
252 * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
253 wchar_t builds.
254
255 2017-06-29 Florian Weimer <fweimer@redhat.com>
256
257 * stdio-common/tst-vfprintf-mbs-prec.c: New file.
258 * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
259
260 2017-06-29 Florian Weimer <fweimer@redhat.com>
261
262 * stdio-common/tst-vfprintf-user-type.c: New file.
263 * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
264
265 2017-06-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
266
267 * posix/tst-spawn2.c (do_test): Use libsupport.
268 * posix/tst-spawn3.c (do_test): Likewise.
269
270 2017-06-28 Joseph Myers <joseph@codesourcery.com>
271
272 * math/gen-tgmath-tests.py (Tests.__init__): Define
273 __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
274
275 * math/tgmath.h: Include <bits/libc-header-start.h> and
276 <bits/floatn.h>.
277 (__TGMATH_F128): New macro.
278 (__TGMATH_CF128): Likewise.
279 (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
280 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
281 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
282 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
283 (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
284 (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
285 (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
286 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
287 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
288 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
289 (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
290 (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
291 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
292 (__TGMATH_BINARY_REAL_IMAG): Likewise.
293 (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
294 [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
295 * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
296 _FloatNx types if the corresponding HUGE_VAL macros are defined.
297
298 * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
299 * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
300 complex arguments.
301
302 [BZ #21687]
303 * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
304 (totalorder): Use it.
305 (totalordermag): Likewise.
306 * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
307 totalorder and totalordermag.
308 * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
309 totalordermag in arguments of calls to those functions.
310 (NCALLS): Change to 134.
311
312 * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
313 cast to return type argument.
314 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
315 (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
316 (llrint): Likewise.
317 (lround): Likewise.
318 (llround): Likewise.
319 (ilogb): Likewise.
320 (llogb): Likewise.
321 (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
322 (ufromfp): Likewise.
323 (fromfpx): Likewise.
324 (ufromfpx): Likewise.
325
326 [BZ #21607]
327 * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
328 [LDBL_MANT_DIG > DBL_MANT_DIG].
329 * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
330 * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
331 * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
332 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
333 * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
334 * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
335 * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
336 * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
337 * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
338 * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
339 * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
340 * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
341 * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
342 * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
343 * math/test-tgmath.c: Include <float.h>.
344 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
345 DBL_MANT_DIG].
346 * math/test-tgmath2.c: Include <float.h>.
347 [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
348 DBL_MANT_DIG].
349
350 * math/gen-tgmath-tests.py: New file.
351 * math/Makefile [PYTHON] (tests): Add test-tgmath3.
352 [PYTHON] (generated): Add test-tgmath3.c.
353 [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
354 [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
355
356 * configure.ac (AS): Require binutils 2.25 or later.
357 (LD): Likewise.
358 * configure: Regenerated.
359 * sysdeps/s390/configure.ac (AS): Remove version check.
360 * sysdeps/s390/configure: Regenerated.
361 * sysdeps/x86_64/configure.ac (AS): Remove version check.
362 * sysdeps/x86_64/configure: Regenerated.
363 * manual/install.texi (Tools for Compilation): Document
364 requirement for binutils 2.25 or later.
365 * INSTALL: Regenerated.
366
367 2017-06-28 H.J. Lu <hongjiu.lu@intel.com>
368
369 [BZ #14995]
370 * configure.ac: Allow gold 1.14 or above to configire glibc
371 * configure: Regenerated.
372
373 2017-06-28 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #21457]
376 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
377 struct tag.
378 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
379 Likewise.
380 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
381 Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
383 Declare struct type with __ctx.
384 [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
385 tag.
386 (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
387 and regs field name.
388
389 2017-06-27 Joseph Myers <joseph@codesourcery.com>
390
391 * elf/loadtest.c (OUT): Define using do { } while (0).
392
393 * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
394 (DO_NUMBER_SPACEPAD): Likewise.
395
396 2017-06-27 Prakhar Bahuguna <prakhar.bahuguna@arm.com>
397
398 * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
399 sysdep_routines.
400 * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
401 __memchr_neon.
402 Add ifunc definitions for __memchr_neon and __memchr_noneon.
403 * sysdeps/arm/armv7/multiarch/memchr.S: New file.
404 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
405 * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
406
407 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
408
409 * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
410 Use vector and cu21 instruction.
411 * sysdeps/s390/multiarch/utf8-utf16-z9.c:
412 Add __to_utf8_loop_vx_cu in ifunc resolver.
413
414 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
415
416 * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
417 Use vector and cu24 instruction.
418
419 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
420
421 * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
422 Use vector and cu42 instruction.
423 * sysdeps/s390/multiarch/utf16-utf32-z9.c:
424 Add __to_utf16_loop_vx_cu in ifunc resolver.
425
426 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
427
428 * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
429 Use vector and cu41 instruction.
430 * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
431 in ifunc resolver.
432
433 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
434
435 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
436 Add vxd, vxe, gs flag.
437 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
438 HWCAP_S390_GS capability.
439 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
440 (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
441
442 2017-06-27 H.J. Lu <hongjiu.lu@intel.com>
443
444 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
445 the first 32 bytes before checking size when size >= 32 bytes.
446 Replace vpmovmskb/subl/jnz with vptest/jnc.
447
448 2017-06-27 Stefan Liebler <stli@linux.vnet.ibm.com>
449
450 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
451 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
452
453 2017-06-27 Florian Weimer <fweimer@redhat.com>
454
455 Work around test timeouts with ICMP rate limiting on localhost.
456 * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
457 function.
458 (do_test): Call it.
459
460 2017-06-27 Florian Weimer <fweimer@redhat.com>
461
462 Call _res_hconf_init from __res_vinit.
463 * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
464 * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
465 (NEED__RES): Define.
466 * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
467 (NEED__RES): Define.
468 * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
469 * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
470 * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
471 (NEED__RES): Define.
472 * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
473 _res_hconf_init.
474 * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
475 * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
477 _res_hconf_init.
478
479 2017-06-26 Joseph Myers <joseph@codesourcery.com>
480
481 * sysdeps/ia64/Implies: Add ieee754/float128.
482 * sysdeps/ia64/bits/floatn.h: New file.
483 * sysdeps/ia64/float128-abi.h: Likewise.
484 * manual/math.texi (Mathematics): Document support for _Float128
485 on ia64.
486 * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
487 Makefile variable.
488 * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
489 * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
490 * sysdeps/ia64/fpu/sfp-machine.h: New file. Based on libgcc.
491 * sysdeps/ia64/math-tests.h: New file.
492 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
493 based on TEST_COND_binary128 for [__ia64__].
494 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
495 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
496
497 [BZ #21457]
498 * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
499 ucontext_t.
500 * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
501 * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
502 * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
503 * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
504 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
505 ucontext): Likewise.
506 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
507 Likewise.
508 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
509 Likewise.
510 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
511 Likewise.
512 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
513 Likewise.
514 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
515 Likewise.
516 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
517 Likewise.
518 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
519 Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
521 ucontext): Likewise.
522 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
523 Likewise.
524 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
525 Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
527 Likewise.
528 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
529 Likewise.
530 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
531 Likewise.
532 * sysdeps/powerpc/powerpc32/backtrace.c (struct
533 rt_signal_frame_32): Likewise.
534 * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
535 Likewise.
536 * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
537 kernel_rt_sigframe): Likewise.
538 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
539 Likewise.
540 * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
541 Likewise.
542 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
543 Likewise.
544 * sysdeps/unix/sysv/linux/hppa/profil-counter.h
545 (__profil_counter): Likewise.
546 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
547 (SIGCONTEXT): Likewise.
548 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
549 kernel_rt_sigframe): Likewise.
550 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
551 kernel_rt_sigframe): Likewise.
552 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
553 Likewise.
554 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
555 Likewise.
556 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
557 (__start_context): Likewise.
558 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
559 Likewise.
560 * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
561 Likewise.
562 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
563 Likewise.
564
565 * sysdeps/i386/Implies: Add ieee754/float128.
566 * sysdeps/x86_64/Implies: Likewise.
567 * sysdeps/x86/bits/floatn.h: New file.
568 * sysdeps/x86/float128-abi.h: Likewise.
569 * manual/math.texi (Mathematics): Document support for _Float128
570 on x86_64 and x86.
571 * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
572 (math_opt_barrier): Do not put _Float128 values in floating-point
573 registers.
574 (math_force_eval): Likewise.
575 [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
576 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
577 to Makefile variable.
578 * sysdeps/x86/fpu/e_sqrtf128.c: New file.
579 * sysdeps/x86/fpu/sfp-machine.h: Likewise. Based on libgcc.
580 * sysdeps/x86/math-tests.h: New file.
581 * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
582 * math/libm-test-getpayload.inc (getpayload_test_data): Use
583 XFAIL_FLOAT128_PAYLOAD.
584 * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
585 * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
586 * math/libm-test-totalordermag.inc (totalordermag_test_data):
587 Likewise.
588 * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
589 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
594 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
595 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
597
598 2017-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
599
600 [BZ #21512]
601 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
602 syscall instead of jump to _exit.
603 (CLONE_VM_BIT): Remove unused define.
604 (CLONE_VM): Likewise.
605 (CLONE_THREAD_BIT): Likewise.
606 (CLONE_THREAD): Likewise.
607 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
608 (CLONE_VM): Remove unused define.
609 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
610 (CLONE_VM): Remove unused define.
611 (CLONE_THREAD): Likewise.
612 * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
613 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
614 syscall instead of jump to _exit.
615 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
616 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
617 (CLONE_VM): Remove unused define.
618 (CLONE_THREAD): Likewise.
619 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
620 (CLONE_VM): Remove unused define.
621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
622 Likewise.
623 (CLONE_VM): Remove unused define.
624 (CLONE_THREAD): Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
626 Likewise.
627 (CLONE_VM): Remove unused define.
628 (CLONE_THREAD): Likewise.
629 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
630 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
631 (CLONE_VM): Remove unused define.
632 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
633 (CLONE_VM): Remove unused define.
634 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
635 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
636 (CLONE_VM): Remove unused define.
637 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
638 * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
639
640 2017-06-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
641 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
642
643 * manual/math.texi (Mathematics): Mention the enabling of float128
644 for powerpc64le.
645 * sysdeps/powerpc/bits/floatn.h: New file.
646 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
647 * sysdeps/powerpc/fpu/math_private.h:
648 (__ieee754_sqrtf128): New inline override.
649 * sysdeps/powerpc/powerpc64le/Implies-before: New file.
650 * sysdeps/powerpc/powerpc64le/Makefile: New file.
651 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
652 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
653 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
655 Updated.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
657 Likewise.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
659 New file.
660
661 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
662
663 * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
664 * sysdeps/powerpc/powerpc64le/configure: Update.
665
666 2017-06-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
667 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
668
669 * INSTALL: Regenerate.
670 * manual/install.texi (Recommended Tools for Compilation): Mention
671 the powerpc64le-specific requirement in the manual.
672 * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
673 for the compiler features required for building float128.
674 * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
675
676 2017-06-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
677
678 * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
679 before comparing with another char.
680
681 2017-06-25 Rical Jasan <ricaljasan@pacific.net>
682
683 * manual/math.texi: Fix a grammatical error.
684
685 2017-06-24 Florian Weimer <fweimer@redhat.com>
686
687 [BZ #21295]
688 * resolv/tst-resolv-basic.c (do_test): Add new test cases.
689
690 2017-06-24 Dmitry Bilunov <kmeaw@kmeaw.com>
691
692 [BZ #21295]
693 * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
694 Append addresses at the end of the list.
695
696 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
697
698 [BZ #21666]
699 * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
700 (loc2): Likewise.
701 (locs): Likewise.
702
703 2017-06-23 Florian Weimer <fweimer@redhat.com>
704
705 [BZ #16637]
706 inet_pton: Reject invalid IPv6 addresses with many leading zeros.
707 * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
708 digits between colons.
709 * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
710
711 2017-05-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
712 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
713
714 * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
715 (__sched_get_prioriry_min): Likewise.
716 * include/sys/mman.h (__mmap): Likewise.
717 (__mmap64): Likewise.
718 (__munmap): Likewise.
719 (__mprotect): Likewise.
720 * include/termios.h (__tcsetattr): Likewise.
721 * include/time.h (__nanosleep): Use hidden_proto instead of
722 libc_hidden_proto.
723 * posix/nanosleep.c (__nanosleep): Likewise.
724 * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
725 __sched_get_priority_min, and __sched_get_priority_max under
726 GLIBC_PRIVATE.
727 * nptl/allocatestack.c (__free_stacks): Use internal definition for
728 libc symbols.
729 (change_stack_perm): Likewise.
730 (change_stack_perm): Likewise.
731 (allocate_stack): Likewise.
732 * sysdeps/posix/gethostname.c: Likewise.
733 * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
734 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
736 * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
737 (__pthread_key_delete): Likewise.
738 (__pthread_detach): Likewise.
739 (__pthread_cancel): Likewise.
740 (__pthread_mutex_trylock): Likewise.
741 (__pthread_mutexattr_init): Likewise.
742 (__pthread_mutexattr_settype): Likewise.
743 * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
744 create alias for exported one.
745 * nptl/pthread_join.c (pthread_join): Likewise.
746 * nptl/pthread_detach.c (pthread_detach): Likewise.
747 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
748 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
749 * nptl/pthread_create.c: Change static requirements for pthread
750 symbols.
751 * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
752 for internal definition.
753 * nptl/pthread_exit.c (__pthread_exit): Likewise.
754 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
755 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
756 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
757 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
758 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
759 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
760 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
761 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
762 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
763 Likewise.
764 * nptl/pthread_self.c (__pthread_self): Likewise.
765 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
766 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
767 * misc/mmap.c (__mmap): Add internal symbol definition.
768 * misc/mmap.c (__mmap64): Likewise.
769 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
770 * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
771 (__mmap64): Likewise.
772 * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
773 Add __uname.
774
775 2017-06-23 Joseph Myers <joseph@codesourcery.com>
776
777 * sysdeps/i386/fpu/libm-test-ulps: Update.
778 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
779
780 * libm-test-support.c (check_float_internal): Clear exceptions at
781 end of function.
782 (check_int): Likewise.
783 (check_long): Likewise.
784 (check_bool): Likewise.
785 (check_longlong): Likewise.
786 (check_intmax_t): Likewise.
787 (check_uintmax_t): Likewise.
788
789 * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
790 Do not declare.
791 * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
792 __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
793 redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
794
795 2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
796
797 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
798 Replace movzbl and orl with movb.
799
800 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
801
802 * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
803 (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
804 and HUGE_VAL_FNx.
805 (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
806 Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
807 are in math.h, to avoid having to list the _FloatN and _FloatNx
808 variants as well. Likewise for the cabs functions.
809 (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
810 ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
811 Mention that _FloatN and _FloatNx variants of scalbn and scalbln
812 come from TS 18661-3, since this section explicitly states that
813 these functions come from BSD.
814 (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
815 truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
816 roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
817 llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
818 fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
819 ufromfpxfN, ufromfpxfNx, modffN, modffNx.
820 (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
821 remainderfNx.
822 (Setting and modifying single bits of FP values): Document
823 copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
824 nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
825 canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
826 setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
827 (Floating-Point Comparison Functions): Document totalorderfN,
828 totalorderfNx, totalordermagfN, totalordermagfNx.
829 (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
830 fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
831 fdimfN, fdimfNx, fmafN, fmafNx.
832 (Complex Numbers): Document the complex types: _FloatN complex and
833 _FloatNx complex.
834 (rojections, Conjugates, and Decomposing of Complex Numbers):
835 Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
836 cargfN, cargfNx, cprojfN, cprojfNx.
837 * manual/math.texi (Mathematics): Mention that the _FloatN and
838 _FloatNx variants of the math functions come from TS 18661-3,
839 unless otherwise stated.
840 (Predefined Mathematical Constants): Document the _FloatN and
841 _FloatNx variants of the macros prefixed with M_.
842 (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
843 tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
844 ccosfNx, ctanfN, ctanfNx.
845 (Inverse Trigonometric Functions): Document asinfN, asinfNx,
846 acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
847 (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
848 exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
849 log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
850 llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
851 hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
852 clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
853 cpowfNx.
854 (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
855 tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
856 asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
857 casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
858 (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
859 lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
860 j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
861 ynfN, ynfNx.
862
863 2017-06-23 Florian Weimer <fweimer@redhat.com>
864
865 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
866
867 2017-06-23 Florian Weimer <fweimer@redhat.com>
868
869 * resolv/res_libc.c: Reformat to GNU style.
870
871 2017-06-23 Florian Weimer <fweimer@redhat.com>
872
873 * resolv/resolv-internal.h (__res_initstamp): Declare.
874 * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
875 It is implied by the declaration.
876 * resolv/res_libc.c (__res_initstamp): Remove declaration.
877
878 2017-06-23 Florian Weimer <fweimer@redhat.com>
879
880 [BZ #21662]
881 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
882 Use only 24 bits of the register before the subtraction.
883 * string/test-memcmp.c (check1): Check with different lengths.
884
885 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
886
887 * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
888 $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
889
890 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
891
892 * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
893 Enable generation of float128 entries on the error table.
894
895 2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
896
897 * include/float.h: Include libc-header-start.h to get the
898 definition of __GLIBC_USE.
899
900 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
901
902 * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
903 rearranged code and doubles float types.
904
905 2017-06-23 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
906
907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
908 s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
909
910 2017-06-23 Paul A. Clarke <pc@us.ibm.com>
911
912 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
913 to errno, and simplify remaining related code.
914
915 2017-06-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
916
917 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
918 PPC_FEATURE2_SCV.
919 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
920 and darn.
921
922 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
923
924 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
925 the implementation-specific function name and remove unneeded macros
926 definition.
927 * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
928 function name if not defined and pass as parameter to macros
929 accordingly.
930
931 2017-06-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
932
933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
934 (libm-sysdep_routines): Add s_llroundf-ppc64.
935 * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
936 (__llroundf): Define as strong alias of __llround.
937 (llroundf): Define as weak alias of __llround.
938 (__lroundf): Define as strong alias of __llround.
939 (lroundf): Define as weak alias of __llround.
940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
944 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
946 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
947
948 2017-06-22 Joseph Myers <joseph@codesourcery.com>
949
950 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
951 [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
952
953 * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
954 (MATH_TESTS_TG): New macro.
955 (SNAN_TESTS_float128): Likewise.
956 (ROUNDING_TESTS_float128): Likewise.
957 (EXCEPTION_TESTS_float128): Likewise.
958 (SNAN_TESTS): Define using MATH_TESTS_TG.
959 (ROUNDING_TESTS): Likewise.
960 (EXCEPTION_TESTS): Likewise.
961
962 * sysdeps/ieee754/float128/float128_private.h
963 [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
964 pass it to SET_RESTORE_ROUNDF128.
965
966 * sysdeps/ieee754/float128/float128_private.h: Include
967 <ieee754.h>.
968
969 * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
970 typeof to argument passed to __builtin_types_compatible_p.
971 (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
972
973 * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
974 <errno.h>.
975 * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
976 * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
977 * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
978 * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
979 * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
980 * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
981 * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
982 * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
983 * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
984 * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
985 * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
986 * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
987 * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
988 * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
989 * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
990 * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
991 * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
992 * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
993 * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
994 * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
995 * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
996 * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
997
998 * sysdeps/ieee754/float128/strtof128_l.c: Include
999 <bits/types/locale_t.h> instead of <xlocale.h>.
1000 * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1001 * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1002
1003 2017-06-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1004
1005 * benchtests/scripts/benchout_strings.schema.json: New file.
1006 * benchtests/scripts/compare_strings.py: New file.
1007
1008 * benchtests/bench-memcpy-large.c: Include json-lib.h.
1009 (do_one_test): Print json.
1010 (do_test): Likewise.
1011 (test_main): Likewise.
1012 * benchtests/bench-memcpy-random.c: Include json-lib.h.
1013 (do_one_test): Print json.
1014 (do_test): Likewise.
1015 (test_main): Likewise.
1016 * benchtests/bench-memcpy.c: Include json-lib.h.
1017 (do_one_test): Print json.
1018 (do_test): Likewise.
1019 (test_main): Likewise.
1020
1021 * benchtests/json-lib.h: Include inttypes.h.
1022 (json_attr_int, json_attr_int, json_element_string,
1023 json_element_int, json_element_uint): New functions.
1024 * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1025 json_element_string, json_element_int, json_element_uint): New
1026 functions.
1027
1028 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1029
1030 * manual/arith.texi (Remainder Functions): Describe remainder as
1031 primary and drem as an alternative name. Change the comment on
1032 remainder to ISO, since it is defined in ISO C99.
1033
1034 2017-06-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1035
1036 * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1037 macro expansion.
1038 (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1039
1040 2017-06-22 Mike FABIAN <mfabian@redhat.com>
1041
1042 [BZ #21533]
1043 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1044 201706L for Unicode 10.0.
1045
1046 2017-06-21 Benjamin Cama <b.cama@kerlink.fr>
1047
1048 [BZ #21657]
1049 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1050 on node-local addresses.
1051 * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1052
1053 2017-06-21 Florian Weimer <fweimer@redhat.com>
1054
1055 * intl/loadmsgcat.c: Remove alloca support.
1056 (_nl_load_domain): Use calloc instead of alloca.
1057
1058 2017-04-21 Florian Weimer <fweimer@redhat.com>
1059
1060 * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1061 (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1062 alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1063 alloc_buffer_create_failure.
1064 * malloc/Versions (__libc_alloc_buffer_alloc_array)
1065 (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1066 (__libc_alloc_buffer_copy_string)
1067 (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1068 * malloc/alloc_buffer_alloc_array.c: New file.
1069 * malloc/alloc_buffer_allocate.c: Likewise.
1070 * malloc/alloc_buffer_copy_bytes.c: Likewise.
1071 * malloc/alloc_buffer_copy_string.c: Likewise.
1072 * malloc/alloc_buffer_create_failure.c: Likewise.
1073 * malloc/tst-alloc_buffer.c: Likewise.
1074
1075 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1078 strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1079 strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1080 strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1081 * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1082 * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1083 * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1084 * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1085 * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1086 * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1087 * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1088 * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1089 * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1090 * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1091 * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1092 * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1093 * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1094 * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1095 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1096 * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1097 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1098 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1099 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1100 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1101 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1102 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1103 (STRCMP_SSE42): New. Defined to __strcmp_sse42 if not defined.
1104 [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1105 "locale-defines.h".
1106 (UPDATE_STRNCMP_COUNTER): New.
1107 (SECTION): Likewise.
1108 (GLABEL): Likewise.
1109 (LABEL): Likewise.
1110 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1111 for libc.a.
1112
1113 2017-06-21 Joseph Myers <joseph@codesourcery.com>
1114
1115 [BZ #21622]
1116 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1117 Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1118 __USE_MISC].
1119 (SA_NODEFER): Likewise.
1120 (SA_RESETHAND): Likewise.
1121
1122 2017-06-21 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1125 * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1126 Remove security_level on all fields.
1127 * manual/tunables.texi: Replace ifunc with hwcaps.
1128 * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1129 Renamed to ..
1130 (TUNABLE_CALLBACK (set_hwcaps)): This.
1131 (init_cpu_features): Updated.
1132 * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1133 data_cache_size, data_cache_size and non_temporal_threshold to
1134 unsigned long int.
1135 * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1136 (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1137 (TUNABLE_CALLBACK (set_hwcaps)): This. Update comments. Don't
1138 use DEFAULT_STRLEN.
1139
1140 2017-06-21 Florian Weimer <fweimer@redhat.com>
1141
1142 * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1143 asprintf to construct an absolute pathname.
1144
1145 2017-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1146
1147 * misc/tst-preadvwritev2-common.c: New file.
1148 * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1149 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1150
1151 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1152
1153 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1154 annotation.
1155 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1156
1157 2017-06-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1158
1159 * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1160 hidden __GI__dl_argv symbol.
1161
1162 2017-06-21 Florian Weimer <fweimer@redhat.com>
1163
1164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1165 to parse addresses with IPv6 scope IDs.
1166
1167 2017-06-21 Florian Weimer <fweimer@redhat.com>
1168
1169 Add the __inet_pton_length helper function.
1170 * resolv/resolv-internal.h (__inet_pton_length): Declare.
1171 * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1172 Add length argument.
1173 (__inet_pton): New function.
1174 (inet_pton4): Add length argument.
1175 (hex_digit_value): New function.
1176 (inet_pton6): Add length argument. Call hex_digit_value. Use
1177 memmove and memset to fill :: gap.
1178 * resolv/Makefile (tests, tsts-static, tests-internal): Add
1179 tst-inet_pton.
1180 * resolv/tst-inet_pton.c: New file.
1181 * support/Makefile (libsupport-routines): Add xmprotect.
1182 * support/xunistd.h (xmprotect): Declare.
1183 * support/xmprotect.c: New file.
1184
1185 2017-06-21 Florian Weimer <fweimer@redhat.com>
1186
1187 Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1188 * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1189 (call_gai, check_ai): New functions.
1190 (expect_failure, expect_success): Use them. Add logging.
1191
1192 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1193
1194 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1195 (sysdep_routines): Add memchr_power8.
1196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1197 (memchr): Add __memchr_power8 to list of memchr functions.
1198 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1199 * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1200 (memchr): Add __memchr_power8 to ifunc list.
1201 * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1202
1203 2017-06-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1204
1205 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1206 (__llrintf): Define as strong alias of __llrint.
1207 (llrintf): Define as weak alias of __llrint.
1208 (__lrintf): Define as strong alias of __llrint.
1209 (lrintf): Define as weak alias of __llrint.
1210 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1211 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1212 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Remove file content.
1213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1214
1215 2017-06-20 Zack Weinberg <zackw@panix.com>
1216
1217 * bits/signum-generic.h: Renamed from bits/signum.h.
1218 Add proper multiple include guard and misuse check.
1219 Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1220 Move definition of SIGIO to "archaic names for compatibility" section.
1221 * bits/signum.h: New file which just includes bits/signum-generic.h.
1222 * sysdeps/unix/bsd/bits/signum.h
1223 * sysdeps/unix/sysv/linux/bits/signum.h
1224 * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1225 * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1226 * sysdeps/unix/sysv/linux/mips/bits/signum.h
1227 * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1228 Just include <bits/signum-generic.h> and then add or adjust
1229 signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1230
1231 * signal/Makefile: Install bits/signum-generic.h.
1232 * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1233
1234 * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1235 universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1236
1237 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1238 * sysdeps/unix/sysv/linux/Makefile: Run it.
1239
1240 2017-06-20 Zack Weinberg <zackw@panix.com>
1241
1242 * locale/xlocale.h: Rename to...
1243 * locale/bits/types/__locale_t.h: ...here. Adjust commentary.
1244 Only define struct __locale_struct and __locale_t, not locale_t.
1245 * locale/bits/types/locale_t.h: New file; define locale_t here.
1246 * locale/Makefile (headers): Update to match.
1247
1248 * include/xlocale.h: Delete wrapper.
1249 * include/bits/types/__locale_t.h: New wrapper.
1250 * include/bits/types/locale_t.h: New wrapper.
1251
1252 * ctype/ctype.h, include/printf.h, include/time.h
1253 * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1254 * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1255 * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1256 Correct outdated comments regarding the standardization status of
1257 the functions that take locale_t arguments.
1258
1259 * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1260 * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1261 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1262 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1263 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1264 * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1265 Don't include xlocale.h. If necessary, include locale.h instead.
1266
1267 * stdlib/strtold_l.c: Unconditionally include wchar.h.
1268
1269 * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1270 * include/monetary.h, include/stdlib.h, include/time.h
1271 * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1272 * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1273 * locale/localeinfo.h, locale/newlocale.c
1274 * locale/nl_langinfo_l.c, locale/uselocale.c
1275 * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1276 * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1277 * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1278 * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1279 * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1280 * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1281 * string/strings.h, string/strncase.c, string/strxfrm_l.c
1282 * sysdeps/ieee754/float128/strtof128_l.c
1283 * sysdeps/ieee754/float128/wcstof128.c
1284 * sysdeps/ieee754/float128/wcstof128_l.c
1285 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1286 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1288 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1289 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1290 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1291 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1292 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1293 * sysdeps/x86_64/strcasecmp_l-nonascii.c
1294 * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1295 * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1296 * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1297 * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1298 * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1299 * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1300 * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1301 * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1302 * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1303 Change all uses of __locale_t to locale_t.
1304
1305 2017-06-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1306
1307 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1308 for !__OFF_T_MATCHES_OFF64_T.
1309 * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1310 implementation based on open64.
1311 * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1312 * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1313
1314 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1315
1316 * elf/dl-tunables.list: Move x86 specific tunables to ...
1317 * sysdeps/x86/dl-tunables.list: Here. New file.
1318
1319 2017-06-20 Joseph Myers <joseph@codesourcery.com>
1320
1321 [BZ #21635]
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1323 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1324 * conform/data/signal.h-data (uc_mcontext): XFAIL for
1325 powerpc32-linux.
1326 * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1327
1328 [BZ #21634]
1329 * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1330 (conformtest-xfail-conds): New variable.
1331 * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1332 * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1333
1334 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1335
1336 * benchtests/powf-inputs: Add reduced trace from wrf.
1337
1338 2017-06-20 H.J. Lu <hongjiu.lu@intel.com>
1339 Erich Elsen <eriche@google.com>
1340
1341 * elf/dl-tunables.list (tune): Add ifunc,
1342 x86_non_temporal_threshold,
1343 x86_data_cache_size and x86_shared_cache_size.
1344 * manual/tunables.texi: Document glibc.tune.ifunc,
1345 glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1346 and glibc.tune.x86_non_temporal_threshold.
1347 * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1348 * sysdeps/x86/cpu-tunables.c: Likewise.
1349 * sysdeps/x86/cacheinfo.c
1350 (init_cacheinfo): Check and get data cache size, shared cache
1351 size and non temporal threshold from cpu_features.
1352 * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1353 New.
1354 [HAVE_TUNABLES] Include <unistd.h>.
1355 [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1356 [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1357 [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1358 IFUNC selection, data cache size, shared cache size and non
1359 temporal threshold.
1360 * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1361 shared_cache_size and non_temporal_threshold.
1362
1363 2017-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1364
1365 * benchtests/README: Describe workload feature.
1366 * benchtests/bench-skeleton.c (main): Add support for
1367 benchmarking traces from workloads.
1368
1369 2017-06-20 Zack Weinberg <zackw@panix.com>
1370
1371 * string/string.h (__mempcpy_inline): Delete.
1372 * sysdeps/x86_64/multiarch/mempcpy.c
1373 * sysdeps/x86_64/multiarch/stpcpy.c:
1374 Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1375 before including string.h.
1376
1377 2017-06-20 Paul A. Clarke <pc@us.ibm.com>
1378
1379 * benchtests/Makefile (bench-math): Add powf.
1380 * benchtests/powf-inputs: New file.
1381
1382 2017-06-20 Zack Weinberg <zackw@panix.com>
1383
1384 * bits/string.h, string/bits/string.h
1385 * sysdeps/aarch64/bits/string.h
1386 * sysdeps/m68k/m680x0/m68020/bits/string.h
1387 * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1388 * sysdeps/x86/bits/string.h: Delete file.
1389
1390 * string/string.h: Don't include bits/string.h.
1391 * string/bits/string3.h: Rename to bits/string_fortified.h.
1392 No need to undef various symbols that the removed headers
1393 might have defined as macros.
1394 * string/Makefile (headers): Remove bits/string.h, change
1395 bits/string3.h to bits/string_fortified.h.
1396 * string/string-inlines.c: Update commentary. Remove definitions
1397 of various macros that nothing looks at anymore. Don't directly
1398 include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1399 compiler-predefined macros.
1400 * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1401 _is_ defined, provide internal hidden alias __strncat.
1402 * include/string.h: Declare internal hidden alias __strncat.
1403 Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1404 not defined.
1405 * include/bits/string3.h: Rename to bits/string_fortified.h,
1406 update to match above.
1407
1408 * sysdeps/i386/string-inlines.c: Define compat symbols for
1409 everything formerly defined by sysdeps/x86/bits/string.h.
1410 Make existing definitions into compat symbols as well.
1411 Remove some no-longer-necessary messing around with macros.
1412
1413 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1415 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1416 * sysdeps/s390/multiarch/mempcpy.c
1417 No need to define _HAVE_STRING_ARCH_mempcpy.
1418 Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1419
1420 * sysdeps/i386/i686/multiarch/strncat-c.c
1421 * sysdeps/s390/multiarch/strncat-c.c
1422 * sysdeps/x86_64/multiarch/strncat-c.c
1423 Define STRNCAT_PRIMARY. Don't change definition of libc_hidden_def.
1424
1425 2017-06-20 Rical Jasan <ricaljasan@pacific.net>
1426
1427 * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1428 (LDBL_DIG): Likewise.
1429 (LDBL_MIN_EXP): Likewise.
1430 (LDBL_MIN_10_EXP): Likewise.
1431 (LDBL_MAX_EXP): Likewise.
1432 (LDBL_MAX_10_EXP): Likewise.
1433 (LDBL_MAX): Likewise.
1434 (LDBL_MIN): Likewise.
1435 (LDBL_EPSILON): Likewise.
1436 (FLT_ROUNDS): Change standard from ISO to C90.
1437 (FLT_RADIX): Likewise.
1438 (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1439 (FLT_DIG, DBL_DIG): Likewise.
1440 (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1441 (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1442 (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1443 (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1444 (FLT_MAX, DBL_MAX): Likewise.
1445 (FLT_MIN, DBL_MIN): Likewise.
1446 (FLT_EPSILON, DBL_EPSILON): Likewise.
1447
1448 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1449
1450 * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1451 [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1452 [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1453 * sysdeps/mips/math-tests.h
1454 [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1455 conditional code.
1456
1457 2017-06-19 Florian Weimer <fweimer@redhat.com>
1458
1459 * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1460 It cannot change while __libc_setlocale_lock is acquired.
1461
1462 2017-06-19 Florian Weimer <fweimer@redhat.com>
1463
1464 * elf/rtld.c (audit_list_string): New variable.
1465 (audit_list): Update comment.
1466 (struct audit_list_iter): Define.
1467 (audit_list_iter_init, audit_list_iter_next): New function.
1468 (dl_main): Use struct audit_list_iter to process audit modules.
1469 (process_dl_audit): Call dso_name_valid_for_suid.
1470 (process_envvars): Set audit_list_string instead of calling
1471 process_dl_audit.
1472
1473 2017-06-19 Florian Weimer <fweimer@redhat.com>
1474
1475 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1476 (dso_name_valid_for_suid): New function.
1477 (handle_ld_preload): Likewise.
1478 (dl_main): Call it. Remove alloca.
1479
1480 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1481
1482 [BZ #21625]
1483 * posix/sys/wait.h (strust rusage forward declaration): Change
1484 [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1485 !__USE_XOPEN2K].
1486 (wait3): Likewise.
1487
1488 * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1489 * configure: Regenerated.
1490 * manual/install.texi (Tools for Compilation): Document
1491 requirement for GCC 4.9 or later.
1492 * INSTALL: Regenerated.
1493
1494 2017-06-19 Florian Weimer <fweimer@redhat.com>
1495
1496 [BZ #21624]
1497 CVE-2017-1000366
1498 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1499 __libc_enable_secure.
1500
1501 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1502
1503 [BZ #21539]
1504 * NEWS: Mention s390 ptrace request changes.
1505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1506 (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1507 PTRACE_SETFPREGS): Remove enum constant.
1508 (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1509 Remove defines.
1510 (PTRACE_SINGLEBLOCK): New enum constant.
1511 (PT_STEPBLOCK): New define.
1512 (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1513 PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1514 PTRACE_TE_ABORT_RAND): New enum constant and define.
1515 * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1516 * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1517 New file.
1518 * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1519
1520 2017-06-16 Florian Weimer <fweimer@redhat.com>
1521
1522 * resolv/res_init.c (res_vinit_1): Use getline to read from the
1523 configuration file.
1524 (__res_vinit): Adjust.
1525
1526 2017-06-19 Florian Weimer <fweimer@redhat.com>
1527
1528 * resolv/res_init.c (res_vinit_1): New function.
1529 (__res_vinit): Call it. Handle file open and memory allocation
1530 failures.
1531 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1532 erno from __res_maybe_init failure.
1533 (_nss_dns_gethostbyname4_r): Likewise.
1534 (_nss_dns_gethostbyaddr2_r): Likewise.
1535 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1536 (_nss_dns_getnetbyaddr_r): Likewise.
1537
1538 2017-06-19 Florian Weimer <fweimer@redhat.com>
1539
1540 * resolv/res_init.c: Reformat to GNU style.
1541
1542 2017-06-19 Florian Weimer <fweimer@redhat.com>
1543
1544 * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1545 (is_sort_mask): New function.
1546 (__res_vinit): Use it.
1547
1548 2017-06-19 Florian Weimer <fweimer@redhat.com>
1549
1550 * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1551 conditionals.
1552
1553 2017-06-19 Florian Weimer <fweimer@redhat.com>
1554
1555 * resolv/res-close.c: New file.
1556 * resolv/res_init.c (__res_iclose, res_nclose)
1557 (res_thread_freeres): Remove definitions.
1558 * resolv/Makefile (routines): Add res-close.
1559
1560 2017-06-19 Florian Weimer <fweimer@redhat.com>
1561
1562 * resolv/res_randomid.c: New file.
1563 * resolv/res_init.c (res_randomid): Remove definition.
1564 * resolv/Makefile (routines): Add res_randomid.
1565
1566 2017-06-19 Florian Weimer <fweimer@redhat.com>
1567
1568 * include/resolv.h (__res_vinit): Declare as hidden.
1569 * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1570 * resolv/res_libc.c (res_init): Likewise.
1571
1572 2017-06-19 Joseph Myers <joseph@codesourcery.com>
1573
1574 [BZ #21457]
1575 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1576 _libc_xmmreg): Use __ctx in defining field.
1577
1578 [BZ #21597]
1579 * signal/signal.h (siginterrupt): Make declaration conditional on
1580 [__USE_XOPEN_EXTENDED || __USE_MISC].
1581
1582 [BZ #21584]
1583 * signal/signal.h: Make includes of <bits/sigstack.h> and
1584 <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1585 __USE_MISC].
1586 (sigaltstack): Make declaration conditional on
1587 [__USE_XOPEN_EXTENDED || __USE_MISC].
1588
1589 [BZ #21575]
1590 * resource/bits/types/struct_rusage.h: New file.
1591 * include/bits/types/struct_rusage.h: Likewise.
1592 * bits/resource.h (struct rusage): Include
1593 <bits/types/struct_rusage.h> instead of defining here.
1594 * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1595 Likewise.
1596 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1597 Likewise.
1598 * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1599 Likewise.
1600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1601 Likewise.
1602 * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1603 * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1604 Include <bits/types/struct_rusage.h>
1605
1606 2017-06-19 Florian Weimer <fweimer@redhat.com>
1607
1608 * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1609
1610 2017-06-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
1611
1612 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1613
1614 2017-06-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1615
1616 * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1617
1618 2017-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1619
1620 [BZ #21537]
1621 * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1622 Check SHARED instead of PIC.
1623 (SYSCALL_PIC_SETUP): Add missing semicolons.
1624 * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1625 Check SHARED instead of PIC.
1626 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1627 (__makecontext_ret): Adjust code to jump to exit.
1628
1629 2017-06-19 Christian Borntraeger <borntraeger@de.ibm.com>
1630
1631 * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1632 Simplify code by always using SVC 0 instead of EX.
1633 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1634
1635 2017-06-16 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * elf/Versions (ld): Remove _dl_out_of_memory.
1638
1639 2017-06-16 Joseph Myers <joseph@codesourcery.com>
1640
1641 * timezone/private.h: Update from tzcode 2017b.
1642 * timezone/tzfile.h: Likewise.
1643 * timezone/tzselect.ksh: Likewise.
1644 * timezone/zdump.c: Likewise.
1645 * timezone/zic.c: Likewise.
1646 * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1647 -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1648 * time/tzset.c (SECSPERDAY): New macro.
1649
1650 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1651
1652 * manual/string.texi (strdup): Complete header and standards
1653 annotation.
1654 (strncpy): Likewise.
1655
1656 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1657
1658 * manual/arith.texi (FP_NAN): Add or complete header and standard
1659 annotations.
1660 (FP_INFINITE): Likewise.
1661 (FP_ZERO): Likewise.
1662 (FP_SUBNORMAL): Likewise.
1663 (FP_NORMAL): Likewise.
1664 (SNAN): Likewise.
1665 (SNANL): Likewise.
1666 (totalorderf): Likewise.
1667 (totalorderl): Likewise.
1668 (totalordermagf): Likewise.
1669 (totalordermagl): Likewise.
1670 (_Complex_I): Likewise.
1671 (I): Likewise.
1672
1673 2017-06-16 Rical Jasan <ricaljasan@pacific.net>
1674
1675 * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
1676 standard annotation.
1677 (ARGP_HELP_SHORT_USAGE): Likewise.
1678 (ARGP_HELP_SEE): Likewise.
1679 (ARGP_HELP_LONG): Likewise.
1680 (ARGP_HELP_PRE_DOC): Likewise.
1681 (ARGP_HELP_POST_DOC): Likewise.
1682 (ARGP_HELP_DOC): Likewise.
1683 (ARGP_HELP_BUG_ADDR): Likewise.
1684 (ARGP_HELP_LONG_ONLY): Likewise.
1685 (ARGP_HELP_EXIT_ERR): Likewise.
1686 (ARGP_HELP_EXIT_OK): Likewise.
1687 (ARGP_HELP_STD_ERR): Likewise.
1688 (ARGP_HELP_STD_USAGE): Likewise.
1689 (ARGP_HELP_STD_HELP): Likewise.
1690
1691 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
1692
1693 * manual/Makefile: Generate summary.texi with summary.pl. Force
1694 use of the C locale. Update Perl dependency comment.
1695 * manual/header.texi: Update reference to summary.awk.
1696 * manual/macros.texi: Refer authors to `summary.pl --help'.
1697 * manual/summary.awk: Remove file.
1698 * manual/summary.pl: New file. Generate summary.texi, and check
1699 for @standards-related syntax errors.
1700 * manual/argp.texi: Convert header and standards @comments to
1701 @standards.
1702 * manual/arith.texi: Likewise.
1703 * manual/charset.texi: Likewise.
1704 * manual/conf.texi: Likewise.
1705 * manual/creature.texi: Likewise.
1706 * manual/crypt.texi: Likewise.
1707 * manual/ctype.texi: Likewise.
1708 * manual/debug.texi: Likewise.
1709 * manual/errno.texi: Likewise.
1710 * manual/filesys.texi: Likewise.
1711 * manual/getopt.texi: Likewise.
1712 * manual/job.texi: Likewise.
1713 * manual/lang.texi: Likewise.
1714 * manual/llio.texi: Likewise.
1715 * manual/locale.texi: Likewise.
1716 * manual/math.texi: Likewise.
1717 * manual/memory.texi: Likewise.
1718 * manual/message.texi: Likewise.
1719 * manual/pattern.texi: Likewise.
1720 * manual/pipe.texi: Likewise.
1721 * manual/process.texi: Likewise.
1722 * manual/resource.texi: Likewise.
1723 * manual/search.texi: Likewise.
1724 * manual/setjmp.texi: Likewise.
1725 * manual/signal.texi: Likewise.
1726 * manual/socket.texi: Likewise.
1727 * manual/startup.texi: Likewise.
1728 * manual/stdio.texi: Likewise.
1729 * manual/string.texi: Likewise.
1730 * manual/sysinfo.texi: Likewise.
1731 * manual/syslog.texi: Likewise.
1732 * manual/terminal.texi: Likewise.
1733 * manual/threads.texi: Likewise.
1734 * manual/time.texi: Likewise.
1735 * manual/users.texi: Likewise.
1736
1737 2017-06-15 Rical Jasan <ricaljasan@pacific.net>
1738
1739 * manual/macros.texi (@standards): New macro. Provide placeholder
1740 for header and standards annotations.
1741 (@standardsx): New macro. Likewise, for lists of @*x elements.
1742
1743 2017-06-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1744
1745 * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
1746 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
1747 rule.
1748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
1749 sync_file_range.
1750
1751 * support/support_test_main.c (support_test_main): Use optstring
1752 member for option string in getopt_long.
1753 * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
1754 (CMDLINE_OPTSTRING): New define.
1755 * support/test-driver.h (test_config): Add optstring member.
1756
1757 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1760 strcspn-sse2, strpbrk-sse2 and strspn-sse2.
1761 * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
1762 Check USE_AS_STRPBRK instead of STRPBRK_P.
1763 * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
1764 * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
1765 * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
1766 * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
1767 * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
1768 * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
1769 * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
1770 * sysdeps/x86_64/multiarch/strspn.c: Likewise.
1771 * sysdeps/x86_64/multiarch/strcspn.S: Removed.
1772 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1773 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1774 * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
1775 and "#endif".
1776
1777 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1780 * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1781
1782 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1785 strcat-sse2.
1786 * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1787 * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1788 * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1789 * sysdeps/x86_64/multiarch/strcat.S: Removed.
1790 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1791
1792 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1793 Erich Elsen <eriche@google.com>
1794
1795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1796 memcmp-sse2.
1797 * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1798 * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1799 * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1800 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1801 * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1802 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1803
1804 2017-06-15 H.J. Lu <hongjiu.lu@intel.com>
1805 Erich Elsen <eriche@google.com>
1806
1807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1808 memset-sse2-unaligned-erms, and memset_chk-nonshared.
1809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1810 (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1811 Update comments.
1812 * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1813 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1814 * sysdeps/x86_64/multiarch/memset.c: Likewise.
1815 * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1816 * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1817 * sysdeps/x86_64/multiarch/memset.S: Removed.
1818 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1819 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1820 (__memset_chk_erms): New function.
1821
1822 2017-06-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
1823
1824 * configure.ac(--enable-tunables): Enable by default.
1825 * configure: Regenerate.
1826 * NEWS: Mention change.
1827 * manual/install.texi (enable-tunables): Adjust documentation.
1828 * INSTALL: Regenerate.
1829
1830 2017-06-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1831
1832 [BZ #18988]
1833 * benchtests/thread_create-inputs: New file.
1834 * benchtests/thread_create-source.c: Likewise.
1835 * support/xpthread_attr_setguardsize.c: Likewise.
1836 * support/Makefile (libsupport-routines): Add
1837 xpthread_attr_setguardsize object.
1838 * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1839 * benchtests/Makefile (bench-pthread): Add thread_create.
1840 * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1841 then mprotect the required area.
1842 (guard_position): New function.
1843 (setup_stack_prot): Likewise.
1844
1845 2017-06-14 H.J. Lu <hongjiu.lu@intel.com>
1846 Erich Elsen <eriche@google.com>
1847 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1848
1849 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1850 memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1851 mempcpy_chk-nonshared and memmove_chk-nonshared.
1852 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1853 (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1854 __memcpy_chk_erms and __mempcpy_chk_erms. Update comments.
1855 * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1856 * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1857 * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1858 * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1859 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1860 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1861 * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1862 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1863 * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1864 * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1865 * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1866 * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1867 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1868 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1869 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1870 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1872 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1873 (__mempcpy_chk_erms): New function.
1874 (__memmove_chk_erms): Likewise.
1875 (__memcpy_chk_erms): New alias.
1876
1877 2017-06-14 Florian Weimer <fweimer@redhat.com>
1878
1879 * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1880 * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1881
1882 2017-06-14 Zack Weinberg <zackw@panix.com>
1883
1884 * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1885 Reorganize file. Declare errno here. When __ASSEMBLER__ is
1886 defined, don't declare anything other than the E-constants.
1887
1888 * include/errno.h: Change conditional for exposing internal
1889 declarations to (not _ISOMAC and not __ASSEMBLER__).
1890 * bits/errno.h: Remove logic for __need_Emath. Document
1891 requirements for a port-specific bits/errno.h.
1892
1893 * sysdeps/unix/sysv/linux/bits/errno.h
1894 * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1895 * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1896 * sysdeps/unix/sysv/linux/mips/bits/errno.h
1897 * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1898 Add multiple-include guard and check against improper inclusion.
1899 Remove __need_Emath logic. Don't declare errno here. Ensure all
1900 constants are defined as simple integer literals. Consistent
1901 formatting.
1902 * sysdeps/mach/hurd/errnos.awk: Likewise. Only define error_t and
1903 enum __error_t_codes if __ASSEMBLER__ is not defined.
1904 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1905
1906 * argp/argp.h, string/argz.h: Don't define __need_error_t before
1907 including errno.h.
1908 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1909 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1910 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1911 * sysdeps/x86_64/fpu/s_cosf.S
1912 * sysdeps/x86_64/fpu/s_sincosf.S
1913 * sysdeps/x86_64/fpu/s_sinf.S:
1914 Just include errno.h; don't define __need_Emath or include
1915 bits/errno.h directly.
1916
1917 2017-06-14 Zack Weinberg <zackw@panix.com>
1918
1919 * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1920 * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1921 * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1922
1923 * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1924 for IOV_MAX.
1925 * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1926 Don't install bits/uio.h.
1927 * misc/sys/uio.h: Don't include bits/uio.h. Do include
1928 bits/types/struct_iovec.h and bits/uio_lim.h. Set UIO_MAXIOV
1929 based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1930
1931 * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1932 and __need_IOV_MAX. Don't define IOV_MAX at all.
1933 * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1934
1935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1936 Include bits/types/struct_iovec.h, not bits/uio.h.
1937 Use __ssize_t, not ssize_t, in function prototypes.
1938 Don't use hard TAB for double space after period in comments.
1939
1940 2017-06-14 Alan Modra <amodra@gmail.com>
1941
1942 * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1943 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1944 refsym and sym parameters. Adjust callers.
1945 * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1946 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1947 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1948 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1949 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1950 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1951 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1952 * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1953 * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1954 * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1955 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1956 Likewise.
1957 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1958 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1959 * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1962 * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1963 * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1964 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1965 (_dl_reloc_overflow): Increase buffser size. Formatting.
1966 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1967 Delete reloc param, add refsym and sym. Check optimized plt
1968 call stubs for localentry:0 functions. Adjust callers.
1969 (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1970 and sym parameters. Adjust callers.
1971 (_dl_reloc_overflow): Move attribute.
1972 (_dl_error_localentry): Declare.
1973 * elf/dl-runtime.c (_dl_fixup): Save original sym. Pass
1974 refsym and sym to elf_machine_fixup_plt.
1975 * elf/testobj6.c (preload): Call printf.
1976
1977 2017-06-14 Alan Modra <amodra@gmail.com>
1978
1979 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1980 (NOPS, ENTRY_3): New macros.
1981 (ENTRY): Rewrite.
1982 (ENTRY_TOCLESS): Define.
1983 (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1984 EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1985 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1986 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1987 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1988 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1989 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1990 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1992 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1993 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1994 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1995 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1997 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2000 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2001 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2003 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2005 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2006 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2007 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2008 * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2010 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2011 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2012 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2013 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2014 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2015 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2016 * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2017 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2018 * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2019 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2020 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2021 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2022 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2023 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2024 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2025 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2026 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2027 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2028 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2030 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2034 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2035 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2036 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2037 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2038 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2039 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2040 * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2041 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2044 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2048 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2050 Likewise.
2051 * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2052 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2056 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2057 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2058 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2059 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2061 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2062 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2063 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2064 * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2065 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2066 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2068 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2069 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2070 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2071 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2072 * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2073 * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2074 * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2075 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2076 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2077 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2078 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2079 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2081 * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier. Don't
2082 add nop when SHARED.
2083 * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2084 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2085 define.
2086 (ENTRY_TOCLESS): Define.
2087 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2088 * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2089 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2090
2091 2017-06-14 Alan Modra <amodra@gmail.com>
2092
2093 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2094 MEMSET_is_local.
2095 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2097 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2098 Define MEMSET.
2099 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2100 STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2101 * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise. Don't add
2102 nop after local calls.
2103 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2104 Don't add nop after local call.
2105 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise. Add missing
2106 CALL_MCOUNT.
2107
2108 2017-06-14 Alan Modra <amodra@gmail.com>
2109
2110 * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2111 (FUNC_LABEL): Rename from DOT_LABEL.
2112 (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2113 Use .p2align rather than .align.
2114 (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2115 (ABORT_TRANSACTION): Likewise.
2116 (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2117 particularly at end. Add semicolon at invocation as necessary.
2118 (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2119 (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2120 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2121 END): Adjust to suit.
2122
2123 2017-06-14 Alan Modra <amodra@gmail.com>
2124
2125 * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2126 FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2127 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2128 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2129 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2131 uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2132
2133 2017-06-14 Alan Modra <amodra@gmail.com>
2134
2135 * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2136 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2137
2138 2017-06-13 Gordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>
2139
2140 [BZ #21548]
2141 * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2142 8 and use it when copying general purpose registers.
2143 * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2144 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2145 mips o32.
2146 * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2147 new test for mips o32.
2148 * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2149 8 and use it when copying general purpose registers.
2150 * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2151
2152 2017-06-13 Florian Weimer <fweimer@redhat.com>
2153
2154 * configure.ac (find_cxx_header): Suppress compiler error message.
2155
2156 2017-06-13 Florian Weimer <fweimer@redhat.com>
2157
2158 * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2159 (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2160 * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2161 begin/end.
2162 * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2163 dynarray_int_end.
2164 (test_str): Test dynarray_str_begin, dynarray_str_end.
2165
2166 2017-06-13 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 [BZ #21573]
2169 * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2170 $(common-objpfx)bits/std_abs.h.
2171 [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2172 New target.
2173 * config.make.in (c++-bits-std_abs-h): New.
2174 * configure.ac (find_cxx_header): Use "\,$1," with sed.
2175 (CXX_BITS_STD_ABS_H): New.
2176 (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2177 * configure: Regenerated.
2178
2179 2017-06-13 Zack Weinberg <zackw@panix.com>
2180
2181 * posix/bits/cpu-set.h: Correct indentation of preprocessor
2182 directives.
2183
2184 2017-06-12 Zack Weinberg <zackw@panix.com>
2185
2186 * bits/sched.h: Remove __need_schedparam logic and replace with a
2187 normal multiple-include guard. Change field name in struct
2188 sched_param from __sched_priority to sched_priority. Delete
2189 everything under #ifndef __cpu_set_t_defined.
2190 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise. Also sync with
2191 kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2192
2193 * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2194 For compatibility, #define sched_priority to itself, and #define
2195 __sched_priority as sched_priority.
2196 * posix/bits/cpu-set.h: New file containing, verbatim, the code
2197 that was under #ifndef __cpu_set_t_defined in
2198 sysdeps/unix/sysv/linux/bits/sched.h.
2199 * include/bits/cpu-set.h: New wrapper.
2200 * posix/Makefile: Install bits/cpu-set.h.
2201
2202 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2203 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2204 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2205
2206 * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2207 (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2208 * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2209 * math/libm-test-isfinite.inc (finite_test): Likewise.
2210 * math/libm-test-lgamma.inc (gamma_test): Likewise.
2211 * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2212 (nexttoward_test_data}: Likewise.
2213 * math/libm-test-remainder.inc (drem_test): Likewise.
2214 * math/libm-test-scalb.inc (scalb_test): Likewise.
2215 (scalb_test_data): Likewise.
2216 * math/libm-test-significand.inc (significand_test): Likewise.
2217 (significand_test_data): Likewise.
2218 * math/libm-test-support.c (check_complex): Replace __complex__
2219 FLOAT with CFLOAT to get the support for old compiler.
2220 * math/libm-test-support.h (check_complex): Likewise.
2221 * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2222 * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2223 * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2224 * math/test-float128.h: New file.
2225 * math/test-math-floatn.h: New file.
2226
2227 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2228
2229 * include/float.h: Allow the definition of macros prefixed with
2230 FLT128 even if _ISOMAC is defined, but provided that
2231 __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2232
2233 2017-06-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2234
2235 * manual/math.texi (Mathematics): Add description for _FloatN and
2236 _FloatNx types and mentions that they are not support in glibc for
2237 any architecture, so far.
2238 * manual/arith.texi (wcstof, wcstold): Replace the mention to
2239 stdlib.h with wchar.h.
2240 (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2241 (Printing of Floats): Add description for strfromfN.
2242
2243 2017-06-12 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2244 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2245 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2246
2247 * include/gmp.h (__mpn_construct_float128): New declaration.
2248 * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2249 (__strtof128_l): New declaration.
2250 (__strtof128_nan): Likewise.
2251 (__wcstof128_nan): Likewise.
2252 (__strtof128_internal): Likewise.
2253 (____strtof128_l_internal): Likewise.
2254 * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2255 (__wcstof128_l): New declaration.
2256 (__wcstof128_internal): Likewise.
2257
2258 * stdlib/Makefile (bug-strtod2): Link libm too.
2259
2260 * stdlib/stdlib.h (strtof128): New declaration.
2261 (strtof128_l): Likewise.
2262
2263 * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2264 tst-strtod.h macros to ensure float128 gets tested too.
2265
2266 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2267
2268 * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2269 tests.
2270 (IF_FLOAT128): New macro.
2271 (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2272 the tests.
2273 (STRTOD_TEST_FOREACH): Likewise.
2274
2275 * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2276 wcstof128 functions into libc.
2277
2278 * sysdeps/ieee754/float128/Versions: Add exports for the above
2279 new functions.
2280
2281 * sysdeps/ieee754/float128/mpn2float128.c: New file.
2282 * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2283 * sysdeps/ieee754/float128/strtof128.c: New file.
2284 * sysdeps/ieee754/float128/strtof128_l.c: New file.
2285 * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2286 * sysdeps/ieee754/float128/wcstof128.c: New file.
2287 * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2288 * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2289 * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2290 (CFLAGS-wcstof128_l): Likewise.
2291
2292 * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2293 (wcstof128): New declaration.
2294 (wcstof128_l): Likewise.
2295
2296 2017-06-12 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #21552]
2299 * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2300 not [__USE_XOPEN].
2301 * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2302
2303 [BZ #21550]
2304 * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2305
2306 2017-06-12 H.J. Lu <hongjiu.lu@intel.com>
2307
2308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2309 strcpy-sse2 and stpcpy-sse2.
2310 * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2311 * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2312 * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2313 * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2314 * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2315 * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2316 * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2317 * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2318 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2319 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2320 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2321 * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2322 (libc_hidden_def): Always defined as empty.
2323 * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2324 Always Defined as empty.
2325
2326 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2327
2328 * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2329
2330 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2331
2332 [BZ #15105]
2333 [BZ #19463]
2334 * include/string.h: Add internal redirect for __stpcpy.
2335 * string/Makefile: Remove bits/string2.h.
2336 * string/string.h: Update comment.
2337 * string/string-inlines.c: Remove bits/string2.h include and comment.
2338 * string/bits/string2.h: Remove file.
2339
2340 2017-06-12 Wilco Dijkstra <wdijkstr@arm.com>
2341
2342 * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2343 * sunrpc/clnt_gen.c (clnt_create): Likewise.
2344 * sunrpc/des_impl.c (_des_crypt): Likewise.
2345 * sunrpc/key_call.c (key_gendes): Likewise.
2346 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2347 * sunrpc/svc_simple.c (universal): Likewise.
2348 * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2349 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2350 * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2351
2352 2017-06-10 Zack Weinberg <zackw@panix.com>
2353
2354 * stdlib/errno.h: Correct an outdated comment.
2355
2356 2017-06-09 Paul A. Clarke <pc@us.ibm.com>
2357
2358 * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2359 Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2360 CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2361 * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2362 New file. Invoke newly supported sysconf values for powerpc,
2363 and report results. If none are supported, report so.
2364 * sysdeps/unix/sysv/linux/powerpc/Makefile (tests): Add new test,
2365 tst-sysconf.
2366
2367 2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2368
2369 * include/sys/auxv.h (__getauxval): Add a prototype and its
2370 libc_hidden_proto.
2371 * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2372
2373 2017-06-09 Joseph Myers <joseph@codesourcery.com>
2374
2375 [BZ #21561]
2376 * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2377 [__USE_XOPEN_EXTENDED].
2378 (id_t): Likewise.
2379 (include of <bits/types/siginfo_t.h): Likewise.
2380 (waitid): Likewise.
2381 * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2382 on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2383 (WEXITED): Likewise.
2384 (WCONTINUED): Likewise.
2385 (WNOWAIT): Likewise.
2386 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2387 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2388 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2389
2390 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2391 libc.so PLT entry optional.
2392 (__gtsf2): Likewise.
2393 (__unorddf2): Likewise.
2394 (__unordsf2): Likewise.
2395 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2396 New optional libc.so PLT entry.
2397
2398 [BZ #21554]
2399 * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2400 not [__USE_XOPEN].
2401
2402 [BZ #21560]
2403 * posix/sys/wait.h: Condition include of <signal.h> on
2404 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]. Include <bits/types.h>
2405 unconditionally.
2406 [!__pid_t_defined] (pid_t): Define typedef.
2407
2408 2017-06-09 Zack Weinberg <zackw@panix.com>
2409
2410 * include/errno.h (__errno_location): Use __attribute_const__
2411 instead of bare __attribute__.
2412
2413 2017-06-09 Zack Weinberg <zackw@panix.com>
2414
2415 * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2416 (common-generated): Add libc-modules.h and libc-modules.stmp in a
2417 more appropriate location. Also add dl-tunable-list.h and
2418 dl-tunable-list.stmp.
2419
2420 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2421
2422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2423
2424 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2427 strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2429 (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2430 __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2431 * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2432 * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2433 * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2434 * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2435 * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2436 * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2437
2438 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2441 memrchr-sse2 and memrchr-avx2.
2442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2443 (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2444 __memrchr_sse2.
2445 * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2446 * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2447 * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2448
2449 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2452 strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2453 wcschr-sse2 and wcschr-avx2.
2454 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2455 (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2456 __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2457 __wcschr_sse2.
2458 * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2459 * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2460 * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2461 * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2462 * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2463 * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2464 * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2465 * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2466 * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2467 * sysdeps/x86_64/multiarch/strchr.S: Removed.
2468
2469 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2470
2471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2472 strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2473 wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2475 (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2476 __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2477 __wcslen_sse2 and __wcsnlen_avx2.
2478 * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2479 * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2480 * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2481 * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2482 * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2483 * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2484 * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2485 * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2486 * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2487 * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2488 * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2489 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2490 vzeroupper is preferred and AVX unaligned load is fast.
2491
2492 2017-06-09 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 * sysdeps/x86_64/memchr.S (MEMCHR): New. Depending on if
2495 USE_AS_WMEMCHR is defined.
2496 (PCMPEQ): Likewise.
2497 (memchr): Renamed to ...
2498 (MEMCHR): This. Support wmemchr if USE_AS_WMEMCHR is defined.
2499 Replace pcmpeqb with PCMPEQ.
2500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2501 memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2502 wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2503 * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2504 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2505 * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2506 * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2507 * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2508 * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2509 * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2510 * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2511 * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2512 * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2514 (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2515 __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2516 __wmemchr_sse2.
2517
2518 2017-06-09 Florian Weimer <fweimer@redhat.com>
2519
2520 * malloc/Makefile (test-srcs): Remove tst-dynarray,
2521 tst-dynarray-fail.
2522
2523 2017-06-09 Florian Weimer <fweimer@redhat.com>
2524
2525 Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2526 * support/support_test_verify_impl.c
2527 (support_test_verify_exit_impl): Split from
2528 support_test_verify_impl.
2529 * support/check.h (TEST_VERIFY): Drop status argument from
2530 support_test_verify_impl call.
2531 (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2532 (support_test_verify_impl): Remove status argument.
2533 (support_test_verify_exit_impl): Declare.
2534
2535 2017-06-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
2536
2537 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2538 mention of magic numbers in comments.
2539 (_dl_procinfo): Fix undefined behavior
2540
2541 2017-06-08 Joseph Myers <joseph@codesourcery.com>
2542
2543 * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2544 [XPG4].
2545 (WEXITED): Likewise.
2546 (WSTOPPED): Likewise.
2547 (WCONTINUED): Likewise.
2548 (WNOHANG): Likewise.
2549 (WNOWAIT): Likewise.
2550 (idtype_t): Likewise.
2551 (P_ALL): Likewise.
2552 (P_PID): Likewise.
2553 (P_PGID): Likewise.
2554 (id_t): Likewise.
2555 (siginfo_t): Likewise.
2556 (wait3): Likewise.
2557 (waitid): Likewise.
2558 (signal.h): Do not allow header for [XPG4].
2559 (sys/resource.h): Likewise.
2560 (si_*): Do not allow for [XPG4].
2561 (W*): Likewise.
2562 (P_*): Likewise.
2563 (BUS_): Likewise.
2564 (CLD_): Likewise.
2565 (FPE_): Likewise.
2566 (ILL_): Likewise.
2567 (POLL_): Likewise.
2568 (SEGV_): Likewise.
2569 (SI_): Likewise.
2570 (TRAP_): Likewise.
2571 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2572 variable.
2573
2574 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 [BZ #21528]
2577 * elf/dl-minimal.c (__strtoul_internal): Removed.
2578 (strtoul): Likewise.
2579 * elf/dl-misc.c (_dl_strtoul): New function.
2580 * elf/dl-tunables.c (tunables_strtoul): Removed.
2581 (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2582 * elf/rtld.c (process_envvars): Likewise.
2583 * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2584 Likewise.
2585 * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2586
2587 2017-06-08 Zack Weinberg <zackw@panix.com>
2588
2589 * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2590 * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2591 * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2592 * wctype/bits/wctype-wchar.h: New file holding declarations shared
2593 between wctype.h and wchar.h.
2594
2595 * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2596 Install them.
2597
2598 * include/bits/types/FILE.h, include/bits/types/__FILE.h
2599 * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2600 * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2601 New wrappers.
2602 * include/stdio.h, include/wchar.h, include/wctype.h:
2603 No need to handle __need macros.
2604
2605 * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2606 * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2607 * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2608 * wcsmbs/wchar.h, wctype/wctype.h
2609 * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2610 Use the new files instead of __need macros.
2611
2612 2017-06-08 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 * string/test-memrchr.c (test_main): Add tests for len == 0
2615 and tests for positions close to the beginning, which are
2616 equivalent to positions close to the end for memchr.
2617
2618 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2621 comments.
2622 * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2623 instead of wmemset.h.
2624 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2625 * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2626 * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2627
2628 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2629
2630 * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2631 spec->info.is_binary128 to zero.
2632 * stdio-common/printf.h (printf_info): Add new member is_binary128
2633 to indicate that the number being converted to string is compatible
2634 with the IEC 60559 binary128 format.
2635 * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2636 _Float128 numbers.
2637 * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2638 ldbl-128/printf_fphex_macros.h
2639 (__printf_fphex): Add code to deal with _Float128 numbers.
2640 * stdio-common/printf_size.c (__printf_size): Likewise.
2641 * stdio-common/vfprintf.c (process_arg): Initialize member
2642 info.is_binary128 to zero.
2643 * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2644 * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2645 (strfromf128): New declaration.
2646 * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2647 to one.
2648 * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2649 * sysdeps/ieee754/float128/Versions: Likewise.
2650 * sysdeps/ieee754/float128/strfromf128.c: New file.
2651
2652 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2653
2654 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2655 ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2656 (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2657 * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
2658 (PRINT_FPHEX): New function-like macro that can be used for long
2659 double, as well as for _Float128
2660
2661 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2662
2663 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
2664 (__printf_fp_l): Use the new macro to avoid duplicating code.
2665 * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
2666 (__printf_fphex): Use the new macro to avoid duplicating code.
2667 * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
2668 (__printf_size): Use the new macro to avoid duplicating code.
2669
2670 2017-06-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2671
2672 * include/gmp.h: Include bits/floatn.h
2673 (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
2674 * stdlib/gmp-impl.h: Also check if alloca is not defined before
2675 including stack-alloc.h. It could have been defined by other header
2676 which not necessarily defines HAVE_ALLOCA.
2677 * sysdeps/ieee754/float128/Makefile: New file.
2678 * sysdeps/ieee754/float128/float1282mpn.c: New file.
2679 * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
2680 redefining __mpn_extract_long_double to __mpn_extract_float128, then
2681 redefine __mpn_extract_long_double to __mpn_extract_float128.
2682 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
2683 _Float128 to allow float128_private.h overrides.
2684
2685 2017-06-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2686
2687 * stdlib/fpioconst.h: Include bits/floatn.h.
2688 (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
2689 power of ten table should be.
2690 (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
2691 * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
2692 to include larger tables when _Float128 support is enabled.
2693 (_fpioconst_pow10): Likewise.
2694
2695 2017-06-07 Joseph Myers <joseph@codesourcery.com>
2696
2697 * include/bits/types/clock_t.h: Use #include <path> instead of
2698 #include "../../path".
2699 * include/bits/types/clockid_t.h: Likewise.
2700 * include/bits/types/struct_iovec.h: Likewise.
2701 * include/bits/types/struct_itimerspec.h: Likewise.
2702 * include/bits/types/struct_osockaddr.h: Likewise.
2703 * include/bits/types/struct_sigstack.h: Likewise.
2704 * include/bits/types/struct_timespec.h: Likewise.
2705 * include/bits/types/struct_timeval.h: Likewise.
2706 * include/bits/types/struct_tm.h: Likewise.
2707 * include/bits/types/time_t.h: Likewise.
2708 * include/bits/types/timer_t.h: Likewise.
2709
2710 [BZ #14096]
2711 * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
2712 America/New_York.
2713
2714 2017-06-07 H.J. Lu <hongjiu.lu@intel.com>
2715
2716 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
2717 into ...
2718 * sysdeps/x86_64/multiarch/wcsnlen.c: Here. Don't include
2719 ifunc-sse4_1.h.
2720
2721 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
2722
2723 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
2724 Remove check for NULL 'buf'.
2725 * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
2726
2727 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
2728
2729 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
2730 include test-skeleton.c.
2731 Include support/check.h and support/test-driver.c.
2732
2733 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2734
2735 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2736 (_dl_aarch64_cap_flags): New array.
2737 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2738 (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
2739 functions.
2740
2741 * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
2742 * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
2743 Likewise.
2744 * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
2745 up hwcap and hwcap_mask.
2746
2747 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2748 (init_cpu_features): Use glibc.tune.hwcap_mask.
2749 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
2750
2751 * elf/dl-hwcaps.h: New file.
2752 * elf/dl-hwcaps.c: Include it.
2753 (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
2754 glibc.tune.hwcap_mask.
2755 * elf/dl-cache.c: Include dl-hwcaps.h.
2756 (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
2757 glibc.tune.hwcap_mask.
2758 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2759 * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
2760 _dl_hwcap_mask.
2761 * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
2762 _dl_hwcap_mask.
2763 (process_envvars)[HAVE_TUNABLES]: Likewise.
2764 * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
2765 Likewise.
2766 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
2767 initialize dl_hwcap_mask when tunables are enabled.
2768
2769 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
2770 guard.
2771 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2772
2773 * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
2774 * scripts/gen-tunables.awk: Include dl-procinfo.h.
2775 * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2776
2777 * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2778 * elf/dl-tunables.c: Likewise.
2779 (do_tunable_update_val): New function.
2780 (__tunable_set_val): New function.
2781 (__tunable_get_val): Call CB only if the tunable was externally
2782 initialized.
2783 (tunables_strtoul): Replace strval with initialized.
2784 * elf/dl-tunables.h (strval): Replace with a bool initialized.
2785 (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2786 prevent collision.
2787 (__tunable_set_val): New function.
2788 (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2789 (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2790 (TUNABLE_SET_VAL): Remove.
2791 (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2792 * README.tunables: Document the new macros.
2793 * malloc/arena.c (ptmalloc_init): Adjust.
2794
2795 2017-06-06 H.J. Lu <hongjiu.lu@intel.com>
2796
2797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2798 wcsnlen-sse4_1 and wcsnlen-c.
2799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2800 (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2801 __wcsnlen_sse2.
2802 * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2803 * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2804 * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2805 * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2806 * sysdeps/x86_64/wcsnlen.S: Removed.
2807
2808 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2809
2810 * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2811 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2812 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2813 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2814
2815 2017-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2816
2817 * NEWS: Mention new spinlock implementation.
2818 * include/atomic.h:
2819 (__atomic_val_bysize): Cast type to omit volatile qualifier.
2820 (atomic_exchange_acq): Likewise.
2821 (atomic_load_relaxed): Likewise.
2822 (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2823 * nptl/pthread_spin_init.c (pthread_spin_init):
2824 Use atomic_store_relaxed.
2825 * nptl/pthread_spin_lock.c (pthread_spin_lock):
2826 Use C11-like atomic macros.
2827 * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2828 Likewise.
2829 * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2830 Use atomic_store_release.
2831 * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2832 * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2833 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2834 * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2835 * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2836 * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2837 * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2838 * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2839 * sysdeps/alpha/atomic-machine.h: Likewise.
2840 * sysdeps/arm/atomic-machine.h: Likewise.
2841 * sysdeps/i386/atomic-machine.h: Likewise.
2842 * sysdeps/ia64/atomic-machine.h: Likewise.
2843 * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2844 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2845 * sysdeps/microblaze/atomic-machine.h: Likewise.
2846 * sysdeps/mips/atomic-machine.h: Likewise.
2847 * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2848 * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2849 * sysdeps/s390/atomic-machine.h: Likewise.
2850 * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2851 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2852 * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2853 * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2854 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2855 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2856 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2857 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2858 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2859 * sysdeps/x86_64/atomic-machine.h: Likewise.
2860
2861 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2864 and use it instead of dl_x86_cpu_features.
2865 (handle_intel): Replace maxidx with cpu_features. Pass
2866 cpu_features to intel_check_word.
2867 (__cache_sysconf): Pass cpu_features to handle_intel.
2868 (init_cacheinfo): Likewise. Use cpu_features instead of
2869 dl_x86_cpu_features.
2870
2871 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2872
2873 * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2875 memcmp-avx2 and wmemcmp-avx2.
2876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2877 (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2878 * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2879 * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2880 * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2881 2 machines if AVX unaligned load is fast and vzeroupper is
2882 preferred.
2883 * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2884 2 machines if AVX unaligned load is fast and vzeroupper is
2885 preferred.
2886
2887 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2888
2889 * include/wchar.h (__wmemset_chk): New.
2890 * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2891 to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2892 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2893 (WMEMSET_CHK_SYMBOL): Likewise.
2894 (WMEMSET_SYMBOL): Likewise.
2895 (__wmemset): Add hidden definition.
2896 (wmemset): Add weak hidden definition.
2897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2898 wmemset_chk-nonshared.
2899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2900 (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2901 __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2902 __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2903 and __wmemset_chk_avx512_unaligned.
2904 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2905 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2906 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2907 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2908 (WMEMSET_SYMBOL): Likewise.
2909 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2910 (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2911 (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2912 (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2913 (WMEMSET_SYMBOL): Likewise.
2914 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2915 (WMEMSET_CHK_SYMBOL): New.
2916 (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2917 (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2918 * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2919 (libc_hidden_builtin_def): Also define __GI_wmemset and
2920 __GI___wmemset.
2921 (weak_alias): New.
2922 * sysdeps/x86_64/multiarch/wmemset.c: New file.
2923 * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2924 * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2925 * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2926 * sysdeps/x86_64/wmemset.c: Likewise.
2927 * sysdeps/x86_64/wmemset_chk.c: Likewise.
2928
2929 2017-06-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2930 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 * sysdeps/x86/init-arch.h (PASTER1): New.
2933 (EVALUATOR1): Likewise.
2934 (PASTER2): Likewise.
2935 (EVALUATOR2): Likewise.
2936 (REDIRECT_NAME): Likewise.
2937 (OPTIMIZE): Likewise.
2938 (IFUNC_SELECTOR): Likewise.
2939
2940 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2941
2942 * sysdeps/x86_64/strlen.S (PMINU): New.
2943 (PCMPEQ): Likewise.
2944 (SHIFT_RETURN): Likewise.
2945 (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2946 (strlen): Add SHIFT_RETURN before ret. Replace pcmpeqb and
2947 pminub with PCMPEQ and PMINU.
2948 * sysdeps/x86_64/wcsnlen.S: New file.
2949
2950 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2951
2952 * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2953 the lower 32 bits. Remove redundant instructions.
2954
2955 2017-06-05 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2958 0 as the high part of offset.
2959 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2960
2961 2017-06-05 Joseph Myers <joseph@codesourcery.com>
2962
2963 [BZ #21538]
2964 * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2965 [__USE_UNIX98].
2966 * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2967 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2968 Likewise.
2969 * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2970 * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2971 * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2972 * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2973 Likewise.
2974
2975 [BZ #21517]
2976 * bits/types/stack_t.h (stack_t): Remove struct tag.
2977 * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2978 Likewise.
2979 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2980 Likewise.
2981 * debug/segfault.c (install_handler): Use stack_t instead of
2982 struct sigaltstack.
2983 * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2984 * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2985 * include/signal.h (__sigaltstack): Likwise.
2986 * signal/sigaltstack.c (__sigaltstack): Likewise.
2987 * signal/signal.h (sigaltstack): Likewise.
2988 * sysdeps/mach/hurd/i386/signal-defines.sym
2989 (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2990 (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2991 (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2992 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2993 * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2994 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2995 elf_prstatus): Likewise.
2996 * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2997 Likewise.
2998 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2999 Likewise.
3000 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3001 Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3003 elf_prstatus): Likewise.
3004 * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3007 Likewise.
3008
3009 2017-06-04 Zack Weinberg <zackw@panix.com>
3010
3011 * sysdeps/gnu/errlist.c: Regenerate.
3012
3013 2017-06-04 H.J. Lu <hongjiu.lu@intel.com>
3014
3015 * benchtests/bench-memchr.c (do_test): Print out both length
3016 and position.
3017 (test_main): Also test the position close to the beginning for
3018 memrchr.
3019
3020 2017-06-04 Zack Weinberg <zackw@panix.com>
3021
3022 * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3023 * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3024 * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3025 * nis/nis_destroygroup.c, nis/nis_domain_of.c
3026 * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3027 * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3028 * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3029 * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3030 * nis/nis_print_group_entry.c, nis/nis_remove.c
3031 * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3032 * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3033 * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3034 * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3035 * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3036 * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3037 * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3038 * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3039 * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3040 * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3041 * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3042 * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3043 * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3044 * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3045 * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3046 * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3047 * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3048 * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3049 * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3050 * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3051
3052 * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3053 abi-versions.h as well as shlib-compat.h.
3054 * sunrpc/get_myaddr.c: Remove obsolete comment.
3055 * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3056 * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3057 * resolv/res_libc.c: Include shlib-compat.h only once.
3058
3059 2017-06-03 Florian Weimer <fweimer@redhat.com>
3060
3061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3062 of strdup.
3063
3064 2017-06-02 H.J. Lu <hongjiu.lu@intel.com>
3065
3066 * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3067 Set to the 3/4 of the total shared cache size.
3068
3069 2017-06-02 Rical Jasan <ricaljasan@pacific.net>
3070
3071 * manual/errno.texi: Remove redundant error strings.
3072 * manual/macros.texi (@errno): Render the error string in every
3073 description.
3074
3075 2017-06-02 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #21543]
3078 * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3079 <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3080 [__USE_XOPEN_EXTENDED].
3081
3082 2017-06-02 Florian Weimer <fweimer@redhat.com>
3083
3084 * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3085 strdupa.
3086 (getcanonname): Use __strdup instead of strdup.
3087
3088 2017-06-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3089
3090 * misc/Makefile (CFLAGS-preadv2.c): New rule.
3091 (CFLAGS-preadv64v2.c): Likewise.
3092 (CFLAGS-pwritev2.c): Likewise.
3093 (CFLAGS-pwritev64v2.c): Likewise.
3094
3095 2017-06-02 Florian Weimer <fweimer@redhat.com>
3096
3097 Test res_init with several configuration files.
3098 * resolv/Makefile [build-shared] (tests-internal): Add
3099 tst-resolv-res_init, tst-resolv-res_init-thread.
3100 (tst-resolv-res_init): Link against libdl, libresolv.
3101 (tst-resolv-res_init-thread): Link against libdl, libresolv,
3102 libpthread.
3103 * resolv/tst-resolv-res_init.c: New file.
3104 * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3105 * resolv/tst-resolv-res_init-thread.c: Likewise.
3106 * support/Makefile (libsupport-routines): Add support-xstat,
3107 support_can_chroot, support_capture_subprocess_check,
3108 support_isolate_in_subprocess, support_shared_allocate,
3109 support_write_file_string, xchroot, xmkdir, xopen.
3110 * support/capture_subprocess.h (enum support_capture_allow): Define.
3111 (support_capture_subprocess_check): Declare.
3112 * support/namespace.h (support_can_chroot)
3113 (support_isolate_in_subprocess): Declare.
3114 * support/support-xstat.c: New file.
3115 * support/support.h (support_shared_allocate, support_shared_free)
3116 (support_write_file_string): Declare.
3117 * support/support_can_chroot.c: New file.
3118 * support/support_capture_subprocess_check.c: Likewise.
3119 * support/support_isolate_in_subprocess.c: Likewise.
3120 * support/support_shared_allocate.c: Likewise.
3121 * support/support_write_file_string.c: Likewise.
3122 * support/xchroot.c: Likwise.
3123 * support/xmkdir.c: Likwise.
3124 * support/xopen.c: Likwise.
3125 * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3126
3127 2017-06-02 Florian Weimer <fweimer@redhat.com>
3128
3129 * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3130 (gaih_inet): Remove malloc_canonbuf variable. Call getcanonname.
3131
3132 2017-06-02 Florian Weimer <fweimer@redhat.com>
3133
3134 * malloc/Makefile (routines): Add dynarray_at_failure,
3135 dynarray_emplace_enlarge, dynarray_finalize.
3136 (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3137 tst-dynarray-at-fail.
3138 (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3139 (tests-special): Add tst-dynarray-mem.out,
3140 tst-dynarray-mem-fail.out.
3141 (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3142 (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3143 mtrace.
3144 * malloc/Versions (__libc_dynarray_at_failure)
3145 (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3146 (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3147 GLIBC_PRIVATE.
3148 * malloc/dynarray.h: New file.
3149 * malloc/dynarray-skeleton.c: Likewise.
3150 * malloc/dynarray_at_failure.c: Likewise.
3151 * malloc/dynarray_emplace_enlarge.c: Likewise.
3152 * malloc/dynarray_finalize.c: Likewise.
3153 * malloc/dynarray_resize.c: Likewise.
3154 * malloc/dynarray_resize_clear.c: Likewise.
3155 * malloc/tst-dynarray.c: Likewise.
3156 * malloc/tst-dynarray-fail.c: Likewise.
3157 * malloc/tst-dynarray-at-fail.c: Likewise.
3158 * malloc/tst-dynarray-shared.h: Likewise.
3159 * support/Makefile (libsupport-routines): Add
3160 support_capture_subprocess, xdup2, xpipe.
3161 (tests): Add tst-support_capture_subprocess.
3162 * support/capture_subprocess.h: New file.
3163 * support/support_capture_subprocess.c: Likewise.
3164 * support/tst-support_capture_subprocess.c: Likewise.
3165 * support/xdup2.c: Likewise.
3166 * support/xpipe.c: Likewise.
3167 * support/xunistd.h (xdup2, xpipe): Declare.
3168
3169 2017-06-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3170
3171 * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3172 macros MAX and MIN.
3173
3174 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3175
3176 * conform/data/signal.h-data (sa_sigaction): Do not expect for
3177 [XPG4].
3178 (SA_SIGINFO): Likewise.
3179 (SA_ONSTACK): Likewise.
3180 (SA_RESETHAND): Likewise.
3181 (SA_RESTART): Likewise.
3182 (SA_NOCLDWAIT): Likewise.
3183 (SA_NODEFER): Likewise.
3184 (SS_ONSTACK): Likewise.
3185 (SS_DISABLE): Likewise.
3186 (MINSIGSTKSZ): Likewise.
3187 (SIGSTKSZ): Likewise.
3188 (ucontext_t): Likewise.
3189 (stack_t): Likewise.
3190 (struct sigstack): Likewise.
3191 (SI_USER): Do not expect for [XPG4 || XPG42].
3192 (SI_QUEUE): Likewise.
3193 (SI_TIMER): Likewise.
3194 (SI_ASYNCIO): Likewise.
3195 (SI_MESGQ): Likewise.
3196 (bsd_signal): Do not expect for [XPG4].
3197 (killpg): Likewise.
3198 (sigaltstack): Likewise.
3199 (sighold): Likewise.
3200 (sigignore): Likewise.
3201 (siginterrupt): Likewise.
3202 (sigpause): Likewise.
3203 (sigrelse): Likewise.
3204 (sigset): Likewise.
3205 (sigwait): Do not expect for [XPG4 || XPG42].
3206
3207 2017-06-01 Zack Weinberg <zackw@panix.com>
3208
3209 [BZ #21514]
3210 * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3211 pointing to the generated file in <builddir>/misc/bits/syscall.h.
3212
3213 2017-06-01 Joseph Myers <joseph@codesourcery.com>
3214
3215 [BZ #21457]
3216 * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3217 NGREG to __NGREG if [__USE_MISC].
3218 (gregset_t): Define using __NGREG.
3219 (__ctx): New macro.
3220 (mcontext_t): Use __ctx in defining fields.
3221 * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3222 define NGREG to __NGREG if [__USE_MISC].
3223 (gregset_t): Define using __NGREG.
3224 (__ctx): New macro.
3225 (__ctxt): Likewise.
3226 (fpregset_t): Use __ctx and __ctxt in defining fields.
3227 (mcontext_t): Likewise.
3228 * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3229 define NGREG to __NGREG if [__USE_MISC].
3230 (gregset_t): Define using __NGREG.
3231 (__ctx): New macro.
3232 (mcontext_t): Use __ctx in defining fields.
3233 * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3234 define NGREG to __NGREG if [__USE_MISC].
3235 (gregset_t): Define using __NGREG.
3236 (__ctx): New macro.
3237 (fpregset_t): Use __ctx in defining fields.
3238 (mcontext_t): Likewise.
3239 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3240 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3241 (gregset_t): Define using __NGREG.
3242 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3243 [__USE_MISC].
3244 (fpregset_t): Define using __NFPREG.
3245 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3246 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3247 (gregset_t): Define using __NGREG.
3248 (__ctx): New macro.
3249 (fpregset_t): Use __ctx in defining fields.
3250 (mcontext_t): Likewise.
3251 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3252 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3253 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3254 [__USE_MISC].
3255 (gregset_t): Define using __NGREG.
3256 (__ctx): New macro.
3257 (fpregset_t): Use __ctx in defining fields.
3258 (mcontext_t): Likewise.
3259 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3260 (mcontext_t): Use __ctx in defining fields.
3261 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3262 macro.
3263 [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3264 __NGREG if [__USE_MISC].
3265 [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3266 [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3267 (mcontext_t): Likewise.
3268 [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3269 __NGREG if [__USE_MISC].
3270 [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3271 to __NFPREG if [__USE_MISC].
3272 [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3273 to __NVRREG if [__USE_MISC].
3274 [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3275 [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3276 [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3277 [__WORDSIZE != 32] (vrregset_t): Likewise.
3278 [__WORDSIZE != 32] (mcontext_t): Likewise.
3279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3280 (__psw_t): Use __ctx in defining fields.
3281 (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3282 [__USE_MISC].
3283 (gregset_t): Define using __NGREG.
3284 (fpreg_t): Use __ctx in defining fields.
3285 (fpregset_t): Likewise.
3286 (mcontext_t): Likewise.
3287 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3288 __NGREG and define NGREG to __NGREG if [__USE_MISC].
3289 (gregset_t): Define using __NGREG.
3290 (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3291 [__USE_MISC].
3292 (fpregset_t): Define using __NFPREG.
3293 (__ctx): New macro.
3294 (mcontext_t): Use __ctx in defining fields.
3295 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3296 [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3297 __NGREG if [__USE_MISC].
3298 [__x86_64__] (gregset_t): Define using __NGREG.
3299 [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3300 [__x86_64__] (struct _libc_fpstate): Likewise.
3301 [__x86_64__] (mcontext_t): Likewise.
3302 [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3303 __NGREG if [__USE_MISC].
3304 [!__x86_64__] (gregset_t): Define using __NGREG.
3305 [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3306 [!__x86_64__] (struct _libc_fpstate): Likewise.
3307 [!__x86_64__] (mcontext_t): Likewise.
3308
3309 2017-06-01 Zack Weinberg <zackw@panix.com>
3310
3311 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3312 alpha/pt-vfork.S. Provide own compat shim for vfork and __vfork.
3313 * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3314 * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3315 libpthread.so no longer references __errno_location.
3316
3317 2017-05-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3318
3319 * NEWS: Add note about pwritev2 and preadv2 inclusion.
3320 * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3321 pwritev64v2.
3322 (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3323 * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3324 pwritev64v2.
3325 * misc/preadv2.c: New file.
3326 * misc/preadv64v2.c: Likewise.
3327 * misc/pwritev2.c: Likewise.
3328 * misc/pwritev64v2.c: Likewise.
3329 * misc/tst-preadvwritev2.c: Likewise.
3330 * misc/tst-preadvwritev64v2.c: Likewise.
3331 * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3332 * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3333 prototype.
3334 [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3335 [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3336 [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3337 * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3338 (PWRITEV): Likewise.
3339 (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3340 ENOSYS.
3341 * nptl/tst-cancel4.c (tf_pwritev2): New test.
3342 (tf_preadv2): Likewise.
3343 (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3344 * sysdeps/posix/preadv2.c: Likewise.
3345 * sysdeps/posix/preadv64v2.c: Likewise.
3346 * sysdeps/posix/pwritev2.c: Likewise.
3347 * sysdeps/posix/pwritev64v2.c: Likewise.
3348 * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3349 support in kernel.
3350 * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3351 * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3352 * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3353 * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3354 * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3355 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3356 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3357 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3358 * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3359 support flags on Linux.
3360 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3361 preadv2, preadv64v2, pwritev2, pwritev64v2.
3362 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3363 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3364 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3365 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3366 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3367 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3368 Likewise.
3369 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3370 Likewise.
3371 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3372 Likewise.
3373 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3374 Likewise.
3375 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3376 Likewise.
3377 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3378 Likewise.
3379 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3380 Likewise.
3381 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3383 (GLIBC_2.26): Likewise.
3384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3385 (GLIBC_2.26): Likewise.
3386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3387 Likewise.
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3389 (GLIBC_2.26): Likewise.
3390 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3391 Likewise.
3392 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3393 Likewise.
3394 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3395 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3396 Likewise.
3397 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3398 Likewise.
3399 * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3400 Likewise.
3401 * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3402 Likewise.
3403 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3404 Likewise.
3405 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3408 Likewise.
3409
3410 2017-05-31 Andreas Schwab <schwab@suse.de>
3411
3412 * nptl/tst-fork3.c: Include <support/test-driver.c>.
3413 (main): Rename to do_test and make static.
3414
3415 2017-05-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3416
3417 * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3418 ARCH_INIT_CPU_FEATURES.
3419 (LIBC_START_MAIN): Call it.
3420 * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3421 (__libc_start_main): Remove.
3422 (ARCH_INIT_CPU_FEATURES): New macro.
3423 * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3424 (ARCH_INIT_CPU_FEATURES): New macro.
3425
3426 2017-05-30 Dennis Wölfing <denniswoelfing@gmx.de>
3427 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3428
3429 * include/stdlib.h (__libc_reallocarray): New declaration.
3430 * malloc/Makefile (routines): Add reallocarray.
3431 (tests): Add tst-reallocarray.c.
3432 * malloc/Versions: Add reallocarray and __libc_reallocarray.
3433 * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3434 function.
3435 * malloc/malloc.h (reallocarray): New declaration.
3436 * stdlib/stdlib.h (reallocarray): Likewise.
3437 * malloc/reallocarray.c: New file.
3438 * malloc/tst-reallocarray.c: New test file.
3439 * manual/memory.texi: Document reallocarray.
3440 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3441 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3442 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3443 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3444 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3445 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3446 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3447 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3448 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3449 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3451 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3452 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3453 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3455 Likewise.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3457 Likewise.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3460 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3461 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3462 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3463 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3464 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3467 * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3468 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3469 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3470
3471 2017-05-30 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3474 the lower 32 bits.
3475
3476 2017-05-29 Andreas Schwab <schwab@linux-m68k.org>
3477
3478 * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3479 $(build-pie-default) = yes]: Define.
3480
3481 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 * string/test-memchr.c (test_main): Add tests for n == 0.
3484
3485 2017-05-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3486
3487 * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3488 nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3489 (tests-internal): ... here.
3490
3491 2017-05-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3492 H.J. Lu <hongjiu.lu@intel.com>
3493
3494 * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3495 * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3496 (__tunable_set_val): Likewise.
3497
3498 2017-05-25 H.J. Lu <hongjiu.lu@intel.com>
3499
3500 * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3501 dl-tunables.list in subdirectories.
3502
3503 2017-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3504 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3505 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3506
3507 * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3508 (SNANF128): New macro.
3509 * math/e_sqrtf128.c: New file.
3510 * math/s_fmaxmag_template.c: Include math_private.h in order to
3511 make inline expansion of fabs128().
3512 * math/s_fminmag_template.c: Likewise.
3513
3514 * sysdeps/ieee754/float128/e_acosf128.c: New file.
3515 * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3516 * sysdeps/ieee754/float128/e_asinf128.c: New file.
3517 * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3518 * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3519 * sysdeps/ieee754/float128/e_coshf128.c: New file.
3520 * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3521 * sysdeps/ieee754/float128/e_expf128.c: New file.
3522 * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3523 * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3524 * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3525 * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3526 * sysdeps/ieee754/float128/e_j0f128.c: New file.
3527 * sysdeps/ieee754/float128/e_j1f128.c: New file.
3528 * sysdeps/ieee754/float128/e_jnf128.c: New file.
3529 * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3530 * sysdeps/ieee754/float128/e_log10f128.c: New file.
3531 * sysdeps/ieee754/float128/e_log2f128.c: New file.
3532 * sysdeps/ieee754/float128/e_logf128.c: New file.
3533 * sysdeps/ieee754/float128/e_powf128.c: New file.
3534 * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3535 * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3536 * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3537 * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3538 * sysdeps/ieee754/float128/float128_private.h: New file.
3539 * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3540 * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3541 * sysdeps/ieee754/float128/k_cosf128.c: New file.
3542 * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3543 * sysdeps/ieee754/float128/k_sinf128.c: New file.
3544 * sysdeps/ieee754/float128/k_tanf128.c: New file.
3545 * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3546 * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3547 * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3548 * sysdeps/ieee754/float128/s_atanf128.c: New file.
3549 * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3550 * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3551 * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3552 * sysdeps/ieee754/float128/s_cosf128.c: New file.
3553 * sysdeps/ieee754/float128/s_erff128.c: New file.
3554 * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3555 * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3556 * sysdeps/ieee754/float128/s_finitef128.c: New file.
3557 * sysdeps/ieee754/float128/s_floorf128.c: New file.
3558 * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3559 * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3560 * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3561 * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3562 * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3563 * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3564 * sysdeps/ieee754/float128/s_isinff128.c: New file.
3565 * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3566 * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3567 * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3568 * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3569 * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3570 * sysdeps/ieee754/float128/s_logbf128.c: New file.
3571 * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3572 * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3573 * sysdeps/ieee754/float128/s_modff128.c: New file.
3574 * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3575 * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3576 * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3577 * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3578 * sysdeps/ieee754/float128/s_remquof128.c: New file.
3579 * sysdeps/ieee754/float128/s_rintf128.c: New file.
3580 * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3581 * sysdeps/ieee754/float128/s_roundf128.c: New file.
3582 * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3583 * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3584 * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3585 * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3586 * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3587 * sysdeps/ieee754/float128/s_significandf128.c: New file.
3588 * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3589 * sysdeps/ieee754/float128/s_sinf128.c: New file.
3590 * sysdeps/ieee754/float128/s_tanf128.c: New file.
3591 * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3592 * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3593 * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3594 * sysdeps/ieee754/float128/s_truncf128.c: New file.
3595 * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3596 * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3597 * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3598 * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3599
3600 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3601 (__iscanonicalf128): Define as a macro.
3602
3603 2017-05-24 Steve Ellcey <sellcey@caviumnetworks.com>
3604
3605 * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3606 (memmove): Use MEMMOVE for name.
3607 (memcpy): Use MEMCPY for name. Change internal labels
3608 to external labels.
3609 * sysdeps/aarch64/multiarch/Makefile: New file.
3610 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3611 * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3612 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3613 * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3614 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3615 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3616
3617 2017-05-24 Siddhesh Poyarekar <siddhesh@sourceware.org>
3618
3619 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3620 (_dl_arm_cap_flags): Fix array subscript.
3621 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3622 Fix count.
3623
3624 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3627
3628 2017-05-24 H.J. Lu <hongjiu.lu@intel.com>
3629
3630 * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3631 (is_amd): Likewise.
3632 (max_cpuid): Likewise.
3633 (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3634 (init_cacheinfo): Likewise.
3635
3636 2017-05-23 Joseph Myers <joseph@codesourcery.com>
3637
3638 [BZ #21511]
3639 * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3640 [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3641 (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3642 !__USE_XOPEN2K) || __USE_MISC].
3643 * conform/data/signal.h-data (struct sigstack): Expect type only
3644 if [!XOPEN2K8 && !POSIX2008].
3645 (sigstack): Expect function only if [XPG42 || UNIX98].
3646
3647 [BZ #21457]
3648 * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3649 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3650 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3651 <bits/types/__sigset_t.h>.
3652 (ucontext_t): Use sigset_t instead of __sigset_t.
3653 * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3654 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3655 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3656 <bits/types/__sigset_t.h>.
3657 (ucontext_t): Use sigset_t instead of __sigset_t.
3658 * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
3659 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3660 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3661 <bits/types/__sigset_t.h>.
3662 (ucontext_t): Use sigset_t instead of __sigset_t.
3663 * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
3664 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3665 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3666 <bits/types/__sigset_t.h>.
3667 (ucontext_t): Use sigset_t instead of __sigset_t.
3668 * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
3669 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3670 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3671 <bits/types/__sigset_t.h>.
3672 (ucontext_t): Use sigset_t instead of __sigset_t.
3673 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
3674 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3675 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3676 <bits/types/__sigset_t.h>.
3677 (ucontext_t): Use sigset_t instead of __sigset_t.
3678 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3679 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3680 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3681 <bits/types/__sigset_t.h>.
3682 (ucontext_t): Use sigset_t instead of __sigset_t.
3683 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3684 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3685 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3686 <bits/types/__sigset_t.h>.
3687 (ucontext_t): Use sigset_t instead of __sigset_t.
3688 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3689 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3690 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3691 <bits/types/__sigset_t.h>.
3692 (ucontext_t): Use sigset_t instead of __sigset_t.
3693 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3694 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3695 <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
3696 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3697 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3698 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3699 <bits/types/__sigset_t.h>.
3700 (ucontext_t): Use sigset_t instead of __sigset_t.
3701 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3702 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3703 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3704 <bits/types/__sigset_t.h>.
3705 (ucontext_t): Use sigset_t instead of __sigset_t.
3706 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3707 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3708 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3709 <bits/types/__sigset_t.h>.
3710 (ucontext_t): Use sigset_t instead of __sigset_t.
3711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3712 <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3713 <bits/ss_flags.h>.
3714 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3715 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3716 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3717 <bits/types/__sigset_t.h>.
3718 (ucontext_t): Use sigset_t instead of __sigset_t.
3719 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3720 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3721 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3722 <bits/types/__sigset_t.h>.
3723 (ucontext_t): Use sigset_t instead of __sigset_t.
3724 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3725 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3726 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3727 <bits/types/__sigset_t.h>.
3728 (ucontext_t): Use sigset_t instead of __sigset_t.
3729 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3730 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3731 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3732 <bits/types/__sigset_t.h>.
3733 (ucontext_t): Use sigset_t instead of __sigset_t.
3734 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
3735 <bits/types.h>.
3736 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3737 <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3738 <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
3739 <bits/types/__sigset_t.h>.
3740 (ucontext_t): Use sigset_t instead of __sigset_t.
3741
3742 2017-05-22 Zack Weinberg <zackw@panix.com>
3743
3744 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3745 (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
3746 bits/siginfo-arch.h, only if not already defined.
3747 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3748 (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
3749 (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
3750 Likewise.
3751
3752 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3753 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3755 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3756 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3757 Unconditionally define __SI_* macros.
3758
3759 2017-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3760
3761 [BZ #21393]
3762 * libio/freopen.c (freopen): Avoid dup already opened file descriptor
3763 and add a check for dup3 failure.
3764 * libio/freopen64.c (freopen64): Likewise.
3765 * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
3766 libsupport.
3767 (do_test_bz21398): New test.
3768 * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
3769
3770 2017-05-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
3771
3772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
3773 Remove invalid comment.
3774
3775 2017-05-21 Zack Weinberg <zackw@panix.com>
3776
3777 * signal/Makefile (headers): Add bits/types/sigval_t.h.
3778
3779 2017-05-20 Zack Weinberg <zackw@panix.com>
3780
3781 * bits/sigevent-consts.h
3782 * bits/siginfo-consts.h
3783 * bits/types/__sigset_t.h
3784 * bits/types/sigevent_t.h
3785 * bits/types/siginfo_t.h
3786 * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3787 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3788 * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3789 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3790 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3791 New system-dependent bits headers.
3792
3793 * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3794 * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3795 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3796 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3797 * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3798 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3799 * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3800 * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3801 * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3802 New Linux-only system-dependent bits headers.
3803
3804 * signal/bits/types/sig_atomic_t.h
3805 * signal/bits/types/sigset_t.h
3806 * signal/bits/types/sigval_t.h:
3807 New non-system-dependent bits headers.
3808
3809 * sysdeps/generic/sigsetops.h
3810 * sysdeps/unix/sysv/linux/sigsetops.h:
3811 New internal headers.
3812
3813 * include/bits/types/sig_atomic_t.h
3814 * include/bits/types/sigset_t.h
3815 * include/bits/types/sigval_t.h:
3816 New wrappers.
3817
3818 * signal/sigsetops.h
3819 * bits/siginfo.h
3820 * bits/sigset.h
3821 * sysdeps/unix/sysv/linux/bits/siginfo.h
3822 * sysdeps/unix/sysv/linux/bits/sigset.h
3823 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3824 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3825 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3826 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3827 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3829 Deleted.
3830
3831 * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3832 Update lists of installed headers.
3833
3834 * posix/bits/types.h: Define __sig_atomic_t here.
3835 * signal/signal.h: Use the new bits headers; no need to handle
3836 __need_sig_atomic_t nor __need_sigset_t. Don't use __sigmask
3837 to define sigmask.
3838 * include/signal.h: No need to handle __need_sig_atomic_t
3839 nor __need_sigset_t. Don't define __sigemptyset.
3840
3841 * io/sys/poll.h, setjmp/setjmp.h
3842 * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3843 * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3844 * sysdeps/mach/hurd/i386/bits/sigcontext.h
3845 * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3846 * sysdeps/pthread/bits/sigthread.h
3847 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3848 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3849 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3850 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3851 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3852 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3853 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3854 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3855 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3856 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3857 Use bits/types/__sigset_t.h.
3858
3859 * misc/sys/select.h, posix/spawn.h
3860 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3861 * sysdeps/unix/sysv/linux/sys/epoll.h
3862 * sysdeps/unix/sysv/linux/sys/signalfd.h:
3863 Use bits/types/sigset_t.h.
3864
3865 * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3866 * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3867 * socket/sys/socket.h: Don't include bits/sigset.h.
3868
3869 * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3870 * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3871 * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3872 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3873 * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3874 * sysdeps/unix/sysv/linux/nptl-signals.h:
3875 Include sigsetops.h.
3876
3877 * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3878 * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3879 * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3880 __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3881 now return no value.
3882
3883 * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3884 Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3885 "sigsetops.h".
3886
3887 * signal/sigsetops.c: Explicitly define __sigismember,
3888 __sigaddset, and __sigdelset as compatibility symbols.
3889
3890 * signal/Versions: Correct commentary on __sigpause,
3891 __sigaddset, __sigdelset, __sigismember.
3892
3893 * inet/rcmd.c: Include sigsetops.h. Convert old code using
3894 __sigblock/__sigsetmask to use __sigprocmask and friends.
3895
3896 * resolv/resolv.h: Remove __need_res_state logic.
3897 Move definition of res_state and related constants to ...
3898 * resolv/bits/types/res_state.h: ...this new file.
3899 * resolv/Makefile: Install bits/types/res_state.h.
3900 * include/bits/types/res_state.h: New wrapper.
3901 * include/list.h: Remove __need_list_t logic.
3902 Move definition of list_t to ...
3903 * include/list_t.h: ...this new file.
3904
3905 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3906 instead of list.h and resolv.h.
3907
3908 * resolv/resolv.h: Remove __need_res_state logic.
3909 Move definition of res_state and related constants to ...
3910 * resolv/bits/types/res_state.h: ...this new file.
3911 * resolv/Makefile: Install bits/types/res_state.h.
3912 * include/bits/types/res_state.h: New wrapper.
3913 * include/list.h: Remove __need_list_t logic.
3914 Move definition of list_t to ...
3915 * include/list_t.h: ...this new file.
3916
3917 * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3918 instead of list.h and resolv.h.
3919
3920 2017-05-20 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3923
3924 2017-05-20 Zack Weinberg <zackw@panix.com>
3925
3926 * sysdeps/arm/sysdep.h
3927 (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3928
3929 * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3930 * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3931 * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3932 * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3933 * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3934 * sysdeps/arm/armv6t2/strlen.S
3935 * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3936 * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3937 * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3938 * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3939 * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3940 Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3941
3942 2017-05-20 Zack Weinberg <zackw@panix.com>
3943
3944 Remove the NaCl port.
3945 * sysdeps/arm/nacl: Remove directory and contents.
3946 * sysdeps/nacl: Remove directory and contents.
3947 * abi-tags: Remove .*-.*-nacl.* entry.
3948
3949 2017-05-19 Rical Jasan <ricaljasan@pacific.net>
3950
3951 * manual/errno.texi: Convert @comment-based errno documentation to
3952 @errno.
3953 * manual/macros.texi (@errno): New macro. Consolidate errors,
3954 their values, and messages, adding the error string to the Concept
3955 Index. Provide a warning in the comment about external (to the
3956 manual) dependencies.
3957 * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3958 * sysdeps/mach/hurd/errnos.awk: Likewise.
3959
3960 2017-05-19 Joseph Myers <joseph@codesourcery.com>
3961
3962 * bits/ss_flags.h: New file.
3963 * bits/types/stack_t.h: Likewise.
3964 * include/bits/types/struct_sigstack.h: Likewise.
3965 * signal/bits/types/struct_sigstack.h: Likewise.
3966 * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3967 * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3968 * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3969 * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3970 bits/types/stack_t.h and bits/ss_flags.h.
3971 * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3972 Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3973 <bits/ss_flags.h>.
3974 * bits/sigstack.h (struct sigstack): Remove.
3975 (stack_t): Likewise.
3976 (SS_ONSTACK): Likewise.
3977 (SS_DISABLE): Likewise.
3978 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3979 (struct sigstack): Likewise.
3980 (stack_t): Likewise.
3981 (SS_ONSTACK): Likewise.
3982 (SS_DISABLE): Likewise.
3983 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3984 Likewise.
3985 (stack_t): Likewise.
3986 (SS_ONSTACK): Likewise.
3987 (SS_DISABLE): Likewise.
3988 * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3989 Likewise.
3990 (stack_t): Likewise.
3991 (SS_ONSTACK): Likewise.
3992 (SS_DISABLE): Likewise.
3993 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3994 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3995 Likewise.
3996 (stack_t): Likewise.
3997 (SS_ONSTACK): Likewise.
3998 (SS_DISABLE): Likewise.
3999 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4000 (struct sigstack): Likewise.
4001 (stack_t): Likewise.
4002 (SS_ONSTACK): Likewise.
4003 (SS_DISABLE): Likewise.
4004 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4005 Likewise.
4006 (stack_t): Likewise.
4007 (SS_ONSTACK): Likewise.
4008 (SS_DISABLE): Likewise.
4009 * sysdeps/arm/sys/ucontext.h: Include
4010 <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4011 <bits/ss_flags.h>.
4012 * sysdeps/generic/sys/ucontext.h: Likewise.
4013 * sysdeps/i386/sys/ucontext.h: Likewise.
4014 * sysdeps/m68k/sys/ucontext.h: Likewise.
4015 * sysdeps/mips/sys/ucontext.h: Likewise.
4016 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4017 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4018 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4019 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4020 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4021 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4022 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4023 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4024 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4025 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4026 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4027 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4028 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4029 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4030 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4031
4032 2017-05-19 H.J. Lu <hongjiu.lu@intel.com>
4033
4034 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4035 "edx + ecx - 16" to avoid possible addition overflow.
4036 * sysdeps/x86_64/memchr.S (memchr): Likewise.
4037
4038 2017-05-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4039
4040 * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4041 (CFLAGS-splice.c): Likewise.
4042 (CFLAGS-open_by_handle_at.c): Likewise.
4043 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4044 (CFLAGS-splice.c): Likewise.
4045 (CFLAGS-open_by_handle_at.c): Likewise.
4046
4047 2017-05-19 Joseph Myers <joseph@codesourcery.com>
4048
4049 * scripts/versions.awk: Generate ldbl-compat-choose.h.
4050 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4051 <ldbl-compat-choose.h>.
4052 (maybe_long_double_symbol): New macro.
4053 [!declare_mgen_alias] (declare_mgen_alias): Use
4054 maybe_long_double_symbol.
4055 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4056 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4060 * Makerules [$(build-shared) = yes && !avoid-generated]
4061 (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4062 [$(build-shared) = yes && !avoid-generated]
4063 ($(common-objpfx)ldbl-compat-choose.h): New target.
4064
4065 * scripts/versions.awk: Generate first-versions.h.
4066 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4067 <first-versions.h>.
4068 (LDOUBLE_cabsl_libm_version): Remove macro.
4069 (LDOUBLE_cargl_libm_version): Likewise.
4070 (LDOUBLE_cimagl_libm_version): Likewise.
4071 (LDOUBLE_conjl_libm_version): Likewise.
4072 (LDOUBLE_creall_libm_version): Likewise.
4073 (LDOUBLE_cacosl_libm_version): Likewise.
4074 (LDOUBLE_cacoshl_libm_version): Likewise.
4075 (LDOUBLE_ccosl_libm_version): Likewise.
4076 (LDOUBLE_ccoshl_libm_version): Likewise.
4077 (LDOUBLE_casinl_libm_version): Likewise.
4078 (LDOUBLE_csinl_libm_version): Likewise.
4079 (LDOUBLE_casinhl_libm_version): Likewise.
4080 (LDOUBLE_csinhl_libm_version): Likewise.
4081 (LDOUBLE_catanl_libm_version): Likewise.
4082 (LDOUBLE_catanhl_libm_version): Likewise.
4083 (LDOUBLE_ctanl_libm_version): Likewise.
4084 (LDOUBLE_ctanhl_libm_version): Likewise.
4085 (LDOUBLE_cexpl_libm_version): Likewise.
4086 (LDOUBLE_clogl_libm_version): Likewise.
4087 (LDOUBLE_cprojl_libm_version): Likewise.
4088 (LDOUBLE_csqrtl_libm_version): Likewise.
4089 (LDOUBLE_cpowl_libm_version): Likewise.
4090 (LDOUBLE_clog10l_libm_version): Likewise.
4091 (LDOUBLE___clog10l_libm_version): Likewise.
4092 (LDOUBLE_fdiml_libm_version): Likewise.
4093 (LDOUBLE_fmaxl_libm_version): Likewise.
4094 (LDOUBLE_fminl_libm_version): Likewise.
4095 (LDOUBLE_ilogbl_libm_version): Likewise.
4096 (LDOUBLE_nanl_libm_version): Likewise.
4097 [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4098 FIRST_VERSION_libm_* macros.
4099 [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4100 * Makerules [$(build-shared) = yes && !avoid-generated]
4101 (before-compile): Add $(common-objpfx)first-versions.h.
4102 [$(build-shared) = yes && !avoid-generated]
4103 ($(common-objpfx)first-versions.h): New target.
4104 ($(common-objpfx)sysd-versions): Depend on and change to rule for
4105 building $(common-objpfx)versions.stmp.
4106
4107 2017-05-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4108
4109 * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4110 * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4111 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4112 auto-generation list.
4113
4114 * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4115 * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4116 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4117 from auto-generation list.
4118
4119 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4120 open_by_handle_at.
4121 (CFLAGS-open_by_handle_at.c): New flag.
4122 * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4123 * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4124 file.
4125 * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4126
4127 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4128 (CFLAGS-splice.c): New flag.
4129 * sysdeps/unix/sysv/linux/splice.c: New file.
4130 * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4131 auto-generation syscall list.
4132 * misc/Makefile (CFLAGS-splice.c): New rule.
4133
4134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4135 * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4136 auto-generation syscall list.
4137 * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4138 * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4139
4140 * misc/Makefile (CFLAGS-fsync.c): New flag.
4141 * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4142 * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4143 syscall list.
4144 * sysdeps/unix/sysv/linux/fsync.c: New file.
4145 * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4146 (__errno_location): Remove.
4147
4148 * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4149 * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4150 * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4151 list.
4152 * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4153
4154 * misc/Makefile (CFLAGS-msync.c): New rule.
4155 * nptl/Makefile (CFLAGS-msync.c): Likewise.
4156 * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4157 * sysdeps/unix/sysv/linux/msync.c: New file.
4158
4159 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4160 * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4161 * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4163 (CFLAGS-sigsuspend.c): Remove rule.
4164
4165 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4166 (CFLAGS-tee.c): New rule.
4167 * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4168 auto-generated list.
4169 * sysdeps/unix/sysv/linux/tee.c: New file.
4170
4171 * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4172 * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4173 * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4174 * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4175 auto-generated list.
4176
4177 * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4178 auto-generated list.
4179 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4180 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4181 * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4182 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4184
4185 * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4186 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4188 (__NR_pause): Undefine.
4189 * sysdeps/unix/sysv/linux/pause.c: New file.
4190 * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4191 auto-generation list.
4192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4193 Remove rule.
4194 * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4195
4196 2017-05-18 H.J. Lu <hongjiu.lu@intel.com>
4197
4198 * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4199 comments.
4200
4201 2017-05-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
4202
4203 * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4204 LD_HWCAP_MASK.
4205
4206 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4207
4208 * manual/conf.texi: Convert @tables of annotated @items to
4209 @vtables.
4210 * manual/lang.texi: Likewise.
4211 * manual/pattern.texi: Likewise.
4212 * manual/resource.texi: Likewise.
4213 * manual/socket.texi: Likewise.
4214
4215 2017-05-18 Rical Jasan <ricaljasan@pacific.net>
4216
4217 * manual/crypt.texi: Move a comment out of an @*x list.
4218 * manual/filesys.texi: Refactor some comments, one of which looks
4219 like a standard. Fix incorrectly separated standards.
4220 * manual/locale.texi: Invert an annotation.
4221 * manual/resource.texi: Fix incorrectly separated standards.
4222 * manual/time.texi: Refactor a @vtable that obscures an
4223 annotation.
4224 * manual/users.texi: Refactor multiple headers to occupy a single
4225 @comment.
4226
4227 2017-05-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4228
4229 * sysdeps/powerpc/powerpc64/multiarch/Makefile
4230 (sysdep_routines): Add memcmp-power8.
4231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4232 (memcmp): Add __memcmp_power8 to list of memcmp functions.
4233 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4234 (memcmp): Add __memcmp_power8 to ifunc list.
4235 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4236 * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4237
4238 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4239 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4240
4241 * math/math.h (__MATH_TG): Extend the conditions to add
4242 _Float128 support.
4243 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4244
4245 2017-05-17 Paul A. Clarke <pc@us.ibm.com>
4246
4247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4248 [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4249 s_cosf-ppc64.
4250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4253 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4254
4255 2017-05-17 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4256
4257 * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4258 (gen-libm-calls): Add e_exp2F to use the template.
4259 * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4260 * math/e_exp2_template.c: New file, renamed from
4261 math/e_exp2l.c, and made into a template.
4262 * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4263
4264 2017-05-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
4265
4266 * elf/dl-tunable-types.h (tunable_type_code_t): New type
4267 TUNABLE_TYPE_UINT_64.
4268 * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4269 Simplify computation of overflow.
4270 (tunable_set_val_if_valid_range_signed,
4271 tunable_set_val_if_valid_range_unsigned): Remove and replace
4272 with this...
4273 (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4274 (tunable_initialize): Adjust. Add uint64_t support.
4275 (__tunable_set_val): Add uint64_t support.
4276 * README.tunables: Document it.
4277
4278 * scripts/gen-tunables.awk: Recognize 'default' keyword in
4279 dl-tunables.list.
4280 * README.tunables: Document it.
4281
4282 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4283
4284 * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4285 * sysdeps/posix/preadv64.c: Likewise.
4286 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4287 * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4288 * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4289 * sysdeps/posix/pwritev64.c: Likewise.
4290 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4291 * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4292 * sysdeps/posix/preadv_common.c: New file.
4293 * sysdeps/posix/pwritev_common.c: Likewise.
4294
4295 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4296
4297 * sysdeps/generic/math-type-macros-float128.h
4298 (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4299 wrapper templates.
4300
4301 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4302 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4303
4304 * include/complex.h (__kernel_casinhf128): New declaration.
4305 * include/float.h: New file.
4306 * include/math.h (__finitef128): Add a hidden def.
4307 (__isinff128): Likewise.
4308 (__isnanf128): Likewise.
4309 (__fpclassify): Likewise.
4310 (__issignalling): Likewise.
4311 (__expf128): Likewise.
4312 (__expm1f128): Likewise.
4313
4314 * sysdeps/generic/fix-fp-int-convert-overflow.h:
4315 (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4316 (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4317
4318 * sysdeps/generic/math-type-macros-float128.h: New file.
4319
4320 * sysdeps/generic/math_private.h: Include bits/floatn.h and
4321 math_private_calls.h for _Float128.
4322 (__isinff128): New inline implementation used when GCC < 7.0,
4323 since in this case __builtin_isinf_sign is broken.
4324 (fabsf128): New inline implementation that calls the builtin.
4325 (__EXPR_FLT128): New macro.
4326 (min_of_type): Optionally include _Float128 types too.
4327
4328 * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4329 Declare for _Float128.
4330 (__kernel_rem_pio2): Likewise.
4331
4332 * sysdeps/ieee754/ldbl-opt/s_sin.c:
4333 (__DECL_SIMD_sincos_disablef128): New macro.
4334
4335 2017-05-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4336
4337 * math/math.h: Include bits/math-finite.h for float128.
4338 (__MATH_DECLARING_FLOATN): Define to control declaration of
4339 float128 functions.
4340 * math/bits/math-finite.h (pow10): Do not declare for float128.
4341 (gamma): Likewise.
4342 (scalb): Likewise.
4343
4344 2017-05-14 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4345 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4346
4347 * bits/floatn.h: New file.
4348 * bits/huge_val_flt128.h: Likewise.
4349
4350 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4351 (__DECL_SIMD_sinf128): Likewise.
4352 (__DECL_SIMD_sincosf128): Likewise.
4353 (__DECL_SIMD_logf128): Likewise.
4354 (__DECL_SIMD_expf128): Likewise.
4355 (__DECL_SIMD_powf128): Likewise.
4356
4357 * math/Makefile (headers): Install bits/floatn.h and
4358 bits/huge_val_flt128.h.
4359
4360 * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4361 defined.
4362
4363 * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4364 (isnan, gamma, nexttoward, scalb): Only define if not
4365 __MATH_DECLARING_FLOATN.
4366 (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4367 (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4368 (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4369 _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4370
4371 * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4372 Include bits/cmathcalls.h to get the declarations of _Float128
4373 versions of complex functions.
4374 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4375 Define macro.
4376
4377 * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4378 Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4379 get the declarations of _Float128 versions of math functions.
4380 (__MATH_DECLARING_FLOATN): New macro to control declaration of
4381 _FloatN types.
4382 [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4383 is type-generic, so use it without __MATH_TG.
4384 [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4385 _Float128 type on GCC < 7.0. Explicitly call __isinff128 for
4386 _Float128 type and GCC < 7.0, otherwise use the builtin.
4387 [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4388 (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4389 (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4390 New _GNU_SOURCE enabled macros.
4391
4392 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4393
4394 * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4395 (signbitf): Likewise.
4396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4397 Likewise.
4398 (signbitl): Likewise.
4399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4400 Likewise.
4401 * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4402 (signbitl): Likewise.
4403 * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4404
4405 2017-05-12 Florian Weimer <fweimer@redhat.com>
4406
4407 [BZ #21386]
4408 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4409 parent PID. The assertion in the child is incorrect with PID
4410 namespaces.
4411
4412 2017-05-12 Joseph Myers <joseph@codesourcery.com>
4413
4414 * sysdeps/unix/sysv/linux/kernel-features.h
4415 (__ASSUME_STATFS_F_FLAGS): Remove macro.
4416 * sysdeps/unix/sysv/linux/internal_statvfs.c
4417 [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4418
4419 2017-05-11 Zack Weinberg <zackw@panix.com>
4420
4421 * Makerules: New subdir configuration variables 'tests-internal'
4422 and 'test-internal-extras'. Test files in these categories will
4423 still be compiled with MODULE_NAME=nonlib. Test files in the
4424 existing categories (tests, xtests, test-srcs, test-extras) are
4425 now compiled with MODULE_NAME=testsuite.
4426 New subdir configuration variable 'modules-names-tests'. Files
4427 which are in both 'modules-names' and 'modules-names-tests' will
4428 be compiled with MODULE_NAME=testsuite instead of
4429 MODULE_NAME=extramodules.
4430 (gen-as-const-headers): Move to tests-internal.
4431 (do-tests-clean, common-mostlyclean): Support tests-internal.
4432 * Makeconfig (built-modules): Add testsuite.
4433 * Makefile: Change libof-check-installed-headers-c and
4434 libof-check-installed-headers-cxx to 'testsuite'.
4435 * Rules: Likewise. Support tests-internal.
4436 * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4437 Remove extra-modules.mk.
4438
4439 * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4440 * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4441 PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4442 very top of the file and rationalize their order.
4443 If MODULE_NAME is not defined at all, define IS_IN to always be
4444 false, and don't define _ISOMAC.
4445 If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4446 true, define _ISOMAC and suppress everything else in this file,
4447 starting with the inclusion of config.h.
4448 Do check for inappropriate definitions of __OPTIMIZE__ and
4449 __FAST_MATH__ here, but only if _ISOMAC is not defined.
4450 Correct some out-of-date commentary.
4451
4452 * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4453 and _Mlong_double_ before including math.h.
4454 * include/string.h: If _ISOMAC is defined, don't expose
4455 _STRING_ARCH_unaligned. Move a comment to a more appropriate
4456 location.
4457
4458 * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4459 * include/time.h, include/unistd.h, include/wchar.h: No need to
4460 check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4461
4462 * misc/sys/cdefs.h (__NTHNL): New macro.
4463 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4464 (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4465
4466 * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4467 defined, for HAVE_TUNABLES.
4468 * inet/tst-checks-posix.c: No need to define _ISOMAC.
4469 * intl/tst-gettext2.c: Provide own definition of N_.
4470 * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4471 * math/test-signgam-main.c: No need to define _ISOMAC.
4472 * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4473 * stdlib/tst-strtod1i.c: ...this new file.
4474 * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4475 Split tests of __strtod_internal to...
4476 * stdlib/tst-strtod5i.c: ...this new file.
4477 * string/test-string.h: Include stdint.h. Duplicate definition of
4478 inhibit_loop_to_libcall here (from libc-symbols.h).
4479 * string/test-strstr.c: Provide dummy definition of
4480 libc_hidden_builtin_def when including strstr.c.
4481 * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4482 mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4483 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4484 Don't include init-arch.h.
4485 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4486 Don't include init-arch.h.
4487
4488 * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4489 tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4490 unload, unload2, circleload1, neededtest, neededtest2,
4491 neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4492 tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4493 tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4494 ifunc tests to tests-internal.
4495 Don't add $(modules-names) to test-extras.
4496 * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4497 Add tst-deadline to tests-static-internal.
4498 * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4499 tests-internal.
4500 * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4501 * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4502 tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4503 tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4504 tst-sem12-static, and tst-stackguard1-static to tests-internal.
4505 Link tests-internal with libpthread also.
4506 Don't add $(modules-names) to test-extras.
4507 * nss/Makefile: Move tst-field to tests-internal.
4508 * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4509 tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4510 * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4511 tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4512 tests-internal.
4513 * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4514 * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4515 test-get_hwcap-static to tests-internal.
4516 * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4517 tests-internal.
4518 * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4519 modules-names-tests.
4520
4521 2017-05-11 Zack Weinberg <zackw@panix.com>
4522
4523 * libio/libio.h: Condition dummy definition of _IO_lock_t on
4524 _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4525 non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4526 _IO_funlockfile, and _IO_ftrylockfile. Only define
4527 _IO_cleanup_region_start and _IO_cleanup_region_end if not
4528 already defined.
4529 * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4530 _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4531 appropriately.
4532 * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4533 Define _IO_lock_t_defined after defining _IO_lock_t.
4534
4535 2016-05-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4536
4537 * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4538 void* for argument type and use VDSO_SYMBOL macro.
4539 (is_sigtramp_address_rt): Likewise.
4540 (__backtrace): Setup expected frame pointer address for signal
4541 handling.
4542 * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4543 void* for argumetn type and use VSDO_SYMBOL macro.
4544 (__backtrace): Setup expected frame pointer address for signal
4545 handling.
4546
4547 * sysdeps/unix/sysv/linux/writev.c: New file.
4548
4549 * sysdeps/unix/sysv/linux/readv.c: New file.
4550
4551 * include/unistd.h (write): Add hidden proto.
4552 * io/Makefile (CFLAGS-write.c): New define.
4553 * nptl/Makefile (CFLAGS-write.c): Likewise.
4554 * sysdeps/unix/sysv/linux/write.c: New file.
4555
4556 [BZ #21428]
4557 * include/unistd.h (read): Add hidden proto.
4558 * io/Makefile (CFLAGS-read.c): New define.
4559 * nptl/Makefile (CFLAGS-read.c): Likewise.
4560 * sysdeps/unix/sysv/linux/read.c: New file.
4561
4562 * io/Makefile (CFLAGS-creat.c): New rule.
4563 (CFLAGS-creat64.c): Likewise.
4564 * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4565 * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4566 * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4567 * sysdeps/unix/sysv/linux/creat.c: New file.
4568 * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4569 * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4570 auto-generated list.
4571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4572
4573 * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4574 * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4575 * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4576 * sysdeps/unix/sysv/linux/open.c: New file.
4577 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4578 iff __WORDSIZE != 64 and use __NR_openat when available.
4579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4580 from auto-generated list.
4581
4582 * nptl/Makefile (CFLAGS-close.c): New flag.
4583 * sysdeps/unix/sysv/linux/close.c: New file.
4584
4585 2017-05-11 DJ Delorie <dj@redhat.com>
4586
4587 * MAINTAINERS: New. Points to wiki.
4588
4589 2017-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
4590
4591 * scripts/gen-tunables.awk: Add attribute_relro to
4592 tunable_list.
4593
4594 2017-05-11 Joseph Myers <joseph@codesourcery.com>
4595
4596 [BZ #21457]
4597 * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4598 (R1): Likewise.
4599 (R2): Likewise.
4600 (R3): Likewise.
4601 (R4): Likewise.
4602 (R5): Likewise.
4603 (R6): Likewise.
4604 (R7): Likewise.
4605 (R8): Likewise.
4606 (R9): Likewise.
4607 (R10): Likewise.
4608 (R11): Likewise.
4609 (R12): Likewise.
4610 (R13): Likewise.
4611 (R14): Likewise.
4612 (R15): Likewise.
4613 * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4614 (REG_FS): Likewise.
4615 (REG_ES): Likewise.
4616 (REG_DS): Likewise.
4617 (REG_EDI): Likewise.
4618 (REG_ESI): Likewise.
4619 (REG_EBP): Likewise.
4620 (REG_ESP): Likewise.
4621 (REG_EBX): Likewise.
4622 (REG_EDX): Likewise.
4623 (REG_ECX): Likewise.
4624 (REG_EAX): Likewise.
4625 (REG_TRAPNO): Likewise.
4626 (REG_ERR): Likewise.
4627 (REG_EIP): Likewise.
4628 (REG_CS): Likewise.
4629 (REG_EFL): Likewise.
4630 (REG_UESP): Likewise.
4631 (REG_SS): Likewise.
4632 * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4633 (R_D1): Likewise.
4634 (R_D2): Likewise.
4635 (R_D3): Likewise.
4636 (R_D4): Likewise.
4637 (R_D5): Likewise.
4638 (R_D6): Likewise.
4639 (R_D7): Likewise.
4640 (R_A0): Likewise.
4641 (R_A1): Likewise.
4642 (R_A2): Likewise.
4643 (R_A3): Likewise.
4644 (R_A4): Likewise.
4645 (R_A5): Likewise.
4646 (R_A6): Likewise.
4647 (R_A7): Likewise.
4648 (R_SP): Likewise.
4649 (R_PC): Likewise.
4650 (R_PS): Likewise.
4651 (fpregset_t): Likewise.
4652 (MCONTEXT_VERSION): Likewise.
4653 * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4654 (CTX_AT): Likewise.
4655 (CTX_V0): Likewise.
4656 (CTX_V1): Likewise.
4657 (CTX_A0): Likewise.
4658 (CTX_A1): Likewise.
4659 (CTX_A2): Likewise.
4660 (CTX_A3): Likewise.
4661 (CTX_T0): Likewise.
4662 (CTX_T1): Likewise.
4663 (CTX_T2): Likewise.
4664 (CTX_T3): Likewise.
4665 (CTX_T4): Likewise.
4666 (CTX_T5): Likewise.
4667 (CTX_T6): Likewise.
4668 (CTX_T7): Likewise.
4669 (CTX_S0): Likewise.
4670 (CTX_S1): Likewise.
4671 (CTX_S2): Likewise.
4672 (CTX_S3): Likewise.
4673 (CTX_S4): Likewise.
4674 (CTX_S5): Likewise.
4675 (CTX_S6): Likewise.
4676 (CTX_S7): Likewise.
4677 (CTX_T8): Likewise.
4678 (CTX_T9): Likewise.
4679 (CTX_K0): Likewise.
4680 (CTX_K1): Likewise.
4681 (CTX_GP): Likewise.
4682 (CTX_SP): Likewise.
4683 (CTX_S8): Likewise.
4684 (CTX_RA): Likewise.
4685 (CTX_MDLO): Likewise.
4686 (CTX_MDHI): Likewise.
4687 (CTX_CAUSE): Likewise.
4688 (CTX_EPC): Likewise.
4689 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
4690 inclusion of <sys/procfs.h> on [__USE_MISC].
4691 (greg_t): Condition on [__USE_MISC].
4692 (gregset_t): Likewise.
4693 (fpregset_t): Likewise.
4694 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
4695 (NGREG): Likewise.
4696 (gregset_t): Likewise.
4697 (REG_R0): Likewise.
4698 (REG_R1): Likewise.
4699 (REG_R2): Likewise.
4700 (REG_R3): Likewise.
4701 (REG_R4): Likewise.
4702 (REG_R5): Likewise.
4703 (REG_R6): Likewise.
4704 (REG_R7): Likewise.
4705 (REG_R8): Likewise.
4706 (REG_R9): Likewise.
4707 (REG_R10): Likewise.
4708 (REG_R11): Likewise.
4709 (REG_R12): Likewise.
4710 (REG_R13): Likewise.
4711 (REG_R14): Likewise.
4712 (REG_R15): Likewise.
4713 (struct _libc_fpstate): Likewise.
4714 (fpregset_t): Likewise.
4715 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
4716 (NFPREG): Likewise.
4717 (gregset_t): Likewise.
4718 (fpregset_t): Likewise.
4719 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
4720 (R_D1): Likewise.
4721 (R_D2): Likewise.
4722 (R_D3): Likewise.
4723 (R_D4): Likewise.
4724 (R_D5): Likewise.
4725 (R_D6): Likewise.
4726 (R_D7): Likewise.
4727 (R_A0): Likewise.
4728 (R_A1): Likewise.
4729 (R_A2): Likewise.
4730 (R_A3): Likewise.
4731 (R_A4): Likewise.
4732 (R_A5): Likewise.
4733 (R_A6): Likewise.
4734 (R_A7): Likewise.
4735 (R_SP): Likewise.
4736 (R_PC): Likewise.
4737 (R_PS): Likewise.
4738 (fpregset_t): Likewise.
4739 (MCONTEXT_VERSION): Likewise.
4740 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
4741 Likewise.
4742 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
4743 (REG_R1): Likewise.
4744 (REG_R2): Likewise.
4745 (REG_R3): Likewise.
4746 (REG_R4): Likewise.
4747 (REG_R5): Likewise.
4748 (REG_R6): Likewise.
4749 (REG_R7): Likewise.
4750 (REG_R8): Likewise.
4751 (REG_R9): Likewise.
4752 (REG_R10): Likewise.
4753 (REG_R11): Likewise.
4754 (REG_R12): Likewise.
4755 (REG_R13): Likewise.
4756 (REG_R14): Likewise.
4757 (REG_R15): Likewise.
4758 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
4759 of <arch/abi.h> on [__USE_MISC].
4760 (greg_t): Condition on [__USE_MISC].
4761 (NGREG): Likewise.
4762 (gregset_t): Likewise.
4763
4764 2017-05-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4765
4766 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4767 (__pthread_rwlock_arch_t): Remove __data definition.
4768 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4769 (__pthread_rwlock_arch_t): Likewise.
4770
4771 2017-05-11 Florian Weimer <fweimer@redhat.com>
4772
4773 * resolv/inet_pton.c: Reformat in GNU style. Remove
4774 internal_function on static functions.
4775
4776 2017-05-11 Florian Weimer <fweimer@redhat.com>
4777
4778 * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4779 from format_ai_flags.
4780 (format_ai_flags): New function. Incorporate flag formatting code
4781 from format_ai_one.
4782 (format_ai_canonname): New function.
4783 (format_ai_one): Remove flags parameter.
4784 (format_ai_family): Likewise.
4785 (support_format_addrinfo): Call format_ai_flags,
4786 format_ai_canonname.
4787 * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4788 check_ai.
4789 (check_ai): Call check_ai_hints.
4790 (do_test): Add AI_CANONNAME tests.
4791
4792 2017-05-11 Florian Weimer <fweimer@redhat.com>
4793
4794 * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4795 (gaih_inet): Likewise.
4796
4797 2017-05-10 Andreas Schwab <schwab@suse.de>
4798
4799 * nptl/tst-fork1.c: Include <support/test-driver.c>.
4800 (main): Rename to do_test and make static.
4801
4802 2017-05-10 Joseph Myers <joseph@codesourcery.com>
4803
4804 * string/rawmemchr.c: Include <libc-diag.h>.
4805 (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4806 with size (size_t)-1.
4807
4808 2017-05-09 Joseph Myers <joseph@codesourcery.com>
4809
4810 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4811 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4812 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4813
4814 * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4815 [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4816 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4817 [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4818 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4819 [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4820 * sysdeps/unix/sysv/linux/kernel-features.h
4821 (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4822 socket syscalls.
4823 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4824 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4825 * sysdeps/unix/sysv/linux/i386/kernel-features.h
4826 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4827 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4829 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4830 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4831 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4832 * sysdeps/unix/sysv/linux/sh/kernel-features.h
4833 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4834 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4835 (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4836 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4837 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4838
4839 2017-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4840
4841 * posix/Makefile (headers): Add pthreadtypes-arch.h and
4842 thread-shared-types.h.
4843 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4844 specific thread definition.
4845 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4846 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4847 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4848 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4849 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4850 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4851 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4852 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4853 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4854 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4855 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4856 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4857 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4858 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4859 * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4860 thread definition between POSIX and C11.
4861 * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4862 * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4863 * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4864 * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4865 * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4866 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4867 * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4868 * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4869 * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4870 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4871 * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4872 * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4873 * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4874 * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4875 * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4876 * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4877 definitions shared across all architectures.
4878
4879 2017-05-09 Joseph Myers <joseph@codesourcery.com>
4880
4881 * sysdeps/unix/sysv/linux/kernel-features.h
4882 (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4883 (__ASSUME_SENDMMSG): Likewise.
4884 (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4885 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4886 sendmmsg syscall if that can be assumed to be present, socketcall
4887 otherwise, with no fallback for runtime failure.
4888
4889 * sysdeps/unix/sysv/linux/kernel-features.h
4890 (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4891 (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4892 (__ASSUME_RECVMMSG): Likewise.
4893 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4894 recvmmsg syscall if it can be assumed to be present, socketcall
4895 otherwise, with no fallback for runtime failure.
4896
4897 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4898 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4899
4900 * bits/libc-header-start.h:
4901 (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4902 * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4903 * manual/creature.texi: Likewise.
4904
4905 2017-05-09 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4906 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4907
4908 * math/Makefile:
4909 (type-float128-suffix): New variable
4910 (type-float128-routines): Likewise
4911 (type-float128-yes): Likewise
4912 (types): Append float128 if supported
4913 (types-basic): New variable to control the use of templates for
4914 float, double, and long double, but not for float128 or newer types.
4915 (type-basic-foreach): Likewise.
4916
4917 * sysdeps/ieee754/float128/Makeconfig: New file.
4918 * sysdeps/ieee754/float128/Versions: New file.
4919
4920 2017-05-09 Joseph Myers <joseph@codesourcery.com>
4921
4922 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4923 Remove macro.
4924 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4925 prlimit64 is always available and does not give an ENOSYS error.
4926 * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4927 unconditional.
4928 [!__NR_prlimit64]: Remove conditional code.
4929 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4930 prlimit64 is always available and does not give an ENOSYS error.
4931 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4932
4933 2017-05-09 Zack Weinberg <zackw@panix.com>
4934
4935 * sunrpc/tst-xdrmem2.c: Include stdint.h.
4936
4937 2017-05-09 Florian Weimer <fweimer@redhat.com>
4938
4939 [BZ #21474]
4940 * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4941 (__res_maybe_init): Likewise.
4942
4943 2017-05-09 Zack Weinberg <zackw@panix.com>
4944
4945 * extra-modules.mk: Delete file.
4946 * cppflags-iterator.mk: Rename to ...
4947 * libof-iterator.mk: ...this. Adjust comments.
4948
4949 * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4950 * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4951 * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4952 Use libof-iterator.mk instead of cppflags-iterator.mk or
4953 extra-modules.mk.
4954
4955 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4956 extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4957
4958 2017-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
4959
4960 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4961
4962 2017-05-08 Carlos O'Donell <carlos@redhat.com>
4963
4964 * stdio-common/vfprintf.c (EXTSIZ): Define.
4965 (vfprintf): Use EXTSIZ.
4966 (printf_positional): Likewise.
4967
4968 2017-05-08 Joseph Myers <joseph@codesourcery.com>
4969
4970 * sysdeps/unix/sysv/linux/kernel-features.h
4971 (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4972 * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4973 <kernel-features.h>.
4974 (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4975
4976 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4977 (__ASSUME_GETCPU_SYSCALL): Remove macro.
4978
4979 2017-05-08 Florian Weimer <fweimer@redhat.com>
4980
4981 Prevent multiple deletion of temporary files.
4982 * support/temp_file.c (struct temp_name_list): Add owner member.
4983 (add_temp_file): Record owner.
4984 (support_delete_temp_files): Delete file only if owner matches.
4985 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4986 (do_prepare): Use create_temp_file instead of add_temp_file.
4987 Initialize temp_fd1, temp_fd2.
4988 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
4989 framework remove the temporary files.
4990 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4991 (do_prepare): Use create_temp_file instead of add_temp_file.
4992 Initialize temp_fd1, temp_fd2, temp_fd3.
4993 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let
4994 the test framework remove the temporary files.
4995 * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4996 deletion.
4997 * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4998 temporary directory. It is removed by the test framework.
4999 * dirent/tst-scandir.c (do_test): Likewise.
5000
5001 2017-05-08 Florian Weimer <fweimer@redhat.com>
5002
5003 Delete temporary files in LIFO order.
5004 * support/temp_file.c (struct temp_name_list): Replace q member
5005 with next.
5006 (add_temp_file): Add new file to front of linked list.
5007 (support_delete_temp_files): Use next member.
5008 (support_print_temp_files): Likewise.
5009
5010 2017-05-08 Florian Weimer <fweimer@redhat.com>
5011
5012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5013 sys/ultrasound.h.
5014 * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5015
5016 2017-05-08 Joseph Myers <joseph@codesourcery.com>
5017
5018 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5019 Remove.
5020 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5021 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5022 (arch_minimum_kernel): Remove.
5023 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5024 * README: Update statement about Linux kernel requirements.
5025
5026 2017-05-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5027
5028 * manual/llio.texi: Add preadv and pwritev documentation.
5029
5030 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5031
5032 [BZ #21455]
5033 * bits/stdint-intn.h: New file.
5034 * bits/stdint-uintn.h: Likewise.
5035 * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5036 bits/stdint-uintn.h.
5037 * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5038 <stdint.h>.
5039 * posix/sys/types.h: Include <bits/stdint-intn.h>.
5040 (__int8_t_defined): Do not define here.
5041 (int8_t): Likewise.
5042 (int16_t): Likewise.
5043 (int32_t): Likewise.
5044 (int64_t): Likewise.
5045 [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5046 * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5047 <stdint.h>.
5048 * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5049 * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5050 <bits/stdint-uintn.h>.
5051 (int8_t): Do not define here.
5052 (int16_t): Likewise.
5053 (int32_t): Likewise.
5054 (int64_t): Likewise.
5055 (uint8_t): Likewise.
5056 (uint16_t): Likewise.
5057 (uint32_t): Likewise.
5058 (uint64_t): Likewise.
5059 * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5060 variable.
5061 (test-xfail-XPG42/netdb.h/conform): Likewise.
5062 (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5063 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5064 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5065 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5066
5067 2017-05-04 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5068
5069 * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5070 * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5071 the above.
5072 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5074
5075 2017-05-04 Joseph Myers <joseph@codesourcery.com>
5076
5077 [BZ #21445]
5078 * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5079
5080 [BZ #21457]
5081 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5082 [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5083 __glibc_reserved1.
5084 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5085 (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5086 (struct _fpxreg): Likewise.
5087 [!__x86_64__] (struct _fpstate): Rename field reserved to
5088 __glibc_reserved1. Rename field padding to __glibc_reserved2.
5089 [__x86_64__] (struct _fpstate): Rename field padding to
5090 __glibc_reserved1.
5091 (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5092 Rename field reserved2 to __glibc_reserved2.
5093 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5094 [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5095 __glibc_reserved1.
5096 [__x86_64__] (struct _libc_fpstate): Rename field padding to
5097 __glibc_reserved1.
5098
5099 2017-05-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5100
5101 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5102 variable name.
5103
5104 2017-05-03 H.J. Lu <hongjiu.lu@intel.com>
5105
5106 [BZ #21391]
5107 * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5108 Only call init_cpu_features.
5109 [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5110 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5111 * sysdeps/i386/dl-procinfo.h: Removed.
5112 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5113 <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>. Include
5114 <sysdeps/x86/dl-procinfo.h>.
5115 (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5116 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5117 Include <sysdeps/x86/dl-procinfo.h> instead of
5118 <sysdeps/generic/dl-procinfo.h>.
5119 * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5120 (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5121 * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5122 (bit_cpu_MOVBE): Likewise.
5123 (bit_cpu_BMI1): Likewise.
5124 (bit_cpu_BMI2): Likewise.
5125 (index_cpu_BMI1): Likewise.
5126 (index_cpu_BMI2): Likewise.
5127 (index_cpu_LZCNT): Likewise.
5128 (index_cpu_MOVBE): Likewise.
5129 (index_cpu_POPCNT): Likewise.
5130 (reg_BMI1): Likewise.
5131 (reg_BMI2): Likewise.
5132 (reg_LZCNT): Likewise.
5133 (reg_MOVBE): Likewise.
5134 (reg_POPCNT): Likewise.
5135 * sysdeps/x86/dl-hwcap.h: New file.
5136 * sysdeps/x86/dl-procinfo.h: Likewise.
5137 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5138 (_dl_x86_platforms): Likewise.
5139
5140 2017-05-03 DJ Delorie <dj@redhat.com>
5141
5142 [BZ #21411]
5143 * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5144
5145 2017-05-03 Phil Blundell <pb@pbcl.net>
5146
5147 * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5148 comments.
5149
5150 2017-05-03 Carlos O'Donell <carlos@redhat.com>
5151
5152 [BZ #20116]
5153 * nptl/pthread_create.c: Expand comments to describe
5154 semaphore-like and mutex-like uses of PD->lock.
5155
5156 2017-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5157
5158 * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5159 * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5160 * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5161 auto-generation list.
5162 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5163 epoll_wait.
5164 * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5165 Remove epoll_wait.
5166
5167 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5168 osf_select.
5169 * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5170 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5171 osf_select from auto-generation list.
5172 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5174 * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5175 * sysdeps/unix/sysv/linux/select.c: New file.
5176
5177 * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5178 * sysdeps/unix/sysv/linux/poll.c: New file.
5179 * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5180 auto-generation list.
5181
5182 2017-05-03 Joseph Myers <joseph@codesourcery.com>
5183
5184 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5185 New macro.
5186
5187 2017-05-02 Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5188
5189 [BZ #21179]
5190 * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5191 R_SPARC_REGISTER relocations.
5192
5193 2017-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5194
5195 * include/unistd.h (__pread): Add libc_hidden_proto.
5196 (__pread64): Likewise.
5197 (__pwrite): Likewise.
5198 * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5199 (__pread64): Remove.
5200 * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5201 * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5202 * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5203
5204 2017-05-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5205
5206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5207
5208 2017-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5209
5210 * nptl/tst-cancel4-common.c: Use libsupport.
5211 * nptl/tst-cancel4-common.h: Likewise.
5212 * nptl/tst-cancel4.c (tf_read): Likewise.
5213 (tf_readv): Likewise.
5214 (tf_write): Likewise.
5215 (tf_writev): Likewise.
5216 (tf_sleep): Likewise.
5217 (tf_usleep): Likewise.
5218 (tf_nanosleep): Likewise.
5219 (tf_select): Likewise.
5220 (tf_pselect): Likewise.
5221 (tf_poll): Likewise.
5222 (tf_ppoll): Likewise.
5223 (tf_wait): Likewise.
5224 (tf_waitpid): Likewise.
5225 (tf_waitid): Likewise.
5226 (tf_sigpause): Likewise.
5227 (tf_sigsuspend): Likewise.
5228 (tf_sigwait): Likewise.
5229 (tf_sigwaitinfo): Likewise.
5230 (tf_sigtimedwait): Likewise.
5231 (tf_pause): Likewise.
5232 (tf_accept): Likewise.
5233 (tf_send): Likewise.
5234 (tf_recv): Likewise.
5235 (tf_recvfrom): Likewise.
5236 (tf_recvmsg): Likewise.
5237 (tf_open): Likewise.
5238 (tf_close): Likewise.
5239 (tf_pread): Likewise.
5240 (tf_pwrite): Likewise.
5241 (tf_preadv): Likewise.
5242 (tf_pwritev): Likewise.
5243 (tf_fsync): Likewise.
5244 (tf_fdatasync): Likewise.
5245 (tf_msync): Likewise.
5246 (tf_sendto): Likewise.
5247 (tf_sendmsg): Likewise.
5248 (tf_creat): Likewise.
5249 (tf_connect): Likewise.
5250 (tf_tcdrain): Likewise.
5251 (tf_msgrcv): Likewise.
5252 (tf_msgsnd): Likewise.
5253 * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5254 * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5255
5256 * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5257 expected arguments.
5258 (do_test): Adapt to use libsupport.
5259
5260 2017-05-01 Joseph Myers <joseph@codesourcery.com>
5261
5262 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5263
5264 * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5265 (PF_MAX): Set to 44.
5266 (AF_SMC): New macro.
5267
5268 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5269 kernel version to 4.11.
5270
5271 2017-04-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5272
5273 [BZ #21280]
5274 * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5275 signal of subnormals and adjust the exponent of power of 2 down
5276 when low part has opposite sign.
5277
5278 2017-04-28 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5279
5280 * sysdeps/powerpc/powerpc64le/Implies: New file.
5281 * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5282 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5283 * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5284 * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5285 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5286 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5287 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5288 * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5289 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5290 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5291 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5292 * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5293 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5294 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5295 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5296 * sysdeps/powerpc/preconfigure: New file.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5299
5300 2017-04-28 Joseph Myers <joseph@codesourcery.com>
5301
5302 * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5303 inclusion.
5304 * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5305 Remove.
5306
5307 2017-04-27 Joseph Myers <joseph@codesourcery.com>
5308
5309 * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5310 (XPG3): Rename standard to XPG4.
5311 * conform/Makefile: Likewise.
5312 * conform/list-header-symbols.pl: Likewise.
5313 * conform/data/aio.h-data: Likewise.
5314 * conform/data/arpa/inet.h-data: Likewise.
5315 * conform/data/complex.h-data: Likewise.
5316 * conform/data/ctype.h-data: Likewise.
5317 * conform/data/dlfcn.h-data: Likewise.
5318 * conform/data/fcntl.h-data: Likewise.
5319 * conform/data/fenv.h-data: Likewise.
5320 * conform/data/float.h-data: Likewise.
5321 * conform/data/fmtmsg.h-data: Likewise.
5322 * conform/data/ftw.h-data: Likewise.
5323 * conform/data/grp.h-data: Likewise.
5324 * conform/data/inttypes.h-data: Likewise.
5325 * conform/data/iso646.h-data: Likewise.
5326 * conform/data/langinfo.h-data: Likewise.
5327 * conform/data/libgen.h-data: Likewise.
5328 * conform/data/limits.h-data: Likewise.
5329 * conform/data/locale.h-data: Likewise.
5330 * conform/data/math.h-data: Likewise.
5331 * conform/data/mqueue.h-data: Likewise.
5332 * conform/data/ndbm.h-data: Likewise.
5333 * conform/data/net/if.h-data: Likewise.
5334 * conform/data/netdb.h-data: Likewise.
5335 * conform/data/netinet/in.h-data: Likewise.
5336 * conform/data/poll.h-data: Likewise.
5337 * conform/data/pthread.h-data: Likewise.
5338 * conform/data/pwd.h-data: Likewise.
5339 * conform/data/sched.h-data: Likewise.
5340 * conform/data/search.h-data: Likewise.
5341 * conform/data/semaphore.h-data: Likewise.
5342 * conform/data/signal.h-data: Likewise.
5343 * conform/data/spawn.h-data: Likewise.
5344 * conform/data/stdbool.h-data: Likewise.
5345 * conform/data/stdint.h-data: Likewise.
5346 * conform/data/stdio.h-data: Likewise.
5347 * conform/data/stdlib.h-data: Likewise.
5348 * conform/data/string.h-data: Likewise.
5349 * conform/data/strings.h-data: Likewise.
5350 * conform/data/stropts.h-data: Likewise.
5351 * conform/data/sys/mman.h-data: Likewise.
5352 * conform/data/sys/resource.h-data: Likewise.
5353 * conform/data/sys/select.h-data: Likewise.
5354 * conform/data/sys/socket.h-data: Likewise.
5355 * conform/data/sys/stat.h-data: Likewise.
5356 * conform/data/sys/statvfs.h-data: Likewise.
5357 * conform/data/sys/time.h-data: Likewise.
5358 * conform/data/sys/timeb.h-data: Likewise.
5359 * conform/data/sys/types.h-data: Likewise.
5360 * conform/data/sys/uio.h-data: Likewise.
5361 * conform/data/sys/un.h-data: Likewise.
5362 * conform/data/sys/wait.h-data: Likewise.
5363 * conform/data/syslog.h-data: Likewise.
5364 * conform/data/termios.h-data: Likewise.
5365 * conform/data/tgmath.h-data: Likewise.
5366 * conform/data/time.h-data: Likewise.
5367 * conform/data/ucontext.h-data: Likewise.
5368 * conform/data/unistd.h-data: Likewise.
5369 * conform/data/utmpx.h-data: Likewise.
5370 * conform/data/varargs.h-data: Likewise.
5371 * conform/data/wchar.h-data: Likewise.
5372 * conform/data/wctype.h-data: Likewise.
5373
5374 2017-04-26 Joseph Myers <joseph@codesourcery.com>
5375
5376 * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5377 version to 7 branch.
5378
5379 2017-04-25 Uros Bizjak <ubizjak@gmail.com>
5380
5381 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5382 earlyclobber to output operand of sqrt insn.
5383 (__ieee754_sqrtf): Ditto.
5384
5385 2017-04-25 Joseph Myers <joseph@codesourcery.com>
5386
5387 [BZ #21426]
5388 * misc/bits/types/struct_iovec.h: New file.
5389 * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5390 * include/bits/types/struct_iovec.h: New file.
5391 * bits/uio.h (struct iovec): Replace by inclusion of
5392 <bits/types/struct_iovec.h>.
5393 * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5394 * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5395 of <sys/uio.h>.
5396 * nptl/tst-cancel4.c: Include <sys/uio.h>
5397 * posix/test-errno.c: Likewise.
5398 * support/resolv_test.c: Likewise.
5399 * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5400 Remove.
5401 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5402 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5403 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5404
5405 * conform/data/sys/socket.h-data (*_t): Allow.
5406
5407 2017-04-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5408
5409 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5410 assignment.
5411
5412 2017-04-24 Daurnimator <quae@daurnimator.com>
5413 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5414
5415 [BZ #21340]
5416 * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5417 * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5418 * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5419 valid flags.
5420 * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5421 * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5422 POSIX_SPAWN_SETSID.
5423 * sysdeps/posix/spawni.c (__spawni): Likewise.
5424 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5425 * NEWS: Add note about POSIX_SPAWN_SETSID support.
5426
5427 2017-04-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5428
5429 * sysdeps/generic/math_private.h: Move the declaration of many
5430 functions to sysdeps/generic/math_private_calls.h.
5431 * sysdeps/generic/math_private_calls.h: New file with the
5432 declarations of the functions removed from math_private.h
5433 macroized by floating-point type.
5434
5435 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5436
5437 * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5438 * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5439 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5440 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5441 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5442 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5443
5444 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5445
5446 * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5447 * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5448 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5449 (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5450 FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5451 New Define.
5452
5453 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5454
5455 * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5456 * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5457 folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5458 (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5459 FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5460 TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5461
5462 2017-04-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5463
5464 * sysdeps/s390/multiarch/ifunc-resolve.h
5465 (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5466 * sysdeps/s390/multiarch/8bit-generic.c
5467 (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5468 define ifunc resolvers.
5469
5470 2017-04-21 Florian Weimer <fweimer@redhat.com>
5471
5472 [BZ #20424]
5473 * manual/memory.texi (Replacing malloc): New section.
5474 (Allocating Storage For Program Data): Reference it.
5475 (The GNU Allocator): Likewise.
5476
5477 2017-04-20 Joseph Myers <joseph@codesourcery.com>
5478
5479 * stdlib/Versions (__strtod_internal): List explicitly, not as
5480 wildcard.
5481 (__strtof_internal): Likewise.
5482 (__strtold_internal): Likewise.
5483 (__strtol_internal): Likewise.
5484 (__strtoll_internal): Likewise.
5485 (__strtoul_internal): Likewise.
5486 (__strtoull_internal): Likewise.
5487 (__strtoq_internal): Likewise.
5488 (__strtouq_internal): Likewise.
5489 * wcsmbs/Versions (__wcstod_internal): Likewise.
5490 (__wcstof_internal): Likewise.
5491 (__wcstold_internal): Likewise.
5492 (__wcstol_internal): Likewise.
5493 (__wcstoll_internal): Likewise.
5494 (__wcstoul_internal): Likewise.
5495 (__wcstoull_internal): Likewise.
5496
5497 2017-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5498
5499 * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5500 struct timespec definition.
5501
5502 2017-04-19 Florian Weimer <fweimer@redhat.com>
5503
5504 * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5505
5506 2017-04-19 Florian Weimer <fweimer@redhat.com>
5507
5508 * inet/rcmd.c (rresvport_af): Fix typo in comment.
5509 * inet/rexec.c (rexec_af): Likewise.
5510
5511 2017-04-19 Zack Weinberg <zackw@panix.com>
5512
5513 * posix/tst-mmap-offset.c: Include stdint.h.
5514 * resolv/tst-ns_name_compress.c: Include string.h.
5515 * resolv/tst-resolv-edns.c: Include resolv.h.
5516
5517 2017-04-19 Florian Weimer <fweimer@redhat.com>
5518
5519 * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5520 with __glibc_likely.
5521 * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5522 Replace __builtin_expect with __glibc_unlikely.
5523 * resolv/res_init.c (__res_vinit): Likewise.
5524 * resolv/res_query.c (__libc_res_nquery): Likewise.
5525 * resolv/res_send.c (__libc_res_nsend): Likewise.
5526
5527 2017-04-19 Florian Weimer <fweimer@redhat.com>
5528
5529 [BZ #15722]
5530 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5531 with SOCK_CLOEXEC.
5532 * resolv/res_send.c (send_vc, reopen): Likewise.
5533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5534 * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5535 Likewise.
5536 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5537 * inet/rexec.c (rexec_af): Add comment.
5538 * inet/rcmd.c (rresvport_af): Likewise.
5539
5540 2017-04-19 Florian Weimer <fweimer@redhat.com>
5541
5542 * nscd/connections.c (have_accept4): Removed definition.
5543 (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5544 accept4 works.
5545 * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5546 ia64 because that was the first version with accept4 support.
5547 * support/Makefile (libsupport-routines): Add xaccept4.
5548 * support/xsocket.h (xaccept4): Declare.
5549 * support/xaccept4.c: New file.
5550 * socket/tst-accept4.c: New file.
5551 * socket/Makefile (tests): Add tst-accept4.
5552 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5553 definition.
5554 * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5555 comment.
5556 * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5557 implementation is available.
5558 (accept4): Use the system call if available, otherwise use the
5559 socket call.
5560 * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5561 Set to 3.2.18.
5562 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5563 (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5564 accept4 is unconditionally available in later 3.2 stable kernels.
5565 (__ASSUME_ACCEPT4_SYSCALL): Define.
5566 * sysdeps/unix/sysv/linux/kernel-features.h
5567 (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5568 definitions.
5569 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5570 (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5571
5572 2017-04-18 Joseph Myers <joseph@codesourcery.com>
5573
5574 * conform/Makefile (tests-special): Do not make addition of
5575 $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5576 (generated): Do not make addition of $(conformtest-header-base)
5577 conditional on [$(cross-compiling) = no].
5578
5579 [BZ #21267]
5580 * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5581 if defined by <asm/socket.h> and not previously defined.
5582 (IOCSIZE_SHIFT): Likewise.
5583 (IOC_IN): Likewise.
5584 (IOC_INOUT): Likewise.
5585 (IOC_OUT): Likewise.
5586
5587 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5588
5589 [BZ #21396]
5590 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5591 Prefer_No_AVX512 if AVX512ER isn't available.
5592 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5593 (index_arch_Prefer_No_AVX512): Likewise.
5594 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5595 AVX512 version if Prefer_No_AVX512 is set.
5596 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5597 Likewise.
5598 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5599 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5600 Likewise.
5601 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5602 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5603 Likewise.
5604 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5605 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5606 Likewise.
5607
5608 2017-04-18 H.J. Lu <hongjiu.lu@intel.com>
5609
5610 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5611 Prefer_No_VZEROUPPER if AVX512ER is available.
5612 * sysdeps/x86/cpu-features.h
5613 (bit_cpu_AVX512PF): New.
5614 (bit_cpu_AVX512ER): Likewise.
5615 (bit_cpu_AVX512CD): Likewise.
5616 (bit_cpu_AVX512BW): Likewise.
5617 (bit_cpu_AVX512VL): Likewise.
5618 (index_cpu_AVX512PF): Likewise.
5619 (index_cpu_AVX512ER): Likewise.
5620 (index_cpu_AVX512CD): Likewise.
5621 (index_cpu_AVX512BW): Likewise.
5622 (index_cpu_AVX512VL): Likewise.
5623 (reg_AVX512PF): Likewise.
5624 (reg_AVX512ER): Likewise.
5625 (reg_AVX512CD): Likewise.
5626 (reg_AVX512BW): Likewise.
5627 (reg_AVX512VL): Likewise.
5628
5629 2017-04-18 Florian Weimer <fweimer@redhat.com>
5630
5631 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5632 O_CLOEXEC is defined.
5633 * include/fcntl.h (__have_o_cloexec): Remove declaration.
5634 * io/Makefile (aux): Remove.
5635 * io/have_o_cloexec.c: Remove file.
5636 * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5637 defined and works.
5638 * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5639 defined.
5640 * login/utmp_file.c (O_flags): Remove definition.
5641 (setutent_file): Use O_CLOEXEC instead of O_flags. Assume that
5642 O_CLOEXEC works.
5643 (pututline_file): Likewise.
5644 * malloc/mtrace.c: Assume that O_CLOEXEC works.
5645 * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5646 definition.
5647 (internal_setgrent): Assume that O_CLOEXEC works.
5648 * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5649 Remove definition.
5650 (internal_setgrent): Assume that O_CLOEXEC works.
5651 * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5652 definition.
5653 (internal_setpwent): Assume that O_CLOEXEC works.
5654 * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5655 definition.
5656 (internal_setspent): Assume that O_CLOEXEC works.
5657 * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
5658 (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS. Assume that
5659 O_CLOEXEC is defined and works.
5660 * nss/Makefile (libnss_files-routines): Remove
5661 files-have_o_cloexec.
5662 * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
5663 defined.
5664 * nss/nss_files/files-XXX.c (internal_setent): Assume that
5665 O_CLOEXEC is defined and works.
5666 * nss/nss_files/files-alias.c (internal_setent): Likewise.
5667 * nss/nss_files/files-have_o_cloexec.c: Remove.
5668 * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
5669 defined.
5670 * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
5671 and works.
5672 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
5673 definition.
5674 * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
5675 * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
5676 * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
5677 (__opendirat, __opendir): Adjust opendir_oflags call.
5678 (check_have_o_cloexec): Remove.
5679 (__alloc_dir): Assume that O_CLOEXEC is defined and works.
5680 * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
5681 defined.
5682 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
5683 Remove definition.
5684
5685 2017-04-18 Florian Weimer <fweimer@redhat.com>
5686
5687 * include/unistd.h (__have_dup3): Remove declaration.
5688 * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
5689 dup3 is available.
5690 * libio/freopen64.c (freopen64): Likewise.
5691 * socket/Makefile (aux): Remove have_sock_cloexec.
5692 * socket/have_sock_cloexec.c: Remove file.
5693 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
5694 definition.
5695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
5696 Likewise.
5697 * sysdeps/nacl/kernel-features.h: Update comment.
5698
5699 2017-04-18 Florian Weimer <fweimer@redhat.com>
5700
5701 * include/unistd.h (__have_pipe2): Remove declaration.
5702 * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
5703 * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
5704 available.
5705 * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
5706 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
5707 Remove definition.
5708
5709 2017-04-18 Florian Weimer <fweimer@redhat.com>
5710
5711 * malloc/malloc.c (cfree): Turn into compat symbol.
5712 (__cfree): Remove alias.
5713 * stdlib/stdlib.h (cfree): Remove declaration.
5714 * malloc/malloc.h (cfree): Likewise.
5715 * manual/memory.texi (Freeing after Malloc): Remove cfree.
5716 * malloc/Versions (GLIBC_2.26): Add.
5717
5718 2017-04-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5719
5720 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5721 (sysdep_routines): Add strrchr-power8.
5722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5723 (strrchr): Add __strrchr_power8 to list of strrchr functions.
5724 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
5725 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
5726 (strrchr): Add __strrchr_power8 to ifunc list.
5727 * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
5728
5729 2017-04-17 Rabin Vincent <rabinv@axis.com>
5730
5731 [BZ #21357]
5732 * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
5733 Call free() outside of mutex.
5734
5735 2017-04-13 Florian Weimer <fweimer@redhat.com>
5736
5737 * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
5738 is defined.
5739 * elf/rtld.c (process_envvars): Likewise.
5740 * sysdeps/posix/shm_open.c (shm_open): Likewise.
5741 * elf/dl-profile.c (EXTRA_FLAGS): Remove definition. Use
5742 O_NOFOLLOW directly.
5743 * gmon/gmon.c (O_NOFOLLOW): Remove definition.
5744
5745 2017-04-13 Florian Weimer <fweimer@redhat.com>
5746
5747 [BZ #21369]
5748 Remove EDNS fallback.
5749 * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
5750 handling.
5751 * resolv/res_send.c (send_dg): Likewise.
5752 * resolv/tst-resolv-edns.c (response): Handle "formerr." and
5753 "tcp." prefixes.
5754 (do_test): Send a "formerr."-prefixed query in an attempt to
5755 trigger EDNS fallback.
5756
5757 2017-04-13 Florian Weimer <fweimer@redhat.com>
5758
5759 [BZ #21361]
5760 Limit EDNS buffer size to 1200 bytes.
5761 * include/resolv.h (__res_nopt): Remove declaration.
5762 * resolv/Makefile (tests): tst-resolv-edns.
5763 (tst-resolv-edns): Link with -lresolv, -lpthread.
5764 * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
5765 interval [512, 1200].
5766 * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
5767 we can resize the buffer.
5768 * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
5769 (__res_nopt): Declare.
5770 * resolv/tst-resolv-edns.c: New file.
5771 * resolv/resolv_test.h (struct resolv_edns_info): Define.
5772 (struct resolv_response_context): Add edns member.
5773 * resolv/resolv_test.c (struct query_info): Add edns member.
5774 (parse_query): Extract EDNS information from the query.
5775 (server_thread_udp_process_one): Propagate EDNS data.
5776 (server_thread_tcp_client): Likewise.
5777
5778 2017-04-13 Florian Weimer <fweimer@redhat.com>
5779
5780 [BZ #21359]
5781 * resolv/ns_name.c (ns_name_pack): Do not require an additional
5782 byte in the destination buffer. Avoid out-of-bounds pointer
5783 arithmetic.
5784 * resolv/Makefile (tests): Add tst-ns_name_compress.
5785 (tst-ns_name_compress): Link with -lresolv.
5786 * resolv/tst-ns_name_compress.c: New file.
5787 * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5788 (response): Recognize LONG_NAME.
5789 (do_test): Add LONG_NAME tests.
5790 * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5791 for ns_name_unpack. Add tests for ns_name_pton and
5792 ns_name_compress.
5793
5794 2017-04-13 Florian Weimer <fweimer@redhat.com>
5795
5796 * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5797 (res_nisourserver): Remove definition.
5798 (p_section, res_npquery, res_nisourserver): Remove declaration.
5799 (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5800 * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5801 ... here.
5802 * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5803 <resolv.h>.
5804 * resolv/res_query.c: Likewise.
5805 * resolv/res_debug.c (p_section): Define as static.
5806
5807 2017-04-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5808
5809 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5810 strncat-power8.
5811 * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5812 __strncat_power8 to ifunc list.
5813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5814 (strncat): Add __strncat_power8 to list of strncat functions.
5815 * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5816
5817 2017-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5818
5819 [BZ #21270]
5820 * posix/tst-mmap-offset.c (do_prepare): New function.
5821 (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5822 (do_test_bz21270): New function.
5823 * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5824 * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5825 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5826 * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5827 * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5828 * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5829 * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5830 * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5831 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5832 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5833 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5834 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5835 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5836 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5837 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5838 * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5839 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5840 * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5841 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5842 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5843 * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5844 * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5845 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5846 from auto-generation list.
5847 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5849 * sysdeps/unix/sysv/linux/mmap.c: New file.
5850 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5851 offsets and support for mmap2 syscall.
5852
5853 * posix/globtest.sh: Add cleanup routine on trap 0.
5854
5855 2017-04-11 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
5856
5857 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5858 implementation-specific function name and remove unneeded
5859 macros definition.
5860 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5861 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5862 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5863 name if not defined and pass as parameter to macros accordingly.
5864 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5865 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5866
5867 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5868 implementation-specific function name and remove unneeded
5869 macros definition.
5870 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5871 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5872 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5873 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5874 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5875 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5877 name if not defined and pass as parameter to macros accordingly.
5878 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5879 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5880 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5881 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5882 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5883 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5884
5885 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5886 implementation-specific function name and remove unneeded macros
5887 definition.
5888 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5889 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5891 function name if not defined and pass as parameter to macros
5892 accordingly.
5893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5895
5896 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5897 implementation-specific function name and remove unneeded macros
5898 definition.
5899 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5900 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5901 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5902 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5903 * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5904 not defined and pass as parameter to macros accordingly.
5905 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5906 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5907 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5908 * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5909
5910 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5911 strcasestr implementation name and remove unneeded macros definition.
5912 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5913 strstr implementation name and remove unneeded macros definition.
5914 * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5915 name if not defined and pass as parameter to macros accordingly.
5916 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5917
5918 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5919 implementation-specific function name and remove unneeded macros
5920 definition.
5921 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5922 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5923 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5924 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5925 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5926 * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5927 function name if not defined and pass as parameter to macros
5928 accordingly.
5929 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5930 * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5931 * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5932 * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5933
5934 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5935 the strlen implementation name and remove unneeded macros definition.
5936 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5937 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5938 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5939 the strnlen implementation name and remove unneeded macros definition.
5940 * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5941 name if not defined and pass as parameter to macros accordingly.
5942 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5943 * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5944 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5945
5946 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5947 the implementation-specific function name and remove unneeded
5948 macros definition.
5949 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5951 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5953 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5954 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5955 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5956 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5957 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5959 name if not defined and pass as parameter to macros accordingly.
5960 * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5962 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5963 * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5964 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5965 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5966 * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5967 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5968
5969 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5970 implementation-specific function name and remove unneeded macros
5971 definition.
5972 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5974 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5975 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5976 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5977 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5978 function name if not defined.
5979 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5980 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5981
5982 2017-04-11 Paul Clarke <pc@us.ibm.com>
5983
5984 * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5985 AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5986 AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New. Add auxvec
5987 identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5988
5989 2017-04-11 Florian Weimer <fweimer@redhat.com>
5990 Zack Weinberg <zackw@panix.com>
5991
5992 * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5993 readdir64 as thread-safe. Update warning about readdir_r.
5994
5995 2017-04-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5996
5997 * sysdeps/unix/sysv/linux/x86/Implies: New file.
5998 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5999 * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6000 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6001 * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6002 * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6003 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6004
6005 2017-04-10 H.J. Lu <hongjiu.lu@intel.com>
6006
6007 * sysdeps/i386/dl-procinfo.c: Include
6008 <sysdeps/x86/dl-procinfo.c>.
6009 * sysdeps/x86_64/dl-procinfo.c: Likewise.
6010 * sysdeps/x86/dl-procinfo.c: New file.
6011
6012 2017-04-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6013
6014 * sysdeps/generic/math_private.h: Remove declarations of
6015 many functions that are already declared in math.h.
6016 * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6017 declaration for __frexpl.
6018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6019 the declarations for __scalbnl and fabsl.
6020
6021 2017-04-09 Dmitry V. Levin <ldv@altlinux.org>
6022
6023 [BZ #20831]
6024 * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6025 of __mprotect to change protection on the excess portion
6026 to disallow all access.
6027
6028 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
6029
6030 * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6031 HAS_CPU_FEATURE to check for SSE.
6032 * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6033 * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6034 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6035 * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6036 * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6037 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6038 * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6039 * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6040 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6041 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6042 * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6043 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6044 * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6045 * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6046 (index_cpu_SSE): Likewise.
6047 (reg_SSE): Likewise.
6048
6049 2017-04-07 Paul Eggert <eggert@cs.ucla.edu>
6050
6051 * posix/getopt1.c: Include <config.h>, not "config.h".
6052
6053 2017-04-07 Zack Weinberg <zackw@panix.com>
6054
6055 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6056 * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6057 Mention in top-of-file boilerplate that these files are shared
6058 with gnulib.
6059 * posix/getopt.h, posix/bits/getopt_posix.h:
6060 Mention in top-of-file boilerplate that these files are NOT shared
6061 with gnulib, unlike the rest of the getopt implementation.
6062
6063 * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6064 New files, intended to be shared with gnulib.
6065 * posix/bits/getopt_posix.h:
6066 New file, not intended to be shared with gnulib.
6067 * posix/getopt.h: Now just includes features.h,
6068 bits/getopt_core.h, and bits/getopt_ext.h. Will
6069 no longer be shared with gnulib.
6070 * include/bits/getopt_core.h, include/bits/getopt_ext.h
6071 * include/bits/getopt_posix.h: New wrappers.
6072 * posix/Makefile: Install new headers.
6073 * posix/unistd.h, libio/stdio.h:
6074 Include bits/getopt_posix.h instead of getopt.h.
6075
6076 * include/libc-symbols.h: For gnulib compatibility, define
6077 _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6078 _GL_ATTRIBUTE_CONST.
6079 * posix/getopt.c (_getopt_initialize): Mark argc and argv
6080 parameters with _GL_UNUSED.
6081
6082 * posix/getopt.c: When used standalone, define __libc_use_alloca
6083 as always false and alloca to abort if called.
6084 (process_long_option): Rewrite handling of ambiguous long options
6085 to use a single boolean vector, not a linked list; use
6086 __libc_use_alloca to decide whether to allocate this using alloca.
6087 * posix/tst-getopt_long1.c: Adjust text of expected error message.
6088
6089 * posix/getopt.c (process_long_option): New function split out
6090 from _getopt_internal_r.
6091 (_getopt_internal_r): Replace both copies of the long-option
6092 processing code with calls to process_long_option.
6093 * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6094 (do_test): Differentiate argv[0] in the two subtests.
6095
6096 * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6097 * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6098 (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6099
6100 * posix/getopt.h: Add backup definition of __nonnull for
6101 consistency with gnulib. Define __getopt_argv_const to const
6102 if not already defined.
6103 (getopt): Update doc comment from gnulib. Prototype
6104 unconditionally. Add __nonnull annotation.
6105 (__posix_getopt): Add __nonnull annotation.
6106 (getopt_long, getopt_long_only): Use __getopt_argv_const in
6107 prototypes for consistency with gnulib. Add __nonnull
6108 annotations.
6109 * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6110 (getopt_internal): Change 'argv' argument to type 'char **'.
6111 Remove now-unnecessary casts.
6112 (getopt, __posix_getopt): Eliminate repetition with a macro.
6113 Cast 'argv' to 'char **' when calling _getopt_internal.
6114 * posix/getopt1.c (getopt_long, getopt_long_only):
6115 Use __getopt_argv_const for consistency with gnulib.
6116 Cast 'argv' to 'char **' when calling _getopt_internal.
6117 (_getopt_long_r, _getopt_long_only_r):
6118 Change 'argv' argument to type 'char **'.
6119 (main): Constify 'long_options'.
6120 * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6121 (_getopt_long_r, _getopt_long_only_r):
6122 Change 'argv' argument to type 'char **'.
6123
6124 * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6125 (locked_vfxprintf): New helper function. Handle arbitrary
6126 multibyte strings, not just ASCII.
6127 * include/stdio.h: Declare __fxprintf_nocancel.
6128 * posix/getopt.c: When _LIBC is defined, define fprintf to
6129 __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6130 to _IO_funlockfile. When neither _LIBC nor
6131 _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6132 funlockfile as no-ops.
6133 (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6134 the standalone error-printing code can now be used for libc as
6135 well. Add an flockfile/funlockfile pair around one case where
6136 the error message is printed in several chunks. Don't use fputc.
6137 * posix/tst-getopt-cancel.c: New test.
6138 * posix/Makefile: Run it.
6139
6140 * posix/getopt.c (_getopt_internal_r): Don't increment
6141 d->optind a second time when reporting ambiguous -W options.
6142
6143 * posix/getopt_int.h: Include getopt.h.
6144 Use impl-namespace names for all arguments to _getopt_internal and
6145 _getopt_internal_r.
6146 Declare __ordering enum outside the struct.
6147 Harmonize comments with gnulib.
6148 * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6149 ELIDE_CODE logic entirely. Move inclusion of stdlib.h to
6150 #ifdef TEST block and make unconditional. Do not define NULL.
6151 * posix/getopt.c: Partial merge from gnulib, covering the
6152 initial includes and global declarations, commentary, and
6153 a couple of semantically-neutral code changes.
6154
6155 * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6156 Use '...' instead of `...' for quotation marks inside
6157 comments and strings.
6158
6159 * config.h.in (USE_NONOPTION_FLAGS): Remove.
6160 * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6161 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6162 * posix/getopt_int.h: Likewise.
6163 * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6164 __libc_argc and __libc_argv externs, which were only used by
6165 #ifdef USE_NONOPTION_FLAGS blocks.
6166 * posix/getopt_init.c: Remove file.
6167 * posix/Makefile (routines): Remove getopt_init.
6168 * include/getopt.h: Don't declare __getopt_initialize_environment.
6169 * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6170 a comment.
6171
6172 2017-04-07 Florian Weimer <fweimer@redhat.com>
6173
6174 * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6175
6176 2017-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6177
6178 * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6179 * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6180 to __wrap_.udiv.
6181 * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6182 * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6183
6184 * sysdeps/i386/symbol-hacks.h: New file.
6185 * sysdeps/m68k/symbol-hacks.h: New file.
6186 * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6187 * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6188 * sysdeps/unix/sysv/linux/i386/Makefile
6189 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6190 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6191 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6192 * sysdeps/unix/sysv/linux/m68k/Makefile
6193 [$(subdir) = csu] (sysdep_routines): Likewise.
6194 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6195 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6197 [$(subdir) = csu] (sysdep_routines): Likewise.
6198 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6199 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6200 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6201 [$(subdir) = csu] (sysdep_routines): Likewise.
6202 [$(subdir) = csu] (sysdep-only-routines): Likewise.
6203 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6204 * sysdeps/wordsize-32/Makefile: Remove file.
6205 * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6206 * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6207
6208 2017-04-05 H.J. Lu <hongjiu.lu@intel.com>
6209
6210 * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6211 (TEST_FUNCTION_ARGV): New.
6212
6213 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6214
6215 * elf/next.c: Import support/test-driver.c instead of
6216 test-skeleton.c and delete TEST_FUNCTION macro definition.
6217 * elf/nodelete.c: Likewise.
6218 * elf/order2.c: Likewise.
6219 * elf/tst-_dl_addr_inside_object.c: Likewise.
6220 * elf/tst-addr1.c: Likewise.
6221 * elf/tst-align.c: Likewise.
6222 * elf/tst-align2.c: Likewise.
6223 * elf/tst-audit11.c: Likewise.
6224 * elf/tst-audit12.c: Likewise.
6225 * elf/tst-audit2.c: Likewise.
6226 * elf/tst-audit9.c: Likewise.
6227 * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6228 * elf/tst-deep1.c: Likewise.
6229 * elf/tst-dl-iter-static.c: Likewise.
6230 * elf/tst-dlmodcount.c: Likewise.
6231 * elf/tst-dlmopen1.c: Likewise.
6232 * elf/tst-dlmopen2.c: Likewise.
6233 * elf/tst-dlmopen3.c: Likewise.
6234 * elf/tst-dlopen-aout.c: Likewise.
6235 * elf/tst-dlopenrpath.c: Likewise.
6236 * elf/tst-dlsym-error.c: Likewise.
6237 * elf/tst-execstack-needed.c: Likewise.
6238 * elf/tst-execstack-prog.c: Likewise.
6239 * elf/tst-execstack.c: Likewise.
6240 * elf/tst-global1.c: Likewise.
6241 * elf/tst-gnu2-tls1.c: Likewise.
6242 * elf/tst-latepthread.c: Likewise.
6243 * elf/tst-leaks1.c: Likewise.
6244 * elf/tst-linkall-static.c: Likewise.
6245 (do_test): New function.
6246 * elf/tst-nodelete-opened.c: Likewise.
6247 * elf/tst-nodelete.cc: Likewise.
6248 * elf/tst-nodelete2.c: Likewise.
6249 * elf/tst-noload.c: Likewise.
6250 * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6251 * elf/tst-order-main.c: Likewise.
6252 * elf/tst-pathopt.c: Likewise.
6253 * elf/tst-pie2.c: Likewise.
6254 * elf/tst-piemod1.c: Likewise.
6255 * elf/tst-prelink.c: Likewise.
6256 * elf/tst-protected1a.c: Likewise.
6257 * elf/tst-protected1b.c: Likewise.
6258 * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6259 and define _GNU_SOURCE macro.
6260 (cmdline_process_function): New function.
6261 * elf/tst-relsort1.c: Likewise.
6262 * elf/tst-stackguard1.c: Likewise, import getopt.h,
6263 and define _GNU_SOURCE macro.
6264 (cmdline_process_function): New function.
6265 * elf/tst-thrlock.c: Likewise.
6266 * elf/tst-tls-dlinfo.c: Likewise.
6267 * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6268 * elf/tst-tls1.c: Likewise.
6269 * elf/tst-tls10.c: Likewise.
6270 * elf/tst-tls11.c: Likewise.
6271 * elf/tst-tls12.c: Likewise.
6272 * elf/tst-tls13.c: Likewise.
6273 * elf/tst-tls14.c: Likewise.
6274 * elf/tst-tls15.c: Likewise.
6275 * elf/tst-tls16.c: Likewise.
6276 * elf/tst-tls17.c: Likewise.
6277 * elf/tst-tls18.c: Likewise.
6278 * elf/tst-tls19.c: Likewise.
6279 * elf/tst-tls2.c: Likewise.
6280 * elf/tst-tls3.c: Likewise.
6281 * elf/tst-tls4.c: Likewise.
6282 * elf/tst-tls5.c: Likewise.
6283 * elf/tst-tls6.c: Likewise.
6284 * elf/tst-tls7.c: Likewise.
6285 * elf/tst-tls8.c: Likewise.
6286 * elf/tst-tls9.c: Likewise.
6287 * elf/tst-tlsalign-extern.c: Likewise.
6288 * elf/tst-tlsalign.c: Likewise.
6289 * elf/tst-unique1.c: Likewise.
6290 * elf/tst-unique2.c: Likewise.
6291 * elf/vismain.c: Likewise.
6292
6293 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6294
6295 * string/test-strnlen.c (do_page_tests): New function
6296 to check length of strings ending at the page boundary.
6297 (test_main): Added call to the do_page_tests function.
6298
6299 2017-04-05 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6300 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6301
6302 * sysdeps/powerpc/powerpc64/multiarch/Makefile
6303 (sysdep_routines): Add strnlen-power8.
6304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6305 (strnlen): Add __strnlen_power8 to list of strnlen functions.
6306 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6307 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6308 (__strnlen): Add __strnlen_power8 to ifunc list.
6309 * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6310
6311 2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6312
6313 * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6314 the TEST_FUNCTION macro definition.
6315 * wcsmbs/tst-mbrtowc2.c: Likewise.
6316 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6317 * wcsmbs/tst-wchar-h.c: Likewise.
6318 * wcsmbs/tst-wcpncpy.c: Likewise.
6319 * wcsmbs/tst-wcrtomb.c: Likewise.
6320 * wcsmbs/tst-wcsnlen.c: Likewise.
6321 * wcsmbs/tst-wcstof.c: Likewise.
6322
6323 2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6324
6325 * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6326 CALL_THREAD_FCT macro usage.
6327 * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6328 * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6329 * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6330
6331 * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6332 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6333 (__ASSUME_REQUEUE_PI): Likewise.
6334 * sysdeps/unix/sysv/linux/kernel-features.h
6335 (__ASSUME_REQUEUE_PI): Likewise.
6336 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6337 (__ASSUME_REQUEUE_PI): Likewise.
6338 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6339 (__ASSUME_REQUEUE_PI): Likewise.
6340 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6341 (__ASSUME_REQUEUE_PI): Likewise.
6342
6343 2017-04-04 Florian Weimer <fweimer@redhat.com>
6344
6345 * resolv/tst-resolv-canonname.c: New file.
6346 * resolv/Makefile (tests): Add tst-resolv-canonname.
6347 (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6348
6349 2017-04-04 Florian Weimer <fweimer@redhat.com>
6350
6351 * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6352 Declare.
6353 * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6354 (NS_MAXCDNAME): Remove definition.
6355 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6356 * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6357 (NS_MAXCDNAME): Remove definition.
6358 (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6359
6360 2017-04-04 Florian Weimer <fweimer@redhat.com>
6361
6362 * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6363 call whose result is not used.
6364
6365 2017-04-04 Florian Weimer <fweimer@redhat.com>
6366
6367 * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6368 * resolv/Makefile (tests): Add tst-ns_name.
6369 (tst-ns_name): Link with -lresolv.
6370 (tst-ns_name.out): Depend on the input data file.
6371
6372 2017-04-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6373
6374 * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6375 Clobber also r14.
6376
6377 2017-04-03 Mike Frysinger <vapier@gentoo.org>
6378
6379 [BZ #21253]
6380 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6381 slack space by 32KiB.
6382
6383 2017-04-01 Wladimir van der Laan <laanwj@gmail.com>
6384
6385 [BZ #21338]
6386 * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6387 instead of incorrect do_set_arena_test
6388
6389 2017-03-31 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6390
6391 * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6392 * math/bits/math-finite.h: Likewise.
6393
6394 2017-03-31 Slava Barinov <v.barinov@samsung.com>
6395
6396 [BZ #21289]
6397 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6398
6399 2017-03-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6400
6401 * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6402 non expected inotify_add_watch and quotactl return.
6403
6404 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6405
6406 * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6407 to int32_t.
6408 * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6409 as returning int32_t.
6410
6411 2017-03-30 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6412
6413 * math/math.h: Include bits/math-finite.h once per
6414 floating-point type.
6415 * math/bits/math-finite.h: Macroize all declarations by
6416 floating-point type.
6417
6418 2017-03-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6419
6420 [BZ #21182]
6421 * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6422 near end of a page.
6423 * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6424 overflow calculation.
6425
6426 2017-03-28 Steve Ellcey <sellcey@caviumnetworks.com>
6427
6428 * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6429 (IMPL) Call with 1 instead of 0 as argument.
6430
6431 2017-03-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6432
6433 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6434 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6435 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6436 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6437 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6438 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6439 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6440 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6441 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6442 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6443 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6444 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6445 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6446 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6447 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6448 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6449 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6450 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6451 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6452 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6453 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6454 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6455 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6456 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6457 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6458 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6459 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6460 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6461 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6462 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6463 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6464 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6465 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6466 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6467 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6468 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6469 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6470 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6471 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6472 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6473 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6474 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6475 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6476 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6477 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6478 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6479 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6480 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6481 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6482 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6483 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6484 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6485 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6486 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6487 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6488 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6489 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6490 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6491 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6492 defined.
6493 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6494 __NR_setgroups32 if defined.
6495 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6496 if defined.
6497 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6498 __NR_setresgid32 is defined.
6499 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6500 __NR_setresuid32 if defined.
6501 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6502 __NR_setreuid32 if defined.
6503 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6504 defined.
6505 * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6506 * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6507 * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6508 * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6509 * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6510 * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6511 * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6512 * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6513 * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6514 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6515 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6516 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6517 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6518 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6519 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6520 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6521 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6522 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6523 * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6524 * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6525 * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6526 * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6527 * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6528 * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6529 * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6530 * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6531 * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6532 * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6534 * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6535 * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6536 * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6537 * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6538 * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6539 * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6540 * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6541 * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6542 * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6543 * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6544 * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6545 * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6546 * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6547 * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6548 * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6549 * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6550 * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6551 * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6552 * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6554 * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6555 * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6556 * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6557 * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6558 * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6560 * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6561 INLINE_SYSCALL_ERROR_RETURN_VALUE.
6562 * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6563 * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6564 defined.
6565 * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6566 __NR_setgroups32 if defined.
6567 * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6568 if defined.
6569 * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6570 __NR_setresgid32 is defined.
6571 * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6572 __NR_setresuid32 if defined.
6573 * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6574 __NR_setreuid32 if defined.
6575 * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6576 defined.
6577
6578 2017-03-27 Joseph Myers <joseph@codesourcery.com>
6579
6580 [BZ #21277]
6581 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6582 unconditionally.
6583 (IMAXBEL): Likewise.
6584 (IUTF8): Likewise.
6585
6586 2017-03-27 Szabolcs Nagy <szabolcs.nagy@arm.com>
6587
6588 * sysdeps/aarch64/libm-test-ulps: Update.
6589
6590 2017-03-24 Sunyeop Lee <sunyeop97@gmail.com>
6591
6592 * README.tunables: Updated descriptions.
6593 * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6594 * scripts/gen-tunables.awk: Updated the code related to the
6595 commit.
6596
6597 2017-03-23 Wilco Dijkstra <wdijkstr@arm.com>
6598
6599 * benchtests/Makefile (string-benchset): Add memcpy-random.
6600 * benchtests/bench-memcpy-random.c: New file.
6601
6602 2017-03-23 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6603
6604 * stdio-common/printf.h (register_printf_modifier): Change the
6605 order of __wur and __THROW.
6606 (register_printf_type): Likewise.
6607
6608 2017-03-23 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
6609
6610 * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6611 test_main ().
6612 (CMDLINE_PROCESS): Use function instead of defined macro.
6613 * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6614 <suppport/support.h> to use set_fortify_handler().
6615 * string/bug-envz1.c: Import support/test-driver.c instead of
6616 test-skeleton.c.
6617 * string/bug-strcoll2.c: Likewise.
6618 * string/bug-strtok1.c: Likewise.
6619 * string/stratcliff.c: Likewise.
6620 * string/test-ffs.c: Likewise.
6621 * string/test-memccpy.c: Likewise.
6622 * string/test-memchr.c: Likewise.
6623 * string/test-memcmp.c: Likewise.
6624 * string/test-memcpy.c: Likewise.
6625 * string/test-memmem.c: Likewise.
6626 * string/test-memmove.c: Likewise.
6627 * string/test-memrchr.c: Likewise.
6628 * string/test-memset.c: Likewise.
6629 * string/test-rawmemchr.c: Likewise.
6630 * string/test-strcasecmp.c: Likewise.
6631 * string/test-strcasestr.c: Likewise.
6632 * string/test-strcat.c: Likewise.
6633 * string/test-strchr.c: Likewise.
6634 * string/test-strcmp.c: Likewise.
6635 * string/test-strcpy.c: Likewise.
6636 * string/test-string.h: Likewise.
6637 * string/test-strlen.c: Likewise.
6638 * string/test-strncasecmp.c: Likewise.
6639 * string/test-strncat.c: Likewise.
6640 * string/test-strncmp.c: Likewise.
6641 * string/test-strncpy.c: Likewise.
6642 * string/test-strnlen.c: Likewise.
6643 * string/test-strpbrk.c: Likewise.
6644 * string/test-strrchr.c: Likewise.
6645 * string/test-strspn.c: Likewise.
6646 * string/test-strstr.c: Likewise.
6647 * string/tst-bswap.c: Likewise.
6648 * string/tst-cmp.c: Likewise.
6649 * string/tst-endian.c: Likewise.
6650 * string/tst-inlcall.c: Likewise.
6651 * string/tst-strcoll-overflow.c: Likewise.
6652 * string/tst-strfry.c: Likewise.
6653 * string/tst-strlen.c: Likewise.
6654 * string/tst-strtok.c: Likewise.
6655 * string/tst-strtok_r.c: Likewise.
6656 * string/tst-strxfrm.c: Likewise.
6657 * string/tst-strxfrm2.c: Likewise.
6658 * string/tst-svc.c: Likewise.
6659 * string/tst-svc2.c: Likewise.
6660
6661 2017-03-22 Zack Weinberg <zackw@panix.com>
6662
6663 * stdio-common/bug25.c: Include stdlib.h.
6664 * support/tst-support_format_dns_packet.c: Include stdio.h,
6665 stdlib.h, and string.h.
6666 * support/tst-support_record_failure.c: Include string.h.
6667 * support/tst-support_record_failure-2.sh: Adjust line number
6668 expectations and correct a typo in an error message.
6669
6670 2017-03-21 H.J. Lu <hongjiu.lu@intel.com>
6671
6672 [BZ #21258]
6673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
6674 Define only if _dl_runtime_resolve is defined to
6675 _dl_runtime_resolve_sse_vex.
6676 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
6677 Fallthrough to _dl_runtime_resolve_sse_vex.
6678
6679 2017-03-21 Joseph Myers <joseph@codesourcery.com>
6680
6681 * INSTALL: Regenerated.
6682
6683 2017-03-21 Thorsten Kukuk <kukuk@suse.com>
6684
6685 * config.h.in: Add LINK_OBSOLETE_NSL.
6686 * config.make.in: Add build-obsolete-nsl.
6687 * configure.ac: Add obsolete-nsl option.
6688 * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
6689 * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
6690 * include/rpcsvc/nislib.h: Likewise.
6691 * include/rpcsvc/ypclnt.h: Likewise.
6692 * manual/install.texi: Document --enable-obsolete-nsl.
6693 * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
6694 * nis/nis_add.c: Replace libnsl_hidden_def with
6695 libnsl_hidden_nolink_def.
6696 * nis/nis_addmember.c: Likewise.
6697 * nis/nis_call.c: Likewise.
6698 * nis/nis_clone_obj.c: Likewise.
6699 * nis/nis_defaults.c: Likeise.
6700 * nis/nis_domain_of_r.c: Likewise.
6701 * nis/nis_error.c: Likewise.
6702 * nis/nis_file.c: Likewise.
6703 * nis/nis_free.c: Likewise.
6704 * nis_local_names.c: Likewise.
6705 * nis/nis_lookup.c: Likewise.
6706 * nis/nis_modify.c: Likewise.
6707 * nis/nis_print.c: Likewise.
6708 * nis/nis_remove.c: Likewise.
6709 * nis/nis_table.c: Likewise.
6710 * nis/nis_util.c: Likewise.
6711 * nis/nis_xdr.c: Likewise.
6712 * nis/yp_xdr.c: Likewise.
6713 * nis/ypclnt.c: Likewise.
6714 * nis/ypupdate_xdr.c: Likewise.
6715 * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
6716 * nis/nis_clone_dir.c: Likewise.
6717 * nis/nis_clone_res.c: Likewise.
6718 * nis/nis_creategroup.c: Likewise.
6719 * nis/nis_destroygroup.c: Likewise.
6720 * nis/nis_domain_of.c: Likewise.
6721 * nis/nis_getservlist.c: Likewise.
6722 * nis/nis_ismember.c: Likewise.
6723 * nis/nis_mkdir.c: Likewise.
6724 * nis/nis_ping.c: Likewise.
6725 * nis/nis_print_group_entry.c: Likewise.
6726 * nis/nis_removemember.c: Likewise.
6727 * nis/nis_rmdir.c: Likewise.
6728 * nis/nis_server.c: Likewise.
6729 * nis/nis_subr.c: Likewise.
6730 * nis/nis_verifygroup.c: Likewise.
6731
6732 2017-03-21 Stefan Liebler <stli@linux.vnet.ibm.com>
6733
6734 * malloc/tst-interpose-aux.c (check_for_allocations):
6735 Move compiler barrier before free.
6736
6737 2017-03-20 Joseph Myers <joseph@codesourcery.com>
6738
6739 [BZ #21279]
6740 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6741 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6742 * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
6743 x86_64-x32-linux.
6744 (mq_attr.mq_maxmsg): Likewise.
6745 (mq_attr.mq_msgsize): Likewise.
6746 (mq_attr.mq_curmsgs): Likewise.
6747
6748 [BZ #21278]
6749 * sysdeps/unix/sysv/linux/mips/mips32/Makefile
6750 [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6751 * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
6752 mips-o32-linux.
6753
6754 [BZ #21268]
6755 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
6756 if [__USE_MISC]
6757 (NL3): Likewise.
6758
6759 2017-03-20 Mike Frysinger <vapier@gentoo.org>
6760
6761 [BZ #21275]
6762 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
6763 __stack to __stackbase.
6764 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
6765 checks so we can include defined(__ia64__) first.
6766
6767 2017-03-19 Christian Brauner <christian.brauner@ubuntu.com>
6768
6769 * sysdeps/unix/sysv/linux/ttyname.h: New file.
6770 * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
6771 (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
6772 Call is_pty when the link does not exist or does not match, fail
6773 with ENODEV when it returns true.
6774 * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
6775 (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
6776 Call is_pty when the link does not exist or does not match, fail
6777 with ENODEV when it returns true.
6778
6779 2017-03-18 Joseph Myers <joseph@codesourcery.com>
6780
6781 [BZ #16437]
6782 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6783 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6784 * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6785 x86_64-x32-linux.
6786 * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6787 * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6788 * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6789
6790 [BZ #21261]
6791 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6792 [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6793 names for all fields.
6794 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6795 for jmp_buf field renaming.
6796 (_JMPBUF_UNWINDS_ADJ): Likewise.
6797
6798 * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6799 with allow-header.
6800
6801 2017-03-17 Chris Evans <scarybeasts@gmail.com>
6802
6803 * malloc/malloc.c (unlink): Add consistency check between size and
6804 next->prev->size, to further harden against 1-byte overflows.
6805
6806 2017-03-17 H.J. Lu <hongjiu.lu@intel.com>
6807
6808 * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6809 CPU_FEATURES_CPU_P.
6810
6811 2017-03-17 Joseph Myers <joseph@codesourcery.com>
6812
6813 [BZ #21259]
6814 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6815 unconditionally, not just for [__USE_MISC].
6816
6817 [BZ #17786]
6818 * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6819 * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6820 mips-o32-linux.
6821
6822 [BZ #21260]
6823 * sysdeps/unix/sysv/linux/alpha/Makefile
6824 [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6825 * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6826
6827 * conform/conformtest.pl ($cross): New variable.
6828 (--cross): New command-line option.
6829 (runtest): Skip test execution when cross-compiling.
6830 * conform/Makefile (conformtest-cross): New variable.
6831 ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6832 conformtest.pl.
6833
6834 * conform/conformtest.pl ($xfail_str): New variable.
6835 (--xfail=): New command-line option.
6836 (top level): Handle expectations starting xfail[cond]-.
6837 * conform/Makefile (conformtest-xfail): New variable.
6838 ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6839 conformtest.pl.
6840
6841 2017-03-16 Joseph Myers <joseph@codesourcery.com>
6842
6843 * conform/conformtest.pl: Use compilation instead of execution
6844 tests for testing values of constants and usability in #if.
6845
6846 2017-03-16 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6847
6848 * math/auto-libm-test-in: Mark some catan and catanh as
6849 xfail-rounding:ibm128-libgcc.
6850 * math/auto-libm-test-out-catan: Regenerate.
6851 * math/auto-libm-test-out-catanh: Likewise.
6852
6853 2017-03-16 Joseph Myers <joseph@codesourcery.com>
6854
6855 * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6856 (__END_NAMESPACE_STD): Likewise.
6857 (__USING_NAMESPACE_STD): Likewise.
6858 (__BEGIN_NAMESPACE_C99): Likewise.
6859 (__END_NAMESPACE_C99): Likewise.
6860 (__USING_NAMESPACE_C99): Likewise.
6861 * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6862 undefine macro.
6863 (_Mdouble_END_NAMESPACE): Likewise.
6864 * ctype/ctype.h: Do not handle C++ namespaces.
6865 * libio/bits/stdio-ldbl.h: Likewise.
6866 * libio/stdio.h: Likewise.
6867 * locale/locale.h: Likewise.
6868 * math/bits/mathcalls.h: Likewise.
6869 * setjmp/setjmp.h: Likewise.
6870 * signal/signal.h: Likewise.
6871 * stdlib/bits/stdlib-float.h: Likewise.
6872 * stdlib/bits/stdlib-ldbl.h: Likewise.
6873 * stdlib/stdlib.h: Likewise.
6874 * string/string.h: Likewise.
6875 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6876 * time/bits/types/clock_t.h: Likewise.
6877 * time/bits/types/struct_tm.h: Likewise.
6878 * time/bits/types/time_t.h: Likewise.
6879 * time/time.h: Likewise.
6880 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6881 * wcsmbs/uchar.h: Likewise.
6882 * wcsmbs/wchar.h: Likewise.
6883 [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6884 * wctype/wctype.h: Do not handle C++ namespaces.
6885 * scripts/begin-end-check.pl: Remove.
6886 * Makefile (installed-headers): Likewise.
6887 (tests-special): Do not add $(objpfx)begin-end-check.out.
6888 ($(objpfx)begin-end-check.out): Remove.
6889
6890 2017-03-15 Steve Ellcey <sellcey@caviumnetworks.com>
6891 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6892
6893 * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6894 (DL_PLATFORM_INIT): New define.
6895 (dl_platform_init): New function.
6896 * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6897 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6898 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6899 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6900 * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6901
6902 2017-03-15 Mike Frysinger <vapier@gentoo.org>
6903
6904 * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6905 instead of PIC.
6906
6907 2017-03-15 Joseph Myers <joseph@codesourcery.com>
6908
6909 [BZ #21094]
6910 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6911 24+24+24-bit pi for wider range of values around pi/2.
6912 * math/auto-libm-test-in: Add more tests of cos and tan.
6913 * math/auto-libm-test-out-cos: Regenerated.
6914 * math/auto-libm-test-out-tan: Likewise.
6915
6916 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
6917
6918 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6919 (RTLD_START): Don't record stack end address in _dl_start_user.
6920
6921 2017-03-15 Alexey Neyman <stilor@att.net>
6922
6923 [BZ #21088]
6924 * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6925 around definitions match those around use.
6926
6927 2017-03-15 Alexey Neyman <stilor@att.net>
6928
6929 * configure.ac: Avoid empty subexpression in grep.
6930 * configure: Regenerate.
6931
6932 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6933
6934 * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6935 * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6936 * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6937 (test_wrp_rv): Fix format.
6938 (test_wrp_rv2): New macro.
6939 (do_test): Handle mlock return on 64 bits kernels with 32 bits
6940 binaries.
6941
6942 2017-03-15 Joseph Myers <joseph@codesourcery.com>
6943
6944 * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6945 Use a union when storing pointers.
6946 (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6947 cast result when passing to INIT_VEC_PTRS_LOOP.
6948 (VECTOR_WRAPPER_fFF_3): Likewise.
6949 (VECTOR_WRAPPER_fFF_4): Likewise.
6950
6951 2017-03-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6952
6953 * include/bits/mathcalls-helper-functions.h: New file.
6954 * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6955 * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6956 (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6957 math/bits/mathcalls-helper-functions.h.
6958 * math/bits/mathcalls-helper-functions.h: New file.
6959 * math/math.h: Include bits/mathcalls-helper-functions.h for
6960 float, double, and long double.
6961
6962 2017-03-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6963
6964 * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6965 instead of feraiseexcept.
6966
6967 2017-03-15 Florian Weimer <fweimer@redhat.com>
6968
6969 [BZ #21243]
6970 * support/temp_file.c (support_delete_temp_files): Add comment
6971 about ignored errors.
6972
6973 2017-03-15 Florian Weimer <fweimer@redhat.com>
6974
6975 [BZ #21244]
6976 * support/xclose.c: New file.
6977 * support/Makefile (libsupport-routines): Add xclose.
6978 * support/xunistd.h (xclose): Declare.
6979 * support/resolv_test.c (server_thread_tcp_client)
6980 (server_thread_tcp, make_server_sockets, resolv_test_start)
6981 (resolv_test_end): Call xclose instead of close.
6982 * support/support_enter_network_namespace.c
6983 (support_enter_network_namespace): Likewise.
6984 * support/support_run_diff.c (write_to_temp_file): Likewise.
6985
6986 2017-03-15 Florian Weimer <fweimer@redhat.com>
6987
6988 * support/support_format_dns_packet.c (support_format_dns_packet):
6989 Handle CNAME records in the response. Extract RDATA names from
6990 rdata, not the whole packet. Check AAAA record length.
6991 * support/tst-support_format_dns_packet.c: New file.
6992 * support/Makefile (tests): Add tst-support_format_dns_packet.
6993 (tst-support_format_dns_packet): Link against libresolv.
6994
6995 2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6996
6997 [BZ #21232]
6998 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6999 posix_fadvise64 weak_alias for static build.
7000
7001 2017-03-14 Andreas Schwab <schwab@suse.de>
7002
7003 * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7004 * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7005 (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7006 * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7007 * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7008 (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7009 * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7010 * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7011
7012 2017-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7013
7014 * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7015 posix error code.
7016 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7017
7018 2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7019
7020 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7021 no_isolate usage for SH.
7022
7023 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
7024
7025 [BZ #15105]
7026 [BZ #19463]
7027 * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7028 * inet/rcmd.c (rcmd_af): Likewise.
7029 * inet/rexec.c (rexec_af): Likewise.
7030 * intl/dcigettext.c (_LIBC): Likewise.
7031 * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7032 * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7033 * locale/setlocale.c (setlocale): Likewise.
7034 * posix/spawn_faction_addopen.c
7035 (posix_spawn_file_actions_addopen): Likewise.
7036 * stdlib/putenv.c (putenv): Use __strndup.
7037 * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7039 * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7040 (__Need_M_And_C) Remove define/undef.
7041 * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7042 (__malloc_and_calloc_defined): Remove define.
7043 * string/bits/string2.h (__strdup): Remove define.
7044 (strdup): Likewise.
7045 (__strndup): Likewise.
7046 (strndup): Likewise.
7047
7048 2017-03-13 Joseph Myers <joseph@codesourcery.com>
7049
7050 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7051 macro.
7052 (IPV6_ADDR_PREFERENCES): Likewise.
7053 (IPV6_MINHOPCOUNT): Likewise.
7054 (IPV6_ORIGDSTADDR): Likewise.
7055 (IPV6_RECVORIGDSTADDR): Likewise.
7056 (IPV6_TRANSPARENT): Likewise.
7057 (IPV6_UNICAST_IF): Likewise.
7058 (IPV6_RECVFRAGSIZE): Likewise.
7059
7060 2017-03-13 Thorsten Kukuk <kukuk@suse.com>
7061
7062 * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7063
7064 2017-03-12 Alexey Neyman <stilor@att.net>
7065
7066 * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7067 in R_SH_DIR32 case is always false when inlined from
7068 dl-conflict.c. Ifdef out to prevent GCC from insertin an
7069
7070 2016-03-12 Marko Myllynen <myllynen@redhat.com>
7071
7072 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7073 (__ASSUME_RECV_SYSCALL): Replace duplicate by
7074 __ASSUME_SEND_SYSCALL.
7075
7076 2017-03-11 Thorsten Kukuk <kukuk@suse.com>
7077
7078 * sunrpc/Makefile: don't build and install rpcsvc header
7079 files, rpcgen and librpcsvc.a by default.
7080
7081 2017-03-10 Stefan Liebler <stli@linux.vnet.ibm.com>
7082
7083 * math/auto-libm-test-out-catan: Regenerated.
7084 * math/auto-libm-test-out-catanh: Likewise.
7085 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7086
7087 2017-03-09 Joseph Myers <joseph@codesourcery.com>
7088
7089 * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7090 for long double with corrected test expectations.
7091
7092 2016-03-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7093
7094 * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7095 Define.
7096 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7097 (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7098 * sysdeps/unix/sysv/linux/nios2/sysdep.h
7099 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7100 * sysdeps/unix/sysv/linux/tile/sysdep.h
7101 (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7102 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7103 (__ASSUME_RECV_SYSCALL): Define.
7104 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7105 (__ASSUME_RECV_SYSCALL): Likewise.
7106 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7107 (__ASSUME_RECV_SYSCALL): Likewise.
7108 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7109 (__ASSUME_RECV_SYSCALL): Likewise.
7110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7111 (__ASSUME_RECV_SYSCALL): Likewise.
7112 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7113 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7115 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7116 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7117 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7118 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7119 auto-generation list.
7120 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7121 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7122 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7123 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7125 * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7126 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7127 __ASSUME_SENDTO_SYSCALL.
7128 * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7129 * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7130 * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7131
7132 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7133 auto-generation list.
7134 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7135 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7136 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7137 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7138 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7139 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7140 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7141 * sysdeps/unix/sysv/linux/kernel-features.h
7142 (__ASSUME_SENDTO_SYSCALL): Define by default.
7143 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7144 (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7145 __NR_sendto.
7146 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7147 (__ASSUME_SENDTO_SYSCALL): Likewise.
7148 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7149 (__ASSUME_SENDTO_SYSCALL): Likewise.
7150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7151 (__ASSUME_SENDTO_SYSCALL): Remove definition.
7152 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7153 (__ASSUME_SENDTO_SYSCALL): Likewise.
7154 * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7155 (__ASSUME_SENDTO_SYSCALL): Likewise.
7156 * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7157
7158 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7159 auto-generation list.
7160 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7161 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7162 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7163 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7164 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7165 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7166 (__ASSUME_RECV_SYSCALL): New define.
7167 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7168 (__ASSUME_RECV_SYSCALL): Likewise.
7169 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7170 (__ASSUME_RECV_SYSCALL): Likewise.
7171 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7172 (__ASSUME_RECV_SYSCALL): Likewise.
7173 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7174 (__ASSUME_RECV_SYSCALL): Likewise.
7175 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7176 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7177 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7178 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7179 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7180 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7181 * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7182 * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7183 * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7184 * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7185 (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7186 __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7187
7188 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7189 auto-generation list.
7190 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7191 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7192 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7193 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7194 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7195 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7196 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7197 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7198 (__ASSUME_RECVFROM_SYSCALL): Define by default.
7199 * sysdeps/unix/sysv/linux/kernel-features.h
7200 (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7201 __NR_recvfrom.
7202 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7203 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7204 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7205 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7207 (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7208 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7209 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7210 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7211 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7213 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7214 * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7215
7216 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7217 auto-generation list.
7218 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7219 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7220 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7222 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7223 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7224 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7225 * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7226 * sysdeps/unix/sysv/linux/kernel-features.h
7227 (__ASSUME_CONNECT_SYSCALL): Define.
7228 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7229 (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7230 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7231 (__ASSUME_CONNECT_SYSCALL): Likewise.
7232 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7233 (__ASSUME_CONNECT_SYSCALL): Likewise.
7234 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7235 (__ASSUME_CONNECT_SYSCALL): Likewise.
7236
7237 * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7238 __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7239 * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7240 auto-generation list.
7241 * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7242 * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7243 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7244 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7245 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7246 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7248 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7249 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7250 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7251 * sysdeps/unix/sysv/linux/kernel-features.h
7252 (__ASSUME_ACCEPT_SYSCALL): New define.
7253 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7254 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7255 (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7257 (__ASSUME_ACCEPT_SYSCALL): Define.
7258 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7259 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7260 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7261 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7262 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7263 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7264 (__ASSUME_ACCEPT_SYSCALL): Undefine.
7265 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7266 (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7267
7268 2017-03-08 Yury Norov <ynorov@caviumnetworks.com>
7269 Zack Weinberg <zackw@panix.com>
7270
7271 * posix/test-errno.c: New file.
7272 * posix/Makefile (tests): Add test-errno.
7273 * sysdeps/unix/sysv/linux/test-errno.c: New file.
7274 * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7275
7276 2017-03-08 Stefan Liebler <stli@linux.vnet.ibm.com>
7277
7278 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7279
7280 2017-03-07 Florian Weimer <fweimer@redhat.com>
7281
7282 * time/tzset.c (compute_offset): Open-code min macro.
7283 (min, max, sign): Remove.
7284
7285 2017-03-07 Florian Weimer <fweimer@redhat.com>
7286
7287 [BZ #15576]
7288 Remove TZNAME_MAX limit from sysconf.
7289 * include/time.h (__tzname_cur_max, __tzname_max): Remove
7290 declaration.
7291 * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7292 compute_tzname_max.
7293 (compute_tzname_max): Remove.
7294 * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7295 (update_vars): Do not update __tzname_cur_max.
7296 (tzset_internal): Remove argument.
7297 (__tzset): Adjust call to tzset_internal.
7298 (__tz_convert): Likewise.
7299
7300 * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7301 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7302 * manual/conf.texi (Sysconf Definition): Update comment.
7303
7304 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
7305
7306 [BZ #21209]
7307 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7308 AT_SECURE processes.
7309 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7310 * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7311 (test_child): Likewise.
7312 * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7313
7314 2017-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7315
7316 * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7317
7318 2017-03-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7319
7320 * sysdeps/s390/atomic-machine.h
7321 (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7322 (__arch_compare_and_exchange_val_8_acq,
7323 __arch_compare_and_exchange_val_16_acq,
7324 __arch_compare_and_exchange_val_32_acq,
7325 __arch_compare_and_exchange_val_64_acq):
7326 Delete macro.
7327 (atomic_compare_and_exchange_val_acq,
7328 atomic_compare_and_exchange_val_rel,
7329 atomic_compare_and_exchange_bool_acq,
7330 catomic_compare_and_exchange_bool_acq,
7331 atomic_exchange_acq, atomic_exchange_rel,
7332 atomic_exchange_and_add_acq,
7333 atomic_exchange_and_add_rel,
7334 catomic_exchange_and_add, atomic_or_val,
7335 atomic_or, catomic_or, atomic_bit_test_set,
7336 atomic_and_val, atomic_and, catomic_and):
7337 Define macros with help of C11 atomic builtins.
7338
7339 2017-03-03 Justus Winter <justus@gnupg.org>
7340
7341 * sysdeps/mach/hurd/ftruncate64.c: New file.
7342 * sysdeps/mach/hurd/truncate64.c: Likewise.
7343
7344 2017-03-03 Florian Weimer <fweimer@redhat.com>
7345
7346 * time/tzfile.c (NOID): Do not define.
7347 * time/tzset.c (NOID): Likewise.
7348
7349 2017-03-03 Florian Weimer <fweimer@redhat.com>
7350
7351 * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7352
7353 2017-03-02 Florian Weimer <fweimer@redhat.com>
7354
7355 * elf/get-dynamic-info.h: Remove header file inclusion guard.
7356
7357 2017-03-02 Florian Weimer <fweimer@redhat.com>
7358
7359 [BZ #21015]
7360 * manual/install.texi (Configuring and compiling): Document
7361 --enable-bind-now.
7362 * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7363 (build-shlib-helper): Use $(LDFLAGS-lib.so).
7364 (format.lds): Likewise.
7365 [bind-now] (LDFLAGS-c.so): Remove.
7366 * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7367 be R_X86_64_GLOB_DAT.
7368 * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7369 relocation can be R_386_GLOB_DAT.
7370 * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7371 relocaiton can be R_ALPHA_GLOB_DAT.
7372 * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7373
7374 2017-03-01 Zack Weinberg <zackw@panix.com>
7375
7376 * include/libc-pointer-arith.h: New file. Define
7377 cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7378 PTR_ALIGN_DOWN here.
7379 * include/libc-internal.h: Definitions of above macros
7380 moved from here. Don't include libc-diag.h anymore either.
7381 * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7382 Don't include libc-internal.h.
7383
7384 * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7385 * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7386 * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7387 * string/strcoll_l.c, sysdeps/nacl/brk.c
7388 * sysdeps/unix/clock_settime.c
7389 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7390 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7391 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7393 Don't include libc-internal.h.
7394
7395 * elf/get-dynamic-info.h, iconv/loop.c
7396 * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7397 * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7398 * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7399 * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7400 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7403 * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7404 * sysdeps/ieee754/ldbl-128/k_tanl.c
7405 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7406 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7407 * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7408 Include libc-diag.h instead of libc-internal.h.
7409
7410 * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7411 * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7412 * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7413 * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7414 * sysdeps/unix/sysv/linux/spawni.c
7415 * sysdeps/x86_64/nptl/tls.h:
7416 Include libc-pointer-arith.h instead of libc-internal.h.
7417
7418 * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7419 * sysdeps/x86_64/atomic-machine.h:
7420 Add multiple include guard.
7421
7422 * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7423 * string/strcasestr.c: No need to include config.h.
7424 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7425 sys/auxv.h. Don't include sysdep.h.
7426 * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7427
7428 * dlfcn/tst-dladdr.c: Don't include ldsodefs.h. Don't use
7429 DL_LOOKUP_ADDRESS.
7430 * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7431 LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7432 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7433 sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7434 of ARTIFICIAL_LIMIT.
7435 * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7436 declaration of __clone2.
7437
7438 2017-02-28 Florian Weimer <fweimer@redhat.com>
7439
7440 * scripts/backport-support.sh (latest_commit): New file.
7441
7442 2017-02-28 Florian Weimer <fweimer@redhat.com>
7443
7444 [BZ #20257]
7445 * inet/Makefile (routines): Add deadline.
7446 (tests-static): Add tst-deadline.
7447 * inet/net-internal.h (struct deadline_current_time)
7448 (__deadline_current_time, struct deadline, __deadline_is_infinite)
7449 (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7450 (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7451 * inet/deadline.c: New file.
7452 * inet/tst-deadline.c: Likewise.
7453 * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7454 tst-udp-timeout, tst-udp-garbage.
7455 (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7456 explicitly.
7457 (tst-udp-garbage): Likewise. Also link against thread library.
7458 * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7459 struct layout is part of the ABI.
7460 (clntudp_call): Rework timeout handling.
7461 * sunrpc/tst-udp-garbage.c: New file.
7462 * sunrpc/tst-udp-nonblocking.c: Likewise.
7463 * sunrpc/tst-udp-timeout.c: Likewise.
7464
7465 2017-02-28 Florian Weimer <fweimer@redhat.com>
7466
7467 [BZ #5010]
7468 * sunrpc/svc.c (svc_is_mapped): Remove.
7469 (svc_unregister): Obtain mapped status while the service is still
7470 registered.
7471 * sunrpc/Makefile [have-thread-library] (tests): Add
7472 tst-svc_register.
7473 (tst-svc_register): Link against libc.so explicitly and the thread
7474 library.
7475 * sunrpc/tst-svc_register.c: New file.
7476
7477 2017-02-28 Andreas Schwab <schwab@linux-m68k.org>
7478
7479 * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7480 * sysdeps/pthread/bits/sigthread.h: Likewise.
7481
7482 2017-02-27 Florian Weimer <fweimer@redhat.com>
7483
7484 [BZ #21115]
7485 * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7486 * sunrpc/Makefile (tests): Add tst-udp-error.
7487 (tst-udp-error): Link against libc.so explicitly.
7488 * sunrpc/tst-udp-error: New file.
7489
7490 2017-02-25 Zack Weinberg <zackw@panix.com>
7491
7492 * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7493 __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7494
7495 * sysdeps/generic/math_ldbl.h
7496 * sysdeps/ia64/fpu/math_ldbl.h
7497 * sysdeps/ieee754/ldbl-128/math_ldbl.h
7498 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7499 * sysdeps/ieee754/ldbl-96/math_ldbl.h
7500 * sysdeps/powerpc/fpu/math_ldbl.h
7501 * sysdeps/x86_64/fpu/math_ldbl.h:
7502 Allow direct inclusion. Use uintNN_t instead of u_intNN_t.
7503 Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7504 LITTLE_ENDIAN. Include endian.h and/or stdint.h if necessary.
7505 Add copyright notices.
7506
7507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7508 Don't use EXTRACT_WORDS64.
7509
7510 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7511 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7512 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7513 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7514 Include math_ldbl.h, not math_private.h.
7515
7516 2017-02-25 Zack Weinberg <zackw@panix.com>
7517
7518 * include/libc-diag.h: New file. Define ignore_value,
7519 DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7520 DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7521
7522 * include/libc-internal.h: Definitions of above macros moved from
7523 here. Include libc-diag.h. Add copyright notice.
7524
7525 * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7526 * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7527 * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7528 * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7529 * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7530 * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7531 * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7532 * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7533 Include libc-diag.h instead of libc-internal.h.
7534
7535 * stdlib/tst-environ.c: Include libc-diag.h. Suppress -Wnonnull for
7536 call to unsetenv (NULL).
7537 * nptl/tst-mutex1.c: Include libc-diag.h. Suppress -Wnonnull for
7538 call to pthread_mutexattr_destroy (NULL).
7539
7540 2017-02-25 Zack Weinberg <zackw@panix.com>
7541
7542 * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7543 * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7544 __GLIBC_USE (DEPRECATED_GETS). Update comments to indicate
7545 gets was removed from C++ in C++14.
7546 * include/stdio.h: Remove redundant declaration of gets.
7547 * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7548 be declared, since we are testing it.
7549 * stdio-common/Makefile (tst-gets.c): Compile with
7550 -Wno-deprecated-declarations.
7551 * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7552 (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7553 (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7554 Compile with -Wno-deprecated-declarations.
7555
7556 2017-02-24 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7557
7558 * math/libm-test-support.c (check_ulp): Use LIT() around literal
7559 numbers.
7560
7561 2017-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7562
7563 * resolv/tst-resolv-qtypes.c (domain):
7564 Change type to const pointer to const char.
7565
7566 2017-02-24 Joseph Myers <joseph@codesourcery.com>
7567
7568 * math/Makefile (libm-tests-generated): Remove variable.
7569 (libm-tests-base-normal): New variable.
7570 (libm-tests-base-finite): Likewise.
7571 (libm-tests-base-inline): Likewise.
7572 (libm-tests-base): Likewise.
7573 (libm-tests-normal): Likewise.
7574 (libm-tests-finite): Likewise.
7575 (libm-tests-inline): Likewise.
7576 (libm-tests-vector): Likewise.
7577 (libm-tests): Define in terms of these new variables.
7578 (libm-tests-for-type): New variable.
7579 (libm-tests.o): Move definition.
7580 (tests): Move addition of $(libm-tests).
7581 (generated): Update for new and removed libm test files.
7582 ($(objpfx)libm-test.c): Remove target.
7583 ($(objpfx)libm-have-vector-test.h): Likewise.
7584 (CFLAGS-test-double-vlen2.c): Remove variable.
7585 (CFLAGS-test-double-vlen4.c): Likewise.
7586 (CFLAGS-test-double-vlen8.c): Likewise.
7587 (CFLAGS-test-float-vlen4.c): Likewise.
7588 (CFLAGS-test-float-vlen8.c): Likewise.
7589 (CFLAGS-test-float-vlen16.c): Likewise.
7590 (CFLAGS-test-float.c): Likewise.
7591 (CFLAGS-test-float-finite.c): Likewise.
7592 (CFLAGS-libm-test-support-float.c): Likewise.
7593 (CFLAGS-test-double.c): Likewise.
7594 (CFLAGS-test-double-finite.c): Likewise.
7595 (CFLAGS-libm-test-support-double.c): Likewise.
7596 (CFLAGS-test-ldouble.c): Likewise.
7597 (CFLAGS-test-ldouble-finite.c): Likewise.
7598 (CFLAGS-libm-test-support-ldouble.c): Likewise.
7599 (libm-test-inline-cflags): New variable.
7600 (CFLAGS-test-ifloat.c): Remove variable.
7601 (CFLAGS-test-idouble.c): Likewise.
7602 (CFLAGS-test-ildouble.c): Likewise.
7603 ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7604 dependencies.
7605 ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7606 ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7607 ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7608 ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7609 ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7610 Likewise.
7611 (dependencies on libm-test-support-*.o): Remove.
7612 ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7613 rules using iterators.
7614 ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7615 Likewise.
7616 ($(objpfx)libm-test-support-$(o).o): Likewise.
7617 ($(addprefix $(objpfx),$(filter-out $(tests-static)
7618 $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7619 instead.
7620 ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7621 define rule instead.
7622 * math/README.libm-test: Update.
7623 * math/libm-test-acos.inc: Include libm-test-driver.c.
7624 (do_test): New function.
7625 * math/libm-test-acosh.inc: Include libm-test-driver.c.
7626 (do_test): New function.
7627 * math/libm-test-asin.inc: Include libm-test-driver.c.
7628 (do_test): New function.
7629 * math/libm-test-asinh.inc: Include libm-test-driver.c.
7630 (do_test): New function.
7631 * math/libm-test-atan.inc: Include libm-test-driver.c.
7632 (do_test): New function.
7633 * math/libm-test-atan2.inc: Include libm-test-driver.c.
7634 (do_test): New function.
7635 * math/libm-test-atanh.inc: Include libm-test-driver.c.
7636 (do_test): New function.
7637 * math/libm-test-cabs.inc: Include libm-test-driver.c.
7638 (do_test): New function.
7639 * math/libm-test-cacos.inc: Include libm-test-driver.c.
7640 (do_test): New function.
7641 * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7642 (do_test): New function.
7643 * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7644 (do_test): New function.
7645 * math/libm-test-carg.inc: Include libm-test-driver.c.
7646 (do_test): New function.
7647 * math/libm-test-casin.inc: Include libm-test-driver.c.
7648 (do_test): New function.
7649 * math/libm-test-casinh.inc: Include libm-test-driver.c.
7650 (do_test): New function.
7651 * math/libm-test-catan.inc: Include libm-test-driver.c.
7652 (do_test): New function.
7653 * math/libm-test-catanh.inc: Include libm-test-driver.c.
7654 (do_test): New function.
7655 * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7656 (do_test): New function.
7657 * math/libm-test-ccos.inc: Include libm-test-driver.c.
7658 (do_test): New function.
7659 * math/libm-test-ccosh.inc: Include libm-test-driver.c.
7660 (do_test): New function.
7661 * math/libm-test-ceil.inc: Include libm-test-driver.c.
7662 (do_test): New function.
7663 * math/libm-test-cexp.inc: Include libm-test-driver.c.
7664 (do_test): New function.
7665 * math/libm-test-cimag.inc: Include libm-test-driver.c.
7666 (do_test): New function.
7667 * math/libm-test-clog.inc: Include libm-test-driver.c.
7668 (do_test): New function.
7669 * math/libm-test-clog10.inc: Include libm-test-driver.c.
7670 (do_test): New function.
7671 * math/libm-test-conj.inc: Include libm-test-driver.c.
7672 (do_test): New function.
7673 * math/libm-test-copysign.inc: Include libm-test-driver.c.
7674 (do_test): New function.
7675 * math/libm-test-cos.inc: Include libm-test-driver.c.
7676 (do_test): New function.
7677 * math/libm-test-cosh.inc: Include libm-test-driver.c.
7678 (do_test): New function.
7679 * math/libm-test-cpow.inc: Include libm-test-driver.c.
7680 (do_test): New function.
7681 * math/libm-test-cproj.inc: Include libm-test-driver.c.
7682 (do_test): New function.
7683 * math/libm-test-creal.inc: Include libm-test-driver.c.
7684 (do_test): New function.
7685 * math/libm-test-csin.inc: Include libm-test-driver.c.
7686 (do_test): New function.
7687 * math/libm-test-csinh.inc: Include libm-test-driver.c.
7688 (do_test): New function.
7689 * math/libm-test-csqrt.inc: Include libm-test-driver.c.
7690 (do_test): New function.
7691 * math/libm-test-ctan.inc: Include libm-test-driver.c.
7692 (do_test): New function.
7693 * math/libm-test-ctanh.inc: Include libm-test-driver.c.
7694 (do_test): New function.
7695 * math/libm-test-erf.inc: Include libm-test-driver.c.
7696 (do_test): New function.
7697 * math/libm-test-erfc.inc: Include libm-test-driver.c.
7698 (do_test): New function.
7699 * math/libm-test-exp.inc: Include libm-test-driver.c.
7700 (do_test): New function.
7701 * math/libm-test-exp10.inc: Include libm-test-driver.c.
7702 (do_test): New function.
7703 * math/libm-test-exp2.inc: Include libm-test-driver.c.
7704 (do_test): New function.
7705 * math/libm-test-expm1.inc: Include libm-test-driver.c.
7706 (do_test): New function.
7707 * math/libm-test-fabs.inc: Include libm-test-driver.c.
7708 (do_test): New function.
7709 * math/libm-test-fdim.inc: Include libm-test-driver.c.
7710 (do_test): New function.
7711 * math/libm-test-floor.inc: Include libm-test-driver.c.
7712 (do_test): New function.
7713 * math/libm-test-fma.inc: Include libm-test-driver.c.
7714 (do_test): New function.
7715 * math/libm-test-fmax.inc: Include libm-test-driver.c.
7716 (do_test): New function.
7717 * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
7718 (do_test): New function.
7719 * math/libm-test-fmin.inc: Include libm-test-driver.c.
7720 (do_test): New function.
7721 * math/libm-test-fminmag.inc: Include libm-test-driver.c.
7722 (do_test): New function.
7723 * math/libm-test-fmod.inc: Include libm-test-driver.c.
7724 (do_test): New function.
7725 * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
7726 (do_test): New function.
7727 * math/libm-test-frexp.inc: Include libm-test-driver.c.
7728 (do_test): New function.
7729 * math/libm-test-fromfp.inc: Include libm-test-driver.c.
7730 (do_test): New function.
7731 * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
7732 (do_test): New function.
7733 * math/libm-test-getpayload.inc: Include libm-test-driver.c.
7734 (do_test): New function.
7735 * math/libm-test-hypot.inc: Include libm-test-driver.c.
7736 (do_test): New function.
7737 * math/libm-test-ilogb.inc: Include libm-test-driver.c.
7738 (do_test): New function.
7739 * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
7740 (do_test): New function.
7741 * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
7742 (do_test): New function.
7743 * math/libm-test-isfinite.inc: Include libm-test-driver.c.
7744 (do_test): New function.
7745 * math/libm-test-isgreater.inc: Include libm-test-driver.c.
7746 (do_test): New function.
7747 * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
7748 (do_test): New function.
7749 * math/libm-test-isinf.inc: Include libm-test-driver.c.
7750 (do_test): New function.
7751 * math/libm-test-isless.inc: Include libm-test-driver.c.
7752 (do_test): New function.
7753 * math/libm-test-islessequal.inc: Include libm-test-driver.c.
7754 (do_test): New function.
7755 * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
7756 (do_test): New function.
7757 * math/libm-test-isnan.inc: Include libm-test-driver.c.
7758 (do_test): New function.
7759 * math/libm-test-isnormal.inc: Include libm-test-driver.c.
7760 (do_test): New function.
7761 * math/libm-test-issignaling.inc: Include libm-test-driver.c.
7762 (do_test): New function.
7763 * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
7764 (do_test): New function.
7765 * math/libm-test-isunordered.inc: Include libm-test-driver.c.
7766 (do_test): New function.
7767 * math/libm-test-iszero.inc: Include libm-test-driver.c.
7768 (do_test): New function.
7769 * math/libm-test-j0.inc: Include libm-test-driver.c.
7770 (do_test): New function.
7771 * math/libm-test-j1.inc: Include libm-test-driver.c.
7772 (do_test): New function.
7773 * math/libm-test-jn.inc: Include libm-test-driver.c.
7774 (do_test): New function.
7775 * math/libm-test-lgamma.inc: Include libm-test-driver.c.
7776 (do_test): New function.
7777 * math/libm-test-llogb.inc: Include libm-test-driver.c.
7778 (do_test): New function.
7779 * math/libm-test-llrint.inc: Include libm-test-driver.c.
7780 (do_test): New function.
7781 * math/libm-test-llround.inc: Include libm-test-driver.c.
7782 (do_test): New function.
7783 * math/libm-test-log.inc: Include libm-test-driver.c.
7784 (do_test): New function.
7785 * math/libm-test-log10.inc: Include libm-test-driver.c.
7786 (do_test): New function.
7787 * math/libm-test-log1p.inc: Include libm-test-driver.c.
7788 (do_test): New function.
7789 * math/libm-test-log2.inc: Include libm-test-driver.c.
7790 (do_test): New function.
7791 * math/libm-test-logb.inc: Include libm-test-driver.c.
7792 (do_test): New function.
7793 * math/libm-test-lrint.inc: Include libm-test-driver.c.
7794 (do_test): New function.
7795 * math/libm-test-lround.inc: Include libm-test-driver.c.
7796 (do_test): New function.
7797 * math/libm-test-modf.inc: Include libm-test-driver.c.
7798 (do_test): New function.
7799 * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7800 (do_test): New function.
7801 * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7802 (do_test): New function.
7803 * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7804 (do_test): New function.
7805 * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7806 (do_test): New function.
7807 * math/libm-test-nextup.inc: Include libm-test-driver.c.
7808 (do_test): New function.
7809 * math/libm-test-pow.inc: Include libm-test-driver.c.
7810 (do_test): New function.
7811 * math/libm-test-remainder.inc: Include libm-test-driver.c.
7812 (do_test): New function.
7813 * math/libm-test-remquo.inc: Include libm-test-driver.c.
7814 (do_test): New function.
7815 * math/libm-test-rint.inc: Include libm-test-driver.c.
7816 (do_test): New function.
7817 * math/libm-test-round.inc: Include libm-test-driver.c.
7818 (do_test): New function.
7819 * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7820 (do_test): New function.
7821 * math/libm-test-scalb.inc: Include libm-test-driver.c.
7822 (do_test): New function.
7823 * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7824 (do_test): New function.
7825 * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7826 (do_test): New function.
7827 * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7828 (do_test): New function.
7829 * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7830 (do_test): New function.
7831 * math/libm-test-signbit.inc: Include libm-test-driver.c.
7832 (do_test): New function.
7833 * math/libm-test-significand.inc: Include libm-test-driver.c.
7834 (do_test): New function.
7835 * math/libm-test-sin.inc: Include libm-test-driver.c.
7836 (do_test): New function.
7837 * math/libm-test-sincos.inc: Include libm-test-driver.c.
7838 (do_test): New function.
7839 * math/libm-test-sinh.inc: Include libm-test-driver.c.
7840 (do_test): New function.
7841 * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7842 (do_test): New function.
7843 * math/libm-test-tan.inc: Include libm-test-driver.c.
7844 (do_test): New function.
7845 * math/libm-test-tanh.inc: Include libm-test-driver.c.
7846 (do_test): New function.
7847 * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7848 (do_test): New function.
7849 * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7850 (do_test): New function.
7851 * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7852 (do_test): New function.
7853 * math/libm-test-trunc.inc: Include libm-test-driver.c.
7854 (do_test): New function.
7855 * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7856 (do_test): New function.
7857 * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7858 (do_test): New function.
7859 * math/libm-test-y0.inc: Include libm-test-driver.c.
7860 (do_test): New function.
7861 * math/libm-test-y1.inc: Include libm-test-driver.c.
7862 (do_test): New function.
7863 * math/libm-test-yn.inc: Include libm-test-driver.c.
7864 (do_test): New function.
7865 * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7866 (HAVE_VECTOR): Remove macro.
7867 (START): Do not call HAVE_VECTOR.
7868 * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7869 * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7870 * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7871 * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7872 * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7873 * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7874 * math/test-math-vector.h (FUNC_TEST): New macro.
7875 (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7876 * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7877 (double-vlen4-funcs): Likewise.
7878 (double-vlen4-avx2-funcs): Likewise.
7879 (double-vlen8-funcs): Likewise.
7880 (float-vlen4-funcs): Likewise.
7881 (float-vlen8-funcs): Likewise.
7882 (float-vlen8-avx2-funcs): Likewise.
7883 (float-vlen16-funcs): Likewise.
7884 (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7885 (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7886 * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7887 macro.
7888 (TEST_VECTOR_sin): Likewise.
7889 (TEST_VECTOR_sincos): Likewise.
7890 (TEST_VECTOR_log): Likewise.
7891 (TEST_VECTOR_exp): Likewise.
7892 (TEST_VECTOR_pow): Likewise.
7893 * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7894 Likewise.
7895 (TEST_VECTOR_sin): Likewise.
7896 (TEST_VECTOR_sincos): Likewise.
7897 (TEST_VECTOR_log): Likewise.
7898 (TEST_VECTOR_exp): Likewise.
7899 (TEST_VECTOR_pow): Likewise.
7900 * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7901 Likewise.
7902 (TEST_VECTOR_sinf): Likewise.
7903 (TEST_VECTOR_sincosf): Likewise.
7904 (TEST_VECTOR_logf): Likewise.
7905 (TEST_VECTOR_expf): Likewise.
7906 (TEST_VECTOR_powf): Likewise.
7907 * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7908 Likewise.
7909 (TEST_VECTOR_sinf): Likewise.
7910 (TEST_VECTOR_sincosf): Likewise.
7911 (TEST_VECTOR_logf): Likewise.
7912 (TEST_VECTOR_expf): Likewise.
7913 (TEST_VECTOR_powf): Likewise.
7914 * math/gen-libm-have-vector-test.sh: Remove file.
7915 * math/libm-test.inc: Likewise.
7916 * math/libm-test-support-double.c: Likewise.
7917 * math/libm-test-support-float.c: Likewise.
7918 * math/libm-test-support-ldouble.c: Likewise.
7919 * math/test-double-finite.c: Likewise.: Likewise.
7920 * math/test-double.c: Likewise.
7921 * math/test-float-finite.c: Likewise.
7922 * math/test-float.c: Likewise.
7923 * math/test-idouble.c: Likewise.
7924 * math/test-ifloat.c: Likewise.
7925 * math/test-ildouble.c: Likewise.
7926 * math/test-ldouble-finite.c: Likewise.
7927 * math/test-ldouble.c: Likewise.
7928 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7929 * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7930 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7931 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7932 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7933 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7934 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7935 * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7936 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7937 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7938
7939 2017-02-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7940 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7941
7942 * math/Makefile: Add wrappers to gen-libm-calls.
7943 * math/w_acos_template.c: New file.
7944 * math/w_acosh_template.c: Likewise.
7945 * math/w_asin_template.c: Likewise.
7946 * math/w_atan2_template.c: Likewise.
7947 * math/w_atanh_template.c: Likewise.
7948 * math/w_cosh_template.c: Likewise.
7949 * math/w_exp10_template.c: Likewise.
7950 * math/w_exp2_template.c: Likewise.
7951 * math/w_exp_template.c: Likewise.
7952 * math/w_fmod_template.c: Likewise.
7953 * math/w_hypot_template.c: Likewise.
7954 * math/w_j0_template.c: Likewise.
7955 * math/w_j1_template.c: Likewise.
7956 * math/w_jn_template.c: Likewise.
7957 * math/w_lgamma_r_template.c: Likewise.
7958 * math/w_lgamma_template.c: Likewise.
7959 * math/w_log10_template.c: Likewise.
7960 * math/w_log2_template.c: Likewise.
7961 * math/w_log_template.c: Likewise.
7962 * math/w_pow_template.c: Likewise.
7963 * math/w_remainder_template.c: Likewise.
7964 * math/w_sinh_template.c: Likewise.
7965 * math/w_sqrt_template.c: Likewise.
7966 * math/w_tgamma_template.c: Likewise.: Likewise.
7967 * sysdeps/generic/math-type-macros-double.h
7968 (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7969 the new wrappers.
7970 * sysdeps/generic/math-type-macros-float.h: Likewise.
7971 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7972
7973 2017-02-22 Joseph Myers <joseph@codesourcery.com>
7974
7975 * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7976 New enum constant and macro.
7977
7978 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7979 kernel version to 4.10.
7980
7981 2017-02-21 Joseph Myers <joseph@codesourcery.com>
7982
7983 * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7984
7985 2017-02-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7986
7987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7988
7989 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7990
7991 * sysdeps/powerpc/tst-set_ppr.c: New file.
7992 Implement test cases for __ppc_set_ppr_* functions.
7993 * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7994 in the list of tests.
7995
7996 2017-02-21 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
7997
7998 * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7999 instead of test-skeleton.c.
8000 (do_test): Replaced pthread_create and pthread_join with
8001 xpthread_create and xpthread_join. Use TEST_VERIFY_EXIT macro.
8002 Removed unneeded status variable.
8003 * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8004 instead of test-skeleton.c.
8005 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8006
8007 2017-02-20 Mike FABIAN <mfabian@redhat.com>
8008
8009 [BZ #20313]
8010 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8011 201605L, for Unicode 9.
8012
8013 2017-02-20 Joseph Myers <joseph@codesourcery.com>
8014
8015 * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8016 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8017 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8018 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8019 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8020 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8021
8022 2017-02-19 Zack Weinberg <zackw@panix.com>
8023
8024 * rt/tst-mqueue4.c: Include stdint.h.
8025
8026 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8027
8028 * sysdeps/arm/libm-test-ulps: Update.
8029 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8030 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8031 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8032
8033 2017-01-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8034
8035 [BZ #21029]
8036 * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8037 * sysdeps/unix/sysv/linux/i386/Makefile
8038 [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8039 (uses-6-syscall-arguments): Remove.
8040 [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8041 [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8042 [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8043 [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8044 [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8045 [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8046 [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8047 [$(subdir) = misc] (cflags-pselect.o): Likewise.
8048 [$(subdir) = misc] (cflags-pselect.os): Likewise.
8049 [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8050 [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8051 [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8052 [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8053 [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8054 [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8055 [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8056 [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8057 [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8058 [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8059 [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8060 [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8061 [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8062 [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8063 [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8064 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8065 Likewise.
8066 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8067 Likewise.
8068 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8069 Likewise.
8070 [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8071 Likewise.
8072 [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8073 [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8074 [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8075 [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8076 * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8077 ebp on inline assembly.
8078 * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8079 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8080 Set if CAN_USE_REGISTER_ASM_EBP is set.
8081
8082 2017-02-17 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8085 index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8086
8087 2017-02-17 Joseph Myers <joseph@codesourcery.com>
8088
8089 * math/auto-libm-test-in: Add tests of catan and catanh.
8090 * math/auto-libm-test-out-catan: New generated file.
8091 * math/auto-libm-test-out-catanh: Likewise.
8092 * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8093 Move tests with finite inputs, except divide-by-zero cases, to
8094 auto-libm-test-in.
8095 * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8096 * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8097 (libm-test-funcs-noauto): Remove catan and catanh.
8098 * sysdeps/i386/fpu/libm-test-ulps: Update.
8099 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8101
8102 * math/auto-libm-test-in: Add tests of casin and casinh.
8103 * math/auto-libm-test-out-casin: New generated file.
8104 * math/auto-libm-test-out-casinh: Likewise.
8105 * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8106 Move tests with finite inputs to auto-libm-test-in.
8107 * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8108 * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8109 (libm-test-funcs-noauto): Remove casin and casinh.
8110 * sysdeps/i386/fpu/libm-test-ulps: Update.
8111 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8113
8114 * math/auto-libm-test-in: Add tests of cacos and cacosh.
8115 * math/auto-libm-test-out-cacos: New generated file.
8116 * math/auto-libm-test-out-cacosh: Likewise.
8117 * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8118 Move tests with finite inputs to auto-libm-test-in.
8119 * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8120 * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8121 (libm-test-funcs-noauto): Remove cacos and cacosh.
8122 * sysdeps/i386/fpu/libm-test-ulps: Update.
8123 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8125
8126 Revert:
8127 2017-02-16 Zack Weinberg <zackw@panix.com>
8128
8129 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8130 Don't include init-arch.h.
8131 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8132 Don't include init-arch.h.
8133
8134 2017-02-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8135
8136 [BZ #21171]
8137 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8138 +Inf and raise divide-by-zero when x is negative.
8139 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8141 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Return
8142 -Inf and raise divide-by-zero when x = +-0.
8143 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8144 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8145 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8146 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8147 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8150
8151 2017-02-16 Zack Weinberg <zackw@panix.com>
8152
8153 * scripts/build-many-glibcs.py (bot_build_mail): If the
8154 bot_config does not contain all of the necessary email-
8155 related settings, just print a warning and continue.
8156
8157 2017-02-16 Zack Weinberg <zackw@panix.com>
8158
8159 * crypt/md5.h: Test _LIBC with #if defined, not #if.
8160 * dirent/opendir-tst1.c: Include sys/stat.h.
8161 * dirent/tst-fdopendir.c: Include sys/stat.h.
8162 * dirent/tst-fdopendir2.c: Include stdlib.h.
8163 * dirent/tst-scandir.c: Include stdbool.h.
8164 * elf/tst-auditmod1.c: Include link.h and stddef.h.
8165 * elf/tst-tls15.c: Include stdlib.h.
8166 * elf/tst-tls16.c: Include stdlib.h.
8167 * elf/tst-tls17.c: Include stdlib.h.
8168 * elf/tst-tls18.c: Include stdlib.h.
8169 * iconv/tst-iconv6.c: Include endian.h.
8170 * iconvdata/bug-iconv11.c: Include limits.h.
8171 * io/test-utime.c: Include stdint.h.
8172 * io/tst-faccessat.c: Include sys/stat.h.
8173 * io/tst-fchmodat.c: Include sys/stat.h.
8174 * io/tst-fchownat.c: Include sys/stat.h.
8175 * io/tst-fstatat.c: Include sys/stat.h.
8176 * io/tst-futimesat.c: Include sys/stat.h.
8177 * io/tst-linkat.c: Include sys/stat.h.
8178 * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8179 * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8180 * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8181 * io/tst-openat.c: Include stdbool.h.
8182 * io/tst-readlinkat.c: Include sys/stat.h.
8183 * io/tst-renameat.c: Include sys/stat.h.
8184 * io/tst-symlinkat.c: Include sys/stat.h.
8185 * io/tst-unlinkat.c: Include stdbool.h.
8186 * libio/bug-memstream1.c: Include stdlib.h.
8187 * libio/bug-wmemstream1.c: Include stdlib.h.
8188 * libio/tst-fwrite-error.c: Include stdlib.h.
8189 * libio/tst-memstream1.c: Include stdlib.h.
8190 * libio/tst-memstream2.c: Include stdlib.h.
8191 * libio/tst-memstream3.c: Include stdlib.h.
8192 * malloc/tst-interpose-aux.c: Include stdint.h.
8193 * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8194 * nptl/tst-basic7.c: Include limits.h.
8195 * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8196 * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8197 * nptl/tst-cancel4_1.c: Include stddef.h.
8198 * nptl/tst-cancel4_2.c: Include stddef.h.
8199 * nptl/tst-cond16.c: Include limits.h.
8200 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8201 * nptl/tst-cond18.c: Include limits.h.
8202 Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8203 * nptl/tst-cond4.c: Include stdint.h.
8204 * nptl/tst-cond6.c: Include stdint.h.
8205 * nptl/tst-stack2.c: Include limits.h.
8206 * nptl/tst-stackguard1.c: Include stddef.h.
8207 * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8208 * nptl/tst-tls4moda.c: Include stddef.h.
8209 Don't include stdio.h, unistd.h, or tls.h.
8210 * nptl/tst-tls4modb.c: Include stddef.h.
8211 Don't include stdio.h, unistd.h, or tls.h.
8212 * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8213 * posix/tst-getaddrinfo2.c: Include stdio.h.
8214 * posix/tst-getaddrinfo5.c: Include stdio.h.
8215 * posix/tst-pathconf.c: Include sys/stat.h.
8216 * posix/tst-posix_fadvise-common.c: Include stdint.h.
8217 * posix/tst-preadwrite-common.c: Include sys/stat.h.
8218 * posix/tst-regex.c: Include stdint.h.
8219 Don't include spawn.h or spawn_int.h.
8220 * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8221 * posix/tst-vfork3.c: Include sys/stat.h.
8222 * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8223 * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8224 * resolv/tst-resolv-search.c: Include stdlib.h.
8225 * stdio-common/tst-fmemopen2.c: Include stdint.h.
8226 * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8227 * stdlib/test-canon.c: Include sys/stat.h.
8228 * stdlib/tst-tls-atexit.c: Include stdbool.h.
8229 * string/test-memchr.c: Include stdint.h.
8230 * string/tst-cmp.c: Include stdint.h.
8231 * sysdeps/pthread/tst-timer.c: Include stdint.h.
8232 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8233 * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8234 * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8235 Don't include init-arch.h.
8236 * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8237 Don't include init-arch.h.
8238 * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8239 * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8240 * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8241 * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8242 * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8243 * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8244 * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8245 * time/clocktest.c: Include stdint.h.
8246 * time/tst-posixtz.c: Include stdint.h.
8247 * timezone/tst-timezone.c: Include stdint.h.
8248
8249 2017-02-16 Zack Weinberg <zackw@panix.com>
8250
8251 * string/string.h [__USE_MISC]: Include strings.h.
8252 (__bzero, bcmp, bcopy, bzero, index, rindex)
8253 (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8254 (ffs, ffsl, ffsll): Don't declare.
8255 * string/strings.h: Do not suppress the file if string.h has
8256 already been included.
8257 (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8258 annotations.
8259 (index, rindex): Define inline forwarders even if
8260 __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8261 (ffs): Use __attribute_const__.
8262 (ffsl, ffsll): Declare here.
8263 (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8264 have now been standardized.
8265 * include/string.h (__bzero): Declare here.
8266
8267 * bits/types.h: Move to posix/bits.
8268 * include/bits/types.h: New wrapper.
8269
8270 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8271
8272 * string/bits/string2.h (strcmp): Remove define.
8273 (__strcmp_cg): Likewise.
8274 (strncmp): Likewise.
8275
8276 2017-02-15 Wilco Dijkstra <wdijkstr@arm.com>
8277
8278 * include/string.h: Add __cplusplus check.
8279
8280 2017-02-15 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8281
8282 [BZ #21134]
8283 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8284 "divide by zero" exception when the input is zero.
8285 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8286 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8287 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8288 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8289 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8290
8291 2017-02-15 Joseph Myers <joseph@codesourcery.com>
8292
8293 * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8294 and include ...
8295 * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here. New file.
8296 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8297 to, and include ...
8298 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here. New
8299 file.
8300 * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8301 and include ...
8302 * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here. New file.
8303 * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8304 and include ...
8305 * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here. New file.
8306 * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8307 and include ...
8308 * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here. New file.
8309 * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8310 and include ...
8311 * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here. New file.
8312 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8313 to, and include ...
8314 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here. New file.
8315 * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8316 and include ...
8317 * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here. New file.
8318
8319 2017-02-14 Joseph Myers <joseph@codesourcery.com>
8320
8321 * math/libm-test-support.h: Do not include <math-tests-arch.h>
8322 here.
8323 * math/libm-test-support.c (libm_test_init): Do not call
8324 INIT_ARCH_EXT here.
8325 * math/libm-test-driver.c: Include <math-tests-arch.h>.
8326 (main): Call INIT_ARCH_EXT.
8327
8328 2017-02-12 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8329
8330 [BZ #21130]
8331 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8332 with the "invalid" exception raised when x is -Inf.
8333 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8334
8335 2017-02-10 Wilco Dijkstra <wdijkstr@arm.com>
8336
8337 * string/bits/string2.h (strchr): Remove define.
8338
8339 2017-02-09 H.J. Lu <hongjiu.lu@intel.com>
8340
8341 * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8342 tst-avx512.
8343 (test-extras): Add tst-avx-aux and tst-avx512-aux.
8344 (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8345 (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8346 ($(objpfx)tst-sse): New rule.
8347 ($(objpfx)tst-avx): Likewise.
8348 ($(objpfx)tst-avx512): Likewise.
8349 (CFLAGS-tst-avx-aux.c): New.
8350 (CFLAGS-tst-avxmod.c): Likewise.
8351 (CFLAGS-tst-avx512-aux.c): Likewise.
8352 (CFLAGS-tst-avx512mod.c): Likewise.
8353 * sysdeps/x86_64/tst-avx-aux.c: New file.
8354 * sysdeps/x86_64/tst-avx.c: Likewise.
8355 * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8356 * sysdeps/x86_64/tst-avx512.c: Likewise.
8357 * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8358 * sysdeps/x86_64/tst-avxmod.c: Likewise.
8359 * sysdeps/x86_64/tst-sse.c: Likewise.
8360 * sysdeps/x86_64/tst-ssemod.c: Likewise.
8361
8362 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8363
8364 * math/auto-libm-test-in: Add more tests of csin and csinh.
8365 * math/auto-libm-test-out-csin: Regenerated.
8366 * math/auto-libm-test-out-csinh: Likewise.
8367 * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8368 auto-libm-test-in.
8369 * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8370
8371 2017-02-09 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8372
8373 * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8374 libm-compat-calls-auto.
8375 (libm-compat-calls): Likewise.
8376 (libm-compat-calls-auto): Rename to libm-compat-calls and add
8377 w_lgamma_compatF and k_standardF (merged from the items above).
8378 (libm-routines): Use libm-compat-calls, instead of
8379 libm-compat-calls-auto, with type-foreach.
8380
8381 2017-02-09 Joseph Myers <joseph@codesourcery.com>
8382
8383 * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8384 macro.
8385 * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8386 (CFLAGS-test-ifloat.c): ... this. Remove
8387 -U__LIBC_INTERNAL_MATH_INLINES.
8388 * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8389 (CFLAGS-test-idouble.c): ... this. Remove
8390 -U__LIBC_INTERNAL_MATH_INLINES.
8391 * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8392 (CFLAGS-test-ildouble.c): ... this. Remove
8393 -U__LIBC_INTERNAL_MATH_INLINES.
8394
8395 2017-02-08 Joseph Myers <joseph@codesourcery.com>
8396
8397 * math/libm-test-support.c: New file. Content from
8398 math/libm-test-driver.c.
8399 * math/libm-test-support.h: Likewise.
8400 * math/libm-test-support-double.c: New file.
8401 * math/libm-test-support-float.c: Likewise.
8402 * math/libm-test-support-ldouble.c: Likewise.
8403 * math/libm-test-driver.c: Remove main comment and header
8404 includes. Include libm-test-support.h.
8405 [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8406 (flag_test_errno): Remove static.
8407 (flag_test_exceptions): Likewise.
8408 (flag_test_finite): Likewise.
8409 (flag_test_inline): Likewise.
8410 (flag_test_mathvec): Likewise.
8411 (test_msg): Likewise.
8412 (NO_EXCEPTION): Remove.
8413 (INVALID_EXCEPTION): Likewise.
8414 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8415 (OVERFLOW_EXCEPTION): Likewise.
8416 (UNDERFLOW_EXCEPTION): Likewise.
8417 (INEXACT_EXCEPTION): Likewise.
8418 (INVALID_EXCEPTION_OK): Likewise.
8419 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8420 (OVERFLOW_EXCEPTION_OK): Likewise.
8421 (UNDERFLOW_EXCEPTION_OK): Likewise.
8422 (NO_INEXACT_EXCEPTION): Likewise.
8423 (EXCEPTIONS_OK): Likewise.
8424 (IGNORE_ZERO_INF_SIGN): Likewise.
8425 (TEST_NAN_SIGN): Likewise.
8426 (TEST_NAN_PAYLOAD): Likewise.
8427 (NO_TEST_INLINE): Likewise.
8428 (XFAIL_TEST): Likewise.
8429 (ERRNO_UNCHANGED): Likewise.
8430 (ERRNO_EDOM): Likewise.
8431 (ERRNO_ERANGE): Likewise.
8432 (IGNORE_RESULT): Likewise.
8433 (NON_FINITE): Likewise.
8434 (TEST_SNAN): Likewise.
8435 (NO_TEST_MATHVEC): Likewise.
8436 (__CONCATX): Likewise.
8437 (TYPE_MIN): Likewise.
8438 (TYPE_TRUE_MIN): Likewise.
8439 (TYPE_MAX): Likewise.
8440 (MIN_EXP): Likewise.
8441 (MAX_EXP): Likewise.
8442 (MANT_DIG): Likewise.
8443 (FSTR_MAX): Likewise.
8444 (ulp_idx): Likewise.
8445 (qtype_str): Remove static.
8446 (TEST_COND_binary32): Remove.
8447 (TEST_COND_binary64): Likewise.
8448 (TEST_COND_binary128): Likewise.
8449 (TEST_COND_ibm128): Likewise.
8450 (TEST_COND_intel96): Likewise.
8451 (TEST_COND_m68k96): Likewise.
8452 (TEST_COND_ibm128_libgcc): Likewise.
8453 (XFAIL_IBM128_LIBGCC): Likewise.
8454 (PAYLOAD_DIG): Likewise.
8455 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8456 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8457 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8458 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8459 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8460 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8461 (TEST_COND_long32): Likewise.
8462 (TEST_COND_long64): Likewise.
8463 (TEST_COND_before_rounding): Likewise.
8464 (TEST_COND_after_rounding): Likewise.
8465 (ulps_file_name): Likewise.
8466 (ulps_file): Likewise.
8467 (output_ulps): Likewise.
8468 (output_dir): Likewise.
8469 (noErrors): Likewise.
8470 (noTests): Likewise.
8471 (noExcTests): Likewise.
8472 (noErrnoTests): Likewise.
8473 (verbose): Likewise.
8474 (output_max_error): Likewise.
8475 (output_points): Likewise.
8476 (ignore_max_ulp): Likewise.
8477 (max_error): Likewise.
8478 (real_max_error): Likewise.
8479 (imag_max_error): Likewise.
8480 (prev_max_error): Likewise.
8481 (prev_real_max_error): Likewise.
8482 (prev_imag_max_error): Likewise.
8483 (max_valid_error): Likewise.
8484 (TYPE_DECIMAL_DIG): Likewise.
8485 (TYPE_HEX_DIG): Likewise.
8486 (fmt_ftostr): Likewise.
8487 (compare_ulp_data): Likewise.
8488 (find_ulps): Likewise.
8489 (init_max_error): Likewise.
8490 (set_max_error): Likewise.
8491 (print_float): Likewise.
8492 (print_screen): Likewise.
8493 (print_screen_max_error): Likewise.
8494 (update_stats): Likewise.
8495 (print_function_ulps): Likewise.
8496 (print_complex_function_ulps): Likewise.
8497 (fpstack_test): Likewise.
8498 (print_max_error): Likewise.
8499 (print_complex_max_error): Likewise.
8500 (test_single_exception): Likewise.
8501 (test_exceptions): Likewise.
8502 (test_single_errno): Likewise.
8503 (test_errno): Likewise.
8504 (ULPDIFF): Likewise.
8505 (ulp): Likewise.
8506 (check_float_internal): Likewise.
8507 (check_float): Likewise.
8508 (check_complex): Likewise.
8509 (check_int): Likewise.
8510 (check_long): Likewise.
8511 (check_bool): Likewise.
8512 (check_longlong): Likewise.
8513 (check_intmax_t): Likewise.
8514 (check_uintmax_t): Likewise.
8515 (enable_test): Likewise.
8516 (matherr): Likewise.
8517 (initialize): Likewise.
8518 (options): Likewise.
8519 (doc): Remove static.
8520 (argp): Likewise.
8521 (parse_opt): Remove.
8522 (check_ulp): Likewise.
8523 (libm_test_init): Likewise.
8524 (libm_test_finish): Likewise.
8525 * math/Makefile (libm-test-support): New variable.
8526 (test-extras): Add libm-test-support files.
8527 (extra-test-objs): Likewise.
8528 (CFLAGS-libm-test-support-float.c): New variable.
8529 (CFLAGS-libm-test-support-double.c): Likewise.
8530 (CFLAGS-libm-test-support-ldouble.c): Likewise.
8531 ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8532 libm-test-support objects.
8533
8534 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8535
8536 * math/Makefile (libm-calls): Move w_exp...
8537 (libm-compat-calls-auto): Here.
8538
8539 * math/w_expl.c: Add suffix "_compat" to filename.
8540 * sysdeps/ia64/fpu/w_expl.c: Likewise.
8541 * sysdeps/ia64/fpu/w_expf.c: Likewise.
8542 * sysdeps/ia64/fpu/w_exp.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8544 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8548
8549 * math/w_expl_compat.c: New file, copied from above.
8550 * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8551 * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8552 * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8554 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8558
8559 * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8560 to filename.
8561 * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8562
8563 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8564 copied from above and adjusted for the new filenames.
8565 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8566
8567 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8568
8569 * math/Makefile (libm-calls): Move w_lgammaF...
8570 (libm-compat-calls-auto): Here.
8571
8572 * math/w_lgamma.c: Add suffix "_compat2" to filename.
8573 * math/w_lgammaf.c: Likewise.
8574 * math/w_lgammal.c: Likewise.
8575
8576 * math/w_lgamma_compat2.c: New file, copied from above.
8577 * math/w_lgammaf_compat2.c: Likewise.
8578 * math/w_lgammal_compat2.c: Likewise.
8579
8580 2017-02-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8581
8582 * math/Makefile (libm-calls): Move w_lgammaF_r...
8583 (libm-compat-calls-auto): Here.
8584
8585 * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8586 * math/w_lgammaf_r.c: Likewise.
8587 * math/w_lgammal_r.c: Likewise.
8588 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8589 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8590 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8591
8592 * math/w_lgamma_r_compat.c: New file, copied from above.
8593 * math/w_lgammaf_r_compat.c: Likewise.
8594 * math/w_lgammal_r_compat.c: Likewise.
8595 * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8596 * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8597 * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8598
8599 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8600 to filename.
8601 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8602
8603 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8604 copied from above and adjusted for the new filenames.
8605 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8606
8607 2017-02-08 Yury Norov <ynorov@caviumnetworks.com>
8608
8609 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8610 calculation in SYSCALL_ERROR_HANDLER().
8611
8612 2017-02-08 Rical Jasan <ricaljasan@pacific.net>
8613
8614 * manual/contrib.texi: Fix typo.
8615
8616 2017-02-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
8617
8618 [BZ #21109]
8619 * elf/dl-tunable-types.h (tunable_callback_t): Accept
8620 tunable_val_t as argument.
8621 * elf/dl-tunables.c (__tunable_set_val): Add comment.
8622 * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8623 argument.
8624 (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8625
8626 2017-02-08 Kir Kolyshkin <kir@openvz.org>
8627
8628 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8629 Add PTRACE_EVENT_STOP.
8630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8631 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8634 * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8635 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8636
8637 2017-02-07 Joseph Myers <joseph@codesourcery.com>
8638
8639 * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8640 * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8641 * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8642 * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8643 * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8644 * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8645 * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8646 * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8647 * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8648 * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8649
8650 [BZ #21112]
8651 * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8652 12 bits zero.
8653 (cp_l): Update for new value of cp_h.
8654 * math/auto-libm-test-in: Add another test of pow.
8655 * math/auto-libm-test-out-pow: Regenerated.
8656
8657 2017-02-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
8658
8659 * manual/contrib.texi: Fix typo.
8660
8661 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8662
8663 [BZ #15998]
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8665 (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8667
8668 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8669
8670 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
8671 STRCHR as __strchr_power8.
8672 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
8673 strlen as __strlen_power8.
8674
8675 2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8676
8677 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
8678 unaligned load for shorter strings.
8679 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
8680
8681 2017-02-06 Joseph Myers <joseph@codesourcery.com>
8682
8683 * math/libm-test-driver.c (flag_test_errno): New variable.
8684 (flag_test_exceptions): Likewise.
8685 (flag_test_finite): Likewise.
8686 (flag_test_inline): Likewise.
8687 (flag_test_mathvec): Likewise.
8688 (test_msg): Likewise.
8689 (ulp_idx): Likewise.
8690 (qtype_str): Likewise.
8691 (ULP_IDX): Remove macro.
8692 (QTYPE_STR): Likewise.
8693 (find_ulps): Use ulp_idx not ULP_IDX.
8694 (print_function_ulps): Use qtype_str, printed with %s, not
8695 QTYPE_STR, printed with concatentation to format string.
8696 (print_complex_function_ulps): Likewise.
8697 (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
8698 (test_errno): Use flag_test_errno not TEST_ERRNO.
8699 (enable_test): Use flag_test_inline, flag_test_finite and
8700 flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
8701 TEST_MATHVEC.
8702 (libm_test_init): New function. Factored out of main.
8703 (libm_test_finish): Likewise.
8704 (main): Call libm_test_init and libm_test_finish and move most
8705 code to those functions.
8706
8707 * math/libm-test-driver.c (STRX): New macro.
8708 (STR): Likewise.
8709 (STR_FLOAT): Likewise.
8710 (STR_VEC_LEN): Likewise.
8711 (TEST_MSG): Likewise. Define here instead of expecting to be
8712 defined by including file.
8713 * math/test-double-finite.c (TEST_MSG): Remove macro.
8714 * math/test-double-vlen2.h (TEST_MSG): Likewise.
8715 * math/test-double-vlen4.h (TEST_MSG): Likewise.
8716 * math/test-double-vlen8.h (TEST_MSG): Likewise.
8717 * math/test-double.c (TEST_MSG): Likewise.
8718 * math/test-float-finite.c (TEST_MSG): Likewise.
8719 * math/test-float-vlen16.h (TEST_MSG): Likewise.
8720 * math/test-float-vlen4.h (TEST_MSG): Likewise.
8721 * math/test-float-vlen8.h (TEST_MSG): Likewise.
8722 * math/test-float.c (TEST_MSG): Likewise.
8723 * math/test-idouble.c (TEST_MSG): Likewise.
8724 * math/test-ifloat.c (TEST_MSG): Likewise.
8725 * math/test-ildouble.c (TEST_MSG): Likewise.
8726 * math/test-ldouble-finite.c (TEST_MSG): Likewise.
8727 * math/test-ldouble.c (TEST_MSG): Likewise.
8728
8729 * math/libm-test.inc: Move all tests of individual functions to
8730 libm-test-*.inc and #include libm-test-*.c files.
8731 (acos_test_data): Remove.
8732 (acos_test): Likewise.
8733 (acosh_test_data): Likewise.
8734 (acosh_test): Likewise.
8735 (asin_test_data): Likewise.
8736 (asin_test): Likewise.
8737 (asinh_test_data): Likewise.
8738 (asinh_test): Likewise.
8739 (atan_test_data): Likewise.
8740 (atan_test): Likewise.
8741 (atanh_test_data): Likewise.
8742 (atanh_test): Likewise.
8743 (atan2_test_data): Likewise.
8744 (atan2_test): Likewise.
8745 (cabs_test_data): Likewise.
8746 (cabs_test): Likewise.
8747 (cacos_test_data): Likewise.
8748 (cacos_test): Likewise.
8749 (cacosh_test_data): Likewise.
8750 (cacosh_test): Likewise.
8751 (canonicalize_test_data): Likewise.
8752 (canonicalize_test): Likewise.
8753 (carg_test_data): Likewise.
8754 (carg_test): Likewise.
8755 (casin_test_data): Likewise.
8756 (casin_test): Likewise.
8757 (casinh_test_data): Likewise.
8758 (casinh_test): Likewise.
8759 (catan_test_data): Likewise.
8760 (catan_test): Likewise.
8761 (catanh_test_data): Likewise.
8762 (catanh_test): Likewise.
8763 (cbrt_test_data): Likewise.
8764 (cbrt_test): Likewise.
8765 (ccos_test_data): Likewise.
8766 (ccos_test): Likewise.
8767 (ccosh_test_data): Likewise.
8768 (ccosh_test): Likewise.
8769 (ceil_test_data): Likewise.
8770 (ceil_test): Likewise.
8771 (cexp_test_data): Likewise.
8772 (cexp_test): Likewise.
8773 (cimag_test_data): Likewise.
8774 (cimag_test): Likewise.
8775 (clog_test_data): Likewise.
8776 (clog_test): Likewise.
8777 (clog10_test_data): Likewise.
8778 (clog10_test): Likewise.
8779 (conj_test_data): Likewise.
8780 (conj_test): Likewise.
8781 (copysign_test_data): Likewise.
8782 (copysign_test): Likewise.
8783 (cos_test_data): Likewise.
8784 (cos_test): Likewise.
8785 (cosh_test_data): Likewise.
8786 (cosh_test): Likewise.
8787 (cpow_test_data): Likewise.
8788 (cpow_test): Likewise.
8789 (cproj_test_data): Likewise.
8790 (cproj_test): Likewise.
8791 (creal_test_data): Likewise.
8792 (creal_test): Likewise.
8793 (csin_test_data): Likewise.
8794 (csin_test): Likewise.
8795 (csinh_test_data): Likewise.
8796 (csinh_test): Likewise.
8797 (csqrt_test_data): Likewise.
8798 (csqrt_test): Likewise.
8799 (ctan_test_data): Likewise.
8800 (ctan_test): Likewise.
8801 (ctanh_test_data): Likewise.
8802 (ctanh_test): Likewise.
8803 (erf_test_data): Likewise.
8804 (erf_test): Likewise.
8805 (erfc_test_data): Likewise.
8806 (erfc_test): Likewise.
8807 (exp_test_data): Likewise.
8808 (exp_test): Likewise.
8809 (exp10_test_data): Likewise.
8810 (exp10_test): Likewise.
8811 (pow10_test): Likewise.
8812 (exp2_test_data): Likewise.
8813 (exp2_test): Likewise.
8814 (expm1_test_data): Likewise.
8815 (expm1_test): Likewise.
8816 (fabs_test_data): Likewise.
8817 (fabs_test): Likewise.
8818 (fdim_test_data): Likewise.
8819 (fdim_test): Likewise.
8820 (floor_test_data): Likewise.
8821 (floor_test): Likewise.
8822 (fma_test_data): Likewise.
8823 (fma_test): Likewise.
8824 (fmax_test_data): Likewise.
8825 (fmax_test): Likewise.
8826 (fmaxmag_test_data): Likewise.
8827 (fmaxmag_test): Likewise.
8828 (fmin_test_data): Likewise.
8829 (fmin_test): Likewise.
8830 (fminmag_test_data): Likewise.
8831 (fminmag_test): Likewise.
8832 (fmod_test_data): Likewise.
8833 (fmod_test): Likewise.
8834 (fpclassify_test_data): Likewise.
8835 (fpclassify_test): Likewise.
8836 (frexp_test_data): Likewise.
8837 (frexp_test): Likewise.
8838 (fromfp_test_data): Likewise.
8839 (fromfp_test): Likewise.
8840 (fromfpx_test_data): Likewise.
8841 (fromfpx_test): Likewise.
8842 (getpayload_test_data): Likewise.
8843 (getpayload_test): Likewise.
8844 (hypot_test_data): Likewise.
8845 (hypot_test): Likewise.
8846 (ilogb_test_data): Likewise.
8847 (ilogb_test): Likewise.
8848 (iscanonical_test_data): Likewise.
8849 (iscanonical_test): Likewise.
8850 (iseqsig_test_data): Likewise.
8851 (iseqsig_test): Likewise.
8852 (isfinite_test_data): Likewise.
8853 (isfinite_test): Likewise.
8854 (finite_test): Likewise.
8855 (isgreater_test_data): Likewise.
8856 (isgreater_test): Likewise.
8857 (isgreaterequal_test_data): Likewise.
8858 (isgreaterequal_test): Likewise.
8859 (isinf_test_data): Likewise.
8860 (isinf_test): Likewise.
8861 (isless_test_data): Likewise.
8862 (isless_test): Likewise.
8863 (islessequal_test_data): Likewise.
8864 (islessequal_test): Likewise.
8865 (islessgreater_test_data): Likewise.
8866 (islessgreater_test): Likewise.
8867 (isnan_test_data): Likewise.
8868 (isnan_test): Likewise.
8869 (isnormal_test_data): Likewise.
8870 (isnormal_test): Likewise.
8871 (issignaling_test_data): Likewise.
8872 (issignaling_test): Likewise.
8873 (issubnormal_test_data): Likewise.
8874 (issubnormal_test): Likewise.
8875 (isunordered_test_data): Likewise.
8876 (isunordered_test): Likewise.
8877 (iszero_test_data): Likewise.
8878 (iszero_test): Likewise.
8879 (j0_test_data): Likewise.
8880 (j0_test): Likewise.
8881 (j1_test_data): Likewise.
8882 (j1_test): Likewise.
8883 (jn_test_data): Likewise.
8884 (jn_test): Likewise.
8885 (lgamma_test_data): Likewise.
8886 (lgamma_test): Likewise.
8887 (gamma_test): Likewise.
8888 (llogb_test_data): Likewise.
8889 (llogb_test): Likewise.
8890 (lrint_test_data): Likewise.
8891 (lrint_test): Likewise.
8892 (llrint_test_data): Likewise.
8893 (llrint_test): Likewise.
8894 (log_test_data): Likewise.
8895 (log_test): Likewise.
8896 (log10_test_data): Likewise.
8897 (log10_test): Likewise.
8898 (log1p_test_data): Likewise.
8899 (log1p_test): Likewise.
8900 (log2_test_data): Likewise.
8901 (log2_test): Likewise.
8902 (logb_test_data): Likewise.
8903 (logb_test): Likewise.
8904 (lround_test_data): Likewise.
8905 (lround_test): Likewise.
8906 (llround_test_data): Likewise.
8907 (llround_test): Likewise.
8908 (modf_test_data): Likewise.
8909 (modf_test): Likewise.
8910 (nearbyint_test_data): Likewise.
8911 (nearbyint_test): Likewise.
8912 (nextafter_test_data): Likewise.
8913 (nextafter_test): Likewise.
8914 (nextup_test_data): Likewise.
8915 (nextup_test): Likewise.
8916 (nextdown_test_data): Likewise.
8917 (nextdown_test): Likewise.
8918 (nexttoward_test_data): Likewise.
8919 (nexttoward_test): Likewise.
8920 (pow_test_data): Likewise.
8921 (pow_test): Likewise.
8922 (remainder_test_data): Likewise.
8923 (remainder_test): Likewise.
8924 (drem_test): Likewise.
8925 (remquo_test_data): Likewise.
8926 (remquo_test): Likewise.
8927 (rint_test_data): Likewise.
8928 (rint_test): Likewise.
8929 (round_test_data): Likewise.
8930 (round_test): Likewise.
8931 (roundeven_test_data): Likewise.
8932 (roundeven_test): Likewise.
8933 (scalb_test_data): Likewise.
8934 (scalb_test): Likewise.
8935 (scalbn_test_data): Likewise.
8936 (scalbn_test): Likewise.
8937 (ldexp_test): Likewise.
8938 (scalbln_test_data): Likewise.
8939 (scalbln_test): Likewise.
8940 (setpayload_test_data): Likewise.
8941 (setpayload_test): Likewise.
8942 (setpayloadsig_test_data): Likewise.
8943 (setpayloadsig_test): Likewise.
8944 (signbit_test_data): Likewise.
8945 (signbit_test): Likewise.
8946 (sin_test_data): Likewise.
8947 (sin_test): Likewise.
8948 (sincos_test_data): Likewise.
8949 (sincos_test): Likewise.
8950 (sinh_test_data): Likewise.
8951 (sinh_test): Likewise.
8952 (sqrt_test_data): Likewise.
8953 (sqrt_test): Likewise.
8954 (tan_test_data): Likewise.
8955 (tan_test): Likewise.
8956 (tanh_test_data): Likewise.
8957 (tanh_test): Likewise.
8958 (tgamma_test_data): Likewise.
8959 (tgamma_test): Likewise.
8960 (totalorder_test_data): Likewise.
8961 (totalorder_test): Likewise.
8962 (totalordermag_test_data): Likewise.
8963 (totalordermag_test): Likewise.
8964 (trunc_test_data): Likewise.
8965 (trunc_test): Likewise.
8966 (ufromfp_test_data): Likewise.
8967 (ufromfp_test): Likewise.
8968 (ufromfpx_test_data): Likewise.
8969 (ufromfpx_test): Likewise.
8970 (y0_test_data): Likewise.
8971 (y0_test): Likewise.
8972 (y1_test_data): Likewise.
8973 (y1_test): Likewise.
8974 (yn_test_data): Likewise.
8975 (yn_test): Likewise.
8976 (significand_test_data): Likewise.
8977 (significand_test): Likewise.
8978 * math/Makefile (auto-libm-test-out-files): Remove variable.
8979 (libm-test-funcs-noauto): New variable.
8980 (libm-test-funcs-all): Likewise.
8981 (libm-test-c-auto): Likewise.
8982 (libm-test-c-noauto): Likewise.
8983 (libm-tests-generated): Add $(libm-test-c-auto) and
8984 $(libm-test-c-noauto).
8985 (generated): Do not add auto-libm-test-out.
8986 (libm-test-c-auto-obj): New variable.
8987 (libm-test-c-noauto-obj): Likewise.
8988 ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8989 ($(libm-test-c-noauto-obj)): New static pattern rule.
8990 ($(libm-test-c-auto-obj)): Likewise.
8991 (libm-test-incs): New variable.
8992 ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8993 and pass it to gen-libm-have-vector-test.sh.
8994 * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8995 be passed on command line.
8996 * math/libm-test-acos.inc: New file. Content from
8997 math/libm-test.inc.
8998 * math/libm-test-acosh.inc: Likewise.
8999 * math/libm-test-asin.inc: Likewise.
9000 * math/libm-test-asinh.inc: Likewise.
9001 * math/libm-test-atan.inc: Likewise.
9002 * math/libm-test-atan2.inc: Likewise.
9003 * math/libm-test-atanh.inc: Likewise.
9004 * math/libm-test-cabs.inc: Likewise.
9005 * math/libm-test-cacos.inc: Likewise.
9006 * math/libm-test-cacosh.inc: Likewise.
9007 * math/libm-test-canonicalize.inc: Likewise.
9008 * math/libm-test-carg.inc: Likewise.
9009 * math/libm-test-casin.inc: Likewise.
9010 * math/libm-test-casinh.inc: Likewise.
9011 * math/libm-test-catan.inc: Likewise.
9012 * math/libm-test-catanh.inc: Likewise.
9013 * math/libm-test-cbrt.inc: Likewise.
9014 * math/libm-test-ccos.inc: Likewise.
9015 * math/libm-test-ccosh.inc: Likewise.
9016 * math/libm-test-ceil.inc: Likewise.
9017 * math/libm-test-cexp.inc: Likewise.
9018 * math/libm-test-cimag.inc: Likewise.
9019 * math/libm-test-clog.inc: Likewise.
9020 * math/libm-test-clog10.inc: Likewise.
9021 * math/libm-test-conj.inc: Likewise.
9022 * math/libm-test-copysign.inc: Likewise.
9023 * math/libm-test-cos.inc: Likewise.
9024 * math/libm-test-cosh.inc: Likewise.
9025 * math/libm-test-cpow.inc: Likewise.
9026 * math/libm-test-cproj.inc: Likewise.
9027 * math/libm-test-creal.inc: Likewise.
9028 * math/libm-test-csin.inc: Likewise.
9029 * math/libm-test-csinh.inc: Likewise.
9030 * math/libm-test-csqrt.inc: Likewise.
9031 * math/libm-test-ctan.inc: Likewise.
9032 * math/libm-test-ctanh.inc: Likewise.
9033 * math/libm-test-erf.inc: Likewise.
9034 * math/libm-test-erfc.inc: Likewise.
9035 * math/libm-test-exp.inc: Likewise.
9036 * math/libm-test-exp10.inc: Likewise.
9037 * math/libm-test-exp2.inc: Likewise.
9038 * math/libm-test-expm1.inc: Likewise.
9039 * math/libm-test-fabs.inc: Likewise.
9040 * math/libm-test-fdim.inc: Likewise.
9041 * math/libm-test-floor.inc: Likewise.
9042 * math/libm-test-fma.inc: Likewise.
9043 * math/libm-test-fmax.inc: Likewise.
9044 * math/libm-test-fmaxmag.inc: Likewise.
9045 * math/libm-test-fmin.inc: Likewise.
9046 * math/libm-test-fminmag.inc: Likewise.
9047 * math/libm-test-fmod.inc: Likewise.
9048 * math/libm-test-fpclassify.inc: Likewise.
9049 * math/libm-test-frexp.inc: Likewise.
9050 * math/libm-test-fromfp.inc: Likewise.
9051 * math/libm-test-fromfpx.inc: Likewise.
9052 * math/libm-test-getpayload.inc: Likewise.
9053 * math/libm-test-hypot.inc: Likewise.
9054 * math/libm-test-ilogb.inc: Likewise.
9055 * math/libm-test-iscanonical.inc: Likewise.
9056 * math/libm-test-iseqsig.inc: Likewise.
9057 * math/libm-test-isfinite.inc: Likewise.
9058 * math/libm-test-isgreater.inc: Likewise.
9059 * math/libm-test-isgreaterequal.inc: Likewise.
9060 * math/libm-test-isinf.inc: Likewise.
9061 * math/libm-test-isless.inc: Likewise.
9062 * math/libm-test-islessequal.inc: Likewise.
9063 * math/libm-test-islessgreater.inc: Likewise.
9064 * math/libm-test-isnan.inc: Likewise.
9065 * math/libm-test-isnormal.inc: Likewise.
9066 * math/libm-test-issignaling.inc: Likewise.
9067 * math/libm-test-issubnormal.inc: Likewise.
9068 * math/libm-test-isunordered.inc: Likewise.
9069 * math/libm-test-iszero.inc: Likewise.
9070 * math/libm-test-j0.inc: Likewise.
9071 * math/libm-test-j1.inc: Likewise.
9072 * math/libm-test-jn.inc: Likewise.
9073 * math/libm-test-lgamma.inc: Likewise.
9074 * math/libm-test-llogb.inc: Likewise.
9075 * math/libm-test-llrint.inc: Likewise.
9076 * math/libm-test-llround.inc: Likewise.
9077 * math/libm-test-log.inc: Likewise.
9078 * math/libm-test-log10.inc: Likewise.
9079 * math/libm-test-log1p.inc: Likewise.
9080 * math/libm-test-log2.inc: Likewise.
9081 * math/libm-test-logb.inc: Likewise.
9082 * math/libm-test-lrint.inc: Likewise.
9083 * math/libm-test-lround.inc: Likewise.
9084 * math/libm-test-modf.inc: Likewise.
9085 * math/libm-test-nearbyint.inc: Likewise.
9086 * math/libm-test-nextafter.inc: Likewise.
9087 * math/libm-test-nextdown.inc: Likewise.
9088 * math/libm-test-nexttoward.inc: Likewise.
9089 * math/libm-test-nextup.inc: Likewise.
9090 * math/libm-test-pow.inc: Likewise.
9091 * math/libm-test-remainder.inc: Likewise.
9092 * math/libm-test-remquo.inc: Likewise.
9093 * math/libm-test-rint.inc: Likewise.
9094 * math/libm-test-round.inc: Likewise.
9095 * math/libm-test-roundeven.inc: Likewise.
9096 * math/libm-test-scalb.inc: Likewise.
9097 * math/libm-test-scalbln.inc: Likewise.
9098 * math/libm-test-scalbn.inc: Likewise.
9099 * math/libm-test-setpayload.inc: Likewise.
9100 * math/libm-test-setpayloadsig.inc: Likewise.
9101 * math/libm-test-signbit.inc: Likewise.
9102 * math/libm-test-significand.inc: Likewise.
9103 * math/libm-test-sin.inc: Likewise.
9104 * math/libm-test-sincos.inc: Likewise.
9105 * math/libm-test-sinh.inc: Likewise.
9106 * math/libm-test-sqrt.inc: Likewise.
9107 * math/libm-test-tan.inc: Likewise.
9108 * math/libm-test-tanh.inc: Likewise.
9109 * math/libm-test-tgamma.inc: Likewise.
9110 * math/libm-test-totalorder.inc: Likewise.
9111 * math/libm-test-totalordermag.inc: Likewise.
9112 * math/libm-test-trunc.inc: Likewise.
9113 * math/libm-test-ufromfp.inc: Likewise.
9114 * math/libm-test-ufromfpx.inc: Likewise.
9115 * math/libm-test-y0.inc: Likewise.
9116 * math/libm-test-y1.inc: Likewise.
9117 * math/libm-test-yn.inc: Likewise.
9118 * math/README.libm-test: Update.
9119
9120 * math/gen-auto-libm-tests.c: Update comment about use of program.
9121 (generate_output): Add argument FUNCTION.
9122 (main): Require extra argument. Pass function name to
9123 generate_output.
9124 * math/Makefile (generated): Add auto-libm-test-out.
9125 (libm-test-funcs-auto): New variable.
9126 (auto-libm-test-out-files): New variable.
9127 ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9128 Concatenate those files to form $(objpfx)auto-libm-test-out and
9129 use it as input to gen-libm-test.pl.
9130 * math/README.libm-test: Update.
9131 * math/auto-libm-test-out: Remove.
9132 * math/auto-libm-test-out-acos: New generated file.
9133 * math/auto-libm-test-out-acosh: Likewise.
9134 * math/auto-libm-test-out-asin: Likewise.
9135 * math/auto-libm-test-out-asinh: Likewise.
9136 * math/auto-libm-test-out-atan: Likewise.
9137 * math/auto-libm-test-out-atan2: Likewise.
9138 * math/auto-libm-test-out-atanh: Likewise.
9139 * math/auto-libm-test-out-cabs: Likewise.
9140 * math/auto-libm-test-out-carg: Likewise.
9141 * math/auto-libm-test-out-cbrt: Likewise.
9142 * math/auto-libm-test-out-ccos: Likewise.
9143 * math/auto-libm-test-out-ccosh: Likewise.
9144 * math/auto-libm-test-out-cexp: Likewise.
9145 * math/auto-libm-test-out-clog: Likewise.
9146 * math/auto-libm-test-out-clog10: Likewise.
9147 * math/auto-libm-test-out-cos: Likewise.
9148 * math/auto-libm-test-out-cosh: Likewise.
9149 * math/auto-libm-test-out-cpow: Likewise.
9150 * math/auto-libm-test-out-csin: Likewise.
9151 * math/auto-libm-test-out-csinh: Likewise.
9152 * math/auto-libm-test-out-csqrt: Likewise.
9153 * math/auto-libm-test-out-ctan: Likewise.
9154 * math/auto-libm-test-out-ctanh: Likewise.
9155 * math/auto-libm-test-out-erf: Likewise.
9156 * math/auto-libm-test-out-erfc: Likewise.
9157 * math/auto-libm-test-out-exp: Likewise.
9158 * math/auto-libm-test-out-exp10: Likewise.
9159 * math/auto-libm-test-out-exp2: Likewise.
9160 * math/auto-libm-test-out-expm1: Likewise.
9161 * math/auto-libm-test-out-fma: Likewise.
9162 * math/auto-libm-test-out-hypot: Likewise.
9163 * math/auto-libm-test-out-j0: Likewise.
9164 * math/auto-libm-test-out-j1: Likewise.
9165 * math/auto-libm-test-out-jn: Likewise.
9166 * math/auto-libm-test-out-lgamma: Likewise.
9167 * math/auto-libm-test-out-log: Likewise.
9168 * math/auto-libm-test-out-log10: Likewise.
9169 * math/auto-libm-test-out-log1p: Likewise.
9170 * math/auto-libm-test-out-log2: Likewise.
9171 * math/auto-libm-test-out-pow: Likewise.
9172 * math/auto-libm-test-out-sin: Likewise.
9173 * math/auto-libm-test-out-sincos: Likewise.
9174 * math/auto-libm-test-out-sinh: Likewise.
9175 * math/auto-libm-test-out-sqrt: Likewise.
9176 * math/auto-libm-test-out-tan: Likewise.
9177 * math/auto-libm-test-out-tanh: Likewise.
9178 * math/auto-libm-test-out-tgamma: Likewise.
9179 * math/auto-libm-test-out-y0: Likewise.
9180 * math/auto-libm-test-out-y1: Likewise.
9181 * math/auto-libm-test-out-yn: Likewise.
9182
9183 * math/Makefile (generated): Do not include libm-test.stmp.
9184 ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9185 on $(objpfx)libm-test.stmp.
9186 ($(objpfx)libm-test.stmp): Remove rule.
9187 ($(objpfx)libm-test-ulps.h): New rule.
9188 ($(objpfx)libm-test.c): Likewise.
9189 ($(objpfx)libm-have-vector-test.h): Likewise.
9190 ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9191 individual generated files, not libm-test.stmp.
9192
9193 * math/gen-libm-test.pl ($output_dir): Remove variable.
9194 ($srcdir): Likewise.
9195 ($opt_a): New variable.
9196 ($opt_c): Likewise.
9197 ($opt_C): Likewise.
9198 ($opt_H): Likewise.
9199 (-n): Make option take argument and use it as NewUlps output.
9200 (-a): New option. Use its argument for auto-libm-test-out input.
9201 (-c): New option. Use its argument for libm-test.inc input.
9202 (-C): New option. Use its argument for libm-test.c output.
9203 (-H): New option. Use its argument for libm-test-ulps.h output.
9204 (top level): Only process inputs needed to generate outputs
9205 specified by command-line options. Only generate outputs
9206 specified by command-line options.
9207 * math/README.libm-test: Update example gen-libm-test.pl command.
9208 * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9209 commands.
9210 (regen-ulps): Likewise.
9211
9212 2017-02-06 Wilco Dijkstra <wdijkstr@arm.com>
9213
9214 * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9215 * include/string.h (index): Remove define.
9216 (rindex): Likewise.
9217 * misc/getttyent.c (__getttyent): Rename index to strchr.
9218 * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9219 * sunrpc/rpc_main.c (mkfile_output): Likewise.
9220
9221 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9222
9223 * math/libm-test-driver.c: New file. Based on math/libm-test.inc.
9224 * math/libm-test.inc: Move all contents, other than tests of
9225 individual functions, to libm-test-driver.c.
9226 [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9227 [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9228 [!FE_UPWARD] (FE_UPWARD): Likewise.
9229 [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9230 (NO_EXCEPTION): Likewise.
9231 (INVALID_EXCEPTION): Likewise.
9232 (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9233 (OVERFLOW_EXCEPTION): Likewise.
9234 (UNDERFLOW_EXCEPTION): Likewise.
9235 (INEXACT_EXCEPTION): Likewise.
9236 (INVALID_EXCEPTION_OK): Likewise.
9237 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9238 (OVERFLOW_EXCEPTION_OK): Likewise.
9239 (UNDERFLOW_EXCEPTION_OK): Likewise.
9240 (NO_INEXACT_EXCEPTION): Likewise.
9241 (EXCEPTIONS_OK): Likewise.
9242 (IGNORE_ZERO_INF_SIGN): Likewise.
9243 (TEST_NAN_SIGN): Likewise.
9244 (TEST_NAN_PAYLOAD): Likewise.
9245 (NO_TEST_INLINE): Likewise.
9246 (XFAIL_TEST): Likewise.
9247 (ERRNO_UNCHANGED): Likewise.
9248 (ERRNO_EDOM): Likewise.
9249 (ERRNO_ERANGE): Likewise.
9250 (IGNORE_RESULT): Likewise.
9251 (NON_FINITE): Likewise.
9252 (TEST_SNAN): Likewise.
9253 (NO_TEST_MATHVEC): Likewise.
9254 (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9255 (__CONCATX): Likewise.
9256 (TYPE_MIN): Likewise.
9257 (TYPE_TRUE_MIN): Likewise.
9258 (TYPE_MAX): Likewise.
9259 (MIN_EXP): Likewise.
9260 (MAX_EXP): Likewise.
9261 (MANT_DIG): Likewise.
9262 (FSTR_MAX): Likewise.
9263 (ULP_IDX): Likewise.
9264 (QTYPE_STR): Likewise.
9265 (TEST_COND_binary32): Likewise.
9266 (TEST_COND_binary64): Likewise.
9267 (TEST_COND_binary128): Likewise.
9268 (TEST_COND_ibm128): Likewise.
9269 (TEST_COND_intel96): Likewise.
9270 (TEST_COND_m68k96): Likewise.
9271 (TEST_COND_ibm128_libgcc): Likewise.
9272 (XFAIL_IBM128_LIBGCC): Likewise.
9273 (PAYLOAD_DIG): Likewise.
9274 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9275 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9276 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9277 (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9278 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9279 (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9280 (TEST_COND_long32): Likewise.
9281 (TEST_COND_long64): Likewise.
9282 (TEST_COND_before_rounding): Likewise.
9283 (TEST_COND_after_rounding): Likewise.
9284 (lit_pi_3_m_4_d): Likewise.
9285 (lit_pi_3_m_4_ln10_m_d): Likewise.
9286 (lit_pi_2_ln10_m_d): Likewise.
9287 (lit_pi_4_ln10_m_d): Likewise.
9288 (lit_pi_ln10_d): Likewise.
9289 (lit_pi_2_d): Likewise.
9290 (lit_pi_4_d): Likewise.
9291 (lit_pi): Likewise.
9292 (lit_e): Likewise.
9293 (ulps_file_name): Likewise.
9294 (ulps_file): Likewise.
9295 (output_ulps): Likewise.
9296 (output_dir): Likewise.
9297 (noErrors): Likewise.
9298 (noTests): Likewise.
9299 (noExcTests): Likewise.
9300 (noErrnoTests): Likewise.
9301 (verbose): Likewise.
9302 (output_max_error): Likewise.
9303 (output_points): Likewise.
9304 (ignore_max_ulp): Likewise.
9305 (plus_zero): Likewise.
9306 (minus_zero): Likewise.
9307 (plus_infty): Likewise.
9308 (minus_infty): Likewise.
9309 (qnan_value_pl): Likewise.
9310 (qnan_value): Likewise.
9311 (snan_value_pl): Likewise.
9312 (snan_value): Likewise.
9313 (max_value): Likewise.
9314 (min_value): Likewise.
9315 (min_subnorm_value): Likewise.
9316 (snan_value_ld): Likewise.
9317 (max_error): Likewise.
9318 (real_max_error): Likewise.
9319 (imag_max_error): Likewise.
9320 (prev_max_error): Likewise.
9321 (prev_real_max_error): Likewise.
9322 (prev_imag_max_error): Likewise.
9323 (max_valid_error): Likewise.
9324 (TYPE_DECIMAL_DIG): Likewise.
9325 (TYPE_HEX_DIG): Likewise.
9326 (fmt_ftostr): Likewise.
9327 (compare_ulp_data): Likewise.
9328 (find_ulps): Likewise.
9329 (init_max_error): Likewise.
9330 (set_max_error): Likewise.
9331 (print_float): Likewise.
9332 (print_screen): Likewise.
9333 (print_screen_max_error): Likewise.
9334 (update_stats): Likewise.
9335 (print_function_ulps): Likewise.
9336 (print_complex_function_ulps): Likewise.
9337 (fpstack_test): Likewise.
9338 (print_max_error): Likewise.
9339 (print_complex_max_error): Likewise.
9340 (test_single_exception): Likewise.
9341 (test_exceptions): Likewise.
9342 (test_single_errno): Likewise.
9343 (test_errno): Likewise.
9344 (ULPDIFF): Likewise.
9345 (ulp): Likewise.
9346 (check_float_internal): Likewise.
9347 (check_float): Likewise.
9348 (check_complex): Likewise.
9349 (check_int): Likewise.
9350 (check_long): Likewise.
9351 (check_bool): Likewise.
9352 (check_longlong): Likewise.
9353 (check_intmax_t): Likewise.
9354 (check_uintmax_t): Likewise.
9355 (enable_test): Likewise.
9356 (struct test_f_f_data): Likewise.
9357 (struct test_ff_f_data): Likewise.
9358 (struct test_fj_f_data): Likewise.
9359 (struct test_fi_f_data): Likewise.
9360 (struct test_fl_f_data): Likewise.
9361 (struct test_if_f_data): Likewise.
9362 (struct test_fff_f_data): Likewise.
9363 (struct test_fiu_M_data): Likewise.
9364 (struct test_fiu_U_data): Likewise.
9365 (struct test_c_f_data): Likewise.
9366 (struct test_f_f1_data): Likewise.
9367 (struct test_fF_f1_data): Likewise.
9368 (struct test_ffI_f1_data): Likewise.
9369 (struct test_c_c_data): Likewise.
9370 (struct test_cc_c_data): Likewise.
9371 (struct test_f_i_data): Likewise.
9372 (struct test_ff_i_data): Likewise.
9373 (struct test_f_l_data): Likewise.
9374 (struct test_f_L_data): Likewise.
9375 (struct test_fFF_11_data): Likewise.
9376 (struct test_Ff_b1_data): Likewise.
9377 (IF_ROUND_INIT_): Likewise.
9378 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9379 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9380 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9381 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9382 (ROUND_RESTORE_): Likewise.
9383 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9384 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9385 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9386 (ROUND_RESTORE_FE_UPWARD): Likewise.
9387 (RM_): Likewise.
9388 (RM_FE_DOWNWARD): Likewise.
9389 (RM_FE_TONEAREST): Likewise.
9390 (RM_FE_TOWARDZERO): Likewise.
9391 (RM_FE_UPWARD): Likewise.
9392 (COMMON_TEST_SETUP): Likewise.
9393 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9394 (COMMON_TEST_CLEANUP): Likewise.
9395 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9396 (RUN_TEST_f_f): Likewise.
9397 (RUN_TEST_LOOP_f_f): Likewise.
9398 (RUN_TEST_fp_f): Likewise.
9399 (RUN_TEST_LOOP_fp_f): Likewise.
9400 (RUN_TEST_2_f): Likewise.
9401 (RUN_TEST_LOOP_2_f): Likewise.
9402 (RUN_TEST_ff_f): Likewise.
9403 (RUN_TEST_LOOP_ff_f): Likewise.
9404 (RUN_TEST_LOOP_fj_f): Likewise.
9405 (RUN_TEST_fi_f): Likewise.
9406 (RUN_TEST_LOOP_fi_f): Likewise.
9407 (RUN_TEST_fl_f): Likewise.
9408 (RUN_TEST_LOOP_fl_f): Likewise.
9409 (RUN_TEST_if_f): Likewise.
9410 (RUN_TEST_LOOP_if_f): Likewise.
9411 (RUN_TEST_fff_f): Likewise.
9412 (RUN_TEST_LOOP_fff_f): Likewise.
9413 (RUN_TEST_fiu_M): Likewise.
9414 (RUN_TEST_LOOP_fiu_M): Likewise.
9415 (RUN_TEST_fiu_U): Likewise.
9416 (RUN_TEST_LOOP_fiu_U): Likewise.
9417 (RUN_TEST_c_f): Likewise.
9418 (RUN_TEST_LOOP_c_f): Likewise.
9419 (RUN_TEST_f_f1): Likewise.
9420 (RUN_TEST_LOOP_f_f1): Likewise.
9421 (RUN_TEST_fF_f1): Likewise.
9422 (RUN_TEST_LOOP_fF_f1): Likewise.
9423 (RUN_TEST_fI_f1): Likewise.
9424 (RUN_TEST_LOOP_fI_f1): Likewise.
9425 (RUN_TEST_ffI_f1_mod8): Likewise.
9426 (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9427 (RUN_TEST_Ff_b1): Likewise.
9428 (RUN_TEST_LOOP_Ff_b1): Likewise.
9429 (RUN_TEST_Ffp_b1): Likewise.
9430 (RUN_TEST_LOOP_Ffp_b1): Likewise.
9431 (RUN_TEST_c_c): Likewise.
9432 (RUN_TEST_LOOP_c_c): Likewise.
9433 (RUN_TEST_cc_c): Likewise.
9434 (RUN_TEST_LOOP_cc_c): Likewise.
9435 (RUN_TEST_f_i): Likewise.
9436 (RUN_TEST_LOOP_f_i): Likewise.
9437 (RUN_TEST_f_i_tg): Likewise.
9438 (RUN_TEST_LOOP_f_i_tg): Likewise.
9439 (RUN_TEST_ff_b): Likewise.
9440 (RUN_TEST_LOOP_ff_b): Likewise.
9441 (RUN_TEST_ff_i_tg): Likewise.
9442 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9443 (RUN_TEST_f_b): Likewise.
9444 (RUN_TEST_LOOP_f_b): Likewise.
9445 (RUN_TEST_f_b_tg): Likewise.
9446 (RUN_TEST_LOOP_f_b_tg): Likewise.
9447 (RUN_TEST_f_l): Likewise.
9448 (RUN_TEST_LOOP_f_l): Likewise.
9449 (RUN_TEST_f_L): Likewise.
9450 (RUN_TEST_LOOP_f_L): Likewise.
9451 (RUN_TEST_fFF_11): Likewise.
9452 (RUN_TEST_LOOP_fFF_11): Likewise.
9453 (VEC_SUFF): Likewise.
9454 (STR_CONCAT): Likewise.
9455 (STR_CON3): Likewise.
9456 (HAVE_VECTOR): Likewise.
9457 (START): Likewise.
9458 (END): Likewise.
9459 (END_COMPLEX): Likewise.
9460 (ALL_RM_TEST): Likewise.
9461 (matherr): Likewise.
9462 (initialize): Likewise.
9463 (options): Likewise.
9464 (doc): Likewise.
9465 (parse_opt): Likewise.
9466 (argp): Likewise.
9467 (check_ulp): Likewise.
9468 (main): Likewise.
9469 (do_test): New function. Call tests of individual functions
9470 previously called from main.
9471
9472 * math/libm-test.inc: Remove comment listing functions tested and
9473 not tested.
9474
9475 2016-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9476
9477 * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9478 (allocate_stack): Remove COLORING_INCREMENT usage.
9479 * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9480 * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9481
9482 2017-02-06 Joseph Myers <joseph@codesourcery.com>
9483
9484 * manual/libm-err-tab.pl (@all_functions): Change to
9485 %all_functions. Initialize as empty.
9486 (parse_ulps): Add to %all_functions based on functions found in
9487 ulps files. Ignore results for non-default rounding modes and
9488 vector functions.
9489 (print_platforms): Use %all_platforms.
9490 * manual/math.texi (Errors in Math Functions): Document omissions
9491 from the table.
9492
9493 * math/Makefile (before-compile): Remove.
9494
9495 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
9496
9497 [BZ #21075]
9498 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9499 unused assignment.
9500 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9501
9502 2017-02-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9503
9504 * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9505 Add __glibc_unlikely hint.
9506
9507 2017-02-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9508
9509 [BZ #16640]
9510 * sysdeps/i386/i686/strtok.S: Remove file.
9511 * sysdeps/i386/i686/strtok_r.S: Likewise.
9512 * sysdeps/i386/strtok.S: Likewise.
9513 * sysdeps/i386/strtok_r.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9515 * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9516 * sysdeps/x86_64/strtok.S: Likewise.
9517 * sysdeps/x86_64/strtok_r.S: Likewise.
9518
9519 * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9520 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9521 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9522 (__ASSUME_FADVISE64_AS_64_64): Define.
9523 * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9524 !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9525 [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9526 __ALIGNMENT_ARG usage.
9527 [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9528 __NR_fadvise64_64 if it is not defined.
9529
9530 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9531
9532 * version.h (RELEASE): Set to "development"
9533 (VERSION): Set to 2.25.90.
9534 * NEWS: Add 2.26 section.
9535
9536 * version.h (RELEASE): Set to "stable"
9537 (VERSION): Set to 2.25.
9538 * include/features.h (__GLIBC_MINOR__): Set to 25.
9539
9540 * manual/contrib.texi: Add more contributors from this release
9541 and past releases.
9542
9543 * NEWS (2.25): Add list of bugs fixed.
9544
9545 * NEWS: Add missing news items.
9546
9547 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
9548
9549 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9550 parent if child exited in that manner. Print WEXITSTATUS
9551 instead of the raw status.
9552 (do_test_prep): Rename to do_test.
9553 (do_test): Return the result of run_executable_sgid.
9554 (TEST_FUNCTION_ARGV): Adjust.
9555
9556 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
9557 Florian Weimer <fweimer@redhat.com>
9558 Carlos O'Donell <carlos@redhat.com>
9559
9560 [BZ #20915]
9561 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9562 Do not initialize DTV.
9563 * nptl/allocatestack.c (init_one_static_tls): Likewise.
9564
9565 2017-02-03 David S. Miller <davem@davemloft.net>
9566
9567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9576 (libm-sysdep_routines): Update.
9577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9582 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9583 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9584 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9585 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9587 Likewise.
9588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9590 Likewise.
9591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9593 Likewise.
9594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9596 Likewise.
9597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9599 (libm-sysdep_routines): Update.
9600
9601 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
9602
9603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9604 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9605 against unrelocated shared library.
9606 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9607
9608 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
9609
9610 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9611 * elf/tst-env-setuid-tunables.c
9612 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9613 GLIBC_TUNABLES is removed in a setgid process.
9614
9615 [BZ #21073]
9616 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9617 * elf/dl-tunables.c (tunables_strdup): Remove.
9618 (get_next_env): Also return the previous envp.
9619 (parse_tunables): Erase tunables of category
9620 TUNABLES_SECLEVEL_SXID_ERASE.
9621 (maybe_enable_malloc_check): Make MALLOC_CHECK_
9622 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9623 (__tunables_init)[TUNABLES_FRONTEND ==
9624 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9625 after parsing.
9626 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9627 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9628 * elf/dl-tunables.h (struct _tunable): Change member is_secure
9629 to security_level.
9630 * elf/dl-tunables.list: Add security_level annotations for all
9631 tunables.
9632 * scripts/gen-tunables.awk: Recognize and generate enum values
9633 for security_level.
9634 * elf/tst-env-setuid.c: New test case.
9635 * elf/tst-env-setuid-tunables: new test case.
9636 * elf/Makefile (tests-static): Add them.
9637
9638 2017-02-01 Richard Henderson <rth@twiddle.net>
9639
9640 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9641 adjusting the byte count.
9642
9643 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
9644
9645 * conform/Makefile (linknamespace-libs): Define.
9646
9647 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9648 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9649 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9650 operands.
9651
9652 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
9653
9654 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9655
9656 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
9657
9658 [BZ #21081]
9659 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9660 (L(stosb)): Add VZEROUPPER before ret.
9661
9662 2016-01-28 Carlos O'Donell <carlos@redhat.com>
9663 Alexey Makhalov <amakhalov@vmware.com>
9664 Florian Weimer <fweimer@redhat.com>
9665
9666 [BZ #20116]
9667 * nptl/pthread_create.c: Document concurrency notes.
9668 Enhance thread creation notes.
9669 (create_thread): Use bool *stopped_start.
9670 (START_THREAD_DEFN): Comment ownership of PD.
9671 (__pthread_create_2_1): Add local bool stopped_start and use
9672 that instead of pd->stopped_start where appropriate.
9673 * nptl/createthread.c (create_thread): Use bool *stopped_start.
9674 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
9675 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9676 * nptl/tst-create-detached.c: New file.
9677 * nptl/Makefile (tests): Add tst-create-detached.
9678 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9679 Reference the enhanced thread creation notes.
9680 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
9681 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9682 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
9683 (__pthread_current_priority): Likewise.
9684 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
9685 xpthread_attr_init, xpthread_attr_setdetachstate, and
9686 xpthread_attr_setstacksize.
9687 * support/xpthread_attr_destroy.c: New file.
9688 * support/xpthread_attr_init.c: New file.
9689 * support/xpthread_attr_setdetachstate.c: New file.
9690 * support/xpthread_attr_setstacksize.c: New file.
9691 * support/xthread.h: Define prototypes for xpthread_attr_destroy
9692 xpthread_attr_init, xpthread_attr_setdetachstate, and
9693 xpthread_attr_setstacksize.
9694
9695 2017-01-27 Florian Weimer <fweimer@redhat.com>
9696
9697 * nptl/Makefile (tests): Add tst-robust-fork.
9698 * nptl/tst-robust-fork.c: New file.
9699 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
9700 xpthread_mutex_consistent, xpthread_mutex_destroy,
9701 xpthread_mutex_init, xpthread_mutexattr_destroy,
9702 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
9703 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
9704 xpthread_mutexattr_settype.
9705 * support/xmmap.c: New file.
9706 * support/xmunmap.c: Likewise.
9707 * support/xpthread_mutex_consistent.c: Likewise.
9708 * support/xpthread_mutex_destroy.c: Likewise.
9709 * support/xpthread_mutex_init.c: Likewise.
9710 * support/xpthread_mutexattr_destroy.c: Likewise.
9711 * support/xpthread_mutexattr_init.c: Likewise.
9712 * support/xpthread_mutexattr_setprotocol.c: Likewise.
9713 * support/xpthread_mutexattr_setpshared.c: Likewise.
9714 * support/xpthread_mutexattr_setrobust.c: Likewise.
9715 * support/xpthread_mutexattr_settype.c: Likewise.
9716 * support/xthread.h (xpthread_mutexattr_destroy)
9717 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
9718 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
9719 (xpthread_mutexattr_settype, xpthread_mutex_init)
9720 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
9721 * support/xunistd.h (xmmap, xmunmap): Likewise.
9722
9723 2017-01-25 Florian Weimer <fweimer@redhat.com>
9724
9725 * string/Makefile (xtests): Add comment.
9726 (LOCALES): Add en_GB.UTF-8.
9727 (tst-strcoll-overflow.out): Depend on generated locales.
9728 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
9729 (SIZE, TIMEOUT): Update comments.
9730 (do_test): Define as static. Fail test if setlocale fails.
9731 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
9732 messages.
9733 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
9734 TIMEOUT at 300 seconds should be enough to run this test
9735 successfully.
9736
9737 2017-01-24 Jakub Jelinek <jakub@redhat.com>
9738
9739 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
9740 /* FALLTHRU */ comments.
9741
9742 2017-01-24 James Clarke <jrtc27@jrtc27.com>
9743
9744 [BZ #21053]
9745 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
9746 constants instead of the old R* ones.
9747 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
9748 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
9749 (NGREG): ... to this, to fit in with other architectures.
9750 (gpregset_t): Use new NGREG macro.
9751 [__USE_GNU]: Remove condition; all architectures other than tile
9752 are unconditional.
9753 (R*): Rename to REG_R*.
9754
9755 2017-01-20 DJ Delorie <dj@redhat.com>
9756
9757 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
9758 (tunable_set_val_if_valid_range_signed) ... this, and ...
9759 (tunable_set_val_if_valid_range_unsigned) ... this.
9760 (tunable_initialize): Call the correct one of the above based on type.
9761
9762 2017-01-20 Joseph Myers <joseph@codesourcery.com>
9763
9764 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
9765 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9766 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9767 * sysdeps/microblaze/libm-test-ulps: Likewise.
9768 * sysdeps/sh/libm-test-ulps: Likewise.
9769
9770 * math/README.libm-test: Update list of characters for input and
9771 output types.
9772
9773 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9774
9775 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9776 (__lll_unlock_elision): Fix adapt_count decrement.
9777
9778 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
9779
9780 * README.pretty-printers (Known issues): Warn about printers not
9781 always covering everything.
9782 * nptl/nptl-printers.py (MutexPrinter): Change output.
9783 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9784
9785 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9786
9787 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9788 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9789 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9790 (__lll_lock_elision): Do not test futex before starting a
9791 transaction. Use __glibc_likely instead of __builtin_expect.
9792 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9793 (__lll_trylock_elision): Do not test futex before starting a
9794 transaction. Use __glibc_likely instead of __builtin_expect.
9795
9796 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
9797
9798 * po/Makefile (update-translations): New target.
9799
9800 2017-01-19 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #21061]
9803 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9804
9805 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
9806
9807 * elf/dl-tunables (get_next_env): Always advance envp.
9808 * stdlib/tst-empty-env.c: New test case.
9809 * stdlib/Makefile (tests): Use it.
9810
9811 2017-01-19 Joseph Myers <joseph@codesourcery.com>
9812
9813 [BZ #21047]
9814 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9815 name for instruction.
9816 [!__SOFTFP__] (_FPU_SETCW): Likewise.
9817
9818 2017-01-18 Joseph Myers <joseph@codesourcery.com>
9819
9820 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9821 for make install.
9822
9823 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
9824
9825 * po/bg.po: Merge from Translation Project.
9826 * po/fr.po: Likewise.
9827 * po/ko.po: Likewise.
9828 * po/nl.po: Likewise.
9829 * po/sv.po: Likewise.
9830
9831 2017-01-18 Joseph Myers <joseph@codesourcery.com>
9832
9833 * manual/install.texi (Tools for Compilation): Update GCC version
9834 known to work to build glibc.
9835 * INSTALL: Regenerated.
9836
9837 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
9838
9839 [BZ #21006]
9840 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9841
9842 2017-01-16 Joseph Myers <joseph@codesourcery.com>
9843
9844 [BZ #21045]
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9846 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9847 to __sigprocmask.
9848
9849 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
9850
9851 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9852 wrap-around.
9853 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9854
9855 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9856
9857 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
9858
9859 * NEWS: Fix typo.
9860
9861 2016-01-13 Torvald Riegel <triegel@redhat.com>
9862
9863 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9864 barriers and comments.
9865 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9866 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9867 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9868
9869 2016-01-13 Torvald Riegel <triegel@redhat.com>
9870
9871 [BZ #19402]
9872 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9873 mutexes.
9874
9875 2016-01-13 Torvald Riegel <triegel@redhat.com>
9876
9877 [BZ #20985]
9878 * nptl/Makefile: Adapt.
9879 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9880 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9881 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9882 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9883 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9884 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9885 lll_robust* functions and adapt.
9886 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9887 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9888 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9889 __lll_robust_timedlock, __lll_robust_unlock): Remove.
9890 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9891 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9892 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9893 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9894 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9895 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9896 __lll_robust_timedlock, __lll_robust_unlock): Remove.
9897 * nptl/lowlevelrobustlock.c: Remove file.
9898 * nptl/lowlevelrobustlock.sym: Likewise.
9899 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9900 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9901
9902 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9903
9904 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9905
9906 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
9907
9908 * po/cs.po: Merge translations from the Translation Project.
9909 * po/de.po: Likewise.
9910 * po/pl.po: Likewise.
9911 * po/ru.po: Likewise.
9912 * po/tr.po: Likewise.
9913 * po/uk.po: Likewise.
9914 * po/vi.po: Likewise.
9915 * po/zh_CN.po: Likewise.
9916
9917 2017-01-12 Joseph Myers <joseph@codesourcery.com>
9918
9919 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9920
9921 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9922 object.
9923
9924 2017-01-11 Joseph Myers <joseph@codesourcery.com>
9925
9926 [BZ #16458]
9927 * bits/uintn-identity.h: New file.
9928 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9929 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9930 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9931 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9932 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9933 * string/endian.h: Include <bits/uintn-identity.h>.
9934 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9935 __uint16_identity.
9936 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9937 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9938 __uint32_identity.
9939 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9940 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9941 __uint64_identity.
9942 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9943 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9944 __uint16_identity.
9945 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9946 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9947 __uint32_identity.
9948 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9949 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9950 __uint64_identity.
9951 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9952 * string/Makefile (headers): Add bits/uintn-identity.h.
9953 (tests): Add test-endian-types.
9954 * string/test-endian-types.c: New file.
9955 * inet/Makefile (tests): Add test-hnto-types.
9956 * inet/test-hnto-types.c: New file.
9957
9958 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9959
9960 * po/be.po: Update from Translation Project.
9961 * po/bg.po: Likewise.
9962 * po/ca.po: Likewise.
9963 * po/cs.po: Likewise.
9964 * po/da.po: Likewise.
9965 * po/de.po: Likewise.
9966 * po/el.po: Likewise.
9967 * po/eo.po: Likewise.
9968 * po/es.po: Likewise.
9969 * po/fi.po: Likewise.
9970 * po/fr.po: Likewise.
9971 * po/gl.po: Likewise.
9972 * po/hr.po: Likewise.
9973 * po/hu.po: Likewise.
9974 * po/ia.po: Likewise.
9975 * po/id.po: Likewise.
9976 * po/it.po: Likewise.
9977 * po/ja.po: Likewise.
9978 * po/ko.po: Likewise.
9979 * po/lt.po: Likewise.
9980 * po/nb.po: Likewise.
9981 * po/nl.po: Likewise.
9982 * po/pl.po: Likewise.
9983 * po/pt_BR.po: Likewise.
9984 * po/ru.po: Likewise.
9985 * po/rw.po: Likewise.
9986 * po/sk.po: Likewise.
9987 * po/sl.po: Likewise.
9988 * po/sv.po: Likewise.
9989 * po/tr.po: Likewise.
9990 * po/uk.po: Likewise.
9991 * po/vi.po: Likewise.
9992 * po/zh_CN.po: Likewise.
9993 * po/zh_TW.po: Likewise.
9994
9995 2017-01-11 Joseph Myers <joseph@codesourcery.com>
9996
9997 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9998 -Wformat-truncation instead of -Wformat-length.
9999 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10000 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10001 GCC 7.
10002 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10003 (do_test): Ignore -Wformat-truncation for GCC 7.
10004
10005 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10006 buffer used to print long int value.
10007
10008 * elf/sotruss-lib.c (init): Increase space allocated for pid by
10009 one byte. Print it with %ld, cast to long int.
10010
10011 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
10012
10013 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10014 (re.fullmatch, subprocess.run): Likewise.
10015
10016 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10017
10018 * po/libc.pot: Regenerate.
10019
10020 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
10021
10022 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10023 (min_strlen): Likewise.
10024 (disable_tunable): Likewise.
10025 (maybe_disable_malloc_check): Rename to
10026 maybe_enable_malloc_check.
10027 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10028 if /etc/suid-debug file exists.
10029 (__tunables_init): Update caller.
10030 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10031 secure.
10032
10033 2016-01-10 Torvald Riegel <triegel@redhat.com>
10034
10035 * nptl/DESIGN-rwlock.txt: Remove.
10036 * nptl/lowlevelrwlock.sym: Remove.
10037 * nptl/Makefile: Add new tests.
10038 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
10039 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10040 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10041 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10042 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10043 PTHREAD_RWLOCK_FUTEX_USED): New.
10044 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10045 implementation.
10046 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10047 (__pthread_rwlock_rdlock): Adapt.
10048 * nptl/pthread_rwlock_timedrdlock.c
10049 (pthread_rwlock_timedrdlock): Adapt.
10050 * nptl/pthread_rwlock_timedwrlock.c
10051 (pthread_rwlock_timedwrlock): Adapt.
10052 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10053 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10054 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10055 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10056 (__pthread_rwlock_wrlock): Adapt.
10057 * nptl/tst-rwlock10.c: Adapt.
10058 * nptl/tst-rwlock11.c: Adapt.
10059 * nptl/tst-rwlock17.c: New file.
10060 * nptl/tst-rwlock18.c: New file.
10061 * nptl/tst-rwlock19.c: New file.
10062 * nptl/tst-rwlock2b.c: New file.
10063 * nptl/tst-rwlock8.c: Adapt.
10064 * nptl/tst-rwlock9.c: Adapt.
10065 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10066 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10067 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10068 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10069 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10070 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10071 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10072 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10073 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10074 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10075 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10076 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10077 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10078 (pthread_rwlock_t): Adapt.
10079 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10080 (pthread_rwlock_t): Adapt.
10081 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10082 * nptl/nptl-printers.py (): Adapt.
10083 * nptl/nptl_lock_constants.pysym: Adapt.
10084 * nptl/test-rwlock-printers.py: Adapt.
10085 * nptl/test-rwlockattr-printers.c: Adapt.
10086 * nptl/test-rwlockattr-printers.py: Adapt.
10087
10088 2017-01-10 Joseph Myers <joseph@codesourcery.com>
10089
10090 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10091 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10092 (fma_test_data): Likewise.
10093 (hypot_test_data): Likewise.
10094 (log1p_test_data): Likewise.
10095 (modf_test_data): Likewise.
10096 (pow_test_data): Likewise.
10097 (remainder_test_data): Likewise.
10098 (remquo_test_data): Likewise.
10099 (scalb_test_data): Likewise.
10100 (scalbn_test_data): Likewise.
10101 (scalbln_test_data): Likewise.
10102 * math/gen-libm-test.pl (parse_args): Transform
10103 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10104 on the rounding mode.
10105
10106 2017-01-09 Joseph Myers <joseph@codesourcery.com>
10107
10108 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10109 xfail-rounding:ibm128-libgcc automatically to tests overflowing
10110 and those that can underflow to zero.
10111 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10112 add others.
10113 * math/auto-libm-test-out: Regenerated.
10114
10115 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10116 supported.
10117 (feholdexcept_tests): Skip tests requiring exceptions or rounding
10118 modes support if not supported.
10119
10120 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10121 Add libc.so PLT entry.
10122 (__tls_get_addr): Make ld.so PLT entry optional.
10123
10124 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10125
10126 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10127 * string/bits/string3.h: ... here.
10128
10129 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10130
10131 [BZ #21028]
10132 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10133 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10134 if EXCEPTION_TESTS returns false.
10135
10136 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10137
10138 [BZ #20558]
10139 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10140 strings_fortified.h.
10141 [__USE_MISC] (bzero): Likewise.
10142 [__USE_MISC] (explicit_bzero): Likewise.
10143 * string/strings.h: Include strings_fortified.h.
10144 * string/Makefile (headers): Add strings_fortified.h.
10145 * string/bits/strings_fortified.h: New file.
10146 * include/bits/strings_fortified.h: Likewise.
10147
10148 2017-01-05 Joseph Myers <joseph@codesourcery.com>
10149
10150 * elf/tst-tls13.c (TIMEOUT): Remove.
10151 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10152 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10153 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10154 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10155 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10156
10157 [BZ #21026]
10158 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10159 (readahead): New syscall entry.
10160
10161 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10162
10163 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10164 around tests of strncat with large sizes.
10165
10166 * malloc/tst-malloc.c: Include <libc-internal.h>.
10167 (do_test): Disable -Walloc-size-larger-than= around tests of
10168 malloc with negative sizes.
10169 * malloc/tst-mcheck.c: Include <libc-internal.h>.
10170 (do_test): Disable -Walloc-size-larger-than= around tests of
10171 malloc and realloc with negative sizes.
10172 * malloc/tst-realloc.c: Include <libc-internal.h>.
10173 (do_test): Disable -Walloc-size-larger-than= around tests of
10174 realloc with negative sizes.
10175
10176 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10177 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10178 allowed to 16 ulps.
10179 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10180 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
10181 * math/auto-libm-test-out: Regenerated.
10182
10183 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10184
10185 * math/Makefile (libm-calls): Move wrappers...
10186 (libm-compat-call-auto): Here.
10187 (libm-routines): Add items in libm-compat-calls-auto.
10188 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10189 the filenames of the wrappers that have been renamed.
10190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10192
10193 * math/w_acos.c: Add _compat suffix to filename.
10194 * math/w_acosf.c: Likewise.
10195 * math/w_acosh.c: Likewise.
10196 * math/w_acoshf.c: Likewise.
10197 * math/w_acoshl.c: Likewise.
10198 * math/w_acosl.c: Likewise.
10199 * math/w_asin.c: Likewise.
10200 * math/w_asinf.c: Likewise.
10201 * math/w_asinl.c: Likewise.
10202 * math/w_atan2.c: Likewise.
10203 * math/w_atan2f.c: Likewise.
10204 * math/w_atan2l.c: Likewise.
10205 * math/w_atanh.c: Likewise.
10206 * math/w_atanhf.c: Likewise.
10207 * math/w_atanhl.c: Likewise.
10208 * math/w_cosh.c: Likewise.
10209 * math/w_coshf.c: Likewise.
10210 * math/w_coshl.c: Likewise.
10211 * math/w_exp10.c: Likewise.
10212 * math/w_exp10f.c: Likewise.
10213 * math/w_exp10l.c: Likewise.
10214 * math/w_exp2.c: Likewise.
10215 * math/w_exp2f.c: Likewise.
10216 * math/w_exp2l.c: Likewise.
10217 * math/w_fmod.c: Likewise.
10218 * math/w_fmodf.c: Likewise.
10219 * math/w_fmodl.c: Likewise.
10220 * math/w_hypot.c: Likewise.
10221 * math/w_hypotf.c: Likewise.
10222 * math/w_hypotl.c: Likewise.
10223 * math/w_j0.c: Likewise.
10224 * math/w_j0f.c: Likewise.
10225 * math/w_j0l.c: Likewise.
10226 * math/w_j1.c: Likewise.
10227 * math/w_j1f.c: Likewise.
10228 * math/w_j1l.c: Likewise.
10229 * math/w_jn.c: Likewise.
10230 * math/w_jnf.c: Likewise.
10231 * math/w_jnl.c: Likewise.
10232 * math/w_log10.c: Likewise.
10233 * math/w_log10f.c: Likewise.
10234 * math/w_log10l.c: Likewise.
10235 * math/w_log2.c: Likewise.
10236 * math/w_log2f.c: Likewise.
10237 * math/w_log2l.c: Likewise.
10238 * math/w_log.c: Likewise.
10239 * math/w_logf.c: Likewise.
10240 * math/w_logl.c: Likewise.
10241 * math/w_pow.c: Likewise.
10242 * math/w_powf.c: Likewise.
10243 * math/w_powl.c: Likewise.
10244 * math/w_remainder.c: Likewise.
10245 * math/w_remainderf.c: Likewise.
10246 * math/w_remainderl.c: Likewise.
10247 * math/w_scalb.c: Likewise.
10248 * math/w_scalbf.c: Likewise.
10249 * math/w_scalbl.c: Likewise.
10250 * math/w_sinh.c: Likewise.
10251 * math/w_sinhf.c: Likewise.
10252 * math/w_sinhl.c: Likewise.
10253 * math/w_sqrt.c: Likewise.
10254 * math/w_sqrtf.c: Likewise.
10255 * math/w_sqrtl.c: Likewise.
10256 * math/w_tgamma.c: Likewise.
10257 * math/w_tgammaf.c: Likewise.
10258 * math/w_tgammal.c: Likewise.
10259
10260 * math/w_acos_compat.c: New file copied from above and
10261 adjusted for new #includes path
10262 * math/w_acosf_compat.c: Likewise.
10263 * math/w_acosh_compat.c: Likewise.
10264 * math/w_acoshf_compat.c: Likewise.
10265 * math/w_acoshl_compat.c: Likewise.
10266 * math/w_acosl_compat.c: Likewise.
10267 * math/w_asin_compat.c: Likewise.
10268 * math/w_asinf_compat.c: Likewise.
10269 * math/w_asinl_compat.c: Likewise.
10270 * math/w_atan2_compat.c: Likewise.
10271 * math/w_atan2f_compat.c: Likewise.
10272 * math/w_atan2l_compat.c: Likewise.
10273 * math/w_atanh_compat.c: Likewise.
10274 * math/w_atanhf_compat.c: Likewise.
10275 * math/w_atanhl_compat.c: Likewise.
10276 * math/w_cosh_compat.c: Likewise.
10277 * math/w_coshf_compat.c: Likewise.
10278 * math/w_coshl_compat.c: Likewise.
10279 * math/w_exp10_compat.c: Likewise.
10280 * math/w_exp10f_compat.c: Likewise.
10281 * math/w_exp10l_compat.c: Likewise.
10282 * math/w_exp2_compat.c: Likewise.
10283 * math/w_exp2f_compat.c: Likewise.
10284 * math/w_exp2l_compat.c: Likewise.
10285 * math/w_fmod_compat.c: Likewise.
10286 * math/w_fmodf_compat.c: Likewise.
10287 * math/w_fmodl_compat.c: Likewise.
10288 * math/w_hypot_compat.c: Likewise.
10289 * math/w_hypotf_compat.c: Likewise.
10290 * math/w_hypotl_compat.c: Likewise.
10291 * math/w_j0_compat.c: Likewise.
10292 * math/w_j0f_compat.c: Likewise.
10293 * math/w_j0l_compat.c: Likewise.
10294 * math/w_j1_compat.c: Likewise.
10295 * math/w_j1f_compat.c: Likewise.
10296 * math/w_j1l_compat.c: Likewise.
10297 * math/w_jn_compat.c: Likewise.
10298 * math/w_jnf_compat.c: Likewise.
10299 * math/w_jnl_compat.c: Likewise.
10300 * math/w_log10_compat.c: Likewise.
10301 * math/w_log10f_compat.c: Likewise.
10302 * math/w_log10l_compat.c: Likewise.
10303 * math/w_log2_compat.c: Likewise.
10304 * math/w_log2f_compat.c: Likewise.
10305 * math/w_log2l_compat.c: Likewise.
10306 * math/w_log_compat.c: Likewise.
10307 * math/w_logf_compat.c: Likewise.
10308 * math/w_logl_compat.c: Likewise.
10309 * math/w_pow_compat.c: Likewise.
10310 * math/w_powf_compat.c: Likewise.
10311 * math/w_powl_compat.c: Likewise.
10312 * math/w_remainder_compat.c: Likewise.
10313 * math/w_remainderf_compat.c: Likewise.
10314 * math/w_remainderl_compat.c: Likewise.
10315 * math/w_scalb_compat.c: Likewise.
10316 * math/w_scalbf_compat.c: Likewise.
10317 * math/w_scalbl_compat.c: Likewise.
10318 * math/w_sinh_compat.c: Likewise.
10319 * math/w_sinhf_compat.c: Likewise.
10320 * math/w_sinhl_compat.c: Likewise.
10321 * math/w_sqrt_compat.c: Likewise.
10322 * math/w_sqrtf_compat.c: Likewise.
10323 * math/w_sqrtl_compat.c: Likewise.
10324 * math/w_tgamma_compat.c: Likewise.
10325 * math/w_tgammaf_compat.c: Likewise.
10326 * math/w_tgammal_compat.c: Likewise.
10327
10328 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10329 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10330 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10331 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10332 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10333 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10334 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10335 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10336 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10337 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10338 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10339 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10340 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10341 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10342 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10343 * sysdeps/ia64/fpu/w_powl.c: Likewise.
10344 * sysdeps/ia64/fpu/w_powf.c: Likewise.
10345 * sysdeps/ia64/fpu/w_pow.c: Likewise.
10346 * sysdeps/ia64/fpu/w_logl.c: Likewise.
10347 * sysdeps/ia64/fpu/w_logf.c: Likewise.
10348 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10349 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10350 * sysdeps/ia64/fpu/w_log2.c: Likewise.
10351 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10352 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10353 * sysdeps/ia64/fpu/w_log10.c: Likewise.
10354 * sysdeps/ia64/fpu/w_log.c: Likewise.
10355 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10356 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10357 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10358 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10359 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10360 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10361 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10362 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10363 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10364 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10365 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10366 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10367 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10368 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10369 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10370 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10371 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10372 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10373 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10374 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10375 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10376 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10377 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10378 * sysdeps/ia64/fpu/w_asin.c: Likewise.
10379 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10380 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10381 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10382 * sysdeps/ia64/fpu/w_acos.c: Likewise.
10383 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10384 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10385 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10386 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10387 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10388 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10391 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10393 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10394 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10395 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10397 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10399 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10400 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10401 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10403 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10405 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10406 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10407 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10408 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10409 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10411 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10412 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10413 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10414 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10415 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10417 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10419 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10421 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10423 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10425 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10427 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10429 Likewise.
10430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10431 Likewise.
10432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10434 Likewise.
10435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10436 Likewise.
10437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10438 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10439 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10450 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10451 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10452
10453 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10454 and adjusted for new #includes path
10455 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10456 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10457 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10458 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10459 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10460 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10461 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10462 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10463 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10464 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10465 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10466 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10467 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10468 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10469 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10470 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10471 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10472 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10473 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10474 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10475 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10476 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10477 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10478 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10479 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10480 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10481 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10482 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10483 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10484 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10485 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10486 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10487 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10488 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10489 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10490 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10491 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10492 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10493 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10494 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10495 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10496 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10497 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10498 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10499 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10500 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10501 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10502 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10503 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10504 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10505 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10506 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10507 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10508 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10509 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10510 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10511 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10512 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10513 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10514 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10515 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10516 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10517 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10518 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10519 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10520 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10521 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10522 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10523 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10524 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10525 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10526 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10527 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10528 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10529 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10530 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10531 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10532 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10533 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10534 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10535 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10536 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10537 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10538 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10539 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10540 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10541 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10542 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10543 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10544 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10545 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10546 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10547 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10548 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10549 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10550 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10551 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10552 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10553 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10555 Likewise.
10556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10557 Likewise.
10558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10559 Likewise.
10560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10561 Likewise.
10562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10563 Likewise.
10564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10565 Likewise.
10566 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10568 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10569 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10570 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10571 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10573 Likewise.
10574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10575 Likewise.
10576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10577 Likewise.
10578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10579 Likewise.
10580 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10581 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10582 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10583 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10584
10585 2017-01-04 Joseph Myers <joseph@codesourcery.com>
10586
10587 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10588 __jmp_buf_internal_tag.
10589
10590 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10591 preserve NaN payload if [__mips_nan2008].
10592 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10593
10594 [BZ #21022]
10595 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10596
10597 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10598
10599 * sysdeps/i386/fpu/libm-test-ulps: Update.
10600
10601 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10602
10603 * sysdeps/ia64/strcat.c: Remove file.
10604 * sysdeps/powerpc/strcat.c: Likewise.
10605 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10606 C implementation.
10607 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10608 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10609
10610 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10611 Steven Munroe <sjmunroe@us.ibm.com>
10612 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10613
10614 [BZ #20822]
10615 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10616 (__lll_lock_elision): Access adapt_count via C11 atomics.
10617 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10618 (__lll_trylock_elision): Likewise.
10619 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10620 (__lll_unlock_elision): Update adapt_count variable inside the
10621 critical section using C11 atomics.
10622
10623 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10624
10625 * math/test-fenvinline.c (do_test): Disable tests of raised
10626 exceptions if !EXCEPTION_TESTS (FLOAT).
10627
10628 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10629
10630 [BZ #19390]
10631 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10632 maximum string size.
10633 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10634 in pointer addition.
10635 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10636 Likewise.
10637
10638 2017-01-03 Joseph Myers <joseph@codesourcery.com>
10639
10640 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10641 passed to tst-ldconfig-X.sh.
10642
10643 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
10644
10645 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10646
10647 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10648
10649 [BZ #21019]
10650 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10651 New syscall entry.
10652 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10653 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10654 lseek.
10655
10656 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10657 power4 glibc for powerpc-linux-gnu.
10658
10659 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10660
10661 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
10662 semctl.
10663
10664 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10665
10666 * math/test-nearbyint-except.c: Include <stdbool.h>.
10667 (any_supported): New variable.
10668 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
10669 set any_supported.
10670 (do_test): Return 77 if no floating-point type supported
10671 exceptions.
10672
10673 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
10674 condition on [__mips_hard_float].
10675
10676 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10677
10678 [BZ #21014]
10679 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
10680 in pointer addition.
10681 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
10682
10683 2017-01-02 Torvald Riegel <triegel@redhat.com>
10684
10685 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
10686 new condvar.
10687
10688 2017-01-02 Joseph Myers <joseph@codesourcery.com>
10689
10690 * scripts/build-many-glibcs.py (Context.checkout): Default
10691 binutils version to 2.28 branch.
10692
10693 2017-01-01 Florian Weimer <fweimer@redhat.com>
10694
10695 * support/support_format_netent.c (support_format_netent): Work
10696 around alpha struct netent definition difference.
10697
10698 2017-01-01 Florian Weimer <fweimer@redhat.com>
10699
10700 * support/xwrite.c (xwrite): Use %td for pointer difference.
10701
10702 2017-01-01 Florian Weimer <fweimer@redhat.com>
10703
10704 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
10705 have-tunables only.
10706 (tests-static): Add tst-malloc-usable-static-tunables for
10707 have-tunables only.
10708
10709 2017-01-01 Joseph Myers <joseph@codesourcery.com>
10710
10711 * scripts/config.guess: Update to version 2017-01-01.
10712 * scripts/config.sub: Update to version 2017-01-01.
10713
10714 * NEWS: Update copyright dates.
10715 * catgets/gencat.c (print_version): Likewise.
10716 * csu/version.c (banner): Likewise.
10717 * debug/catchsegv.sh: Likewise.
10718 * debug/pcprofiledump.c (print_version): Likewise.
10719 * debug/xtrace.sh (do_version): Likewise.
10720 * elf/ldconfig.c (print_version): Likewise.
10721 * elf/ldd.bash.in: Likewise.
10722 * elf/pldd.c (print_version): Likewise.
10723 * elf/sotruss.sh: Likewise.
10724 * elf/sprof.c (print_version): Likewise.
10725 * iconv/iconv_prog.c (print_version): Likewise.
10726 * iconv/iconvconfig.c (print_version): Likewise.
10727 * locale/programs/locale.c (print_version): Likewise.
10728 * locale/programs/localedef.c (print_version): Likewise.
10729 * login/programs/pt_chown.c (print_version): Likewise.
10730 * malloc/memusage.sh (do_version): Likewise.
10731 * malloc/memusagestat.c (print_version): Likewise.
10732 * malloc/mtrace.pl: Likewise.
10733 * manual/libc.texinfo: Likewise.
10734 * nptl/version.c (banner): Likewise.
10735 * nscd/nscd.c (print_version): Likewise.
10736 * nss/getent.c (print_version): Likewise.
10737 * nss/makedb.c (print_version): Likewise.
10738 * posix/getconf.c (main): Likewise.
10739 * scripts/test-installation.pl: Likewise.
10740 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10741
10742 * All files with FSF copyright notices: Update copyright dates
10743 using scripts/update-copyrights.
10744 * intl/plural.c: Regenerated.
10745 * locale/programs/charmap-kw.h: Likewise.
10746 * locale/programs/locfile-kw.h: Likewise.
10747
10748 2016-12-31 Florian Weimer <fweimer@redhat.com>
10749
10750 [BZ #20593]
10751 Update DNS RR type definitions.
10752 * scripts/gen-rrtypes.py: New file.
10753 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
10754 BIND-internal RR type not used on the Internet. Add ns_t_ds,
10755 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
10756 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
10757 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
10758 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
10759 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
10760 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
10761 ns_t_ta, ns_t_dlv.
10762 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
10763 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
10764 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
10765 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
10766 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
10767 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
10768 Define.
10769 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
10770 entry for ns_t_zxfr.
10771
10772 2016-12-31 Florian Weimer <fweimer@redhat.com>
10773
10774 [BZ #18784]
10775 CVE-2015-5180
10776 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10777 T_UNSPEC. Adjust value.
10778 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10779 * resolv/res_query.c (__libc_res_nquery): Likewise.
10780 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10781 QTYPEs.
10782 * resolv/tst-resolv-qtypes.c: New file.
10783 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10784 (tst-resolv-qtypes): Link against libresolv and libpthread.
10785
10786 2016-12-31 Florian Weimer <fweimer@redhat.com>
10787
10788 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10789
10790 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
10791
10792 * manual/tunables.texi: New chapter.
10793 * manual/Makefile (chapters): Add it.
10794 * manual/probes.texi (@node): Point to the Tunables chapter.
10795
10796 * Makeconfig (have-tunables): Check for non-negative instead
10797 of positive.
10798 * configure.ac: Add 'valstring' as a valid value for
10799 --enable-tunables.
10800 * configure: Regenerate.
10801 * elf/Makefile (have-tunables): Check for non-negative instead
10802 of positive.
10803 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10804 dl-tunables.c.
10805 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10806 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10807 (tunables_strdup): Likewise.
10808 (disable_tunables): Likewise.
10809 (parse_tunables): Likewise.
10810 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10811 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10812 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10813 (TUNABLES_FRONTEND_yes): New macro, define as
10814 TUNABLES_FRONTEND_valstring by default.
10815 * manual/install.texi: Document new acceptable values for
10816 --enable-tunables.
10817 * INSTALL: Regenerate.
10818
10819 * config.make.in (have-loop-to-function): Define.
10820 * elf/Makefile (CFLAGS-dl-tunables.c): Add
10821 -fno-tree-loop-distribute-patterns.
10822 * elf/dl-tunables.c: Include libc-internals.h.
10823 (GLIBC_TUNABLES): New macro.
10824 (tunables_strdup): New function.
10825 (parse_tunables): New function.
10826 (min_strlen): New function.
10827 (__tunables_init): Use the new functions and macro.
10828 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10829 * malloc/tst-malloc-usable-tunables.c: New test case.
10830 * malloc/tst-malloc-usable-static-tunables.c: New test case.
10831 * malloc/Makefile (tests, tests-static): Add tests.
10832
10833 * manual/install.texi: Add --enable-tunables option.
10834 * INSTALL: Regenerate.
10835 * README.tunables: New file.
10836 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10837 (before-compile): Generate dl-tunable-list.h early.
10838 * config.h.in: Add HAVE_TUNABLES.
10839 * config.make.in: Add have-tunables.
10840 * configure.ac: Add --enable-tunables option.
10841 * configure: Regenerate.
10842 * csu/init-first.c (__libc_init_first): Move
10843 __libc_init_secure earlier...
10844 * csu/init-first.c (LIBC_START_MAIN):... to here.
10845 Include dl-tunables.h, libc-internal.h.
10846 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10847 binaries.
10848 * elf/Makefile (dl-routines): Add dl-tunables.
10849 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10850 namespace.
10851 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10852 only when !HAVE_TUNABLES.
10853 * elf/rtld.c (process_envvars): Likewise.
10854 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10855 (_dl_sysdep_start): Call __tunables_init.
10856 * elf/dl-tunable-types.h: New file.
10857 * elf/dl-tunables.c: New file.
10858 * elf/dl-tunables.h: New file.
10859 * elf/dl-tunables.list: New file.
10860 * malloc/tst-malloc-usable-static.c: New test case.
10861 * malloc/Makefile (tests-static): Add it.
10862 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10863 Define TUNABLE_NAMESPACE.
10864 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10865 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
10866 callback functions.
10867 (ptmalloc_init): Set tunable values.
10868 * scripts/gen-tunables.awk: New file.
10869 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10870 (_dl_sysdep_start): Call __tunables_init.
10871
10872 2016-12-31 Florian Weimer <fweimer@redhat.com>
10873
10874 * resolv/resolv.h (RES_BLAST): Deprecate.
10875 * resolv/res_debug.c (p_option): Remove RES_BLAST.
10876 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10877 to RES_BLAST.
10878
10879 2016-12-27 Florian Weimer <fweimer@redhat.com>
10880
10881 [BZ #19582]
10882 Deprecate RES_USE_INET6.
10883 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10884 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10885 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10886 RES_USE_INET6.
10887 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10888 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10889 (_nss_nisplus_gethostbyaddr_r): Likewise.
10890 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10891 of res_use_inet6.
10892 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10893 instead of RES_USE_INET6.
10894 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10895 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10896 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10897 Likewise.
10898 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10899 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10900 Likewise.
10901 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10902 (_nss_dns_gethostbyname_r): Likewise.
10903 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10904 alternate RES_USE_INET6 handling.
10905 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10906 instead of RES_USE_INET6.
10907 * resolv/res_init.c (res_setoptions): Likewise.
10908 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10909 * resolv/resolv-internal.h: New file.
10910 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10911 make the deprecation warning non-fatal.
10912 * resolv/README (Using the resolver in multi-threaded code): Drop
10913 reference to RES_USE_INET6.
10914 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10915 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10916
10917 2016-12-31 Florian Weimer <fweimer@redhat.com>
10918
10919 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10920 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10921 tst-resolv-search.
10922 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10923 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10924 with libresolv and libpthread.
10925 * resolv/tst-bug18665.c: New file.
10926 * resolv/tst-bug18665-tcp: Likewise.
10927 * resolv/tst-res_use_inet6: Likewise.
10928 * resolv/tst-resolv-basic: Likewise.
10929 * resolv/tst-resolv-network: Likewise.
10930 * resolv/tst-resolv-search: Likewise.
10931 * support/Makefile (libsupport-routines): Add check_addrinfo,
10932 check_dns_packet, check_hostent, check_netent, resolv_test,
10933 support_format_address_family, support_format_addrinfo,
10934 support_format_dns_packet, support_format_herrno,
10935 support_format_hostent, support_format_netent, support_run_diff,
10936 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10937 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10938 xstrdup, xwrite.
10939 * support/check_addrinfo.c: New file.
10940 * support/check_dns_packet.c: Likewise.
10941 * support/check_hostent.c: Likewise.
10942 * support/check_netent.c: Likewise.
10943 * support/check_nss.h: Likewise.
10944 * support/format_nss.h: Likewise.
10945 * support/resolv_test.c: Likewise.
10946 * support/resolv_test.h: Likewise.
10947 * support/run_diff.h: Likewise.
10948 * support/support_format_address_family.c: Likewise.
10949 * support/support_format_addrinfo.c: Likewise.
10950 * support/support_format_dns_packet.c: Likewise.
10951 * support/support_format_herrno.c: Likewise.
10952 * support/support_format_hostent.c: Likewise.
10953 * support/support_format_netent.c: Likewise.
10954 * support/support_run_diff.c: Likewise.
10955 * support/xaccept.c: Likewise.
10956 * support/xbind.c: Likewise.
10957 * support/xconnect.c: Likewise.
10958 * support/xfclose.c: Likewise.
10959 * support/xfopen.c: Likewise.
10960 * support/xgetsockname.c: Likewise.
10961 * support/xlisten.c: Likewise.
10962 * support/xmemstream.c: Likewise.
10963 * support/xmemstream.h: Likewise.
10964 * support/xpoll.c: Likewise.
10965 * support/xpthread_once.c: Likewise.
10966 * support/xrecvfrom.c: Likewise.
10967 * support/xsendto.c: Likewise.
10968 * support/xsetsockopt.c: Likewise.
10969 * support/xstdio.h: Likewise.
10970 * support/xstrdup.c: Likewise.
10971 * support/support.h (xstrdup): Declare.
10972 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10973 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10974 * support/xthread.h (xpthread_once): Likwise.
10975 * support/xunistd.h (xwrite): Declare.
10976
10977 2016-12-31 Florian Weimer <fweimer@redhat.com>
10978
10979 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10980 (test_verbose): Declare.
10981 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10982 * support/support_test_main.c (default_options): Likewise.
10983 (usage, support_test_main): Handle 'v'.
10984 (test_verbose): Define.
10985 * support/tst-support_record_failure.c (do_test): Use
10986 test_verbose.
10987 * support/tst-support_record_failure-2.sh (different_status): Add
10988 --verbose test.
10989
10990 2016-12-31 Florian Weimer <fweimer@redhat.com>
10991
10992 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10993 test failures are recorded.
10994 * support/check.c (support_print_failure_impl): Call
10995 support_record_failure.
10996 (support_exit_failure_impl): Call support_record_failure if status
10997 indicates failure.
10998 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10999 * support/xasprintf.c (xasprintf): Likewise.
11000 * support/xfork.c (xfork): Likewise.
11001 * support/xpthread_check_return.c (xpthread_check_return):
11002 Likewise.
11003 * support/xsocket.c (xsocket): Likeweise.
11004 * support/xwaitpid.c (xwaitpid): Likewise.
11005 * support/support_record_failure.c (struct test_failures): Adjust
11006 to coding style.
11007 * support/support_test_verify_impl.c (support_test_verify_impl):
11008 Adjust error messages.
11009 * support/tst-support_record_failure-2.sh (different_status):
11010 Adjust error messages.
11011
11012 2016-12-31 Florian Weimer <fweimer@redhat.com>
11013
11014 * support/namespace.h: New file.
11015 * support/support_become_root.c: Likewise.
11016 * support/support_enter_network_namespace.c: Likewise.
11017 * support/tst-support-namespace.c: Likewise.
11018 * support/xsocket.c: Likewise.
11019 * support/xsocket.h: Likewise.
11020 * support/Makefile (libsupport-routines): Add support_become_root,
11021 support_enter_network_namespace, xsocket.
11022 (tests): Add tst-support-namespace.
11023
11024 2016-12-31 Florian Weimer <fweimer@redhat.com>
11025
11026 [BZ #17252]
11027 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11028 __USE_GNU.
11029
11030 2016-12-31 Torvald Riegel <triegel@redhat.com>
11031
11032 [BZ #13165]
11033 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11034 use new algorithm.
11035 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11036 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11037 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11038 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11039 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11040 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11041 __condvar_cleanup_waiting, __condvar_dec_grefs,
11042 __pthread_cond_wait_common): New.
11043 (__condvar_cleanup): Remove.
11044 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11045 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11046 Likewise.
11047 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11048 Likewise.
11049 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11050 * nptl/tst-cond1.c: Add comment.
11051 * nptl/tst-cond20.c (do_test): Adapt.
11052 * nptl/tst-cond22.c (do_test): Likewise.
11053 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11054 structure.
11055 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11056 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11057 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11058 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11059 Likewise.
11060 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11061 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11062 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11063 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11064 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11065 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11066 Likewise.
11067 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11068 Likewise.
11069 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11070 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11071 (COND_CLOCK_BITS): Adapt.
11072 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11073 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11074 __PTHREAD_COND_SHARED_MASK): New.
11075 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11076 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11077 * nptl/nptl_lock_constants.pysym: Adapt.
11078 * nptl/test-cond-printers.py: Adapt.
11079 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11080 cond_compat_check_and_clear): Adapt.
11081 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11082 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11083 (__pthread_cond_timedwait): ... and move here.
11084 * nptl/DESIGN-condvar.txt: Remove file.
11085 * nptl/lowlevelcond.sym: Likewise.
11086 * nptl/pthread_cond_timedwait.c: Likewise.
11087 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11088 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11089 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11090 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11091 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11092 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11093 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11094 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11095 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11096 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11097 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11098 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11099 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11100 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11101 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11102 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11103
11104 2016-12-31 Joseph Myers <joseph@codesourcery.com>
11105
11106 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11107 (fromfp): New declaration.
11108 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11109 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11110 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11111 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11112 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11113 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11114 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11115 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11116 * math/math.h: Include <bits/types.h>.
11117 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11118 constant and macro.
11119 (FP_INT_DOWNWARD): Likewise.
11120 (FP_INT_TOWARDZERO): Likewise.
11121 (FP_INT_TONEARESTFROMZERO): Likewise.
11122 (FP_INT_TONEAREST): Likewise.
11123 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11124 (fromfpf): Likewise.
11125 (fromfpl): Likewise.
11126 (ufromfp): Likewise.
11127 (ufromfpf): Likewise.
11128 (ufromfpl): Likewise.
11129 (fromfpx): Likewise.
11130 (fromfpxf): Likewise.
11131 (fromfpxl): Likewise.
11132 (ufromfpx): Likewise.
11133 (ufromfpxf): Likewise.
11134 (ufromfpxl): Likewise.
11135 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11136 s_fromfpxF and s_ufromfpxF.
11137 * math/gen-fromfp-tests.py: New file.
11138 * math/gen-fromfp-tests-inputs: Likewise.
11139 * math/libm-test.inc: Include <stdint.h>
11140 (check_intmax_t): New function.
11141 (check_uintmax_t): Likewise.
11142 (struct test_fiu_M_data): New type.
11143 (struct test_fiu_U_data): Likewise.
11144 (RUN_TEST_fiu_M): New macro.
11145 (RUN_TEST_LOOP_fiu_M): Likewise.
11146 (RUN_TEST_fiu_U): Likewise.
11147 (RUN_TEST_LOOP_fiu_U): Likewise.
11148 (fromfp_test_data): New array.
11149 (fromfp_test): New function.
11150 (fromfpx_test_data): New array.
11151 (fromfpx_test): New function.
11152 (ufromfp_test_data): New array.
11153 (ufromfp_test): New function.
11154 (ufromfpx_test_data): New array.
11155 (ufromfpx_test): New function.
11156 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11157 ufromfpx_test.
11158 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11159 characters.
11160 * math/test-tgmath-ret.c: Include <stdint.h>.
11161 (rm): New variable.
11162 (width): Likewise.
11163 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11164 called function.
11165 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11166 CHECK_RET_CONST_TYPE.
11167 (CHECK_RET_CONST_DOUBLE): Likewise.
11168 (CHECK_RET_CONST_LDOUBLE): Likewise.
11169 (CHECK_RET_CONST): Take extra arguments and pass them to calls
11170 macros.
11171 (fromfp): New CHECK_RET_CONST call.
11172 (ufromfp): Likewise.
11173 (fromfpx): Likewise.
11174 (ufromfpx): Likewise.
11175 (do_test): Call check_return_fromfp, check_return_ufromfp,
11176 check_return_fromfpx and check_return_ufromfpx.
11177 * math/test-tgmath.c: Include <stdint.h>
11178 (NCALLS): Increase to 138.
11179 (F(compile_test)): Initialize i. Call fromfp functions.
11180 (F(fromfp)): New function.
11181 (F(fromfpx)): Likewise.
11182 (F(ufromfp)): Likewise.
11183 (F(ufromfpx)): Likewise.
11184 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11185 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11186 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11187 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11188 ufromfpxl.
11189 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11190 ufromfp and ufromfpx.
11191 * math/fromfp.h: New file.
11192 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11193 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11194 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11195 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11196 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11197 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11198 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11199 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11200 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11201 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11202 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11203 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11204 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11209 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11213 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11214 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11215 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11218 ufromfp, fromfpx and ufromfpx.
11219 (CFLAGS-nldbl-fromfp.c): New variable.
11220 (CFLAGS-nldbl-fromfpx.c): Likewise.
11221 (CFLAGS-nldbl-ufromfp.c): Likewise.
11222 (CFLAGS-nldbl-ufromfpx.c): Likewise.
11223 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11224 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11225 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11226 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11227 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11228 * sysdeps/nacl/libm.abilist: Update.
11229 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11230 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11231 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11242 Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11244 Likewise.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11246 Likewise.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11248 Likewise.
11249 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11255 Likewise.
11256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11257 Likewise.
11258 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11261
11262 2016-12-30 Florian Weimer <fweimer@redhat.com>
11263
11264 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11265 compat-gethnamaddr.
11266 (CPPFLAGS): Remove.
11267 * resolv/gethnamaddr.c: Rename ...
11268 * resolv/compat-gethnamaddr.c: ... to this file.
11269 (_endhtent): Make static.
11270 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
11271 symbol.
11272 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
11273 compat symbol.
11274 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
11275 symbol.
11276 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11277 Turn into compat symbol.
11278 * include/resolv.h (_endhtent): Remove declaration.
11279
11280 2016-12-30 Joseph Myers <joseph@codesourcery.com>
11281
11282 * bits/types.h (__intmax_t): New typedef.
11283 (__uintmax_t): Likewise.
11284 * sysdeps/generic/stdint.h: Include <bits/types.h>.
11285 (intmax_t): Define using __intmax_t.
11286 (uintmax_t): Define using __uintmax_t.
11287
11288 * support/Makefile (tests-special): Make definition conditional on
11289 [$(run-built-tests) = yes].
11290 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11291 on [$(run-built-tests) = yes].
11292
11293 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
11294
11295 * Rules (tests): Add tests-printers-programs to tests to be
11296 built.
11297
11298 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11299
11300 * sysvipc/Makefile (tests): Add test-sysvshm.
11301 * sysvipc/test-sysvshm.c: New file.
11302
11303 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11304 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11305 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11306 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11307 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11308 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11309 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11310 Likewise.
11311 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11312 Likewise.
11313 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11314 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11315 is defined.
11316
11317 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11318 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11319 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11320 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11321 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11322 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11323 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11324 Likewise.
11325 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11326 Likewise.
11327 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11328 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11329 defined.
11330
11331 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11332 oldshmctl.
11333 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11334 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11335 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11336 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11337 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11338 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11339 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11340 Likewise.
11341 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11342 Likewise.
11343 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11344 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11345 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11346 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11347 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11348 implementation.
11349 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11350 if it is defined.
11351
11352 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11353 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11354 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11355 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11356 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11357 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11358 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11359 Likewise.
11360 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11361 Likewise.
11362 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11363 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11364 Define to __NR_osf_shmat.
11365 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11366 defined.
11367
11368 * sysvipc/Makefile (tests): Add test-sysvsem.
11369 * sysvipc/test-sysvsem.c: New file.
11370
11371 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11372 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11373 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11374 Likewise.
11375 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11376 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11377 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11378 Likewise.
11379 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11380 Likewise.
11381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11382 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11383 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11384 add a comment about s390 syscall difference from default one.
11385 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11386 syscall if it is defined.
11387
11388 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11389 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11390 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11391 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11392 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11393 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11394 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11395 Likewise.
11396 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11397 Likewise.
11398 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11399 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11400 defined.
11401
11402 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11403 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11404 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11405 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11406 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11407 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11408 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11409 Likewise.
11410 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11411 Likewise.
11412 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11413 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11414 if it is defined.
11415
11416 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11417 oldsemctl.
11418 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11419 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11420 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11422 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11423 implementation.
11424 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11425 syscall if it is defined.
11426 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11427 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11428 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11429 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11430 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11431 Likewise.
11432 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11433
11434 * sysvipc/Makefile (tests): Add test-sysvmsg.
11435 * sysvipc/test-sysvmsg.c: New file.
11436 * support/check.h (FAIL_UNSUPPORTED): New define.
11437
11438 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11439 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11440 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11441 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11442 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11443 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11444 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11445 Likewise.
11446 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11447 Likewise.
11448 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11449 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11450 define.
11451
11452 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11453 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11454 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11455 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11456 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11457 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11458 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11459 Likewise.
11460 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11461 Likewise.
11462 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11463 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11464 if defined.
11465
11466 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11467 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11468 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11469 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11470 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11471 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11472 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11473 Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11475 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11476 Likewise.
11477 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11478 if defined.
11479 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11480
11481 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11482 oldmsgctl.
11483 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11484 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11485 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11486 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11487 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11488 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11489 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11490 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11491 Likewise.
11492 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11493 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11494 implementation.
11495 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11496 if defined.
11497
11498 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11499 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11500 definition and define its own.
11501 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11502 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11503 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11504 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11505 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11506 definitions to common header.
11507 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11508 operation from ipc_ops.h.
11509
11510 * sysdeps/unix/sysv/linux/kernel-features.h
11511 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11512 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11513 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11514 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11515 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11516 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11517 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11518 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11519 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11520 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11521 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11522 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11523 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11524 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11525 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11526
11527 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11528
11529 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11530 overflow in pointer addition.
11531
11532 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11533
11534 * sysdeps/powerpc/powerpc64/multiarch/Makefile
11535 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11537 (strchr): Add __strchr_power8 to list of strchr functions.
11538 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11539 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11540 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11541 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11542 (strchr): Add __strchr_power8 to ifunc list.
11543 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11544 (__strchrnul): Add __strchrnul_power8 to ifunc list.
11545 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11546 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11547
11548 2016-12-28 Florian Weimer <fweimer@redhat.com>
11549
11550 * support/Makefile (libsupport-routines): Add
11551 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11552 (tests): Add tst-support_record_failure.
11553 (tests-special): tst-support_record_failure-2.
11554 (tst-support_record_failure-2.out): Depend on
11555 tst-support_record_failure-2.sh and tst-support_record_failure.
11556 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11557 (support_test_verify_impl, support_record_failure)
11558 (support_report_failure, support_report_failure_reset): Declare.
11559 * support/support_test_main.c (adjust_exit_status): New function.
11560 (support_test_main): Call it to incorporate record test failures.
11561 * support/support_test_verify_impl.c: New file.
11562 * support/support_record_failure.c: Likewise.
11563 * support/tst-support_record_failure.c: Likewise.
11564 * support/tst-support_record_failure-2.sh: Likewise.
11565 * support/xunistd.h: Likewise.
11566 * support/xfork.c: Likewise.
11567 * support/xwaitpid.c: Likewise.
11568
11569 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
11570
11571 * scripts/check-c++-types.sh: Add comments.
11572
11573 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
11574
11575 [BZ #19514]
11576 * resolv/res_send.c: Fix typo in comment.
11577 * sysdeps/i386/i386-mcount.S: Likewise.
11578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11579 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11580 * sysdeps/sparc/sparc-mcount.S: Likewise.
11581
11582 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11583
11584 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11585 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11586 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11587 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11588 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11589 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11590 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11591 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11592
11593 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11594
11595 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11596
11597 2016-12-27 Florian Weimer <fweimer@redhat.com>
11598
11599 [BZ #17252]
11600 * posix/unistd.h (getentropy): Declare.
11601
11602 2016-12-27 Florian Weimer <fweimer@redhat.com>
11603
11604 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11605 Remove.
11606 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11607 (cmd): Remove spoof, nospoof, spoofalert.
11608 (parse_line): Ignore spoof-related lines.
11609 (do_init): Do not process RESOLV_SPOOF_CHECK.
11610
11611 2016-12-27 Florian Weimer <fweimer@redhat.com>
11612
11613 [BZ #20964]
11614 sunrpc: Always obtain AF_INET addresses from NSS.
11615 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11616 * sunrpc/rpc_gethostbyname.c: New file.
11617 * sunrpc/Makefile (routines): Add it.
11618 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11619 * sunrpc/clnt_simp.c (callrpc): Likewise.
11620 * sunrpc/getrpcport.c (getrpcport): Likewise.
11621
11622 2016-12-27 Florian Weimer <fweimer@redhat.com>
11623
11624 * sunrpc/rpcinfo.c: Remove.
11625 * sunrpc/Makefile: Remove comments referring to rpcinfo.
11626
11627 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11628
11629 [BZ #19387]
11630 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11631 addition.
11632 * string/test-memchr.c (do_test): Remove alignment limitation.
11633 (test_main): Add test that trigger BZ #19387.
11634
11635 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11636
11637 [BZ #7065]
11638 Enable stack protectore if requested by ./configure.
11639 * Makeconfig (+stack-protector): New variable.
11640 (+cflags): Use it.
11641
11642 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11643
11644 [BZ #7065]
11645 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11646 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11647 (__rt_sigreturn_stub): Use inhibit_stack_protector.
11648 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11649 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11650
11651 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11652
11653 [BZ #7065]
11654 * login/Makefile (pt_chown-cflags): Remove.
11655 * nscd/Makefile (CFLAGS-nscd): Likewise.
11656 * resolv/Makefile (CFLAGS-libresolv): Likewise.
11657
11658 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11659
11660 [BZ #7065]
11661 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
11662 non-libc-linking testcase.
11663
11664 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11665 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11666 Florian Weimer <fweimer@redhat.com>
11667
11668 [BZ #7065]
11669 PLT avoidance for __stack_chk_fail*.
11670 * debug/Makefile (CFLAGS-stack_chk_fail.c)
11671 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
11672 * debug/stack_chk_fail.c (__stack_chk_fail): Add
11673 __stack_chk_fail_local alias.
11674 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
11675 (__stack_chk_fail): Turn into hidden reference to
11676 __stack_chk_fail_local.
11677
11678 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11679
11680 [BZ #7065]
11681 * configure.ac: Add check for unsupported stack-protection level.
11682 (libc_cv_predef_stack_protector): Remove.
11683 (no_ssp): New variable.
11684 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
11685 (stack_protector): Set to -fno-stack-protector similarly.
11686 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
11687 (libc_cv_asm_set_directive): Likewise.
11688 (libc_cv_protected_data): Likewise.
11689 (libc_cv_z_combreloc): Likewise.
11690 (libc_cv_hashstyle): Likewise.
11691 (libc_cv_has_glob_dat): Likewise.
11692 (libc_cv_output_format): Likewise.
11693 (libc_cv_output_format): Likewise.
11694 (libc_cv_ehdr_start): Likewise.
11695 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
11696 (LIBC_LINKER_FEATURE): Likewise.
11697 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
11698
11699 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11700
11701 [BZ #7065]
11702 * elf/Makefile (dummy-stack-chk-fail): New.
11703 (librtld.map): Use it.
11704
11705 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11706
11707 [BZ #7065]
11708 Compile the dynamic linker without stack protection.
11709 * elf/Makefile (elide-stack-protector): New.
11710 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
11711 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
11712 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
11713 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
11714
11715 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11716
11717 [BZ #7065]
11718 * config.make.in (have-ssp, no-stack-protector): New.
11719 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
11720 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
11721 (CFLAGS-sbrk.op): Likewise.
11722 (CFLAGS-brk.o): Likewise.
11723 (CFLAGS-brk.op): Likewise.
11724 * string/Makefile (CFLAGS-memcpy.c): Likewise.
11725 (CFLAGS-wordcopy.c): Likewise.
11726
11727 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11728
11729 [BZ #7065]
11730 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
11731 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
11732 * include/libc-symbols.h (inhibit_stack_protector): New macro.
11733 (__ifunc_resolver): Use it.
11734 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
11735 inhibit_stack_protector.
11736 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
11737 * elf/ifuncmain7.c (foo_ifunc): Likewise.
11738 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
11739 (foo_protected_ifunc): Likewise.
11740 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
11741 (foo_protected_ifunc): Likewise.
11742 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11743 * sysdeps/nacl/nacl_interface_query.c
11744 (nacl_interface_query_ifunc): Likewise.
11745 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
11747 Likewise.
11748 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
11749 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
11750 the generated vDSO syscall resolver.
11751
11752 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11753 Florian Weimer <fweimer@redhat.com>
11754
11755 [BZ #7065]
11756 Initialize the stack guard earlier when linking statically.
11757 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
11758 (__pthread_initialize_minimal): Declare.
11759 * csu/libc-start.c (__pthread_initialize_minimal): Remove
11760 declaration.
11761 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
11762 stack canary and apply_irel initialization up. Call
11763 __pthread_initialize_minimal only if linked in.
11764 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
11765 constant values.
11766 (__pthread_initialize_minimal): Remove.
11767 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
11768 (__pthread_initialize_minimal_internal): Do not call
11769 __libc_setup_tls.
11770
11771 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
11772
11773 [BZ #7065]
11774 * configure.ac (libc_cv_ssp): Move up.
11775 (libc_cv_ssp_strong): Likewise.
11776 (libc_cv_ssp_all): New.
11777 (stack_protector): Augment, adding -fstack-protector-all.
11778 (no_stack_protector): New.
11779 (STACK_PROTECTOR_LEVEL): New.
11780 (AC_ARG_ENABLE(stack-protector)): New configure flag.
11781 * manual/install.texi (--enable-stack-protector): Document it.
11782 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11783
11784 2016-12-24 Carlos O'Donell <carlos@redhat.com>
11785
11786 * README.pretty-printers: Must specify CPPFLAGS-* also.
11787 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11788 (CPPFLAGS-test-mutex-printers.c): Define.
11789 (CPPFLAGS-test-condattr-printers.c): Define.
11790 (CPPFLAGS-test-cond-printers.c): Define.
11791 (CPPFLAGS-test-rwlockattr-printers.c): Define.
11792 (CPPFLAGS-test-rwlock-printers.c): Define.
11793
11794 * nss/Makefile [ifeq (yes,$(have-thread-library))]
11795 (tests): Add tst-cancel-getpwuid_r.
11796 * nss/tst-cancel-getpwuid_r.c: New file.
11797
11798 [BZ #11941]
11799 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11800 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11801 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11802 tst-nodelete-dlclose.
11803 (modules-names): Add tst-nodelete-dlclose-dso and
11804 tst-nodelete-dlclose-plugin.
11805 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11806 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11807 ($(objpfx)tst-nodelete-dlclose): Define.
11808 ($(objpfx)tst-nodelete-dlclose.out): Define.
11809
11810 2016-12-23 Florian Weimer <fweimer@redhat.com>
11811
11812 * scripts/test_printers_common.py: Log GDB output in case of
11813 Python detection failure.
11814
11815 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
11816
11817 * configure.ac: Check for python3 or python.
11818 * configure: Regenerated.
11819 * config.make.in (PYTHON): New variable.
11820 * benchtests/Makefile: Don't define PYTHON.
11821 (bench): Define target only if PYTHON was defined.
11822 * Rules: Don't define PYTHON.
11823 Define pretty printer targets only if PYTHON was defined.
11824 (tests-printers): Add to tests-unsupported if PYTHON is not
11825 found.
11826 (python-flags, python-invoke): Remove.
11827 (tests-printers-out): Use PYTHON instead of python-invoke.
11828
11829 2016-12-21 Joseph Myers <joseph@codesourcery.com>
11830
11831 [BZ #20978]
11832 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11833 Compare name == NULL, not name != NULL.
11834
11835 * manual/texinfo.tex: Update to version 2016-09-18.18 with
11836 trailing whitespace removed.
11837 * scripts/config.guess: Update to version 2016-10-02.
11838 * scripts/config.sub: Update to version 2016-11-19.
11839 * scripts/install-sh: Update to version 2016-01-11.22.
11840 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11841 * scripts/move-if-change: Update to version 2016-01-11 22:04.
11842
11843 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
11844
11845 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11846 (do_one_test) Restore original string so iteration works.
11847 * string/string-inlines.c (do_test): Create better input strings.
11848 (test_main) Reduce number of testruns.
11849 * string/string-inlines.c (__old_strsep_1c): New function.
11850 (__old_strsep_2c): Likewise.
11851 (__old_strsep_3c): Likewise.
11852 * string/strsep.c (__strsep): Remove case of small delim string.
11853 Call strcspn directly rather than strpbrk.
11854 * string/bits/string2.h (__strsep): Remove define.
11855 (__strsep_1c): Remove.
11856 (__strsep_2c): Remove.
11857 (__strsep_3c): Remove.
11858 (strsep): Remove.
11859 * sysdeps/unix/sysv/linux/internal_statvfs.c
11860 (__statvfs_getflags): Rename to __strsep.
11861
11862 2016-12-21 Florian Weimer <fweimer@redhat.com>
11863
11864 * csu/libc-tls.c (_dl_tls_setup): Remove.
11865 * elf/dl-tls.c (_dl_tls_setup): Likewise.
11866 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11867 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11868
11869 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
11870
11871 [BZ #7065]
11872 * sysdeps/x86_64/Makefile [$(subdir) = elf]
11873 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11874
11875 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
11876 Florian Weimer <fweimer@redhat.com>
11877
11878 [BZ #7065]
11879 * csu/Makefile (tests): Empty assignment and document it.
11880 (tests-static): Remove.
11881 * csu/tst-empty.c: Move to...
11882 * misc/tst-empty.c: ... here. Switch to new test driver.
11883 * csu/tst-atomic.c: Move to...
11884 * misc/tst-atomic.c: ... here. Switch to new test driver.
11885 * csu/tst-atomic-long.c: Move to...
11886 * misc/tst-atomic-long.c: ... here.
11887 * misc/Makefile (tests): Add tst-empty, tst-atomic,
11888 tst-atomic-long.
11889 (tests-static): Add tst-empty.
11890
11891 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
11892
11893 * manual/nss.texi: Change incorrect @vtable to @table.
11894 * manual/arith.texi: Convert @tables of variables to @vtables
11895 and remove unnecessary indexing.
11896 * manual/filesys.texi: Likewise.
11897 * manual/llio.texi: Likewise.
11898 * manual/memory.texi: Likewise.
11899 * manual/process.texi: Likewise.
11900 * manual/resource.texi: Likewise.
11901 * manual/search.texi: Likewise.
11902 * manual/signal.texi: Likewise.
11903 * manual/socket.texi: Likewise.
11904 * manual/stdio.texi: Likewise.
11905 * manual/sysinfo.texi: Likewise.
11906 * manual/syslog.texi: Likewise.
11907 * manual/terminal.texi: Likewise.
11908 * manual/time.texi: Likewise.
11909 * manual/users.texi: Likewise.
11910
11911 2016-12-21 Joseph Myers <joseph@codesourcery.com>
11912
11913 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11914 (roundeven): New declaration.
11915 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11916 macro.
11917 * math/Versions (roundeven): New libm symbol at version
11918 GLIBC_2.25.
11919 (roundevenf): Likewise.
11920 (roundevenl): Likewise.
11921 * math/Makefile (libm-calls): Add s_roundevenF.
11922 * math/libm-test.inc (roundeven_test_data): New array.
11923 (roundeven_test): New function.
11924 (main): Call roundeven_test.
11925 * math/test-tgmath.c (NCALLS): Increase to 134.
11926 (F(compile_test)): Call roundeven.
11927 (F(roundeven)): New function.
11928 * manual/arith.texi (Rounding Functions): Document roundeven,
11929 roundevenf and roundevenl.
11930 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11931 * include/math.h (roundeven): Use libm_hidden_proto.
11932 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11933 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11934 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11935 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11936 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11937 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11938 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11939 roundeven.
11940 (CFLAGS-nldbl-roundeven.c): New variable.
11941 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11942 * sysdeps/nacl/libm.abilist: Update.
11943 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11944 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11945 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11946 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11947 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11948 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11949 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11950 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11951 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11952 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11953 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11954 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11956 Likewise.
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11958 Likewise.
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11960 Likewise.
11961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11962 Likewise.
11963 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11964 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11969 Likewise.
11970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11971 Likewise.
11972 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11974 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11975
11976 2016-12-20 Joseph Myers <joseph@codesourcery.com>
11977
11978 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11979 preprocessor indentation inside #if.
11980
11981 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11982
11983 * math/libm-test.inc (fmt_ftostr): New function.
11984 (print_float, check_float_internal): Replace some uses of
11985 FTOSTR with uses of fmt_ftostr.
11986 (print_max_error, print_complex_max_error, print_function_ulps)
11987 (print_complex_function_ulps): Remove uses of the macros
11988 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11989 * math/test-double.h (FTOSTR): Define to strfromd.
11990 (PRINTF_EXPR): Delete.
11991 (PRINTF_XEXPR): Likewise.
11992 (PRINTF_NEXPR): Likewise.
11993 * math/test-float.h (FTOSTR): Define to strfromf.
11994 (PRINTF_EXPR): Delete.
11995 (PRINTF_XEXPR): Likewise.
11996 (PRINTF_NEXPR): Likewise.
11997 * math/test-ldouble.h (FTOSTR): Define to strfroml.
11998 (PRINTF_EXPR): Delete.
11999 (PRINTF_XEXPR): Likewise.
12000 (PRINTF_NEXPR): Likewise.
12001
12002 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12003
12004 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12005 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12006 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12007 (__lll_lock_elision): Decrement adapt_count while unlocking
12008 instead of before locking.
12009 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12010 (__lll_trylock_elision): Likewise.
12011 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12012 (__lll_unlock_elision): Likewise.
12013
12014 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12015
12016 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12017 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12018 Use __libc_tbegin_retry macro.
12019
12020 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12021
12022 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12023 Add -msoft-float.
12024 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12025 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12026 Use __libc_t* transaction macros instead of __builtin_t*.
12027 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12028 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12029
12030 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12031
12032 * sysdeps/unix/sysv/linux/s390/elision-lock.c
12033 (__lll_lock_elision): Use atomics to load / store adapt_count.
12034 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12035 (__lll_trylock_elision): Likewise.
12036
12037 2016-12-20 Florian Weimer <fweimer@redhat.com>
12038
12039 Do not require memset elimination in explicit_bzero test.
12040 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12041 (enum test_expectation): Add NO_EXPECTATIONS.
12042 (subtests): NO_EXPECTATIONS for ordinary clear.
12043 (check_test_buffer): Handle NO_EXPECTATIONS.
12044 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12045
12046 2016-12-20 Joseph Myers <joseph@codesourcery.com>
12047
12048 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12049 (fmaxmag): New declaration.
12050 (fminmag): Likewise.
12051 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12052 macro.
12053 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12054 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12055 (fmaxmagf): Likewise.
12056 (fmaxmagl): Likewise.
12057 (fminmag): Likewise.
12058 (fminmagf): Likewise.
12059 (fminmagl): Likewise.
12060 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12061 * math/s_fmaxmag_template.c: New file.
12062 * math/s_fminmag_template.c: Likewise.
12063 * math/libm-test.inc (fmaxmag_test_data): New array.
12064 (fmaxmag_test): New function.
12065 (fminmag_test_data): New array.
12066 (fminmag_test): New function.
12067 (main): Call fmaxmag_test and fminmag_test.
12068 * math/test-tgmath.c (NCALLS): Increase to 132.
12069 (F(compile_test)): Call fmaxmag and fminmag.
12070 (F(fminmag)): New function.
12071 (F(fmaxmag)): Likewise.
12072 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12073 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12074 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12075 fminmag.
12076 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12077 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12078 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12079 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12080 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12081 and fminmag.
12082 (CFLAGS-nldbl-fmaxmag.c): New variable.
12083 (CFLAGS-nldbl-fminmag.c): Likewise.
12084 * sysdeps/nacl/libm.abilist: Update.
12085 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12086 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12087 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12088 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12089 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12091 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12092 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12093 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12095 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12096 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12098 Likewise.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12100 Likewise.
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12102 Likewise.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12104 Likewise.
12105 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12106 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12107 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12108 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12109 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12111 Likewise.
12112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12113 Likewise.
12114 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12115 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12116 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12117
12118 2016-12-19 Torvald Riegel <triegel@redhat.com>
12119
12120 [BZ #20973]
12121 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12122 wake-up in robust mutexes.
12123 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12124
12125 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12126
12127 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12128 (CFLAGS-bench-fmaxf.c): New rule.
12129 (CFLAGS-bench-fminf.c): Likewise.
12130 * benchtests/fmaxf-inputs: New file.
12131 * benchtests/fminf-inputs: Likewise.
12132
12133 * benchtests/Makefile (bench-math): Add fmin and fmax.
12134 (CFLAGS-bench-fmax.c): New rule.
12135 (CFLAGS-bench-fmin.c): Likewise.
12136 * benchtests/fmax-inputs: New file.
12137 * benchtests/fmin-inputs: Likewise.
12138
12139 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12140 parenthesis.
12141 (CMDLINE_PROCESS): Define using function instead of macro.
12142 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12143 of test-skeleton.
12144 * benchtests/bench-memchr.c: Likewise.
12145 * benchtests/bench-memcmp.c: Likewise.
12146 * benchtests/bench-memcpy-large.c: Likewise.
12147 * benchtests/bench-memcpy.c: Likewise.
12148 * benchtests/bench-memmem.c: Likewise.
12149 * benchtests/bench-memmove-large.c: Likewise.
12150 * benchtests/bench-memmove.c: Likewise.
12151 * benchtests/bench-memset-large.c: Likewise.
12152 * benchtests/bench-memset.c: Likewise.
12153 * benchtests/bench-rawmemchr.c: Likewise.
12154 * benchtests/bench-strcasecmp.c: Likewise.
12155 * benchtests/bench-strcasestr.c: Likewise.
12156 * benchtests/bench-strcat.c: Likewise.
12157 * benchtests/bench-strchr.c: Likewise.
12158 * benchtests/bench-strcmp.c: Likewise.
12159 * benchtests/bench-strcpy.c: Likewise.
12160 * benchtests/bench-strcpy_chk.c: Likewise.
12161 * benchtests/bench-strlen.c: Likewise.
12162 * benchtests/bench-strncasecmp.c: Likewise.
12163 * benchtests/bench-strncmp.c: Likewise.
12164 * benchtests/bench-strncpy.c: Likewise.
12165 * benchtests/bench-strnlen.c: Likewise.
12166 * benchtests/bench-strpbrk.c: Likewise.
12167 * benchtests/bench-strrchr.c: Likewise.
12168 * benchtests/bench-strsep.c: Likewise.
12169 * benchtests/bench-strspn.c: Likewise.
12170 * benchtests/bench-strstr.c: Likewise.
12171 * benchtests/bench-strtok.c: Likewise.
12172
12173 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
12174
12175 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12176 stepping identification.
12177 (init_cpu_features): Add handle of Haswell.
12178
12179 2016-11-25 Jim Meyering <meyering@fb.com>
12180
12181 [BZ #20386]
12182 Let gcc detect assert(a = 1) errors.
12183 * assert/assert.h (assert): Rewrite, retaining the old definintion
12184 when required, but otherwise putting the expression as-is in an "if"
12185 expression (hence, with no added parentheses) within a statement
12186 expression.
12187
12188 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
12189
12190 * benchtests/Makefile (binaries-benchset): Depend on libsupport
12191 DSO.
12192
12193 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
12194
12195 * Rules (python-flags, python-invoke): New.
12196 ($(test-printers-out)): Use $(python-flags).
12197
12198 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12199
12200 * manual/arith.texi (Math Error Reporting): Document that sNaN
12201 arguments are not considered domain errors.
12202
12203 2016-12-16 Zack Weinberg <zackw@panix.com>
12204 Florian Weimer <fweimer@redhat.com>
12205 Nick Mathewson <nickm@torproject.org>
12206
12207 * string/explicit_bzero.c: New routine.
12208 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12209 * string/Makefile (routines, strop-tests, tests): Add them.
12210 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12211 * string/string.h [__USE_MISC]: Declare explicit_bzero.
12212
12213 * debug/explicit_bzero_chk.c: New routine.
12214 * debug/Makefile (routines): Add it.
12215 * debug/tst-chk1.c: Test fortification of explicit_bzero.
12216 * string/bits/string3.h: Fortify explicit_bzero.
12217
12218 * manual/string.texi: Document explicit_bzero.
12219 * NEWS: Mention addition of explicit_bzero.
12220
12221 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12222 data before returning, using explicit_bzero.
12223 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12224 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12225 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12226
12227 * include/string.h: Redirect internal uses of explicit_bzero
12228 to __explicit_bzero_chk[_internal].
12229 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12230 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12231 * sysdeps/arm/nacl/libc.abilist
12232 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12233 * sysdeps/unix/sysv/linux/alpha/libc.abilist
12234 * sysdeps/unix/sysv/linux/arm/libc.abilist
12235 * sysdeps/unix/sysv/linux/hppa/libc.abilist
12236 * sysdeps/unix/sysv/linux/i386/libc.abilist
12237 * sysdeps/unix/sysv/linux/ia64/libc.abilist
12238 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12239 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12241 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12242 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12243 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12244 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12245 * sysdeps/unix/sysv/linux/nios2/libc.abilist
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12250 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12251 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12252 * sysdeps/unix/sysv/linux/sh/libc.abilist
12253 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12257 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12258 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12259 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12260 Add entries for explicit_bzero and __explicit_bzero_chk.
12261
12262 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12263
12264 * math/fenv.h
12265 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12266 (FE_SNANS_ALWAYS_SIGNAL): New macro.
12267 * math/test-fe-snans-always-signal.c: New file.
12268 * math/Makefile (tests): Add test-fe-snans-always-signal.
12269 (CFLAGS-test-fe-snans-always-signal.c): New variable.
12270 * manual/arith.texi (Infinity and NaN): Document
12271 FE_SNANS_ALWAYS_SIGNAL.
12272
12273 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12274
12275 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12276 bracket.
12277
12278 2016-12-16 Joseph Myers <joseph@codesourcery.com>
12279
12280 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12281 before calling execv.
12282
12283 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12284
12285 [BZ #20971]
12286 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12287 overflow in pointer addition.
12288 * string/test-memchr.c (do_test): Add an argument to pass as
12289 the size on memchr.
12290 (test_main): Add check for SIZE_MAX.
12291
12292 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12293
12294 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12295 (libm-calls): Add w_scalblnF.
12296 * math/w_scalbln.c: Remove.
12297 * math/w_scalblnf.c: Likewise.
12298 * math/w_scalblnl.c: Likewise.
12299 * math/w_scalbln_template.c: New file with type-generic
12300 implementation based on math/w_scalbln.c.
12301 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12302 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12303
12304 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12305
12306 [BZ #20947]
12307 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12308 either is a signaling NaN.
12309 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
12310 follow fmaxl more closely.
12311 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12312 when either is a signaling NaN.
12313 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12314 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12315 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12316 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12317 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12318 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12319 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12320 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12321 (fmin_test_data): Likewise.
12322
12323 2016-12-15 Andreas Schwab <schwab@suse.de>
12324
12325 * support/support_test_main.c (support_test_main): Don't shadow
12326 file-local variable test_pid.
12327
12328 2016-12-15 Joseph Myers <joseph@codesourcery.com>
12329
12330 [BZ #20947]
12331 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12332 either is a signaling NaN.
12333 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12334
12335 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12336
12337 [BZ #20947]
12338 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12339 when either is a signaling NaN.
12340 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12341
12342 * bits/long-double.h: New file.
12343 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12344 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12345 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12346 * sysdeps/mips/bits/long-double.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12348 * math/Makefile (headers): Add bits/long-double.h.
12349 * misc/sys/cdefs.h: Include <bits/long-double.h>.
12350 * stdlib/strtold.c: Include <bits/long-double.h> instead of
12351 <bits/wordsize.h>.
12352 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12353 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12354 * math/math.h: Do not include <bits/mathdef.h>.
12355 * sysdeps/aarch64/bits/mathdef.h: Remove file.
12356 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12357 inclusion.
12358 * sysdeps/ia64/bits/mathdef.h: Remove file.
12359 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12360 * sysdeps/mips/bits/mathdef.h: Likewise.
12361 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12362 * sysdeps/s390/bits/mathdef.h: Likewise.
12363 * sysdeps/sparc/bits/mathdef.h: Likewise.
12364 * sysdeps/x86/bits/mathdef.h: Likewise.
12365 * sysdeps/s390/s390-32/bits/wordsize.h
12366 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12367 conditional code.
12368 * sysdeps/s390/s390-64/bits/wordsize.h
12369 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12370 Likewise.
12371 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12372 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12373 Likewise.
12374 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12375 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12376 Likewise.
12377 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12378 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12379 Likewise.
12380
12381 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12382 <linux/falloc.h>.
12383 (FALLOC_FL_KEEP_SIZE): Remove.
12384 (FALLOC_FL_PUNCH_HOLE): Likewise.
12385 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12386 (FALLOC_FL_ZERO_RANGE): Likewise.
12387
12388 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12389
12390 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12391
12392 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12393
12394 * sysdeps/unix/sysv/linux/renameat.c: New file.
12395 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12396
12397 * sysdeps/unix/sysv/linux/rename.c: New file.
12398 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12399
12400 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12401
12402 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12403 * string/strtok.c (strtok): Change to tailcall __strtok_r.
12404 * string/strtok_r.c (__strtok_r): Optimize for performance.
12405 * string/string-inlines.c (__old_strtok_r_1c): New function.
12406 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12407
12408 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12409
12410 * math/Makefile (gen-libm-calls): Add w_log1pF.
12411 (libm-calls): Remove w_log1pF.
12412 * math/w_log1p.c: Remove.
12413 * math/w_log1pf.c: Likewise.
12414 * math/w_log1pl.c: Likewise.
12415 * math/w_log1p_template.c: New file with type-generic
12416 implementation based on math/w_log1p.c.
12417 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12418 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12419
12420 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
12421
12422 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12423
12424 2016-12-14 Joseph Myers <joseph@codesourcery.com>
12425
12426 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12427 kernel version to 4.9.
12428
12429 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
12430
12431 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12432 ($(inst_libdir)/libm.a): Fix rule to create the target only.
12433
12434 2016-12-13 Andreas Schwab <schwab@suse.de>
12435
12436 * sysdeps/powerpc/dl-procinfo.c: Don't define
12437 _dl_powerpc_platforms.
12438 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12439 constants instead of referencing _dl_powerpc_platforms.
12440 (_dl_platform_string): Remove.
12441
12442 2016-12-13 Florian Weimer <fweimer@redhat.com>
12443
12444 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12445
12446 2016-12-13 Florian Weimer <fweimer@redhat.com>
12447
12448 * Rules (binaries-shared-tests, binaries-pie-tests)
12449 (binaries-static-tests): Link with $(link-extra-libs-tests).
12450 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12451 Remove $(link-extra-libs-tests).
12452
12453 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12454
12455 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12456 (sysdep_routines): Add strncmp_power9.
12457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12458 (strncmp): Add __strncmp_power9 to list of strncmp functions.
12459 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12461 (strncmp): Add __strncmp_power9 to ifunc list.
12462 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12463
12464 2016-12-12 Florian Weimer <fweimer@redhat.com>
12465
12466 [BZ #17252]
12467 Add getentropy, getrandom.
12468 * stdlib/sys/random.h: New file.
12469 (headers): Add it.
12470 * stdlib/Makefile (routines): Add getentropy, getrandom.
12471 (tests): Add tst-getrandom.
12472 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12473 * stdlib/getentropy.c: New file.
12474 * stdlib/getrandom.c: Likewise.
12475 * stdlib/tst-getrandom.c: Likewise.
12476 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12477 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12478 * manual/crypt.texi (Unpredictable Bytes): New section.
12479 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12480 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12481 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12482 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12483 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12484 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12485 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12486 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12487 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12488 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12489 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12496 Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12498 Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12503 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12511
12512 2016-12-10 Florian Weimer <fweimer@redhat.com>
12513
12514 [BZ #20956]
12515 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12516 as additional compiler barriers.
12517 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12518 (fn2, do_test): Declare with external linkage.
12519 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12520 (do_test): Declare with external linkage.
12521 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12522 (do_test): Declare with external linkage.
12523 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12524 (do_test): Declare with external linkage.
12525
12526 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
12527
12528 * support/support_test_main.c (support_test_main): Use correct
12529 timeout.
12530
12531 2016-12-09 Carlos O'Donell <carlos@redhat.com>
12532 Florian Weimer <fweimer@redhat.com>
12533
12534 [BZ #16421]
12535 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12536 and __u6_addr32 members.
12537 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12538 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12539 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12540 Use __u6_addr32.
12541 * inet/tst-checks.c: Use <support/test-driver.c>
12542 * inet/tst-checks-posix.c: New file.
12543 * inet/Makefile (tests): Add it.
12544 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12545
12546 2016-12-09 Florian Weimer <fweimer@redhat.com>
12547
12548 New subdirectory support for build and test infrastructure.
12549 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
12550 setting install-lib.
12551 * Makeconfig (link-extra-libs-tests): Define.
12552 (+link-pie-tests, +link-static-tests, +link-tests): Use
12553 link-extra-libs-tests.
12554 (rpath-dirs, all-subdirs): Add support.
12555 (built-modules): Add libsupport.
12556 (libsupport): Define.
12557 * support: New directory.
12558 * support/Makefile: New file.
12559 * support/check.c: Likewise.
12560 * support/check.h: Likewise.
12561 * support/delayed_exit.c: Likewise.
12562 * support/ignore_stderr.c: Likewise.
12563 * support/oom_error.c: Likewise.
12564 * support/set_fortify_handler.c: Likewise.
12565 * support/support.h: Likewise.
12566 * support/temp_file-internal.h: Likewise.
12567 * support/temp_file.c: Likewise.
12568 * support/test-driver.c: Likewise.
12569 * support/test-driver.h: Likewise.
12570 * support/test_main.c: Likewise.
12571 * support/write_message.c: Likewise.
12572 * support/xasprintf.c: Likewise.
12573 * support/xcalloc.c: Likewise.
12574 * support/xmalloc.c: Likewise.
12575 * support/xpthread_barrier_destroy.c: Likewise.
12576 * support/xpthread_barrier_init.c: Likewise.
12577 * support/xpthread_barrier_wait.c: Likewise.
12578 * support/xpthread_cancel.c: Likewise.
12579 * support/xpthread_check_return.c: Likewise.
12580 * support/xpthread_cond_wait.c: Likewise.
12581 * support/xpthread_create.c: Likewise.
12582 * support/xpthread_detach.c: Likewise.
12583 * support/xpthread_join.c: Likewise.
12584 * support/xpthread_mutex_lock.c: Likewise.
12585 * support/xpthread_mutex_unlock.c: Likewise.
12586 * support/xpthread_sigmask.c: Likewise.
12587 * support/xpthread_spin_lock.c: Likewise.
12588 * support/xpthread_spin_unlock.c: Likewise.
12589 * support/xrealloc.c: Likewise.
12590 * support/xsignal.h: Likewise.
12591 * support/xthread.h: Likewise.
12592 * support_tempfile.h: Likewise.
12593 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12594 (TEST_DATA_LIMIT): Remove unused macro.
12595 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
12596 <support/check.h>.
12597 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12598 (ignore_stderr, set_fortify_handler): Remove. Now in
12599 <support/support.h>.
12600 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
12601 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12602 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12603 (xpthread_join): Remove. Now in <support/xthread.h>.
12604 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12605 Introduce legacy wrappers.
12606 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12607 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12608 (write_message): Remove.
12609 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12610 test-skeleton.c.
12611 * io/test-open-tmpfile: Likewise.
12612 * io/tst-posix_fallocate-common.c: Likewise.
12613 * libio/tst-fseek.c: Likewise.
12614 * malloc/tst-malloc-backtrace.c: Likewise.
12615 * malloc/tst-malloc-fork-deadlock.c: Likewise.
12616 * malloc/tst-malloc-thread-exit.c: Likewise.
12617 * nptl/tst-cancel7.c: Likewise.
12618 * nptl/tst-cleanup0.c: Likewise.
12619 * posix/tst-posix_fadvise-common.c: Likewise.
12620 * rt/tst-shm.c: Likewise.
12621 * time/bug-getdate1.c: Likewise.
12622 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12623 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12624 * elf/Makefile (tst-piemod1.so): Link against libsupport.
12625
12626 2016-12-08 Joseph Myers <joseph@codesourcery.com>
12627
12628 * Rules [$(run-built-tests) != no] (tests-expected): Add
12629 $(tests-printers).
12630 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12631
12632 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
12633
12634 [BZ #20539]
12635 * math/Makefile (install-lib-ldscripts): Add libm.a.
12636 (install_subdir): Remove.
12637 (install-others): Add.
12638 ($(inst_libdir)/libm.a): Add rule for installation as
12639 linker script.
12640 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12641
12642 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
12643
12644 * INSTALL: Regenerated.
12645 * Makeconfig: Add comments and whitespace to make the control flow
12646 clearer.
12647 (+link-printers-tests, +link-pie-printers-tests,
12648 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12649 built-rtld-LDFLAGS, link-libc-rpath,
12650 link-libc-tests-after-rpath-link,
12651 link-libc-printers-tests): New.
12652 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12653 link-libc-tests): Use the new variables as required.
12654 * Makerules ($(py-const)): New rule.
12655 generated: Add $(py-const).
12656 * README.pretty-printers: New file.
12657 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
12658 (others): Depend on $(py-const).
12659 (tests): Depend on $(tests-printers-programs) or
12660 $(tests-printers-out),
12661 as required. Pass $(tests-printers) to merge-test-results.sh.
12662 * manual/install.texi: Add requirements for testing the pretty
12663 printers.
12664 * nptl/Makefile (gen-py-const-headers, pretty-printers,
12665 tests-printers, CFLAGS-test-mutexattr-printers.c
12666 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
12667 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
12668 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
12669 * nptl/nptl-printers.py: New file.
12670 * nptl/nptl_lock_constants.pysym: Likewise.
12671 * nptl/test-cond-printers.c: Likewise.
12672 * nptl/test-cond-printers.py: Likewise.
12673 * nptl/test-condattr-printers.c: Likewise.
12674 * nptl/test-condattr-printers.py: Likewise.
12675 * nptl/test-mutex-printers.c: Likewise.
12676 * nptl/test-mutex-printers.py: Likewise.
12677 * nptl/test-mutexattr-printers.c: Likewise.
12678 * nptl/test-mutexattr-printers.py: Likewise.
12679 * nptl/test-rwlock-printers.c: Likewise.
12680 * nptl/test-rwlock-printers.py: Likewise.
12681 * nptl/test-rwlockattr-printers.c: Likewise.
12682 * nptl/test-rwlockattr-printers.py: Likewise.
12683 * scripts/gen-py-const.awk: Likewise.
12684 * scripts/test_printers_common.py: Likewise.
12685 * scripts/test_printers_exceptions.py: Likewise.
12686
12687 2016-12-07 Joseph Myers <joseph@codesourcery.com>
12688
12689 * scripts/build-many-glibcs.py (Context.__init__): Take strip
12690 argument.
12691 (Glibc.build_glibc): Strip installed shared libraries if
12692 requested.
12693 (get_parser): Add --strip option.
12694 (main): Update Context call.
12695
12696 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12697 Dominik Vogt <vogt@linux.vnet.ibm.com>
12698
12699 [BZ #20847]
12700 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12701 array bounds for else branch.
12702 (__execvpe): Style fixes.
12703 * posix/tst-vfork3.c (run_script): New function.
12704 (create_script): Likewise.
12705 (do_test): Use run_script internal function.
12706 (do_prepare): Use create_script internal function.
12707
12708 2016-12-07 Andreas Schwab <schwab@suse.de>
12709
12710 * sysdeps/unix/sysv/linux/x86/elision-conf.h
12711 (__elision_available): Don't declare.
12712 * sysdeps/unix/sysv/linux/x86/elision-conf.c
12713 (__elision_available): Don't define.
12714 (elision_init): Don't set __elision_available.
12715
12716 2016-12-07 Joseph Myers <joseph@codesourcery.com>
12717
12718 [BZ #20940]
12719 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
12720 return Inf for arguments Inf and sNaN.
12721 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12722 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12723 Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12725 Likewise.
12726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12727 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
12728 for arguments Inf and sNaN. When returning a NaN, compute it by
12729 arithmetic on the arguments.
12730 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
12731 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
12732 arguments.
12733
12734 2016-12-06 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #20916]
12737 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
12738 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
12739 to compute result.
12740 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12741 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
12742
12743 2016-12-05 Torvald Riegel <triegel@redhat.com>
12744
12745 * include/atomic.h (__atomic_check_size_ls): New.
12746 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
12747 atomic_store_release): Use it.
12748 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
12749 (elision_adapt, ELIDE_LOCK): Use atomics.
12750 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
12751 atomics and improve code comments.
12752 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
12753 (__lll_trylock_elision): Likewise.
12754
12755 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12756
12757 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
12758 programs.
12759
12760 2016-12-02 Joseph Myers <joseph@codesourcery.com>
12761
12762 [BZ #20916]
12763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
12764 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
12765 arguments to compute result.
12766 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
12767 1 for arguments (sNaN, 0) or (1, sNaN).
12768 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12770
12771 [BZ #20919]
12772 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
12773 NaN first argument when raised to power 0.
12774 * math/w_pow.c (__pow): Do not check for NaN or zero results from
12775 raising to power zero.
12776 * math/w_powf.c (__powf): Likewise.
12777 * math/w_powl.c (__powl): Likewise.
12778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12779 pow (0, 0) or pow (NaN, 0).
12780
12781 2016-12-02 Carlos O'Donell <carlos@redhat.com>
12782
12783 [BZ #20918]
12784 * configure.ac: Test for static NSS cryptographic libraries and set
12785 libc_cv_static_nss_crypt.
12786 * configure: Regenerate.
12787 * config.make.in (static-nss-crypt): Define.
12788 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12789 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12790 (CFLAGS-tst-linkall-static.c): Define.
12791 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12792 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12793 ($(objpfx)tst-linkall-static): Define.
12794 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12795 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12796
12797 2016-12-02 Florian Weimer <fweimer@redhat.com>
12798
12799 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12800 (one-hundred, tst-tls-many-dynamic-modules): Define.
12801 (modules-names): Add $(tst-tls-many-dynamic-modules).
12802 (tst-tls-manydynamic%mod.os): Build with special preprocessor
12803 macros.
12804 (tst-tls-manydynamic): Link against libdl, libpthread.
12805 (tst-tls-manydynamic.out): The test needs the test modules at run
12806 time.
12807 * elf/tst-tls-manydynamic.c: New file.
12808 * elf/tst-tls-manydynamic.h: Likewise.
12809 * elf/tst-tls-manydynamicmod.c: Likewise.
12810
12811 2016-12-02 Florian Weimer <fweimer@redhat.com>
12812
12813 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12814 (TLS_DTV_UNALLOCATED): Add.
12815 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12816 offsets.
12817
12818 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
12819
12820 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12821
12822 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
12823
12824 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12825 Add -fno-optimize-sibling-calls.
12826
12827 2016-12-02 Joseph Myers <joseph@codesourcery.com>
12828
12829 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12830 New declaration.
12831 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12832 macro.
12833 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12834 New macro.
12835 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12836 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12837 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12838 (llogbf): Likewise.
12839 (llogbl): Likewise.
12840 * math/Makefile (gen-libm-calls): Add w_llogbF.
12841 (tests): Add test-fp-llogb-constants.
12842 * math/w_llogb_template.c: New file. Based on
12843 math/w_ilogb_template.c.
12844 * math/libm-test.inc (llogb_test_data): New array.
12845 (llogb_test): New function.
12846 (main): Call llogb_test.
12847 * math/test-fp-llogb-constants.c: New file. Based on
12848 math/test-fp-ilogb-constants.c.
12849 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12850 (do_test): Call check_return_llogb.
12851 * math/test-tgmath.c (NCALLS): Increase to 126.
12852 (F(compile_test)): Call llogb.
12853 (F(llogb)): New function.
12854 * manual/math.texi (Exponents and Logarithms): Document llogb,
12855 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12856 * manual/libm-err-tab.pl (@all_functions): Add llogb.
12857 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12858 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12860 (CFLAGS-nldbl-llogb.c): New variable.
12861 * sysdeps/nacl/libm.abilist: Update.
12862 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12863 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12864 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12865 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12866 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12867 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12868 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12869 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12870 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12871 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12872 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12873 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12875 Likewise.
12876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12877 Likewise.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12879 Likewise.
12880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12881 Likewise.
12882 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12888 Likewise.
12889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12890 Likewise.
12891 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12892 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12894
12895 2016-12-01 Joseph Myers <joseph@codesourcery.com>
12896
12897 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12898 _Float128 instead of long double.
12899 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12900
12901 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12902 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12903 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12904 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12905 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12906 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12907 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12908 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12909 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12910 Likewise.
12911
12912 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12913
12914 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12915 Remove redirection to __strrchr_ppc.
12916
12917 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12918
12919 * sysdeps/powerpc/powerpc64/multiarch/Makefile
12920 (sysdep_routines): Add strcmp_power9.
12921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12922 (strcmp): Add __strcmp_power9 to list of strcmp functions.
12923 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12924 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12925 (strcmp): Add __strcmp_power9 to ifunc list.
12926 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12927
12928 2016-12-01 Joseph Myers <joseph@codesourcery.com>
12929
12930 * bits/fp-logb.h: New file.
12931 * sysdeps/ia64/bits/fp-logb.h: Likewise.
12932 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12933 * sysdeps/x86/bits/fp-logb.h: Likewise.
12934 * math/Makefile (headers): Add bits/fp-logb.h.
12935 * math/math.h: Include <bits/fp-logb.h>.
12936 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12937 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12938 * bits/mathdef.h (FP_ILOGB0): Remove.
12939 (FP_ILOGBNAN): Likewise.
12940 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12941 (FP_ILOGBNAN): Likewise.
12942 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12943 (FP_ILOGBNAN): Likewise.
12944 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12945 (FP_ILOGBNAN): Likewise.
12946 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12947 (FP_ILOGBNAN): Likewise.
12948 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12949 (FP_ILOGBNAN): Likewise.
12950 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12951 (FP_ILOGBNAN): Likewise.
12952 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12953 (FP_ILOGBNAN): Likewise.
12954 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12955 (FP_ILOGBNAN): Likewise.
12956 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12957 (FP_ILOGBNAN): Likewise.
12958
12959 * scripts/build-many-glibcs.py: Add bot to usage message. Import
12960 time module.
12961 (Context.__init__): Initialize self.logsdir_old.
12962 (Context.run_builds): Handle bot action.
12963 (Context.bot_cycle): Copy logs directory before running builds.
12964 (Context.bot_run_self): Take argument for whether to check
12965 subprocess result. Flush stdout before running subprocess.
12966 (Context.bot): New function.
12967 (get_parser): Allow bot action.
12968
12969 2016-11-30 Joseph Myers <joseph@codesourcery.com>
12970
12971 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12972 Import email.mime.text, email.utils and smtplib modules.
12973 (Context.__init__): Initialize self.bot_config_json.
12974 (Context.run_builds): Handle bot-cycle action.
12975 (Context.load_bot_config_json): New function.
12976 (Context.part_build_old): Likewise.
12977 (Context.bot_cycle): Likewise.
12978 (Context.bot_build_mail): Likewise.
12979 (Context.bot_run_self): Likewise.
12980 (get_parser): Allow bot-cycle action.
12981
12982 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12983
12984 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12985 Remove redirection to __stpcpy_ppc.
12986
12987 2016-11-30 Florian Weimer <fweimer@redhat.com>
12988
12989 Remove __libc_memalign from ld.so because it is unused.
12990 * elf/dl-minimal.c: Update comment on the malloc implementation.
12991 (malloc): Renamed from __libc_memalign, replacing the original
12992 malloc implementation. Replace the align parameter with
12993 MALLOC_ALIGNMENT.
12994 * elf/Versions (ld): Update comment and remove __libc_memalign.
12995 * sysdeps/nacl/ld.abilist: Likewise.
12996 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12997 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12998 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12999 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13000 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13001 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13002 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13003 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13004 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13005 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13006 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13007 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13008 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13012 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13013 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13014 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13015 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13016 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13019 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13020 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13021 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13022 * sysdeps/generic/localplt.data (ld.so): Likewise.
13023 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13024 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13025 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13026 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13027 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13028 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13029 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13030 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13031 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13033 (ld.so): Likewise.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13035 (ld.so): Likewise.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13037 Likewise.
13038 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13039 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13040 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13041 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13042 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13043
13044 2016-11-30 Florian Weimer <fweimer@redhat.com>
13045
13046 [BZ #16628]
13047 Implement _dl_catch_error, _dl_signal_error in libc.so.
13048 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13049 (catch_hook): Define as thread-local or regular variable,
13050 depending on DL_ERROR_BOOTSTRAP.
13051 (CATCH_HOOK): Remove.
13052 (dl_signal_error, _dl_catch_error): Use
13053 catch_hook. Add hidden definition for libc.
13054 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
13055 for DL_ERROR_BOOTSTRAP only.
13056 * elf/dl-error.c: New file.
13057 * elf/dl-error-minimal.c: Likewise.
13058 * elf/tst-latepthread.c: Likewise.
13059 * elf/tst-latepthreadmod.c: Likewise.
13060 * elf/Makefile (routines): Add dl-error.
13061 (dl-routines): Remove dl-error.
13062 (rtld-routines): Add dl-error-minimal.
13063 [build-shared] (tests): Add tst-latepthread.
13064 (module-names): Add tst-latepthreadmod.
13065 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13066 symbol.
13067 (tst-latepthreadmod.so): Link against libpthread.
13068 (tst-latepthread): Link against libdbl.
13069 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13070 _dl_catch_error.
13071 [ld] (GLIBC_PRIVATE): Likewise.
13072 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13073 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13074 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13075 directly.
13076 * elf/dl-tsd.c: Remove file.
13077 * elf/rtld.c (_rtld_global_ro): Remove initializers for
13078 _dl_catch_error, _dl_signal_error.
13079 (_dl_initial_error_catch_tsd): Remove definition.
13080 (do_preload): Remove initialization of dl_error_catch_tsd.
13081 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13082 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13083 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13084 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13085 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13086 set dl_error_catch_tsd.
13087 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13088 _dl_error_catch_tsd member.
13089 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13090 members.
13091 (_dl_initial_error_catch_tsd): Remove declaration.
13092 (_dl_dprintf): Provide definition for use outside of ld.so.
13093 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13094 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
13095 prototype for libc.
13096 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13097 _dl_catch_error.
13098 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13099 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13100 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13101 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13102 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13103 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13104 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13105 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13106 Likewise.
13107 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13109 (ld.so): Likewise.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13111 (ld.so): Likewise.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13113 Likewise.
13114 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13115 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13116 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13117 Likewise.
13118 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13119 Likewise.
13120 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13121
13122 2016-11-30 Florian Weimer <fweimer@redhat.com>
13123
13124 [BZ #4099]
13125 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13126 _IO_BUFSIZ (8192).
13127
13128 2016-11-30 Carlos O'Donell <carlos@redhat.com>
13129
13130 * PROJECTS: Remove file.
13131
13132 2016-11-29 Florian Weimer <fweimer@redhat.com>
13133
13134 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13135
13136 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
13137 Steve Ellcey <sellcey@caviumnetworks.com>
13138
13139 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13140 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13141 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13142 fxstatat.
13143 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13144 lxstat.
13145 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13146 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13147 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13148 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13149 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13150 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13151 __xstat.
13152
13153 2016-11-29 Florian Weimer <fweimer@redhat.com>
13154
13155 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13156 Define.
13157 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13158 definition.
13159
13160 2016-11-29 Florian Weimer <fweimer@redhat.com>
13161
13162 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13163 version and turn into strong alias. Remove compat symbol.
13164
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13166 (__longjmp): Remove.
13167
13168 2016-11-29 Joseph Myers <joseph@codesourcery.com>
13169
13170 * bits/fp-fast.h: New file.
13171 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13172 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13173 * math/Makefile (headers): Add bits/fp-fast.h.
13174 * math/math.h: Include <bits/fp-fast.h>.
13175 * bits/mathdef.h (FP_FAST_FMA): Remove.
13176 (FP_FAST_FMAF): Likewise.
13177 (FP_FAST_FMAL): Likewise.
13178 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13179 (FP_FAST_FMAF): Likewise.
13180 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13181 (FP_FAST_FMAF): Likewise.
13182 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13183 (FP_FAST_FMAF): Likewise.
13184 (FP_FAST_FMAL): Likewise.
13185 * sysdeps/arm/bits/mathdef.h: Remove file.
13186 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13187 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13188 * sysdeps/tile/bits/mathdef.h: Likewise.
13189
13190 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13191
13192 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
13193 * math/w_ilogb.c: Remove.
13194 * math/w_ilogbf.c: Likewise.
13195 * math/w_ilogbl.c: Likewise.
13196 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13197 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13198 * math/Makefile (gen-libm-calls): Add w_ilogbF.
13199 (libm-calls): Remove w_ilogbF.
13200 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13201 (LDOUBLE_ilogbl_libm_version): New macro.
13202
13203 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13204
13205 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13206 [!__STRICT_ANSI__ && !__cplusplus].
13207
13208 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
13209
13210 [BZ #20750]
13211 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13212 of PIC.
13213
13214 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
13215 Yury Norov <ynorov@caviumnetworks.com>
13216 Steve Ellcey <sellcey@caviumnetworks.com>
13217
13218 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13219 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13220 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13221 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13222 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13223 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13224 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13225 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13226 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13227 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13228 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13229 to get correct reg name for ILP32.
13230 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13231 (RELA_SIZE): New Macro.
13232 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13233 to support ILP32.
13234 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13235 cast for ILP32 mode.
13236 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13237 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13238 * sysdeps/aarch64/memset.S (__memset): Ditto.
13239 * sysdeps/aarch64/strchr.S (strchr): Ditto.
13240 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13241 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13242 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13243 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13244 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13245 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13246 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13247 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13248 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13249 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13250 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13251 change PTR_MANGLE call to use register numbers instead of names.
13252 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13253 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13254 ILP32 mode, change PTR_MANGLE calls to use register numbers.
13255 * sysdeps/aarch64/start.S (_start): Ditto.
13256 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13257 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13258 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13259 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13260 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13261 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13262 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13263 Make defined values dependent on __ILP32__.
13264 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13265 (sem_t): Change __align type.
13266 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13267 PTR_SIZE): New Macros.
13268 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13269 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13270 Set when in ILP32 mode.
13271 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13272 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13273 Set elf flags for ILP32.
13274 (add_system_dir): Set ILP32 library directories.
13275 * sysdeps/unix/sysv/linux/aarch64/init-first.c
13276 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13277 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13279 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13280 New Macros.
13281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13282
13283 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
13284
13285 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13286 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13287 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13288
13289 2016-11-28 Joseph Myers <joseph@codesourcery.com>
13290
13291 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13292 <asm/cachectl.h>.
13293
13294 2016-11-27 Zack Weinberg <zackw@panix.com>
13295
13296 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13297 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13298
13299 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13300
13301 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13302 error_t to fix usage in C++ programs.
13303
13304 2016-11-26 Joseph Myers <joseph@codesourcery.com>
13305
13306 * scripts/build-many-glibcs.py: Import datetime module.
13307 (Context.__init__): Load JSON build state. Initialize list of
13308 status logs.
13309 (Context.run_builds): Update saved build state.
13310 (Context.add_makefile_cmdlist): Update list of status logs.
13311 (Context.load_build_state_json): New function.
13312 (Context.store_build_state_json): Likewise.
13313 (Context.clear_last_build_state): Likewise.
13314 (Context.update_build_state): Likewise.
13315 (CommandList.status_logs): Likewise.
13316
13317 2016-11-25 Joseph Myers <joseph@codesourcery.com>
13318
13319 * scripts/build-many-glibcs.py (Context.__init__): Save text of
13320 script being executed.
13321 (Context.get_script_text): New function.
13322 (Context.exec_self): Likewise.
13323 (Context.checkout): Re-exec script if changed by checkout process.
13324
13325 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13326
13327 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13328 (setpayloadsig): New declaration.
13329 * math/Versions (setpayloadsig): New libm symbol at version
13330 GLIBC_2.25.
13331 (setpayloadsigf): Likewise.
13332 (setpayloadsigl): Likewise.
13333 * math/Makefile (libm-calls): Add s_setpayloadsigF.
13334 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13335 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13336 (setpayloadsig_test_data): New array.
13337 (setpayloadsig_test): New function.
13338 (main): Call setpayloadsig_test.
13339 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13340 setpayloadsigf and setpayloadsigl.
13341 * manual/libm-err-tab.pl: Update comment on interfaces without
13342 ulps tabulated.
13343 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13344 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13349 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13350 setpayloadsig.
13351 (CFLAGS-nldbl-setpayloadsig.c): New variable.
13352 * sysdeps/nacl/libm.abilist: Update.
13353 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13354 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13355 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13356 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13357 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13358 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13359 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13360 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13361 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13362 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13363 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13364 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13366 Likewise.
13367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13368 Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13370 Likewise.
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13372 Likewise.
13373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13374 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13375 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13376 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13377 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13379 Likewise.
13380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13381 Likewise.
13382 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13384 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13385
13386 * scripts/build-many-glibcs.py: Import json module.
13387 (Context.__init__): Take replace_sources argument. Load
13388 versions.json.
13389 (Context.load_versions_json): New function.
13390 (Context.store_json): Likewise.
13391 (Context.store_versions_json): Likewise.
13392 (Context.set_component_version): Likewise.
13393 (Context.checkout): Update versions.json. Check for and handle
13394 changes of version. Prefer previously explicitly specified
13395 version to default version.
13396 (Context.checkout_vcs): Return a revision identifier.
13397 (Context.git_checkout): Likewise.
13398 (Context.gcc_checkout): Likewise.
13399 (get_parser): Add --replace-sources option.
13400 (main): Pass replace_sources argument to Context call.
13401
13402 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13403
13404 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13405 * nptl/allocatestack.c (allocate_stack): Likewise.
13406 (__reclaim_stacks): Likewise.
13407 (setxid_signal_thread): Obtain pid through syscall.
13408 * nptl/nptl-init.c (sigcancel_handler): Likewise.
13409 (sighandle_setxid): Likewise.
13410 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13411 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13412 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13413 Likewise.
13414 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13415 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13416 comment.
13417 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13418 * nptl/descr.h (struct pthread): Change comment about pid value.
13419 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13420 pid assert.
13421 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13422 Do not set pid value.
13423 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13424 pid cache check.
13425 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13426 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13427 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13428 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13429 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13430 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13431 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13432 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13433 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13434 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13435 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13436 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13437 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13438 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13439 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13440 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13441 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13442 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13443 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13444 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13445 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13446 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13447 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13448 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13449 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13452 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13453 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13454 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13455 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13456 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13457 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13458 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13459 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13460 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13461 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13462 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13463 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13464 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13465 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13466 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13467 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13470 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13471 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13472 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13473 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13474 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13475 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13476 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13477 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13478 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13479 struct access.
13480 (clone_test): Remove function.
13481 (do_test): Rewrite to take in consideration pid is not cached anymore.
13482
13483 2016-11-24 Joseph Myers <joseph@codesourcery.com>
13484
13485 * bits/flt-eval-method.h: New file.
13486 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13487 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13488 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13489 * math/Makefile (headers): Add bits/flt-eval-method.h.
13490 * math/math.h: Include <bits/flt-eval-method.h>.
13491 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13492 [__USE_ISOC99] (double_t): Likewise.
13493 * bits/mathdef.h (float_t): Remove.
13494 (double_t): Likewise.
13495 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13496 (double_t): Likewise.
13497 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13498 (double_t): Likewise.
13499 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13500 (double_t): Likewise.
13501 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13502 (double_t): Likewise.
13503 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13504 (double_t): Likewise.
13505 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13506 (double_t): Likewise.
13507 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13508 (double_t): Likewise.
13509 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13510 (double_t): Likewise.
13511 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13512 (double_t): Likewise.
13513 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13514 (double_t): Likewise.
13515 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13516 (double_t): Likewise.
13517 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13518 (double_t): Likewise.
13519 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13520 (double_t): Likewise.
13521
13522 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
13523
13524 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13525 instead of PIC.
13526
13527 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13528
13529 [BZ #20859]
13530 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13531 (-0x7fffffff) instead of 0x80000001.
13532 * math/test-fp-ilogb-constants.c: New file.
13533 * math/Makefile (tests): Add test-fp-ilogb-constants.
13534
13535 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
13536
13537 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13538 (_init): Use it in place of hardcoded R_MIPS_JALR.
13539 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13540 (_init): Use it in place of hardcoded R_MIPS_JALR.
13541 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13542 (_init): Use it in place of hardcoded R_MIPS_JALR.
13543
13544 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13545
13546 [BZ #20787]
13547 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13548 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13549 (double_t): Do not define to double if [__x86_64__] when
13550 __FLT_EVAL_METHOD__ is nonzero.
13551 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13552 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13553 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13554 test-flt-eval-method-387 and test-flt-eval-method-sse.
13555 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13556 variable.
13557 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13558
13559 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
13560
13561 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13562 use of -fno-isolate-erroneous-paths options for tilepro.
13563
13564 2016-11-23 Florian Weimer <fweimer@redhat.com>
13565
13566 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13567 structure initialization is no longer needed.
13568
13569 2016-11-23 Joseph Myers <joseph@codesourcery.com>
13570
13571 [BZ #20855]
13572 * bits/mathdef.h (float_t): Define to float.
13573 * math/test-flt-eval-method.c: New file.
13574 * math/Makefile (tests): Add test-flt-eval-method.
13575 (CFLAGS-test-flt-eval-method.c): New variable.
13576
13577 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
13578
13579 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13580 and __fstatfs. Make them aliases of __fstatfs64 if
13581 STATFS_IS_STATFS64 is set to non-zero.
13582 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13583 and __statfs64.
13584 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13585 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13586 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13587 for __statfs and statfs.
13588 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13589 to 0.
13590 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13591 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13592 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13593 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13594 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13595 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13598 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13599 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13600 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13601 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13602
13603 2016-11-22 Andreas Schwab <schwab@suse.de>
13604
13605 * misc/mkstemp.c: Include <fcntl.h>.
13606 * misc/mkstemps.c: Likewise.
13607 * misc/mkostemp.c: Likewise.
13608 * misc/mkostemps.c: Likewise.
13609
13610 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
13611
13612 [BZ #20847]
13613 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13614 array bounds.
13615 (__execvpe): Likewise.
13616
13617 2016-11-22 Joseph Myers <joseph@codesourcery.com>
13618
13619 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13620 -fno-isolate-erroneous-paths options for tilepro.
13621
13622 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
13623
13624 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13625 to 0 when in 32 bit mode.
13626 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13627 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13628 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13629 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13631 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13632 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13633 XSTAT_IS_XSTAT64 test.
13634 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13635 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13636 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13637 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13638 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13639 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13640 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13641 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13642 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13643 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13644 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13645
13646 2016-11-19 Joseph Myers <joseph@codesourcery.com>
13647
13648 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13649 (setpayload): New declaration.
13650 * math/Versions (setpayload): New libm symbol at version
13651 GLIBC_2.25.
13652 (setpayloadf): Likewise.
13653 (setpayloadl): Likewise.
13654 * math/Makefile (libm-calls): Add s_setpayloadF.
13655 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13656 test_Ff_b1_data.
13657 (RUN_TEST_Ff_b1): New macro.
13658 (RUN_TEST_LOOP_Ff_b1): Likewise.
13659 (canonicalize_test_data): Update type.
13660 (setpayload_test_data): New array.
13661 (setpayload_test): New function.
13662 (main): Call setpayload_test.
13663 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
13664 setpayloadf and setpayloadl.
13665 * manual/libm-err-tab.pl: Update comment on interfaces without
13666 ulps tabulated.
13667 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
13668 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
13669 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
13670 Likewise.
13671 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
13672 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
13677 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
13679 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
13680 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13681 setpayload.
13682 (CFLAGS-nldbl-setpayload.c): New variable.
13683 * sysdeps/nacl/libm.abilist: Update.
13684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13687 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13697 Likewise.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13699 Likewise.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13701 Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13703 Likewise.
13704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13705 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13707 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13710 Likewise.
13711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13712 Likewise.
13713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13716
13717 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13718
13719 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
13720 * include/unistd.h: Extend comment about __access_noerrno return
13721 semantics.
13722 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
13723 (access_common): Correct typo for EACCES.
13724
13725 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
13726
13727 * sysdeps/tile/math-tests.h: New file.
13728
13729 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
13730 (__old_set_dataplane): Rename from set_dataplane and make a
13731 compatibility symbol.
13732 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
13733 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
13734 sys/dataplane.h.
13735
13736 2016-11-18 Joseph Myers <joseph@codesourcery.com>
13737
13738 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
13739 script quote words in command output to log suitably for input to
13740 the shell.
13741
13742 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
13743 Maciej W. Rozycki <macro@imgtec.com>
13744
13745 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
13746 `.Lno_weak_fn' label.
13747 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
13748 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
13749
13750 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13751 Yury Norov <ynorov@caviumnetworks.com>
13752
13753 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
13754 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
13755 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13756 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
13757 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
13759 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13761 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13762 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
13763 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13764 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
13765 (sysdep_routines): Remove oldgetrlimit64.
13766 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
13767 (sysdep_routines): Likewise.
13768 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
13769 (sysdep_routines): Likewise.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13771 [$(subdir) = resource] (sysdep_routines): Likewise.
13772 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
13773 [$(subdir) = resource] (sysdep_routines): Likewise.
13774 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
13775 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
13776 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13777 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13778 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13780 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13781 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13782 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13783 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13785 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13786 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13787 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13788 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13789 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13790 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13791 setrlimit and getrlimit.
13792 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13794 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13797 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13798 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13799 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13800 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13801 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13802 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13803 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13804 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13805 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13806 (__old_getrlimit64): Add compatibility symbol.
13807 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13808
13809 2016-11-17 Joseph Myers <joseph@codesourcery.com>
13810
13811 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13812 newly built gmp, mpfr and mpc.
13813
13814 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13815
13816 2016-11-16 Joseph Myers <joseph@codesourcery.com>
13817
13818 * conform/Makefile (linknamespace-libs): Rename to
13819 linknamespace-libs-thr.
13820 (linknamespace-libs-posix): New variable.
13821 (linknamespace-libs-xsi): Likewise.
13822 (linknamespace-libs-XPG3): Include libcrypt.a.
13823 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13824 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13825 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13826 (linknamespace-libs-XOPEN2K): Likewise.
13827 (linknamespace-libs-XOPEN2K8): Likewise.
13828 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13829
13830 [BZ #20829]
13831 * stdio-common/Versions (__snprintf): Add to version
13832 GLIBC_PRIVATE.
13833 * include/stdio.h (__snprintf): Use libc_hidden_proto.
13834 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13835 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13836 of snprintf.
13837 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13838
13839 2016-11-16 Zack Weinberg <zackw@panix.com>
13840
13841 * string/string.h: Remove obsolete comment stating that
13842 strcoll_l and strxfrm_l have not yet been standardized.
13843
13844 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13845
13846 * hurd/hurd.h (__hurd_fail_noerrno): New function.
13847 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13848 __access_noerrno.
13849 * io/access.c (__access_noerrno): New function.
13850 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13851 (hurd_fail_seterrno): Likewise.
13852 (access_common): Likewise.
13853 (__access_noerrno): Likewise.
13854 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13855 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13856 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13857 macro.
13858
13859 2016-11-16 Joseph Myers <joseph@codesourcery.com>
13860
13861 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13862 Only declare fpregs if [__SH_FPU_ANY__].
13863
13864 2016-11-15 Joseph Myers <joseph@codesourcery.com>
13865
13866 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13867 Make code unconditional.
13868 [!(__SH4__ || __SH4A__)]: Remove conditional code.
13869
13870 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
13871
13872 * manual/sysinfo.texi (S_APPEND): Delete.
13873 (S_IMMUTABLE): Likewise.
13874
13875 2016-11-15 Denis Kaganovich <mahatma@eu.by>
13876 Magnus Granberg <zorry@gentoo.org>
13877 Mike Frysinger <vapier@gentoo.org>
13878
13879 [BZ #20662]
13880 * configure.ac (libc_cv_predef_stack_protector): Also check for
13881 __stack_chk_fail_local symbols.
13882 * configure: Regenerated.
13883
13884 2016-11-15 Florian Weimer <fweimer@redhat.com>
13885
13886 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13887 (libc_hidden_def): Remove redefinition.
13888 (__sigsetjmp): Add hidden definition.
13889 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13890 (libc_hidden_def): Remove redefinition.
13891 (__sigsetjmp): Add hidden definition.
13892
13893 2016-11-14 Joseph Myers <joseph@codesourcery.com>
13894
13895 * scripts/build-many-glibcs.py (os.path): Do not import.
13896 (Context): Inherit explicitly from object. Remove blank line
13897 between class and docstring.
13898 (Config): Likewise.
13899 (Glibc): Likewise.
13900 (Command): Likewise.
13901 (CommandList): Likewise.
13902 (Context.write_files): Store chmod mode in a variable.
13903
13904 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13905 LIBC_SLIBDIR_RTLDDIR for tilegx32.
13906 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13907
13908 2016-11-14 Zack Weinberg <zackw@panix.com>
13909
13910 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13911 creating or re-creating it.
13912
13913 * string/bits/string2.h: Fix typo in comment.
13914
13915 2016-11-14 Zack Weinberg <zackw@panix.com>
13916
13917 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13918 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13919 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13920 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13921 of redirected function names.
13922
13923 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13924 as well. Document that MESSAGE must be a single string literal.
13925
13926 2016-11-11 Joseph Myers <joseph@codesourcery.com>
13927
13928 * scripts/build-many-glibcs.py: New file.
13929
13930 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13931 (do_test): Disable -Wmaybe-uninitialized around uses of
13932 except_mask.
13933
13934 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13935
13936 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
13937
13938 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13939 (atomic_store_release): Provide tilepro-specific implementations.
13940
13941 2016-11-10 Joseph Myers <joseph@codesourcery.com>
13942
13943 * math/math.h (__MATH_TG): New macro.
13944 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13945 [__USE_ISOC99] (signbit): Likewise.
13946 [__USE_ISOC99] (isfinite): Likewise.
13947 [__USE_ISOC99] (isnan): Likewise.
13948 [__USE_ISOC99] (isinf): Likewise.
13949 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13950 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13951 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13952 __MATH_TG and __MATH_EVAL_FMT2.
13953 * sysdeps/generic/math_private.h (fabs_tg): Define using
13954 __MATH_TG.
13955 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13956 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13957 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13958 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13959 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13960 macro.
13961 (__iscanonical): Likewise.
13962 (iscanonical): Define using __MATH_TG.
13963
13964 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13965
13966 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13967 guards.
13968
13969 * sysdeps/unix/sysv/linux/access.c: New file.
13970 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13971
13972 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
13973
13974 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13975 and __WORDSIZE32_PTRDIFF_LONG.
13976
13977 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
13978
13979 * sysdeps/aarch64/libm-test-ulps: Regenerated.
13980
13981 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13982
13983 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13984 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13985 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13986 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13987 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13989 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13990 * sysdeps/unix/sysv/linux/truncate.c: New file.
13991 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13992 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13993 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13994 Remove.
13995 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13996 Likewise.
13997
13998 * posix/tst-truncate-common.c: New file.
13999 * posix/tst-truncate.c: Use tst-truncate-common.c.
14000 * posix/tst-truncate64.c: Likewise and add LFS tests.
14001 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14002 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14003 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14004 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14005 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14007 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14008 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14009 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14010 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14011 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14012 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14013 Remove.
14014 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14015 Likewise.
14016
14017 2016-11-08 Joseph Myers <joseph@codesourcery.com>
14018
14019 [BZ #20790]
14020 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14021 to MAXLINESIZE.
14022 * sunrpc/bug20790.x: New file.
14023 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14024 variable.
14025 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14026 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14027
14028 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14029
14030 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14031
14032 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14033 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
14034 calloc, realloc, free, memalign and __libc_memalign rather than
14035 making them optional.
14036
14037 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14038 for libc.so.
14039
14040 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14041
14042 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14043 ptw-lseek64.
14044 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14045 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
14046 Likewise.
14047 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14048 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14049 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14050 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14051 * sysdeps/unix/sysv/linux/lseek.c: New file.
14052 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14053 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14054 __libc_lseek64 from auto-generation.
14055 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14056 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14057
14058 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14059
14060 * nptl/tst-basic1.c (tf, do_test): Use write_message.
14061 * nptl/tst-cleanup1.c (do_test): Likewise.
14062 * nptl/tst-cleanup3.c (do_test): Likewise.
14063 * nptl/tst-key1.c (do_test): Likewise.
14064 * nptl/tst-key2.c (tf, do_test): Likewise.
14065 * nptl/tst-key3.c (tf, do_test): Likewise.
14066 * nptl/tst-stdio1.c (do_test): Likewise.
14067 * nptl/tst-stdio2.c (do_test): Likewise.
14068
14069 * nptl/tst-kill3.c (handler): Use write_message in place of write.
14070 * nptl/tst-kill6.c (handler): Likewise.
14071 * nptl/tst-tls2.c (CB): Likewise.
14072 * nptl/tst-tls3.c (CB): Likewise.
14073
14074 2016-11-07 Joseph Myers <joseph@codesourcery.com>
14075
14076 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14077
14078 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
14079 Steve Ellcey <sellcey@caviumnetworks.com>
14080
14081 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14082 __ASSUME_ST_INO_64_BIT as 0
14083 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14084 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14085 over the code where __ASSUME_ST_INO_64_BIT is used.
14086 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14087 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14088 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14089
14090 2016-11-07 Florian Weimer <fweimer@redhat.com>
14091
14092 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14093 Document ABI exposure of the __kind offset.
14094 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14095 Mention reason for the __kind offset exposure in the ABI.
14096 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14097 Likewise.
14098 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14099 Likewise.
14100 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14101 Likewise.
14102 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14103 (struct __pthread_mutex_s): Likewise.
14104 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14105 Likewise.
14106 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14107 Likewise.
14108 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14109 Likewise.
14110 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14111 Likewise.
14112 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14113 Likewise.
14114 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14115 Likewise.
14116 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14117 (struct __pthread_mutex_s): Likewise.
14118 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14119 (struct __pthread_mutex_s): Likewise.
14120 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14121 Likewise.
14122
14123 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
14124
14125 * test-skeleton.c: Document do_test usage.
14126
14127 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
14128
14129 * iconv/gconv.h (__gconv_info): Define __data element using a
14130 zero-length array.
14131
14132 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
14133
14134 * math/test-tgmath2.c: Split up test function.
14135
14136 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14137
14138 * Rules (tests-expected): New variable, depending on
14139 $(run-built-tests).
14140 (tests): Pass $(tests-expected) to merge-test-results.sh, not
14141 $(tests).
14142
14143 * Rules [$(run-built-tests) = no] (tests): Do not depend on
14144 $(tests-unsupported).
14145
14146 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14147
14148 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14149 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
14150
14151 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14152
14153 [BZ #20768]
14154 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14155 __fegetenv instead of fegetenv.
14156
14157 [BZ #14139]
14158 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14159 (find_files): Obtain platform name from libm-test-ulps-name and
14160 store in %pplatforms.
14161 (canonicalize_platform): Remove.
14162 (print_platforms): Use $pplatforms directly.
14163 (by_platforms): Do not allow for platforms missing from
14164 %pplatforms.
14165 * sysdeps/aarch64/libm-test-ulps-name: New file.
14166 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14167 * sysdeps/arm/libm-test-ulps-name: Likewise.
14168 * sysdeps/generic/libm-test-ulps-name: Likewise.
14169 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14170 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14171 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14172 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14173 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14174 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14175 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14176 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14177 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14178 * sysdeps/nios2/libm-test-ulps-name: Likewise.
14179 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14180 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14181 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14182 * sysdeps/sh/libm-test-ulps-name: Likewise.
14183 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14184 * sysdeps/tile/libm-test-ulps-name: Likewise.
14185 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14186
14187 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14188
14189 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14190 (test-xfail-check-execstack): New variable.
14191
14192 * sysdeps/mips/localplt.data: New file.
14193
14194 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
14195 Steve Ellcey <sellcey@caviumnetworks.com>
14196
14197 * bits/wordsize.h: Add documentation.
14198 * sysdeps/aarch64/bits/wordsize.h : New file
14199 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14200 definitions.
14201 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14202 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14203 with #if instead of #ifdef.
14204 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14205 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14206 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14207 Add or change defines.
14208 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14209 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14210 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14211 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14212 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14213 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14214 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14215 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14216 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14217 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14218 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14219 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14220 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14221 * sysdeps/x86/bits/wordsize.h: Likewise.
14222
14223 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
14224 Kevin Petit <kevin.petit@arm.com>
14225
14226 * sysdeps/aarch64/memchr.S (__memchr): New file.
14227
14228 2016-11-04 Joseph Myers <joseph@codesourcery.com>
14229
14230 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14231
14232 2016-11-03 Joseph Myers <joseph@codesourcery.com>
14233
14234 [BZ #19398]
14235 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14236 $(linknamespace-symlists-tests).
14237
14238 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
14239
14240 * time/tst-strptime2.c: Ignore -Wformat-length warning.
14241
14242 2016-11-02 Florian Weimer <fweimer@redhat.com>
14243 Carlos O'Donell <carlos@redhat.com>
14244
14245 [Bug #20729]
14246 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14247 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
14248 for -Os related change.
14249
14250 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
14251
14252 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14253
14254 2016-11-01 Joseph Myers <joseph@codesourcery.com>
14255
14256 [BZ #19673]
14257 * manual/math.texi (Exponents and Logarithms): Correct description
14258 of clog10.
14259
14260 2016-10-31 Carlos O'Donell <carlos@redhat.com>
14261
14262 [Bz #20729]
14263 * locale/weight.h: Include libc-internal.h.
14264 * locale/weightwc.h: Likewise.
14265 * nptl/nptl_dbP.h: Likewise.
14266
14267 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
14268
14269 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14270 when it is MACH_PORT_NULL.
14271
14272 2016-10-31 Andreas Schwab <schwab@suse.de>
14273
14274 [BZ #20707]
14275 * posix/glob.c (glob): Initialize pglob before checking for
14276 GLOB_BRACE. Don't call glob recursively if pattern contains no
14277 valid brace expression despite GLOB_BRACE.
14278 * posix/globtest.sh: Test it.
14279
14280 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14281
14282 [BZ #20729]
14283 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14284 Define.
14285 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14286 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14287 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14288 for seq2.back_us and seq1.back_us only for -Os compiles.
14289 * locale/weightwc.h (findix): Likewise.
14290 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14291 DB_GET_FIELD_ADDRESS only for -Os compiles.
14292 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14293 for slen only for -Os compiles.
14294 * string/strcoll_l.c (get_next_seq): Ignore
14295 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14296 for -Os compiles.
14297
14298 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14299 * include/crypt.h: New file.
14300
14301 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14302
14303 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14304 from test-skeleton.c.
14305 (statclass): Replace calls to write with calls to write_message.
14306
14307 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14308
14309 * math/math.h
14310 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14311 New macro.
14312 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14313 Likewise.
14314 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14315 Likewise.
14316 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14317 SNANL.
14318 * math/test-double.h (snan_value_MACRO): New macro.
14319 * math/test-float.h (snan_value_MACRO): Likewise.
14320 * math/test-ldouble.h (snan_value_MACRO): Likewise.
14321 * math/libm-test.inc (issignaling_test_data): Add tests of
14322 snan_value_MACRO.
14323
14324 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14325
14326 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14327 behavior when eliding a lock not held by the current thread.
14328 * sysdeps/powerpc/nptl/elide.h: Likewise.
14329
14330 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14331
14332 [BZ #20728]
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14334 branch to _exit() by a function call.
14335
14336 2016-10-28 Florian Weimer <fweimer@redhat.com>
14337
14338 * malloc/malloc.c: Update chunk layout comments.
14339 (chunk_main_arena): Update comment.
14340
14341 2016-10-28 Florian Weimer <fweimer@redhat.com>
14342
14343 * crypt/sha256.c, crypt/sha256-block.c,
14344 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14345 sha256_process_block to __sha256_process_block.
14346 * crypt/sha512.c, crypt/sha512-block.c,
14347 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14348 sha512_process_block to __sha512_process_block.
14349
14350 2016-10-28 Carlos O'Donell <carlos@redhat.com>
14351
14352 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14353
14354 * math/test-nan-overflow.c: Include stdlib.h for malloc.
14355
14356 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 [BZ #20019]
14359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14360 definition in unrelocated shared library.
14361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14362
14363 2016-10-28 Florian Weimer <fweimer@redhat.com>
14364
14365 [BZ #20729]
14366 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14367 * sysdeps/unix/sysv/linux/i386/Makefile
14368 (uses-6-syscall-arguments): Define.
14369 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14370 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14371 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14372 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14373 Likewise.
14374 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14375 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14376 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14377 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14378 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14379 (CFLAGS-fallocate64.os): Likewise.
14380 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14381 (CFLAGS-pthread_rwlock_timedrdlock.os)
14382 (CFLAGS-pthread_rwlock_timedwrlock.o)
14383 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14384 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14385 (CFLAGS-sem_timedwait.os): Likewise.
14386
14387 2016-10-28 Florian Weimer <fweimer@redhat.com>
14388
14389 * elf/tst-linkall-static.c: New file.
14390 * elf/Makefile (tests-static): Add tst-linkall-static.
14391 (tst-linkall-static): Link against static libraries.
14392
14393 2016-10-27 Florian Weimer <fweimer@redhat.com>
14394
14395 * malloc/malloc.c (sysmalloc): Initialize previous size field of
14396 mmaped chunks.
14397
14398 2016-10-28 Florian Weimer <fweimer@redhat.com>
14399
14400 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14401 members to mchunk_prev_size, mchunk_size.
14402 (chunk_main_arena): Reverse sense and rename from
14403 chunk_non_main_arena.
14404 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14405 mchunk_size instead of size.
14406 (set_non_main_arena): Define.
14407 (chunksize): Use chunksize_nomask instead of direct member access.
14408 (chunksize_nomask): Define.
14409 (next_chunk): Use chunksize instead of direct member access.
14410 (prev_size, set_prev_size): Define.
14411 (prev_chunk): Use prev_size instead of direct member access.
14412 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14413 (inuse_bit_at_offset, set_inuse_bit_at_offset)
14414 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14415 (mchunk_prev_size, mchunk_size): Poison tokens.
14416 (unlink): Use chunksize_nomask, prev_size accessors.
14417 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14418 (do_check_free_chunk): Use prev_size accessor.
14419 (sysmalloc): Use set_prev_size, set_head accessors.
14420 (munmap_chunk, mremap_chunk): Use prev_size accessor.
14421 (__libc_free): Use chunksize_nomask accessor.
14422 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14423 chunk_main_arena accessors.
14424 (_int_free): Use chunksize_nomask, prev_size accessors.
14425 (malloc_consolidate): Use chunksize, prev_size accessors.
14426 (_int_realloc): Use chunksize_nomask accessor.
14427 (_int_memalign): Use set_prev_size accessor.
14428 (__malloc_info): Use chunksize_nomask accessor.
14429 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14430 accessors.
14431 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14432 (heap_trim): Use chunksize_nomask, prev_size accessors.
14433
14434 2016-10-28 Joseph Myers <joseph@codesourcery.com>
14435
14436 [BZ #19380]
14437 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14438 for inexact results.
14439 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14440 of inexact result where mpfr_subnormalize is the only inexact
14441 step.
14442 * stdlib/tst-strtod-round-data.h: Regenerated.
14443 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14444 Define to 0.
14445 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14446
14447 2016-10-27 David S. Miller <davem@davemloft.net>
14448
14449 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14450
14451 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
14452
14453 * malloc/malloc.c (do_set_mallopt_check): New function.
14454 (do_set_mmap_threshold): Likewise.
14455 (do_set_mmaps_max): Likewise.
14456 (do_set_top_pad): Likewise.
14457 (do_set_perturb_byte): Likewise.
14458 (do_set_trim_threshold): Likewise.
14459 (do_set_arena_max): Likewise.
14460 (do_set_arena_test): Likewise.
14461 (__libc_mallopt): Use them.
14462
14463 2016-10-26 Joseph Myers <joseph@codesourcery.com>
14464
14465 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14466 (canonicalize): New declaration.
14467 * math/Versions (canonicalize): New libm symbol at version
14468 GLIBC_2.25.
14469 (canonicalizef): Likewise.
14470 (canonicalizel): Likewise.
14471 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14472 * math/s_canonicalize_template.c: New file.
14473 * math/libm-test.inc: Update comment on functions tested and
14474 testing of NaN payloads.
14475 (TEST_NAN_PAYLOAD): New macro.
14476 (NO_TEST_INLINE): Update value.
14477 (XFAIL_TEST): Likewise.
14478 (ERRNO_UNCHANGED): Likewise.
14479 (ERRNO_EDOM): Likewise.
14480 (ERRNO_ERANGE): Likewise.
14481 (IGNORE_RESULT): Likewise.
14482 (NON_FINITE): Likewise.
14483 (TEST_SNAN): Likewise.
14484 (NO_TEST_MATHVEC): Likewise.
14485 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14486 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14487 (struct test_Ffp_b1_data): New type.
14488 (RUN_TEST_Ffp_b1): New macro.
14489 (RUN_TEST_LOOP_Ffp_b1): Likewise.
14490 (canonicalize_test_data): New array.
14491 (canonicalize_test): New function.
14492 (main): Call canonicalize_test.
14493 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14494 canonicalizef and canonicalizel.
14495 * manual/libm-err-tab.pl: Update comment on interfaces without
14496 ulps tabulated.
14497 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14498 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14499 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14500 canonicalize.
14501 (CFLAGS-nldbl-canonicalize.c): New variable.
14502 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14503 to ...
14504 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14505 ... here.
14506 (do_test): Also test canonicalizel.
14507 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14508 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14509 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14510 file.
14511 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14512 Use libm_hidden_def.
14513 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14514 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14515 (do_test): Also test canonicalizel.
14516 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14517 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14518 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14519 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14520 libm_hidden_def.
14521 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14522 macro.
14523 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14524 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14525 * sysdeps/nacl/libm.abilist: Update.
14526 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14532 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14539 Likewise.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14541 Likewise.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14543 Likewise.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14545 Likewise.
14546 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14552 Likewise.
14553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14554 Likewise.
14555 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14558
14559 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14560 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14561 getpayload.
14562 (CFLAGS-nldbl-getpayload.c): New variable.
14563
14564 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14565
14566 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14567 integer from the format string.
14568
14569 2016-10-26 Florian Weimer <fweimer@redhat.com>
14570
14571 [BZ #19473]
14572 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14573 declarations.
14574 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14575 weak aliases.
14576 * malloc/hooks.c (__malloc_get_state): Remove definition.
14577 (malloc_get_state): New stub implementation as
14578 compatibility symbol.
14579 (malloc_set_state): Rename from __malloc_set_state. Turn into
14580 compat symbol.
14581 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14582 malloc_set_state.
14583 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14584
14585 2016-10-26 Florian Weimer <fweimer@redhat.com>
14586
14587 * iconvdata/iso646.c (enum variant): Drop illegal_var.
14588 (names): Turn into concatenation of strings.
14589 (gconv_init): Adapt iteration over names.
14590
14591 2016-10-26 Florian Weimer <fweimer@redhat.com>
14592
14593 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14594 make const.
14595 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14596 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14597 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14598 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14599 character in sbconv.
14600 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14601 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14602 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14603
14604 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
14605
14606 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14607
14608 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14609 (M_TRIM_THRESHOLD): Likewise.
14610
14611 * manual/memory.texi (M_ARENA_TEST): Add documentation.
14612 (M_ARENA_MAX): Likewise.
14613 * malloc/malloc.c: Remove obsolete comment.
14614
14615 * manual/memory.texi: Add environment variable alternatives to
14616 setting mallopt parameters.
14617
14618 2016-10-26 Carlos O'Donell <carlos@redhat.com>
14619
14620 * include/atomic.h
14621 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14622 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14623
14624 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14625
14626 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14627 * stdlib/tst-strfrom.h: New file.
14628 * stdlib/tst-strfrom.c: New file.
14629 * stdlib/tst-strfrom-locale.c: New file.
14630
14631 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14632 * stdlib/bug-strtod2.c: Likewise.
14633 * stdlib/tst-strtod-round-skeleton.c: Likewise.
14634 * stdlib/tst-strtod6.c: Likewise.
14635 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14636
14637 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14638
14639 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14640 * manual/arith.texi: Document strfromd, strfromf, strfroml.
14641 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14642 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14643 * stdlib/stdlib.h (strfromd): New declaration.
14644 (strfromf): Likewise.
14645 (strfroml): Likewise.
14646 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
14647 strfrom.
14648 * stdlib/strfromd.c: New file.
14649 * stdlib/strfromf.c: Likewise.
14650 * stdlib/strfroml.c: Likewise.
14651 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14652 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14653 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14654 * sysdeps/arm/nacl/libc.abilist: Update.
14655 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14683
14684 2016-10-25 Joseph Myers <joseph@codesourcery.com>
14685
14686 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
14687 instead of cmpli.
14688 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
14689 instead of cmpli.
14690
14691 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
14692
14693 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
14694 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
14695 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
14696 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14697 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14698 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14699
14700 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14701
14702 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
14703 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14704 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
14705 SYSCALL_LL64_PRW.
14706 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14707 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
14708 __ASSUME_PRW_DUMMY_ARG.
14709 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
14710 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14711 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14712 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14713 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
14714 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
14715
14716 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
14717
14718 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
14719
14720 2016-10-22 Florian Weimer <fweimer@redhat.com>
14721
14722 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
14723 "C++", to override a potential extern "C" directive around the
14724 header file inclusion.
14725
14726 2016-10-21 Joseph Myers <joseph@codesourcery.com>
14727
14728 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
14729
14730 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14731
14732 * sysdeps/powerpc/fpu/fenv_private.h:
14733 (_FPU_MASK_ALL): Rename to...
14734 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
14735 XE FPSCR bits.
14736
14737 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
14738
14739 (_FPU_MASK_ROUNDING): Rename to...
14740 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
14741 NI bits.
14742
14743 (_FPU_MASK_EXCEPT_ROUND): Rename to...
14744 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
14745 bits and rounding bits.
14746
14747 (__libc_feholdbits_ppc): New inline function to mask, set,
14748 and pontentially clear FSPCR bits, and change MSR[FE] bits.
14749 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
14750 (libc_feholdexcept_setround_ppc): Likewise.
14751
14752 (__libc_femergeenv_ppc): New function to dynamically mask both
14753 old and new FP environments and merge.
14754 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
14755 (libc_feresetround_ppc): Likewise.
14756 (libc_feupdateenv_test_ppc): Likewise.
14757 (libc_feupdateenv_ppc): Likewise.
14758
14759 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
14760 of ISA RN bits, and update macro names.
14761 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
14762 effectively the same as the previously mentioned function.
14763
14764 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
14765 usage with fe_resetround_ppc.
14766
14767 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
14768 to be used.
14769 (libc_feholdexcept_setround_ctxf): Likewise.
14770 (libc_feholdexcept_setround_ctxl): Likewise.
14771
14772 2016-10-21 Florian Weimer <fweimer@redhat.com>
14773
14774 [BZ #20715]
14775 * math/math.h [__cplusplus] (iszero): Define as function template.
14776 * math/Makefile [CXX] (tests): Add test-math-iszero.
14777 (CFLAGS-test-math-iszero.cc): Set.
14778 * math/test-math-iszero.cc: New file.
14779
14780 2016-10-20 Joseph Myers <joseph@codesourcery.com>
14781
14782 [BZ #20660]
14783 * sysdeps/arm/e_sqrt.c: New file.
14784 * sysdeps/arm/e_sqrtf.c: Likewise.
14785
14786 2016-10-19 Joseph Myers <joseph@codesourcery.com>
14787
14788 [BZ #20718]
14789 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14790 not use floating-point comparisons to test sign.
14791 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14792 Likewise.
14793
14794 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14795 (getpayload): New declaration.
14796 * math/Versions (getpayload): New libm symbol at version
14797 GLIBC_2.25.
14798 (getpayloadf): Likewise.
14799 (getpayloadl): Likewise.
14800 * math/Makefile (libm-calls): Add s_getpayloadF.
14801 * math/libm-test.inc: Include <nan-high-order-bit.h>.
14802 (struct test_f_f_data): Add comment.
14803 (RUN_TEST_fp_f): New macro.
14804 (RUN_TEST_LOOP_fp_f): Likewise.
14805 (getpayload_test_data): New array.
14806 (getpayload_test): New function.
14807 (main): Call getpayload_test.
14808 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14809 descriptor.
14810 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14811 getpayloadf and getpayloadl.
14812 * manual/libm-err-tab.pl: Update comment on interfaces without
14813 ulps tabulated.
14814 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14815 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14816 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14817 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14819 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14820 * sysdeps/nacl/libm.abilist: Update.
14821 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14834 Likewise.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14836 Likewise.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14838 Likewise.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14840 Likewise.
14841 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14847 Likewise.
14848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14849 Likewise.
14850 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14853
14854 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14855
14856 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14857 tst-fallocate{64}.
14858 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14859 on syscall return.
14860
14861 2016-10-17 Carlos O'Donell <carlos@redhat.com>
14862
14863 [BZ #20689]
14864 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14865 usable.
14866
14867 2016-10-17 Joseph Myers <joseph@codesourcery.com>
14868
14869 * sysdeps/generic/nan-high-order-bit.h: New file.
14870 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14871 * sysdeps/mips/nan-high-order-bit.h: Likewise.
14872 * sysdeps/hppa/math_private.h: Remove file.
14873 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14874 not define here.
14875 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14876 <nan-high-order-bit.h>.
14877 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14878 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14879 <nan-high-order-bit.h>.
14880 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14881 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14882 <nan-high-order-bit.h>.
14883 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14884 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14885 <nan-high-order-bit.h>.
14886 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14887 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14888 <nan-high-order-bit.h>.
14889 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14890 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14891 <nan-high-order-bit.h>.
14892 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14893 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14894 <nan-high-order-bit.h>.
14895 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14896 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14897 <nan-high-order-bit.h>.
14898 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14899 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14900 <nan-high-order-bit.h>.
14901 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14902 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14903 <nan-high-order-bit.h>.
14904 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14905 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14906 <nan-high-order-bit.h>.
14907 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14908 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14909 <nan-high-order-bit.h>.
14910 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14911 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14912 <nan-high-order-bit.h>.
14913 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14914 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14915 <nan-high-order-bit.h>.
14916 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14917 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14918 <nan-high-order-bit.h>.
14919 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14920 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14921 <nan-high-order-bit.h>.
14922 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14923 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14924 <nan-high-order-bit.h>.
14925 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14926 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14927 <nan-high-order-bit.h>.
14928 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14929
14930 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
14931
14932 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14933
14934 2016-09-22 John David Anglin <dave.anglin@bell.net>
14935
14936 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14937 abort-instr.h.
14938 (EFAULT): Remove conditional define.
14939 (ENOSYS): Likewise.
14940 (atomic_compare_and_exchange_val_acq): Use instruction nullification
14941 instead of conditional branch instructions.
14942
14943 2016-10-15 Joseph Myers <joseph@codesourcery.com>
14944
14945 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14946 (totalordermag): New declaration.
14947 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14948 New macro.
14949 * math/Versions (totalordermag): New libm symbol at version
14950 GLIBC_2.25.
14951 (totalordermagf): Likewise.
14952 (totalordermagl): Likewise.
14953 * math/Makefile (libm-calls): Add s_totalordermagF.
14954 * math/libm-test.inc (totalordermag_test_data): New array.
14955 (totalordermag_test): New function.
14956 (main): Call totalordermag_test.
14957 * math/test-tgmath.c (NCALLS): Increase to 125.
14958 (F(compile_test)): Call totalordermag.
14959 (F(totalordermag)): New function.
14960 * manual/arith.texi (FP Comparison Functions): Document
14961 totalordermag, totalordermagf and totalordermagl.
14962 * manual/libm-err-tab.pl: Update comment on interfaces without
14963 ulps tabulated.
14964 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14965 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14966 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14971 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14972 totalordermag.
14973 (CFLAGS-nldbl-totalordermag.c): New variable.
14974 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14975 (do_test): Also test totalordermagl.
14976 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14977 Likewise.
14978 * sysdeps/nacl/libm.abilist: Update.
14979 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14992 Likewise.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14994 Likewise.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14996 Likewise.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14998 Likewise.
14999 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15005 Likewise.
15006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15007 Likewise.
15008 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15011
15012 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
15013
15014 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15015 boolean.
15016
15017 2016-10-13 Joseph Myers <joseph@codesourcery.com>
15018
15019 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15020 raising FE_INVALID with feraisexcept in case where part of
15021 argument is infinite, subtract that part of argument from itself.
15022 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15023 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15024 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15025
15026 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15027
15028 * math/libm-test.inc (totalorder_test_data): Add more tests.
15029
15030 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
15031
15032 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15033 Undefine weak_alias and add a comment why mips64 require
15034 versioning.
15035
15036 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
15037
15038 [BZ #20647]
15039 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15040 maximum CPUID level is less than 2.
15041
15042 2016-10-12 Joseph Myers <joseph@codesourcery.com>
15043
15044 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15045 (totalorder): New declaration.
15046 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15047 New macro.
15048 * math/Versions (totalorder): New libm symbol at version
15049 GLIBC_2.25.
15050 (totalorderf): Likewise.
15051 (totalorderl): Likewise.
15052 * math/Makefile (libm-calls): Add s_totalorderF.
15053 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15054 string.
15055 * math/libm-test.inc (PAYLOAD_DIG): New macro.
15056 (qnan_value_pl): Likewise.
15057 (snan_value_pl): Likewise.
15058 (qnan_value): Define using qnan_value_pl.
15059 (snan_value): Define using snan_value_pl.
15060 (struct test_ff_i_data): Add comment about which tests use this
15061 structure.
15062 (RUN_TEST_ff_b): New macro.
15063 (RUN_TEST_LOOP_ff_b): Likewise.
15064 (totalorder_test_data): New array.
15065 (totalorder_test): New function.
15066 (main): Call totalorder_test.
15067 * math/test-tgmath.c (NCALLS): Increase to 122.
15068 (F(compile_test)): Call totalorder.
15069 (F(totalorder)): New function.
15070 * manual/arith.texi (FP Comparison Functions): Document
15071 totalorder, totalorderf and totalorderl.
15072 * manual/libm-err-tab.pl: Update comment on interfaces without
15073 ulps tabulated.
15074 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15075 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15076 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15081 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15082 totalorder.
15083 (CFLAGS-nldbl-totalorder.c): New variable.
15084 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15085 file.
15086 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15087 Add test-totalorderl-ldbl-128ibm.
15088 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15089 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15090 test-totalorderl-ldbl-96.
15091 * sysdeps/nacl/libm.abilist: Update.
15092 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15105 Likewise.
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15107 Likewise.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15109 Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15111 Likewise.
15112 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15118 Likewise.
15119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15120 Likewise.
15121 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15124
15125 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15126
15127 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15128 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15129 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15130 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15131 remove ENOSYS implementation.
15132 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15133 Consolidate all Linux implementations.
15134
15135 2016-10-11 Florian Weimer <fweimer@redhat.com>
15136
15137 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15138 * resolv/herror.c (herror): Cast away const-ness.
15139 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15140 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15141
15142 2016-10-11 Joseph Myers <joseph@codesourcery.com>
15143
15144 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15145 instead of M_NAN + M_NAN.
15146 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15147
15148 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15149
15150 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15151 unused variable 'p'.
15152
15153 2016-10-09 Alan Modra <amodra@gmail.com>
15154 Andreas Schwab <schwab@linux-m68k.org>
15155
15156 [BZ #20554]
15157 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15158 [PIC && !SHARED]: Set up PIC register for PLT call.
15159
15160 2016-10-07 Joseph Myers <joseph@codesourcery.com>
15161
15162 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15163 conditional on value of [__FLT_EVAL_METHOD__].
15164 * math/test-iseqsig-excess-precision.c: New file.
15165 * math/Makefile (tests): Add test-iseqsig-excess-precision.
15166
15167 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15168
15169 * math/s_iseqsig_template.c: Include math-private.h.
15170
15171 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15172 * posix/tst-posix_fadvise.c: New file.
15173 * posix/tst-posix_fadvise64.c: Likewise.
15174 * posix/tst-posix_fadvise-common.c: Likewise.
15175 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15176 (__ASSUME_FADVISE64_64_6ARG): Define.
15177 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15178 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15179 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15180 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15181 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15182 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15183 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15184 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15185 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15186 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15187 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15188 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15191 Likewise.
15192 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15193 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15194 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15195 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15196 Alias to __posix_fadvise64_l32.
15197 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15198 Add compat definition to posix_fadvise64.
15199 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15200 Add versioned definition to posix_fadvise64.
15201 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15202 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15203 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15204 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15205 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15206
15207 * io/Makefile (tests): Add tst-posix_fallocate and
15208 tst-posix_fallocate64.
15209 * io/tst-posix_fallocate-common.c: New file.
15210 * io/tst-posix_fallocate.c: Likewise.
15211 * io/tst-posix_fallocate64.c: Likewise.
15212 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15213 file.
15214 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15215 Likewise.
15216 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15217 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15218 Likewise.
15219 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15220 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15221 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15222 SYSCALL_LL to pass both offset and len arguments.
15223 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15224 Likewise.
15225 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15226 __libc_pwrite64 alias used by posix_fallocate64.
15227
15228 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15229 tst-fallocate64.
15230 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15231 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15232 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15233 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15234 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15235 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15236 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15238 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15239 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15240 macro on offset argument.
15241 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15242 SYSCALL_LL64 on offset argument.
15243
15244 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15245 tst-fallocate64.
15246 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15247 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15248 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15249 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15250 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15251 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15252 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15253 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15254 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15255 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15256 macro on offset argument.
15257 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15258 SYSCALL_LL64 on offset argument.
15259 * test-skeleton.c (FAIL_RET): Add macro.
15260 (FAIL_EXIT): Likewise.
15261 (FAIL_EXIT1): Likewise.
15262 (_FAIL): Likewise.
15263
15264 2016-10-07 Florian Weimer <fweimer@redhat.com>
15265
15266 [BZ #20629]
15267 resolv: Remove RES_USEBSTRING and its implementation.
15268 * resolv/resolv.h (RES_USEBSTRING): Remove.
15269 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15270 (digitvalue, encode_bitstring, decode_bitstring): Remove.
15271 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15272 (labellen): Remove extended label types support.
15273 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15274 * resolv/res_init.c (res_setoptions): Likewise.
15275 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15276
15277 2016-10-07 Florian Weimer <fweimer@redhat.com>
15278
15279 resolv: Remove RES_NOIP6DOTINT and its implementation.
15280 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15281 (RES_NOIP6DOTINT): Remove.
15282 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15283 handling.
15284 * resolv/res_debug.c (p_option): Likewise.
15285 * resolv/res_init.c (res_setoptions): Likewise.
15286 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15287
15288 2016-10-07 Florian Weimer <fweimer@redhat.com>
15289
15290 resolv: Deprecate unimplemented flags.
15291 * misc/sys/cdefs.h (__glibc_macro_warning1)
15292 (__glibc_macro_warning): Define.
15293 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15294 (RES_KEEPTSIG): Mark as deprecated.
15295 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15296 RES_NOCHECKNAME, RES_KEEPTSIG.
15297 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15298
15299 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15300
15301 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15302 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15303 Use strong_alias to create symbols for glibc verison 2.19.
15304
15305 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15306
15307 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15308
15309 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15310
15311 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15312
15313 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15314
15315 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15316
15317 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15318
15319 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15320 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15321 in header for using it as type for ifunc function because __GI_* symbols
15322 for ppc32 do not target the ifunc symbols.
15323 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15324
15325 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15326
15327 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15328 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15329 libc_ifunc_hidden_def.
15330 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15331 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15332 Redirect ifunced function in header for using it as type of ifunc'ed
15333 function. Redefine libc_hidden_def to use fallback non ifunc'ed
15334 function for __GI_* symbol.
15335 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15336 * include/libc-symbols.h
15337 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15338
15339 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15340
15341 [BZ #20478]
15342 * sysdeps/s390/multiarch/ifunc-resolve.h
15343 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15344 to create ifunc symbols.
15345 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15346 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15347 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15348 for using it as type for ifunc function.
15349 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15350 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15351 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15352 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15353 * sysdeps/s390/multiarch/strcat.c: Likewise.
15354 * sysdeps/s390/multiarch/strchr.c: Likewise.
15355 * sysdeps/s390/multiarch/strcmp.c: Likewise.
15356 * sysdeps/s390/multiarch/strcpy.c: Likewise.
15357 * sysdeps/s390/multiarch/strcspn.c: Likewise.
15358 * sysdeps/s390/multiarch/strlen.c: Likewise.
15359 * sysdeps/s390/multiarch/strncmp.c: Likewise.
15360 * sysdeps/s390/multiarch/strncpy.c: Likewise.
15361 * sysdeps/s390/multiarch/strnlen.c: Likewise.
15362 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15363 * sysdeps/s390/multiarch/strrchr.c: Likewise.
15364 * sysdeps/s390/multiarch/strspn.c: Likewise.
15365 * sysdeps/s390/multiarch/wcschr.c: Likewise.
15366 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15367 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15368 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15369 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15370 * sysdeps/s390/multiarch/wmemset.c: Likewise.
15371 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15372 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15373 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15374 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15375 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15376 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15377
15378 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15379
15380 * include/libc-symbols.h (__ifunc_resolver):
15381 New macro is used by __ifunc* macros.
15382 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15383 depending on HAVE_GCC_IFUNC.
15384 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15385 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15387 Redirect ifunced function in header for using as type for ifunc function.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15392 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15394 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15395 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15396 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15397 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15398 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15399 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15401 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15407 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15408 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15410 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15411 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15412 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15413 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15414 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15415 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15416 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15417 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15418 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15419 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15420 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15422 Add libc_hidden_def() and use libc_ifunc_hidden() macro
15423 instead of libc_ifunc() macro.
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15425 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15426
15427 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
15428
15429 * config.h.in (HAVE_GCC_IFUNC): New undef.
15430 * configure.ac: Add check if gcc supports attribute ifunc feature.
15431 * configure: Regenerated.
15432 * manual/install.texi: Add recommendation for gcc with
15433 indirect-function support.
15434 * INSTALL: Regenerated.
15435
15436 2016-10-06 Joseph Myers <joseph@codesourcery.com>
15437
15438 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15439 macro.
15440 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15441 (__iseqsig): New declaration.
15442 * math/s_iseqsig_template.c: New file.
15443 * math/Versions (__iseqsigf): New libm symbol at version
15444 GLIBC_2.25.
15445 (__iseqsig): Likewise.
15446 (__iseqsigl): Likewise.
15447 * math/libm-test.inc (iseqsig_test_data): New array.
15448 (iseqsig_test): New function.
15449 (main): Call iseqsig_test.
15450 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15451 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15452 * manual/libm-err-tab.pl: Update comment on interfaces without
15453 ulps tabulated.
15454 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15455 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15456 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15457 * sysdeps/nacl/libm.abilist: Update.
15458 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15459 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15471 Likewise.
15472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15473 Likewise.
15474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15475 Likewise.
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15477 Likewise.
15478 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15479 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15480 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15482 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15484 Likewise.
15485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15486 Likewise.
15487 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15488 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15489 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15490
15491 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
15492
15493 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15494 do_sincos_2, sloww, sloww1): Update comments.
15495
15496 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15497 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15498
15499 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15500 K boolean and rename it.
15501 (__sin): Adjust.
15502 (__cos): Adjust.
15503
15504 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15505 Siddhesh Poyarekar <siddhesh@sourceware.org>
15506
15507 * manual/nss.texi: Fix typos in the manual.
15508
15509 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
15510
15511 * manual/contrib.texi: Fix typos in the manual.
15512
15513 * manual/maint.texi: Fix typos in the manual.
15514
15515 * manual/install.texi: Fix typos in the manual.
15516 * INSTALL: Regenerated.
15517
15518 * manual/lang.texi: Fix typos in the manual.
15519
15520 * manual/probes.texi: Fix typos in the manual.
15521
15522 * manual/threads.texi: Fix typos in the manual.
15523
15524 * manual/debug.texi: Fix typos in the manual.
15525
15526 * manual/crypt.texi: Fix typos in the manual.
15527
15528 * manual/conf.texi: Fix typos in the manual.
15529
15530 * manual/sysinfo.texi: Fix typos in the manual.
15531
15532 * manual/users.texi: Fix typos in the manual.
15533
15534 * manual/job.texi: Fix typos in the manual.
15535
15536 * manual/process.texi: Fix typos in the manual.
15537
15538 * manual/argp.texi: Fix typos in the manual.
15539 * manual/getopt.texi: Likewise.
15540 * manual/startup.texi: Likewise.
15541
15542 * manual/signal.texi: Fix typos in the manual.
15543
15544 * manual/setjmp.texi: Fix typos in the manual.
15545
15546 * manual/resource.texi: Fix typos in the manual.
15547
15548 * manual/time.texi: Fix typos in the manual.
15549
15550 * manual/arith.texi: Fix typos in the manual.
15551
15552 * manual/math.texi: Fix typos in the manual.
15553
15554 * manual/syslog.texi: Fix typos in the manual.
15555
15556 * manual/terminal.texi: Fix typos in the manual.
15557
15558 * manual/socket.texi: Fix typos in the manual.
15559
15560 * manual/filesys.texi: Fix typos in the manual.
15561
15562 * manual/llio.texi: Fix typos in the manual.
15563
15564 * manual/stdio.text: Fix typos in the manual.
15565
15566 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
15567
15568 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15569 instead of K1.
15570
15571 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15572 SHIFT_QUADRANT and make it bool.
15573 (do_sincos_2): Likewise.
15574 (sloww): Likewise.
15575 (sloww1): Likewise.
15576 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15577 (__cos): Likewise.
15578
15579 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15580
15581 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15582
15583 2016-10-04 Joseph Myers <joseph@codesourcery.com>
15584
15585 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15586 Define to __WORDSIZE, not conditional on [LONG_MAX ==
15587 0x7fffffffL].
15588 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15589
15590 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15591
15592 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15593 inline by __inline__.
15594 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15595 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15596 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15597 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15598 sigset_t from signal.h.
15599 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15600 which is already required.
15601
15602 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15603
15604 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15605
15606 2016-10-03 Joseph Myers <joseph@codesourcery.com>
15607
15608 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15609 (struct tcp_repair_window): New type.
15610
15611 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15612
15613 * libio/tst-memstream3.c: Include string.h.
15614
15615 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15616
15617 [BZ #18241]
15618 [BZ #20181]
15619 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15620 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15621 write position is at the end the buffer.
15622 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15623 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15624 (_IO_str_seekoff): Set correct offset from negative displacement and
15625 set EINVAL for invalid ones.
15626 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15627 buffer length.
15628 (_IO_wstr_switch_to_get_mode): New function.
15629 (_IO_wstr_seekoff): Set correct offset from negative displacement and
15630 set EINVAL for invalid ones.
15631 * libio/tst-memstream3.c: New file.
15632 * libio/tst-wmemstream3.c: Likewise.
15633 * manual/examples/memstrm.c: Remove warning when priting size_t.
15634
15635 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15636
15637 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15638 macro to use __builtin_fma.
15639 * sysdeps/x86_64/fpu/dla.h: Remove file.
15640
15641 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15642 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15643 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15644
15645 2016-09-30 Carlos O'Donell <carlos@redhat.com>
15646
15647 [BZ #20292]
15648 * elf/Makefile (routines): Add dl-addr-obj.
15649 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15650 tst-_dl_addr_inside_object.
15651 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15652 [ifeq (yesyes,$(have-fpie)$(build-shared))]
15653 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15654 [ifeq (yesyes,$(have-fpie)$(build-shared))]
15655 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15656 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15657 * elf/dl-open.c: Likewise.
15658 * elf/dl-addr-obj.c: New file.
15659 * elf/tst-_dl_addr_inside_object.c: New file.
15660
15661 2016-09-30 Joseph Myers <joseph@codesourcery.com>
15662
15663 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
15664 <bits/iscanonical.h>.
15665 * bits/iscanonical.h: New file.
15666 * math/s_iscanonicall.c: Likewise.
15667 * math/Versions (__iscanonicall): New libm symbol at version
15668 GLIBC_2.25.
15669 * math/libm-test.inc (iscanonical_test_data): New array.
15670 (iscanonical_test): New function.
15671 (main): Call iscanonical_test.
15672 * math/Makefile (headers): Add bits/iscanonical.h.
15673 (type-ldouble-routines): Add s_iscanonicall.
15674 * manual/arith.texi (Floating Point Classes): Document
15675 iscanonical.
15676 * manual/libm-err-tab.pl: Update comment on interfaces without
15677 ulps tabulated.
15678 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
15679 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
15681 Likewise.
15682 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15683 test-iscanonical-ldbl-128ibm.
15684 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
15685 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
15686 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
15687 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
15688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
15689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15690 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15692 Likewise.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15694 Likewise.
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15696 Likewise.
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15700 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15701
15702 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15703
15704 * string/bits/string3.h: Remove C++ style comments.
15705
15706 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
15707
15708 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
15709 instead of ternary condition.
15710 (do_sincos_2): Likewise.
15711 (__sin): Likewise.
15712 (__cos): Likewise.
15713 (slow): Likewise.
15714 (sloww): Likewise.
15715 (sloww1): Likewise.
15716 (bsloww): Likewise.
15717 (bsloww1): Likewise.
15718
15719 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
15720 instead of ternary condition.
15721 (do_sin_slow): Likewise.
15722 (do_sincos_1): Likewise.
15723 (do_sincos_2): Likewise.
15724 (__cos): Likewise.
15725 (sloww): Likewise.
15726 (sloww1): Likewise.
15727 (sloww2): Likewise.
15728 (bsloww): Likewise.
15729 (bsloww1): Likewise.
15730 (bsloww2): Likewise.
15731
15732 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
15733 check from here...
15734 (slow2): ... and here...
15735 (__sin): ... to here.
15736
15737 2016-09-28 Joseph Myers <joseph@codesourcery.com>
15738
15739 * math/math.h
15740 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
15741 Cast argument to its own type.
15742 * math/test-iszero-excess-precision.c: New file.
15743 * math/Makefile (tests): Add test-iszero-excess-precision.
15744 (CFLAGS-test-iszero-excess-precision.c): New variable.
15745
15746 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15747
15748 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
15749 field, add err field.
15750 (__spawni_child): Report error through err member instead of pipe.
15751 (__spawnix): Likewise.
15752
15753 2016-09-28 Zack Weinberg <zackw@panix.com>
15754
15755 * scripts/check-installed-headers.sh: Generalize treatment of
15756 sys/elf.h to all target architectures.
15757
15758 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
15759 deleted typedef ucontext_t.
15760
15761 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15762
15763 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
15764 (__INTERNAL_SYSCALL1): Likewise.
15765 (__INTERNAL_SYSCALL2): Likewise.
15766 (__INTERNAL_SYSCALL3): Likewise.
15767 (__INTERNAL_SYSCALL4): Likewise.
15768 (__INTERNAL_SYSCALL5): Likewise.
15769 (__INTERNAL_SYSCALL6): Likewise.
15770 (__INTERNAL_SYSCALL7): Likewise.
15771 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
15772 (__INTERNAL_SYSCALL_NARGS): Likewise.
15773 (__INTERNAL_SYSCALL_DISP): Likewise.
15774 (INTERNAL_SYSCALL_CALL): Likewise.
15775 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
15776 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15777 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15778 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15779 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15780 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15781 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15782 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15783 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15784 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15785 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15786 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15787 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15788
15789 2016-09-23 Joseph Myers <joseph@codesourcery.com>
15790
15791 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15792 macro.
15793 * math/libm-test.inc (iszero_test_data): New array.
15794 (iszero_test): New function.
15795 (main): Call iszero_test.
15796 * manual/arith.texi (Floating Point Classes): Document iszero.
15797 * manual/libm-err-tab.pl: Update comment on interfaces without
15798 ulps tabulated.
15799
15800 2016-09-23 Zack Weinberg <zackw@panix.com>
15801
15802 * scripts/check-installed-headers.sh: New script.
15803 * Rules: In each directory that defines header files to be installed,
15804 run check-installed-headers.sh on them as a special test.
15805 * Makefile: Likewise for the headers installed at top level.
15806
15807 * include/aliases.h, include/alloca.h, include/argz.h
15808 * include/arpa/nameser.h, include/arpa/nameser_compat.h
15809 * include/elf.h, include/envz.h, include/err.h
15810 * include/execinfo.h, include/fpu_control.h, include/getopt.h
15811 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15812 * include/link.h, include/malloc.h, include/mcheck.h
15813 * include/mntent.h, include/netinet/ether.h
15814 * include/nss.h, include/obstack.h, include/printf.h
15815 * include/pty.h, include/resolv.h, include/rpc/auth.h
15816 * include/rpc/auth_des.h, include/rpc/auth_unix.h
15817 * include/rpc/clnt.h, include/rpc/des_crypt.h
15818 * include/rpc/key_prot.h, include/rpc/netdb.h
15819 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15820 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15821 * include/rpc/rpc_msg.h, include/rpc/svc.h
15822 * include/rpc/svc_auth.h, include/rpc/xdr.h
15823 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15824 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15825 * include/rpcsvc/ypupd.h, include/shadow.h
15826 * include/stdio_ext.h, include/sys/epoll.h
15827 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15828 * include/sys/prctl.h, include/sys/profil.h
15829 * include/sys/statfs.h, include/sys/sysctl.h
15830 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15831 * sysdeps/arm/nacl/include/bits/setjmp.h
15832 * sysdeps/mips/include/sys/asm.h
15833 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15834 * sysdeps/unix/sysv/linux/include/sys/timex.h
15835 * sysdeps/x86/fpu/include/bits/fenv.h:
15836 Add #ifndef _ISOMAC guard around internal declarations.
15837 Add multiple-inclusion guard if not already present.
15838
15839 2016-09-23 Zack Weinberg <zackw@panix.com>
15840
15841 * sysdeps/generic/sys/ucontext.h
15842 * sysdeps/arm/sys/ucontext.h
15843 * sysdeps/i386/sys/ucontext.h
15844 * sysdeps/m68k/sys/ucontext.h
15845 * sysdeps/mips/sys/ucontext.h
15846 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15847 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15848 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15849 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15850 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15851 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15852 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15853 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15854 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15855 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15856 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15857 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15858 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15859 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15860 Include both bits/sigcontext.h and bits/sigstack.h.
15861 Fix grammar error in comment, if present.
15862
15863 * bits/sigstack.h
15864 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15865 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15866 * sysdeps/unix/sysv/linux/bits/sigstack.h
15867 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15868 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15869 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15870 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15871 * bits/sigcontext.h
15872 * sysdeps/mach/hurd/i386/bits/sigcontext.h
15873 * sysdeps/unix/sysv/linux/bits/sigcontext.h
15874 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15875 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15876 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
15877 as well as signal.h, if this was not already allowed. Request
15878 definition of size_t if necessary. Minimize semantically-null
15879 differences across files.
15880
15881 2016-09-23 Zack Weinberg <zackw@panix.com>
15882
15883 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15884 Remove all logic conditional on __need macros. Move all the
15885 conditionally defined types to their own headers...
15886 * time/bits/types/clock_t.h: Define clock_t here.
15887 * time/bits/types/clockid_t.h: Define clockid_t here.
15888 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15889 * time/bits/types/struct_timespec.h: Define struct timespec here.
15890 * time/bits/types/struct_timeval.h: Define struct timeval here.
15891 * time/bits/types/struct_tm.h: Define struct tm here.
15892 * time/bits/types/time_t.h: Define time_t here.
15893 * time/bits/types/timer_t.h: Define timer_t here.
15894 * time/Makefile: Install the new headers.
15895
15896 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15897 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15898 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15899 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15900 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15901 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15902 * sysdeps/unix/sysv/linux/bits/resource.h
15903 * sysdeps/unix/sysv/linux/bits/timex.h
15904 * sysdeps/unix/sysv/linux/mips/bits/resource.h
15905 * sysdeps/unix/sysv/linux/net/ppp_defs.h
15906 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15907 * sysdeps/unix/sysv/linux/sys/acct.h
15908 * sysdeps/unix/sysv/linux/sys/timerfd.h
15909 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15910 * time/sys/time.h, time/sys/timeb.h
15911 Use the new bits/types headers.
15912
15913 * include/time.h: Remove __need logic.
15914 * include/bits/time.h
15915 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15916 * include/bits/types/time_t.h, include/bits/types/timer_t.h
15917 * include/bits/types/struct_itimerspec.h
15918 * include/bits/types/struct_timespec.h
15919 * include/bits/types/struct_timeval.h
15920 * include/bits/types/struct_tm.h:
15921 New wrapper headers.
15922
15923 2016-09-23 Zack Weinberg <zackw@panix.com>
15924
15925 * sysdeps/mach/hurd/net/if_ppp.h
15926 * sysdeps/unix/sysv/linux/net/if_ppp.h:
15927 Only define struct ifpppstatsreq and struct ifpppcstatsreq
15928 if __USE_MISC is defined, to ensure struct ifreq is declared.
15929
15930 * inet/netinet/ether.h: Condition all function prototypes
15931 on __USE_MISC, to ensure struct ether_addr is declared.
15932
15933 * socket/bits/types/struct_osockaddr.h: New header.
15934 * include/bits/types/struct_osockaddr.h: New wrapper.
15935 * socket/Makefile: Install the new header.
15936 * socket/sys/socket.h, inet/protocols/talkd.h:
15937 Refer to bits/types/struct_osockaddr.h for the definition of
15938 struct osockaddr.
15939
15940 2016-09-23 Zack Weinberg <zackw@panix.com>
15941
15942 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15943 * inet/protocols/routed.h, inet/protocols/talkd.h
15944 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15945 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15946 * sysdeps/generic/netinet/if_ether.h
15947 * sysdeps/generic/netinet/in_systm.h
15948 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15949 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15950 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15951 * sysdeps/mach/hurd/net/if_arp.h
15952 * sysdeps/mach/hurd/net/if_ppp.h
15953 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15954 * sysdeps/unix/sysv/linux/bits/in.h
15955 * sysdeps/unix/sysv/linux/net/ethernet.h
15956 * sysdeps/unix/sysv/linux/net/if_arp.h
15957 * sysdeps/unix/sysv/linux/net/if_ppp.h
15958 * sysdeps/unix/sysv/linux/net/if_shaper.h
15959 * sysdeps/unix/sysv/linux/net/route.h
15960 * sysdeps/unix/sysv/linux/netinet/if_ether.h
15961 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15962 * sysdeps/unix/sysv/linux/netinet/if_tr.h
15963 * sysdeps/unix/sysv/linux/netipx/ipx.h
15964 * sysdeps/unix/sysv/linux/sys/acct.h
15965 * include/arpa/nameser.h, include/resolv.h:
15966 Change all uses of u_char to unsigned char,
15967 u_short and ushort to unsigned short, u_int and uint to unsigned int,
15968 u_long and ulong to unsigned long, u_int8_t to uint8_t,
15969 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15970 and u_int64_t and u_quad_t to uint64_t.
15971
15972 * mach/sys/reboot.h: Remove two casts of integer literals
15973 to the types they already have.
15974
15975 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15976 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15977 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15978 from referring to 'unsigned char' to 'uint8_t' for consistency with
15979 the macro definition below.
15980
15981 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15982 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15983 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15984 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15985 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15986 * sysdeps/unix/sysv/linux/sys/acct.h
15987 * include/arpa/nameser.h, include/resolv.h:
15988 Fix indentation disrupted by mechanical edits.
15989
15990 * inet/protocols/talkd.h, resolv/arpa/nameser.h
15991 * sysdeps/generic/netinet/in_systm.h
15992 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15993 * sysdeps/gnu/netinet/udp.h
15994 * sysdeps/unix/sysv/linux/net/ethernet.h
15995 * sysdeps/unix/sysv/linux/net/if_arp.h
15996 * sysdeps/unix/sysv/linux/net/if_ppp.h
15997 * sysdeps/unix/sysv/linux/net/if_shaper.h
15998 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15999 * sysdeps/unix/sysv/linux/netinet/if_tr.h
16000 * sysdeps/unix/sysv/linux/netipx/ipx.h
16001 * sysdeps/unix/sysv/linux/sys/acct.h
16002 Include stdint.h for uintNN_t definitions.
16003 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16004
16005 2016-09-23 Zack Weinberg <zackw@panix.com>
16006
16007 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16008 * sysdeps/unix/sysv/linux/netrose/rose.h:
16009 Include sys/socket.h and netax25/ax25.h.
16010
16011 * inet/netinet/icmp6.h, inet/netinet/ip6.h
16012 * resolv/arpa/nameser_compat.h:
16013 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16014
16015 * sysdeps/unix/sysv/linux/sys/quota.h:
16016 Use __caddr_t instead of caddr_t.
16017 * sysdeps/unix/sysv/linux/sys/timerfd.h:
16018 Use __clockid_t instead of clockid_t.
16019
16020 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16021
16022 * argp/argp.h: Check whether _LIBC is defined before expanding it.
16023 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16024 expanding it.
16025
16026 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16027 Define __glibc_c99_flexarr_available to 1 when the compiler
16028 supports C99-compatible flexible array members, 0 otherwise.
16029 * sysdeps/unix/sysv/linux/bits/socket.h
16030 * sysdeps/mach/hurd/bits/socket.h
16031 * bits/socket.h: Use __glibc_c99_flexarr_available in
16032 definitions of struct cmsghdr and CMSG_DATA.
16033
16034 2016-09-23 Florian Weimer <fweimer@redhat.com>
16035
16036 * manual/nss.texi (NSS Modules Interface): Adjust function return
16037 type to enum nss_status. Document errnop argument. Clarify
16038 h_errnop semantics. Fix cross-reference formatting.
16039 (NSS Module Function Internals): Mention that *errnop needs to be
16040 set on failure, but not to zero.
16041
16042 2016-09-23 Florian Weimer <fweimer@redhat.com>
16043
16044 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16045 (get_random_name): New functions.
16046 (check_wrapper_flags_mode): Use linkat to give the new file a name
16047 determined by get_random_name.
16048 (do_test): Add calls to test open64 and openat64.
16049
16050 2016-09-23 Florian Weimer <fweimer@redhat.com>
16051
16052 * test-skeleton.c: Remove #include <stdarg.h>.
16053
16054 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
16055
16056 [BZ #19826]
16057 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16058 initialization of static TLS entries.
16059 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16060 * nptl/allocatestack.c (init_one_static_tls): Likewise.
16061
16062 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16063
16064 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16065 _hurd_malloc_fork_prepare.
16066 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16067 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16068 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16069 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16070 (_hurd_fork_child_hook): Drop malloc_fork_child.
16071 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16072 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16073 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16074 after locking locks (notably hurd_dtable_lock). Call
16075 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16076 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16077 __malloc_fork_unlock_child.
16078 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16079
16080 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
16081
16082 * soft-fp/extendhftf2.c: New.
16083 * soft-fp/fixhfti.c: Likewise.
16084 * soft-fp/fixunshfti.c: Likewise.
16085 * soft-fp/floattihf.c: Likewise.
16086 * soft-fp/floatuntihf.c: Likewise.
16087 * soft-fp/half.h: Likewise.
16088 * soft-fp/trunctfhf2.c: Likewise.
16089
16090 2016-09-21 Joseph Myers <joseph@codesourcery.com>
16091
16092 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16093 macro.
16094 * math/libm-test.inc (issubnormal_test_data): New array.
16095 (issubnormal_test): New function.
16096 * manual/arith.texi (Floating Point Classes): Document
16097 issubnormal.
16098 * manual/libm-err-tab.pl: Update comment on interfaces without
16099 ulps tabulated.
16100
16101 * sysdeps/generic/stdint.h: Define
16102 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16103 <bits/libc-header-start.h> instead of including <features.h>.
16104 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16105 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16106 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16107 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16108 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16109 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16110 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16111 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16112 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16113 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16114 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16115 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16116 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16117 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16118 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16119 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16120 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16121 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16122 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16123 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16124 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16125 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16126 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16127 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16128 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16129 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16130 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16131 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16132 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16133 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16134 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16135 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16136 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16137 * manual/arith.texi (Integers): Document these macros for types
16138 specified by width properties.
16139 * manual/lang.texi (Width of Type): Document these macros for
16140 other standard typedefs.
16141 * stdlib/tst-width-stdint.c: New file.
16142 * stdlib/Makefile (tests): Add tst-width-stdint.
16143
16144 2016-09-21 Florian Weimer <fweimer@redhat.com>
16145
16146 [BZ #20016]
16147 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16148 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16149 Move ...
16150 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16151 ... here, as compatibility symbols in a new file.
16152 * resolv/Makefile (libresolv-routines): Add compat-hooks.
16153 * resolv/res_init.c (__res_vinit): Adjust member names.
16154 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16155 * resolv/resolv.h (res_sendhookact, res_send_qhook)
16156 (res_send_rhook): Remove.
16157 (struct __res_state): Rename qhook, rhook members.
16158
16159 2016-09-21 Florian Weimer <fweimer@redhat.com>
16160
16161 malloc: Use __libc_lock wrappers.
16162 * malloc/arena.c (list_lock, free_list_lock): Define using
16163 __libc_lock_define_initialized.
16164 (arena_lock): Adjust formatting.
16165 * malloc/malloc.c (struct malloc_state): Define mutex using
16166 __libc_lock_define.
16167 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16168 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16169 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16170 (mutex_unlock, mutex_trylock): Remove.
16171 (__pthread_initialize): Remove unused macro.
16172 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16173 (mutex_unlock, mutex_trylock): Remove.
16174
16175 2016-09-21 Florian Weimer <fweimer@redhat.com>
16176
16177 [BZ #20592]
16178 Remove RR type classification macros.
16179 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16180 (ns_t_udp_p, ns_t_xfr_p): Remove.
16181
16182 2016-09-21 Florian Weimer <fweimer@redhat.com>
16183
16184 Remove misleading version information.
16185 * resolv/arpa/nameser.h (__NAMESER): Remove.
16186 * resolv/arpa/nameser_compat.h (__BIND): Remove.
16187
16188 2016-09-21 Florian Weimer <fweimer@redhat.com>
16189
16190 Remove the always-defined BIND_4_COMPAT macro.
16191 * resolv/arpa/nameser.h: Unconditionally include
16192 <arpa/nameser_compat.h>.
16193 (BIND_4_COMPAT): Remove.
16194 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16195
16196 2016-09-21 Florian Weimer <fweimer@redhat.com>
16197
16198 [BZ #20591]
16199 Remove obsolete DNSSEC support.
16200 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16201 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16202 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16203 (ns_verify_tcp, ns_verify_tcp_init): Remove.
16204 (ns_cert_types): Add comment.
16205 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16206 separately.
16207 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16208 (dst_s_dns_key_id): Remove.
16209 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16210 variables.
16211
16212 2016-09-21 Florian Weimer <fweimer@redhat.com>
16213
16214 [BZ #20524]
16215 * manual/string.texi (String/Array Comparison): Clarify the
16216 strverscmp behavior.
16217
16218 2016-09-21 Florian Weimer <fweimer@redhat.com>
16219
16220 * test-skeleton.c (xasprintf): Add function.
16221 * io/tst-open-tmpfile.c: New test.
16222 * io/Makefile (tests): Add it.
16223
16224 2016-09-21 Florian Weimer <fweimer@redhat.com>
16225
16226 Avoid running $(CXX) during build to obtain header file paths.
16227 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16228 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16229 * Makerules (cstdlib, cmath): Remove variables. Use
16230 $(c++-cstdlib-header), $(c++-cmath-header) instead.
16231 * configure: Regenerate.
16232
16233 2016-09-21 Florian Weimer <fweimer@redhat.com>
16234
16235 * Makeconfig (all-object-suffixes): Include .op only if
16236 $(build-profile).
16237
16238 2016-09-21 Florian Weimer <fweimer@redhat.com>
16239
16240 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16241 conditionals. Do not define PATH_MAX.
16242
16243 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16244
16245 * posix/Makefile (tests): Add tst-spawn3.
16246 * posix/tst-spawn3.c: New file.
16247 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16248 if it is already opened for open action.
16249
16250 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16251 all signals when executing the clone vfork child.
16252 (SIGALL_SET): Remove macro.
16253
16254 * nptl/Makefile (tests): Add tst-exec5.
16255 * nptl/tst-exec5.c: New file.
16256 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16257 asynchronous cancellation.
16258
16259 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16260
16261 * hurd/exc2signal.c: #include <hurd/signal.h>
16262 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16263 'sigcode', 'error' parameters with 'detail' parameter. Fix code
16264 accordingly.
16265 * mach/mach_error.c (mach_error): Fix old-style function definition.
16266 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16267
16268 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16269
16270 * math/Makefile (libm-calls): Remove s_nanF.
16271 (gen-libm-calls): Add s_nanF.
16272
16273 * math/s_nan.c: Refactor into ...
16274 * math/s_nan_template.c: New file.
16275
16276 * math/s_nanf.c: Removed.
16277 * math/s_nanl.c: Removed.
16278 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16279 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16280
16281 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16282 (LDOUBLE_nanl_libm_version): New macro.
16283
16284 * sysdeps/generic/math-type-macros-double.h:
16285 (M_STRTO_NAN): New macro.
16286 * sysdeps/generic/math-type-macros-float.h: Likewise.
16287 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16288
16289 * sysdeps/generic/math-type-macros.h: Document
16290 M_STRTO_NAN.
16291
16292 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16293
16294 * math/s_nanf.c: Remove __nanf undef.
16295 * math/s_nan.c: Remove __nan undef.
16296 * math/s_nanl.c: Remove __nanl undef.
16297
16298 * sysdeps/generic/math_private.h (__nan): Remove macro
16299 override.
16300 (__nanf): Likewise.
16301 (__nanl): Likewise.
16302
16303 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16304
16305 * math/Makefile (gen-all-calls): New variable.
16306 (generated): Replace gen-libm-calls with gen-all-calls.
16307 (gen-libm-templates.stmp): Likewise. Also, ensure
16308 the output directory exists or is created and add
16309 dependency on the Makefile.
16310 (calls): Move s_ldexpF into gen-calls.
16311 (gen-calls): New variable.
16312
16313 * math/s_ldexpf.c: Removed.
16314 * math/s_ldexpl.c: Removed.
16315 * math/s_ldexp.c: Refactored into ...
16316 * math/s_ldexp_template.c: New file.
16317
16318 * sysdeps/generic/math-type-macros-double.h: Remove
16319 redundant fall-through definition of declare_mgen_alias.
16320 (declare_mgen_alias_2): New macro.
16321
16322 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16323 New macro for function aliased to two exported symbols.
16324
16325 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16326 new template file.
16327 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16328
16329 2016-09-20 Florian Weimer <fweimer@redhat.com>
16330
16331 * Makeconfig (all-object-suffixes): Remove .og.
16332 * Makerules (elide-routines.og): Remove.
16333 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16335 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16336
16337 2016-09-20 Florian Weimer <fweimer@redhat.com>
16338
16339 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16340 .os objects.
16341
16342 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16343
16344 [BZ #20615]
16345 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16346 fpu directory by non-fpu.
16347 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16348 on non-fpu directory from a fpu directory.
16349
16350 2016-09-19 Joseph Myers <joseph@codesourcery.com>
16351
16352 * include/limits.h: Define
16353 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16354 <bits/libc-header-start.h> instead of including <features.h>.
16355 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16356 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16357 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16358 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16359 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16360 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16361 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16362 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16363 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16364 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16365 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16366 * manual/lang.texi (Width of Type): Document these macros.
16367 * stdlib/tst-width.c: New file.
16368 * stdlib/Makefile (tests): Add tst-width.
16369
16370 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16371
16372 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16373 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16374
16375 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16376
16377 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16378 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16379 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16380
16381 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16382
16383 [BZ #18243]
16384 * rt/Makefile (test): Add tst-shm-cancel.
16385 * rt/tst-shm-cancel.c: New file.
16386 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16387
16388 [BZ #18243]
16389 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16390 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16391 definition.
16392 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16393 uncontended case.
16394 * nptl/sem_wait.c (__new_sem_wait): Likewise.
16395 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16396 (tf): Fix check for uncontended case.
16397 (do_test): Likewise.
16398 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16399 (tf): Fix check for uncontended case.
16400 (do_test): Likewise.
16401 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16402 (tf): Fix check for uncontended case.
16403 (do_test): Likewise.
16404 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16405 (tf): Fix check for uncontended case.
16406 (do_test): Likewise.
16407
16408 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16409 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16410
16411 [BZ #15765]
16412 * nptl/Makefile (tests): Add tst-sem16.
16413 * nptl/tst-sem16.c: New file.
16414 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16415
16416 * nptl/sem_open.c (sem_open): Init pad value to 0.
16417 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16418 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16419
16420 2016-09-15 Florian Weimer <fweimer@redhat.com>
16421
16422 [BZ #20611]
16423 * inet/Makefile (routines): Add inet6_scopeid_pton.
16424 (tests): Add tst-inet6_scopeid_pton.
16425 * inet/inet6_scopeid_pton.c: New file.
16426 * inet/net-internal.h: Likewise.
16427 * inet/tst-inet6_scopeid_pton.c: New test.
16428 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16429 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16431
16432 2016-09-14 Florian Weimer <fweimer@redhat.com>
16433
16434 Remove support for compiling wrappers with PTW.
16435 * sysdeps/nptl/Makeconfig: Drop ptw- support.
16436 * nptl/Makefile (pthread-compat-wrappers): Define.
16437 (libpthread-routines): Use pthread-compat-wrappers.
16438 * sysdeps/unix/sysv/linux/alpha/Makefile
16439 (libpthread-routines, libpthread-shared-only-routines): Remove
16440 ptw- prefix.
16441 * sysdeps/s390/nptl/Makefile
16442 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16443 * sysdeps/ia64/nptl/Makefile
16444 (libpthread-routines, libpthread-shared-only-routines): Likewise.
16445 * sysdeps/nacl/Makefile (libpthread-routines): Use
16446 pthread-compat-wrappers to filter the routines list instead of the
16447 ptw- prefix.
16448
16449 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16450
16451 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16452 with L() and remove explicit suffix, convert real literals
16453 which can be equivalentally substituted with integers, and
16454 transform -L(x) to L(-x).
16455
16456 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16457 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16459 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16460 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16464 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16465 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16466 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16469 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16470 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16471 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16472 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16473 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16474 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16475 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16476 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16477 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16478 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16479 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16480 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16481 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16482 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16483 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16491 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16492 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16504 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16506
16507 2016-09-13 Florian Weimer <fweimer@redhat.com>
16508
16509 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16510
16511 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
16512
16513 * malloc/Makefile (tests): Remove individual static test names
16514 and just add all of tests-static.
16515
16516 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16517
16518 2016-09-07 Joseph Myers <joseph@codesourcery.com>
16519
16520 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16521 file.
16522
16523 * sysdeps/sparc/fpu/fegetmode.c: New file.
16524 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16525
16526 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16527 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16528
16529 * sysdeps/s390/fpu/fegetmode.c: New file.
16530 * sysdeps/s390/fpu/fesetmode.c: Likewise.
16531
16532 * sysdeps/powerpc/fpu/fegetmode.c: New file.
16533 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16534 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16535 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16536 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16537 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16538
16539 * sysdeps/mips/fpu/fegetmode.c: New file.
16540 * sysdeps/mips/fpu/fesetmode.c: Likewise.
16541
16542 * sysdeps/m68k/fpu/fegetmode.c: New file.
16543 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16544
16545 * sysdeps/ia64/fpu/fegetmode.c: New file.
16546 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16547
16548 * sysdeps/hppa/fpu/fegetmode.c: New file.
16549 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16550
16551 * sysdeps/arm/fegetmode.c: New file.
16552 * sysdeps/arm/fesetmode.c: Likewise.
16553
16554 * sysdeps/alpha/fpu/fegetmode.c: New file.
16555 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16556
16557 * sysdeps/aarch64/fpu/fegetmode.c: New file.
16558 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16559
16560 * math/fegetmode.c: New file.
16561 * math/fesetmode.c: Likewise.
16562 * sysdeps/i386/fpu/fegetmode.c: Likewise.
16563 * sysdeps/i386/fpu/fesetmode.c: Likewise.
16564 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16565 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16566 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16567 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16568 declaration.
16569 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16570 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16571 typedef.
16572 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16573 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16574 (femode_t): New typedef.
16575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16576 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16577 (femode_t): New typedef.
16578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16579 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16580 (femode_t): New typedef.
16581 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16582 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16583 (femode_t): New typedef.
16584 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16585 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16586 (femode_t): New typedef.
16587 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16588 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16589 (femode_t): New typedef.
16590 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16591 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16592 (femode_t): New typedef.
16593 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16594 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16595 (femode_t): New typedef.
16596 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16597 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16598 (femode_t): New typedef.
16599 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16600 * sysdeps/powerpc/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 variable
16603 declaration.
16604 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16605 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16606 (femode_t): New typedef.
16607 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16608 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16609 (femode_t): New typedef.
16610 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16611 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16612 (femode_t): New typedef.
16613 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16614 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16615 (femode_t): New typedef.
16616 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16617 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16618 (femode_t): New typedef.
16619 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16620 * manual/arith.texi (FE_DFL_MODE): Document macro.
16621 (fegetmode): Document function.
16622 (fesetmode): Likewise.
16623 * math/Versions (fegetmode): New libm symbol at version
16624 GLIBC_2.25.
16625 (fesetmode): Likewise.
16626 * math/Makefile (libm-support): Add fegetmode and fesetmode.
16627 (tests): Add test-femode and test-femode-traps.
16628 * math/test-femode-traps.c: New file.
16629 * math/test-femode.c: Likewise.
16630 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16631 alias for __fe_dfl_env.
16632 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16633 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16634 (__fe_dfl_mode): Likewise.
16635 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16636 version GLIBC_2.25.
16637 * sysdeps/nacl/libm.abilist: Update.
16638 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16639 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16640 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16641 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16642 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16643 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16644 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16645 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16646 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16647 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16648 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16649 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16651 Likewise.
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16653 Likewise.
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16655 Likewise.
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16657 Likewise.
16658 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16659 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16660 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16661 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16662 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16664 Likewise.
16665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16666 Likewise.
16667 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16668 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16669 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16670
16671 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 [BZ #20495]
16674 [BZ #20508]
16675 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
16676 processors, set Use_dl_runtime_resolve_slow and set
16677 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
16678 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
16679 New.
16680 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
16681 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
16682 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
16683 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
16684 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
16685 if Use_dl_runtime_resolve_opt is set. Use
16686 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
16687 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
16688 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
16689 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
16690 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
16691 New.
16692 (_dl_runtime_resolve_opt): Likewise.
16693 (_dl_runtime_profile): Define only if _dl_runtime_profile is
16694 defined.
16695
16696 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
16697
16698 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
16699 __libc_memalign with "+ RELA R_390_GLOB_DAT".
16700
16701 2016-09-06 Florian Weimer <fweimer@redhat.com>
16702
16703 Convert malloc to __libc_lock. Automated part, using this Perl
16704 s/// command:
16705 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
16706 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
16707 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
16708 conversion.
16709
16710 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
16711
16712 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
16713 (linknamespace-symlists-tests): Likewise.
16714 (linknamespace-header-tests): Likewise.
16715
16716 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
16717
16718 [BZ #19810]
16719 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
16720 * elf/tst-noload.c: New test case.
16721 * elf/Makefile (tests): Add tst-noload.
16722
16723 2016-09-02 Roland McGrath <roland@hack.frob.com>
16724
16725 * sysdeps/nacl/dup.c: Add libc_hidden_def.
16726
16727 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
16728 not any more.
16729
16730 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
16731
16732 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
16733
16734 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
16735 (do_cos_slow): Likewise.
16736 (do_sin): Likewise.
16737 (do_sin_slow): Likewise.
16738 (slow): Likewise.
16739 (slow1): Likewise.
16740 (slow2): Likewise.
16741 (sloww): Likewise.
16742 (sloww1): Likewise.
16743 (sloww2): Likewise.
16744 (bsloww): Likewise.
16745 (bsloww1): Likewise.
16746 (bsloww2): Likewise.
16747 (cslow2): Likewise.
16748
16749 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
16750
16751 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
16752 arguments. Consolidate input partitioning from callers here.
16753 (do_cos_slow): Likewise.
16754 (do_sin): Likewise.
16755 (do_sin_slow): Likewise.
16756 (do_sincos_1): Remove the no longer necessary input partitioning.
16757 (do_sincos_2): Likewise.
16758 (__sin): Likewise.
16759 (__cos): Likewise.
16760 (slow1): Likewise.
16761 (slow2): Likewise.
16762 (sloww1): Likewise.
16763 (sloww2): Likewise.
16764 (bsloww1): Likewise.
16765 (bsloww2): Likewise.
16766 (cslow2): Likewise.
16767
16768 2016-09-02 Florian Weimer <fweimer@redhat.com>
16769
16770 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
16771 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
16772 outside of allocated array.
16773
16774 2016-09-02 Florian Weimer <fweimer@redhat.com>
16775
16776 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16777 instead of MB_CUR_MAX to avoid variable-length array.
16778
16779 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16780
16781 * math/Makefile (libm-calls): Remove k_rem_pio2F.
16782 (type-double-routines): Add k_rem_pio2.
16783 (type-float-routines): Add k_rem_pio2f.
16784
16785 * sysdeps/generic/math_private.h:
16786 (__kernel_rem_pio2l): Removed.
16787
16788 * math/k_rem_pio2l.c: Removed.
16789 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16790 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16791 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16792 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16793
16794 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16795
16796 * math/Makefile (gen-libm-calls): Add s_fmin
16797 (libm-calls): Remove above.
16798
16799 * math/s_fmin.c: Refactor into ...
16800 * math/s_fmin_template.c: New file.
16801
16802 * math/s_fminf.c: Removed.
16803 * math/s_fminl.c: Removed.
16804 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16805 (LDOUBLE_fmin_libm_version): New macro.
16806
16807 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16808 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16809
16810 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16811
16812 * math/Makefile: (gen-libm-calls): Add s_fmax.
16813 (libm-calls): Remove above.
16814
16815 * math/s_fmax.c: Refactor into ...
16816 * math/s_fmax_template.c: New file.
16817 * math/s_fmaxf.c: Removed.
16818 * math/s_fmaxl.c: Removed.
16819
16820 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16821 (LDOUBLE_fmaxl_libm_version): New macro.
16822
16823 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16824 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16825
16826 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16827 s_fmin.c to pick the aarch64 version of the file.
16828 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16829 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16830
16831 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16832
16833 * math/Makefile: (gen-libm-calls): Add s_nextdown.
16834 (libm-calls): Remove above.
16835
16836 * math/s_nextdown.c: Refactor into ...
16837 * math/s_nextdown_template.c: New file.
16838 * math/s_nextdownf.c: Removed.
16839 * math/s_nextdownl.c: Removed.
16840
16841 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16842
16843 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16844
16845 * math/Makefile (gen-libm-calls): Add s_fdim.
16846 (libm-calls): Move to above.
16847
16848 * math/s_fdim.c: Renamed and refactored into to ...
16849 * math/s_fdim_template.c: New file.
16850 * math/s_fdiml.c: Removed.
16851 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16852 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16853
16854 * sysdeps/generic/math-type-macros-double.h:
16855 (declare_mgen_alias): Don't declare if already declared.
16856 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16857 Likewise.
16858
16859 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16860 (declare_mgen_alias): Don't declare if already declared.
16861 (M_LIBM_NEED_COMPAT): Likewise.
16862 (declare_mgen_libm_compat): Likewise.
16863 (LDOUBLE_fdiml_libm_version): New macro.
16864
16865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16866 Include math/s_fdim.c now that ldbl-opt version is not needed.
16867 (declare_mgen_alias): New macro to disable aliasing.
16868
16869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16870 (declare_mgen_alias): Likewise.
16871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16872 (declare_mgen_alias): Likewise.
16873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16874 (declare_mgen_alias): Likewise.
16875 (M_LIBM_NEED_COMPAT): Likewise.
16876
16877 2016-09-01 Florian Weimer <fweimer@redhat.com>
16878
16879 [BZ #20525]
16880 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16881 Include <linux/quota.h>.
16882 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16883 and btodb.
16884 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16885 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16886 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16887 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16888 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16889 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16890 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16891 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16892 types.
16893 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16894 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16895
16896 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16897
16898 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16899 (gammal_positive): Fix spacing.
16900 (__ieee754_gammal_r): Likewise.
16901
16902 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16903
16904 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16905 (_Float128): Define as long double, always.
16906 (L): Apply long double type suffix, always.
16907
16908 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16909 _Float128, excepting comments.
16910
16911 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16912 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16913 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16914 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16915 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16917 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16918 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16919 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16920 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16925 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16926 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16927 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16928 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16929 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16930 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16931 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16932 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16933 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16934 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16935 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16936 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16937 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16938 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16939 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16940 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16941 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16942 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16943 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16944 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16947 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16948 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16949 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16950 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16951 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16952 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16953 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16954 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16957 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16959 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16967 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16969 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16970 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16971 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16972 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16973 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16974 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16975 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16976 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16977 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16978 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16979
16980 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16981 _Float128, and include math_private.h.
16982 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16983
16984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16985 long double semantics.
16986 (_Float128): Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16988 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16990 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16991
16992 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
16993
16994 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16995 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16996 * sysdeps/s390/configure: Regenerated.
16997 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16998 instruction for raising over-/underflow if z196 zarch is supported
16999 by default.
17000 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17001
17002 2016-08-30 Svante Signell <svante.signell@gmail.com>
17003
17004 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17005 it point to a dumb buffer for RPC to fill it.
17006
17007 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
17008
17009 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17010 instead of if/else.
17011 (do_sin_slow): Likewise.
17012 (do_sincos_1): Use fabs instead of if/else.
17013 (do_sincos_2): Likewise.
17014 (__sin): Likewise.
17015 (__cos): Likewise.
17016 (slow2): Likewise.
17017 (sloww): Likewise.
17018 (sloww1): Likewise. Drop argument M.
17019 (sloww2): Use fabs instead of if/else.
17020 (bsloww): Likewise.
17021 (bsloww1): Likewise.
17022 (bsloww2): Likewise.
17023
17024 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17025 fall through comment.
17026 (do_sincos_1): Likewise.
17027
17028 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17029 Consolidate switch cases 0 and 2.
17030
17031 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17032
17033 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17034 (libm-calls): Remove the above.
17035
17036 * math/s_cexp_template.c: Update using type-generic macros.
17037 * math/s_clog10_template.c: Likewise.
17038 * math/s_cpow_template.c: Likewise.
17039 * math/s_clog_template.c: Likewise.
17040 * math/s_cproj_template.c: Likewise.
17041 * math/s_csqrt_template.c: Likewise.
17042
17043 * math/s_cexp.c: Removed.
17044 * math/s_cexpf.c: Removed.
17045 * math/s_cexpl.c: Removed.
17046 * math/s_clog10.c: Removed.
17047 * math/s_clog10f.c: Removed.
17048 * math/s_clog10l.c: Removed.
17049 * math/s_cpow.c: Removed.
17050 * math/s_cpowf.c: Removed.
17051 * math/s_cpowl.c: Removed.
17052 * math/s_clog.c: Removed.
17053 * math/s_clogf.c: Removed.
17054 * math/s_clogl.c: Removed.
17055 * math/s_cproj.c: Removed.
17056 * math/s_cprojf.c: Removed.
17057 * math/s_cprojl.c: Removed.
17058 * math/s_csqrt.c: Removed.
17059 * math/s_csqrtf.c: Removed.
17060 * math/s_csqrtl.c: Removed.
17061
17062 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17063 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17064 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17065 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17066 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17067 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17068
17069 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17070 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17071 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17072 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17073 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17074 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17075 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17076 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17077 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17078 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17079 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17080
17081 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17082 version.
17083
17084 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17085 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17086 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17087 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17088
17089 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17090
17091 * s_cexp_template.c: Copy of s_cexp.c.
17092 * s_clog_template.c: Copy of s_clog.c.
17093 * s_clog10_template.c: Copy of s_clog10.c.
17094 * s_cpow_template.c: Copy of s_cpow.c.
17095 * s_cproj_template.c: Copy of s_cproj.c.
17096 * s_csqrt_template.c: Copy of s_csqrt.c.
17097
17098 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17099
17100 [BZ #20517]
17101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17102 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17103 exported.
17104
17105 2016-08-29 Joseph Myers <joseph@codesourcery.com>
17106
17107 * math/fetestexceptflag.c: New file.
17108 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
17109 Stefan Liebler.
17110 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17111 (fetestexceptflag): New function declaration.
17112 * manual/arith.texi (fetestexceptflag): Document function.
17113 * math/Versions (fetestexceptflag): New libm symbol at version
17114 GLIBC_2.25.
17115 * math/Makefile (libm-support): Add fetestexceptflag.
17116 (tests): Add test-fetestexceptflag.
17117 * math/test-fetestexceptflag.c: New file.
17118 * sysdeps/nacl/libm.abilist: Update.
17119 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17120 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17121 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17122 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17123 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17124 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17125 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17126 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17127 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17128 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17129 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17130 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17132 Likewise.
17133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17134 Likewise.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17136 Likewise.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17138 Likewise.
17139 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17140 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17141 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17142 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17143 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17145 Likewise.
17146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17147 Likewise.
17148 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17149 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17151
17152 2016-08-26 Florian Weimer <fweimer@redhat.com>
17153
17154 [BZ #20432]
17155 Avoid strong references to malloc-internal symbols when linking
17156 statically, to support statically interposed mallocs.
17157 * include/libc-symbols.h (call_function_static_weak): New macro.
17158 * malloc/Makefile (tests): Add tst-interpose-nothread,
17159 tst-interpose-thread, tst-interpose-static-nothread,
17160 tst-interpose-static-thread.
17161 (tests-static): Add tst-interpose-static-nothread,
17162 tst-interpose-static-thread.
17163 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17164 tst-interpose-aux-thread.o.
17165 (test-extras): Add tst-interpose-aux-nothread,
17166 tst-interpose-aux-thread.
17167 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17168 tst-interpose-aux-nothread.o.
17169 (tst-interpose-thread, tst-interpose-static-thread): Link with
17170 tst-interpose-aux-thread.o and libthread.
17171 * malloc/tst-interpose-aux-nothread.c: New file.
17172 * malloc/tst-interpose-aux-thread.c: Likewise.
17173 * malloc/tst-interpose-aux.c: Likewise.
17174 * malloc/tst-interpose-aux.h: Likewise.
17175 * malloc/tst-interpose-nothread.c: Likewise.
17176 * malloc/tst-interpose-skeleton.c: Likewise.
17177 * malloc/tst-interpose-static-nothread.c: Likewise.
17178 * malloc/tst-interpose-static-thread.c: Likewise.
17179 * malloc/tst-interpose-thread.c: Likewise.
17180 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17181 * sysdeps/mach/hurd/fork.c (__fork): Only call
17182 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17183 __malloc_fork_unlock_child if defined.
17184 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17185
17186 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17187
17188 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17189 timespec C99 designated initialization.
17190
17191 2016-08-26 Florian Weimer <fweimer@redhat.com>
17192
17193 [BZ #19946]
17194 Avoid expected SIGALRM signals.
17195 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17196 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17197 (xpthread_create, xpthread_detach, xpthread_join)
17198 (delayed_exit_thread, delayed_exit): New functions.
17199 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17200 (tf): Use xpthread_cond_wait.
17201 (do_test): Likewise. Replace alarm with delayed_exit.
17202 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17203 (do_test): Call delayed_exit. Report failure.
17204 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17205 (do_test): Call delayed_exit.
17206 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17207 (do_test): Call delayed_exit. Use xpthread_join. Report error.
17208 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17209 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
17210 error.
17211 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17212 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
17213 error.
17214 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17215 (do_test): Call delayed_exit.
17216 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17217 (do_test): Call delayed_exit.
17218 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17219 (do_test): Call delayed_exit instead of alarm. Use
17220 xpthread_mutex_lock.
17221 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17222 (do_test): Call delayed_exit instead of alarm. Use
17223 xpthread_mutex_lock.
17224 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17225 (do_test): Call delayed_exit instead of alarm.
17226 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17227 (do_test): Call delayed_exit instead of alarm. Use
17228 xpthread_spin_lock.
17229 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17230 (do_test): Call delayed_exit instead of alarm. Use
17231 xpthread_join.
17232
17233 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
17234
17235 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17236 adjust CFA when allocating register save area on re-aligned
17237 stack.
17238
17239 2016-08-26 Florian Weimer <fweimer@redhat.com>
17240
17241 * string/tst-cmp.c: New test.
17242 * string/Makefile (tests): Add it.
17243
17244 2016-08-25 Mark Wielaard <mark@klomp.org>
17245
17246 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17247 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
17248 (check_tree_recurse): Use newly defined accessors.
17249 (check_tree): Likewise.
17250 (maybe_split_for_insert): Likewise.
17251 (__tfind): Likewise.
17252 (__tdelete): Likewise.
17253 (trecurse): Likewise.
17254 (tdestroy_recurse): Likewise.
17255 (__tsearch): Likewise. And add asserts for malloc alignment.
17256 (__twalk): Cast root to node in case CHECK_TREE is defined.
17257
17258 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17259
17260 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17261
17262 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17263
17264 * math/Makefile (libm-gen-calls): Add
17265 catan, catanh, ctan, ctanh.
17266 (libm-calls): Remove the above.
17267
17268 * math/s_catan_template.c: Update using type-generic macros.
17269 * math/s_catanh_template.c: Likewise.
17270 * math/s_ctan_template.c: Likewise.
17271 * math/s_ctanh_template.c: Likewise.
17272
17273 * math/s_catanf.c: Removed.
17274 * math/s_catan.c: Removed.
17275 * math/s_catanl.c: Removed.
17276 * math/s_catanhf.c: Removed.
17277 * math/s_catanh.c: Removed.
17278 * math/s_catanhl.c: Removed.
17279 * math/s_ctanf.c: Removed.
17280 * math/s_ctan.c: Removed.
17281 * math/s_ctanl.c: Removed.
17282 * math/s_ctanhf.c: Removed.
17283 * math/s_ctanh.c: Removed.
17284 * math/s_ctanhl.c: Removed.
17285
17286 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17287 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17288 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17289 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17290 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17291 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17292
17293 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17294 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17295 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17296 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17297
17298 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17299
17300 * s_catan_template.c: Copy of s_catan.c.
17301 * s_catanh_template.c: Copy of s_catanh.c.
17302 * s_ctan_template.c: Copy of s_ctan.c.
17303 * s_ctanh_template.c: Copy of s_ctanh.c.
17304
17305 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17306
17307 * math/Makefile (gen-libm-calls): Move
17308 casin, casinh, csin, csinh here.
17309 (libm-calls): Remove the above.
17310
17311 * math/s_casin_template.c: Update using type-generic macros.
17312 * math/s_casinh_template.c: Likewise.
17313 * math/s_csin_template.c: Likewise.
17314 * math/s_csinh_template.c: Likewise.
17315 * math/k_casinh_template.c: Likewise.
17316
17317 * math/s_casinf.c: Removed.
17318 * math/s_casin.c: Removed.
17319 * math/s_casinl.c: Removed.
17320 * math/s_casinh.c: Removed.
17321 * math/s_casinhf.c: Removed.
17322 * math/s_casinhl.c: Removed.
17323 * math/s_csin.c: Removed.
17324 * math/s_csinf.c: Removed.
17325 * math/s_csinl.c: Removed.
17326 * math/s_csinh.c: Removed.
17327 * math/s_csinhf.c: Removed.
17328 * math/s_csinhl.c: Removed.
17329 * math/k_casinh.c: Removed.
17330 * math/k_casinhf.c: Removed.
17331 * math/k_casinhl.c: Removed.
17332
17333 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17334 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17335 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17336 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17337
17338 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17339 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17340 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17341 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17342 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17343 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17344 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17345 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17346
17347 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17348 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17349 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17350 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17351
17352 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17353 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17354 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17355 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17356
17357 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17358
17359 * s_casin_template.c: Copy of s_casin.c.
17360 * s_casinh_template.c: Copy of s_casinh.c.
17361 * s_csin_template.c: Copy of s_csin.c.
17362 * s_csinh_template.c: Copy of s_csinh.c.
17363 * k_casinh_template.c: Copy of k_casinh.c.
17364
17365 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
17366
17367 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17368
17369 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17370
17371 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17372 (mul_split) Remove, rename as mul_splitl, remove
17373 redundant float.h include, and include via mul_splitl.h
17374
17375 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17377 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17378 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17379 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17380
17381 * math/mul_splitl.h: New file.
17382
17383 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17384 Move into mul_split.h, and remove redundant float.h include.
17385
17386 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17390
17391 * math/mul_split.h: New file.
17392
17393 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17394
17395 * math/Makefile (libm-gen-calls): Move
17396 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17397 (libm-calls): Remove above.
17398
17399 * math/s_cacos_template.c: Update using type-generic macros.
17400 * math/s_cacosh_template.c: Likewise.
17401 * math/s_ccos_template.c: Likewise.
17402 * math/s_ccosh_template.c: Likewise.
17403
17404 * math/s_cacosf.c: Removed.
17405 * math/s_cacos.c: Removed.
17406 * math/s_cacosl.c: Removed.
17407 * math/s_cacoshf.c: Removed.
17408 * math/s_cacosh.c: Removed.
17409 * math/s_cacoshl.c: Removed.
17410 * math/s_ccosf.c: Removed.
17411 * math/s_ccos.c: Removed.
17412 * math/s_ccosl.c: Removed.
17413 * math/s_ccoshf.c: Removed.
17414 * math/s_ccosh.c: Removed.
17415 * math/s_ccoshl.c: Removed.
17416
17417 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17418 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17419 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17420 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17421 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17422 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17423
17424 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17425 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17426 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17427 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17428
17429 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17430 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17431 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17432 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17433
17434 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17435
17436 * s_cacos_template.c: Copy of s_cacos.c.
17437 * s_cacosh_template.c: Copy of s_cacosh.c.
17438 * s_ccos_template.c: Copy of s_ccos.c.
17439 * s_ccosh_template.c: Copy of s_ccosh.c.
17440
17441 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17442
17443 * stdlib/tst-strtod-round-skeleton.c:
17444 Refactored from tst-strtod-round.c.
17445
17446 (L_): New macro to apply literal modifier.
17447 (FNPFX): New macro to select str or wcs prefix.
17448 (CHAR): New macro to choose wchar_t or char.
17449 (STRM): New macro to choose printf for tested character type.
17450
17451 (STRTO): New macro to choose appropriate string -> real function.
17452 (FNPFXS): Stringitized version of FNPFX.
17453 (STR): Support for above macro.
17454 (STRX): Likewise.
17455
17456 (TEST): Update with above macros.
17457 (test): Likewise.
17458 (GEN_ONE_TEST): Likewise.
17459 (test_in_one_mode): Likewise.
17460
17461 * stdlib/tst-strtod-round.c: New file.
17462 * wcsmbs/tst-wcstod-round.c: New file.
17463
17464 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17465 (tst-wcstod-round): Add libm depencency for fesetround.
17466
17467 2016-08-19 Zack Weinberg <zackw@panix.com>
17468
17469 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17470
17471 2016-08-18 Torvald Riegel <triegel@redhat.com>
17472
17473 [BZ #20477]
17474 * resolv/res_hconf.c (do_init): Use atomic access.
17475 * resolv/res_hconf.h: Add comments.
17476 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17477 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17479
17480 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
17481
17482 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17483 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17484 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17485 Likewise.
17486
17487 2016-08-18 Florian Weimer <fweimer@redhat.com>
17488
17489 [BZ #16907]
17490 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17491 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17492 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17493 (__attribute__): Remove definition.
17494
17495 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17496
17497 * sysdeps/ieee754/ldbl-128/e_asinl.c:
17498 Remove unused sqrtl declaration.
17499
17500 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17501
17502 * math/Makefile: (gen-libm-templates.stmp): New rule.
17503 (libm-calls): Move carg conj cimag and cabs into ...
17504 (gen-libm-calls): New variable.
17505 (generated): Inform Make objects from gen-libm-calls
17506 may be generated.
17507
17508 * sysdeps/generic/math-type-macros.h: New file.
17509 * sysdeps/generic/math-type-macros-float.h: Likewise.
17510 * sysdeps/generic/math-type-macros-double.h: Likewise.
17511 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17512 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17513 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17514
17515 * math/cabs.c: Refactor into
17516 * math/cabs_template.c: new file.
17517 * math/cabsf.c: Removed.
17518 * math/cabsl.c: Removed.
17519 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17520 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17521
17522 * math/carg.c: Refactor into
17523 * math/carg_template.c: new file.
17524 * math/cargf.c: Removed.
17525 * math/cargl.c: Removed.
17526 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17527 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17528
17529 * math/conj.c: Refactor into
17530 * math/conj_template.c: new file.
17531 * math/conjf.c: Removed.
17532 * math/conjl.c: Removed.
17533 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17534 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17535
17536 * math/cimag.c: Refactor into
17537 * math/cimag_template.c: new file.
17538 * math/cimagf.c: Removed.
17539 * math/cimagl.c: Removed.
17540 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17541 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17542
17543 * math/cimag.c: Refactor into
17544 * math/cimag_template.c: new file.
17545 * math/cimagf.c: Removed.
17546 * math/cimagl.c: Removed.
17547 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17548 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17549
17550 2016-08-17 Florian Weimer <fweimer@redhat.com>
17551
17552 Reduce time to expected nptl/tst-once5 failure.
17553 * nptl/tst-once5.cc (TIMEOUT): Define.
17554
17555 2016-08-17 Florian Weimer <fweimer@redhat.com>
17556
17557 [BZ #20452]
17558 Avoid additional copies of objects in libc.a in static libraries.
17559 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17560 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17561 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17562 rt-sysdep.
17563 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17564 Add nptl-sysdep.
17565 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17566 Add ptw-sysdep.
17567 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17568 rt-sysdep.
17569 * sysdeps/unix/sysv/linux/alpha/Makefile
17570 (libpthread-shared-only-routines): Add ptw-sysdep,
17571 ptw-sigprocmask, ptw-rt_sigaction.
17572 * sysdeps/unix/sysv/linux/ia64/Makefile
17573 (librt-shared-only-routines): Add rt-sysdep.
17574 * sysdeps/unix/sysv/linux/i386/Makefile
17575 (libpthread-shared-only-routines): Add libc-do-syscall.
17576 * sysdeps/unix/sysv/linux/microblaze/Makefile
17577 (libpthread-shared-only-routines): Add sysdep.
17578 * sysdeps/unix/sysv/linux/powerpc/Makefile
17579 (librt-shared-only-routines): Add rt-sysdep.
17580 (libpthread-shared-only-routines): Add sysdep.
17581 * sysdeps/unix/sysv/linux/s390/Makefile
17582 (librt-shared-only-routines): Add rt-sysdep.
17583 * sysdeps/unix/sysv/linux/sparc/Makefile
17584 (librt-shared-only-routines): Add rt-sysdep.
17585 (libpthread-shared-only-routines): Add sysdep.
17586 * sysdeps/unix/sysv/linux/tile/Makefile
17587 (libpthread-shared-only-routines): Likewise.
17588
17589 2016-08-16 Joseph Myers <joseph@codesourcery.com>
17590
17591 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17592 Mask implicit bit out of unpacked value.
17593 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17595 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17596
17597 * sysdeps/sparc/fpu/fesetexcept.c: New file.
17598
17599 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17600
17601 * sysdeps/s390/fpu/fesetexcept.c: New file.
17602
17603 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17604 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17605 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17606
17607 * sysdeps/mips/fpu/fesetexcept.c: New file.
17608
17609 * sysdeps/m68k/fpu/fesetexcept.c: New file.
17610
17611 * sysdeps/ia64/fpu/fesetexcept.c: New file.
17612
17613 * sysdeps/hppa/fpu/fesetexcept.c: New file.
17614
17615 * sysdeps/arm/fesetexcept.c: New file.
17616
17617 * sysdeps/alpha/fpu/fesetexcept.c: New file.
17618
17619 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17620
17621 * math/fesetexcept.c: New file.
17622 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17623 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17624 * math/fenv.h: Define
17625 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17626 <bits/libc-header-start.h> instead of including <features.h>.
17627 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17628 declaration.
17629 * manual/arith.texi (fesetexcept): Document function.
17630 * math/Versions (fesetexcept): New libm symbol at version
17631 GLIBC_2.25.
17632 * math/Makefile (libm-support): Add fesetexcept.
17633 (tests): Add test-fesetexcept and test-fesetexcept-traps.
17634 * math/test-fesetexcept.c: New file.
17635 * math/test-fesetexcept-traps.c: Likewise.
17636 * sysdeps/nacl/libm.abilist: Update.
17637 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17638 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17639 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17640 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17641 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17642 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17643 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17644 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17645 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17646 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17647 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17648 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17650 Likewise.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17652 Likewise.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17654 Likewise.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17656 Likewise.
17657 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17658 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17659 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17660 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17661 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17663 Likewise.
17664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17665 Likewise.
17666 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17667 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17668 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17669
17670 2016-08-16 Florian Weimer <fweimer@redhat.com>
17671
17672 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
17673 New.
17674 (do_test): Apply default_stack_size_in_mb if not set.
17675 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
17676
17677 2016-08-15 Andreas Schwab <schwab@suse.de>
17678
17679 [BZ #20435]
17680 CVE-2016-6323
17681 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
17682 as .cantunwind.
17683
17684 2016-08-12 Joseph Myers <joseph@codesourcery.com>
17685
17686 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
17687 comment from fraiseexcpt.c.
17688
17689 * math/test-fexcept.c (feraiseexcept_exact): New function.
17690 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
17691 (test_except): Likewise.
17692
17693 2016-08-10 Joseph Myers <joseph@codesourcery.com>
17694
17695 [BZ #20455]
17696 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
17697 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
17698 to be restored.
17699
17700 * math/test-fexcept-traps.c: New file.
17701 * math/test-fexcept.c: Likewise.
17702 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
17703 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
17704 macro.
17705 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
17706 (EXCEPTION_SET_FORCES_TRAP): Likewise.
17707
17708 2016-08-09 Torvald Riegel <triegel@redhat.com>
17709
17710 * include/atomic.h (atomic_fetch_and_relaxed,
17711 atomic_fetch_and_release, atomic_fetch_or_release,
17712 atomic_fetch_xor_release): New.
17713
17714 2016-08-06 Christian Seiler <christian@iwakd.de>
17715
17716 [BZ #20444]
17717 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
17718 MACH_PORT_NULL.
17719
17720 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
17721
17722 * math/s_fdim.c: Avoid alias renamed.
17723 * math/s_fdimf.c: Likewise.
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17725 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17726 Add s_fdimf-vis3, s_fdim-vis3.
17727 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17728 (CFLAGS-s_fdim-vis3.c): Likewise.
17729 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
17730 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17731
17732 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
17733
17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17735 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17736 Remove s_fdimf-vis3, s_fdim-vis3.
17737 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
17738 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
17739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
17740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
17745 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
17746 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
17747
17748 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
17749
17750 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
17751 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
17752 -Wa,-Av9a -mvis.
17753
17754 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17755
17756 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
17757 LIT() to individual constants in simple expressions
17758 after splitting on spaces.
17759 (_apply_lit): Rename replaced version, and use it to
17760 apply to what appears to be a token.
17761
17762 * math/libm-test.inc: Fix many, many issues with
17763 spacing.
17764
17765 2016-08-05 Joseph Myers <joseph@codesourcery.com>
17766
17767 * math/math.h: Move comment about <bits/mathdef.h> definitions
17768 above inclusion of <bits/mathdef.h>. Do not mention
17769 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
17770
17771 2016-08-05 Torvald Riegel <triegel@redhat.com>
17772
17773 * include/atomic.h (atomic_exchange_relaxed): New.
17774
17775 2016-08-04 Joseph Myers <joseph@codesourcery.com>
17776
17777 * math/e_scalb.c: Do not include <fenv.h>.
17778 (invalid_fn): Do calculation resulting in NaN instead of raising
17779 FE_INVALID and returning a NaN explicitly.
17780 * math/e_scalbf.c: Do not include <fenv.h>.
17781 (invalid_fn): Do calculation resulting in NaN instead of raising
17782 FE_INVALID and returning a NaN explicitly.
17783 * math/e_scalbl.c: Do not include <fenv.h>.
17784 (invalid_fn): Do calculation resulting in NaN instead of raising
17785 FE_INVALID and returning a NaN explicitly.
17786
17787 2016-08-04 Carlos O'Donell <carlos@redhat.com>
17788
17789 * po/de.po: Updated from Translation Project.
17790 * po/fi.po: Likewise.
17791 * po/sv.po: Likewise.
17792
17793 2016-08-04 Florian Weimer <fweimer@redhat.com>
17794
17795 [BZ #20452]
17796 Use sysdep.o from libc.a in static libraries.
17797 * sysdeps/unix/sysv/linux/i386/Makefile
17798 (libpthread-shared-only-routines): Add sysdep.
17799 (librt-shared-only-routines): Likewise.
17800
17801 2016-08-03 Joseph Myers <joseph@codesourcery.com>
17802
17803 * math/tgmath.h (nextdown): Define if
17804 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17805 (nextup): Likewise.
17806
17807 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17808 macro.
17809 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17810 Document.
17811 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17812 Document macro.
17813 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17814 (exp10f): Likewise.
17815 (exp10l): Likewise.
17816 * math/bits/mathcalls.h (exp10): Declare if
17817 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17818
17819 * manual/arith.texi (nextup): Fix typo in last change.
17820
17821 2016-08-03 Zack Weinberg <zackw@panix.com>
17822
17823 [BZ #19239]
17824 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17825 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17826 define major, minor, and makedev to issue deprecation warnings on use.
17827 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17828 previously-activated deprecation warnings for these macros and prevent
17829 subsequent inclusions of this header from having any effect.
17830 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17831 including <sys/sysmacros.h>, and undefine it again afterward.
17832
17833 2016-08-03 Zack Weinberg <zackw@panix.com>
17834
17835 * sysdeps/generic/sys/sysmacros.h: Delete file.
17836 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17837 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17838 * bits/sysmacros.h: ... here; this encoding is now the generic
17839 encoding. Now defines only the following macros:
17840 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17841 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17842 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17843
17844 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17845 bits/sysmacros.h and the above new macros to generate the
17846 public implementations of major, minor, and makedev.
17847 * misc/tst-makedev.c: New test.
17848 * include/sys/sysmacros.h: New wrapper.
17849
17850 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17851 (routines): Add makedev.
17852 (tests): Add tst-makedev.
17853 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17854 gnu_dev_makedev.
17855 * posix/Makefile (headers): Remove sys/sysmacros.h.
17856 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17857
17858 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17859 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17860 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17861 * sysdeps/unix/sysv/linux/alpha/libc.abilist
17862 * sysdeps/unix/sysv/linux/arm/libc.abilist
17863 * sysdeps/unix/sysv/linux/hppa/libc.abilist
17864 * sysdeps/unix/sysv/linux/i386/libc.abilist
17865 * sysdeps/unix/sysv/linux/ia64/libc.abilist
17866 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17867 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17868 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17869 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17870 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17871 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17872 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17873 * sysdeps/unix/sysv/linux/nios2/libc.abilist
17874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17878 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17879 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17880 * sysdeps/unix/sysv/linux/sh/libc.abilist
17881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17882 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17886 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17887 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17888 Add GLIBC_2.25.
17889
17890 * include/features.h (__glibc_clang_prereq): New macro.
17891 * misc/sys/cdefs.h (__glibc_clang_has_extension)
17892 (__attribute_deprecated_msg__): New macros.
17893
17894 2016-08-03 Joseph Myers <joseph@codesourcery.com>
17895
17896 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17897 macro.
17898 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17899 * manual/arith.texi (issignaling): Document as ISO from TS
17900 18661-1:2014.
17901 (nextup): Likewise.
17902 (nextupf): Likewise.
17903 (nextupl): Likewise.
17904 (nextdown): Likewise.
17905 (nextdownf): Likewise.
17906 (nextdownl): Likewise.
17907 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17908 macro.
17909 * math/math.h: Define
17910 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17911 <bits/libc-header-start.h> instead of including <features.h>.
17912 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17913 [__USE_GNU].
17914 * math/bits/mathcalls.h (nextdown): Declare if
17915 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17916 (nextup): Likewise.
17917 (__issignaling): Likewise.
17918
17919 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17920
17921 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17922 check, and remove __glibc_likely hint
17923 from FP_INFINITE check.
17924 * s_csinhf.c (__csinhf): Likewise.
17925
17926 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17927 hint from FP_INFINITE check.
17928 * s_csinhl.c (__csinhl): Likewise.
17929
17930 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17931
17932 * math/Makefile (libm-calls): Insert F placeholder into
17933 object names. Move w_lgamma_compat* routines into
17934 (libm-compat-calls): New variable.
17935 (libm-compat-calls-ldouble-yes): New variable.
17936 (calls): Insert F placeholder.
17937 (generated): Redefine using new type-foreach macro call.
17938 (routines): Likewise.
17939
17940 (types): New variable to hold a list of symbolic names
17941 for each type supported by the target machine.
17942 (libm-routines): Redefine using new types variable.
17943 (type-foreach): macro to replace fooF with the
17944 appropriately suffixed foo for each types.
17945
17946 (type-ldouble-suffix): New variable.
17947 (type-ldouble-routines): Likewise.
17948 (type-ldouble-yes): Likewise.
17949 (type-double-suffix): Likewise.
17950 (type-double-routines): Likewise.
17951 (type-float-suffix): Likewise.
17952 (type-float-routines): Likewise.
17953
17954 (dbl-only-routines): Remove.
17955 (long-c-yes): Likewise.
17956 (long-m-routines): Likewise.
17957 (long-m-support): Likewise.
17958 (long-m-yes): Likewise.
17959 (test-longdouble-yes): Likewise.
17960
17961 (test-float.o): Simplify by increasing the scope of the
17962 recipe which adds libm-test.stmp to the vector types.
17963 (test-ifloat.o): Likewise.
17964 (test-float-finite.o): Likewise.
17965 (test-double.o): Likewise
17966 (test-idouble.o): Likewise.
17967 (test-double-finite.o): Likewise.
17968 (test-ldouble.o): Likewise
17969 (test-ildoubl.o): Likewise.
17970 (test-ldouble-finite.o): Likewise.
17971
17972 (libm-tests): Redefine type tests using foreach and the
17973 list of types in types.
17974
17975 (CPPFLAGS-test-ildoubl.c): Rename to
17976 (CPPFLAGS-test-ildouble.c): New variable
17977
17978 * math/test-ildoubl.c: Rename to
17979 * math/test-ildouble.c: New file.
17980
17981 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17982
17983 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17984 Use fabsl instead of fabs.
17985 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17986 Likewise.
17987 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17988 Add long double suffix to constant to ensure proper
17989 promotion to long double.
17990
17991 2016-08-03 Tom Tromey <tom@tromey.com>
17992
17993 [BZ #20311]
17994 * nptl_db/Makefile (headers): Add proc_service.h.
17995 * nptl_db/proc_service.h: Add include guard. Use
17996 __BEGIN/__END_DECLS.
17997 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17998 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17999 arguments.
18000
18001
18002 2016-08-03 Florian Weimer <fweimer@redhat.com>
18003
18004 [BZ #17730]
18005 Avoid using memalign for TCB allocations.
18006 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18007 (_dl_allocate_tls_storage): Use malloc and manual alignment.
18008 Avoid alignment gap in the TLS_DTV_AT_TP case.
18009 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18010 determine the pointer to free.
18011 * nptl/tst-tls3-malloc.c: New test.
18012 * nptl/Makefile (tests): Add it.
18013 (tst-tls3-malloc): Link with libdl, libpthread.
18014 (LDFLAGS-tst-tls3-malloc): Set.
18015 (tst-tls3-malloc.out): Depend on DSO used in test.
18016
18017 2016-08-03 Florian Weimer <fweimer@redhat.com>
18018
18019 [BZ #17730]
18020 Avoid using memalign for TLS allocations.
18021 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
18022 is_static member with to_free member.
18023 (union dtv): Use struct dtv_pointer.
18024 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18025 dtv_pointer instead of is_static.
18026 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18027 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18028 instead of val.
18029 (allocate_dtv_entry): New function.
18030 (allocate_and_init): Return struct dtv_pointer. Call
18031 allocate_dtv_entry instead of __libc_memalign.
18032 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18033 instead of val.
18034 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18035 instead of is_static. Adjust call to allocate_and_init.
18036 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18037 struct dtv_pointer instead of val.
18038
18039 2016-08-03 Florian Weimer <fweimer@redhat.com>
18040
18041 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18042 (MALLOC_ALIGN_MASK): Move ...
18043 * malloc/malloc-internal.h: ... to here.
18044 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18045
18046 2016-08-03 Joseph Myers <joseph@codesourcery.com>
18047
18048 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18049 (UDP_ENCAP_GTP1U): Likewise.
18050
18051 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18052 (PF_MAX): Update value.
18053 (AF_QIPCRTR): New macro.
18054
18055 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18056
18057 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18059 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18061 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18062 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18063 s_truncf-vis3, s_trunc-vis3.
18064 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18065 (CFLAGS-s_ceil-vis3.c): Likewise.
18066 (CFLAGS-s_floorf-vis3.c): Likewise.
18067 (CFLAGS-s_floor-vis3.c): Likewise.
18068 (CFLAGS-s_truncf-vis3.c): Likewise.
18069 (CFLAGS-s_trunc-vis3.c): Likewise.
18070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18078 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18079 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18080 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18081 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18082
18083 2016-08-02 David S. Miller <davem@davemloft.net>
18084
18085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18086 (__nearbyint_vis3): Don't check for sNaN before float register is
18087 loaded with the incoming argument.
18088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18089 (__nearbyintf_vis3): Likewise.
18090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18091 Likewise.
18092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18093 Likewise.
18094
18095 * string/test-strncmp.c (do_test_limit): Make sure the test data
18096 stream is aligned as required for the type "CHAR".
18097 (do_test): Likewise.
18098
18099 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
18100
18101 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18102 by beq instructions jumping to the end of the function.
18103 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18104 clobber list. Use "i" constraint instead of "X".
18105 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18106 of "X".
18107
18108 2016-08-02 Joseph Myers <joseph@codesourcery.com>
18109
18110 * bits/libc-header-start.h: New file.
18111 * Makefile (headers): Add bits/libc-header-start.h.
18112 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18113 (__GLIBC_USE): New macro.
18114 * libio/stdio.h: Define
18115 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18116 <bits/libc-header-start.h> instead of including <features.h>.
18117 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18118 (open_memstream): Likewise.
18119 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18120 (__asprintf): Likewise.
18121 (asprintf): Likewise.
18122 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18123 (getdelim): Likewise.
18124 (getline): Likewise.
18125 * string/string.h: Define
18126 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18127 <bits/libc-header-start.h> instead of including <features.h>.
18128 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18129 (strndup): Likewise.
18130 * wcsmbs/wchar.h: Define
18131 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18132 <bits/libc-header-start.h> instead of including <features.h>.
18133 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18134 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18135
18136 2016-08-02 Florian Weimer <fweimer@redhat.com>
18137
18138 Support linking against compatibility symbols, for use in tests.
18139 * include/libc-symbols.h (symbol_version_reference): New macro.
18140 (symbol_version): Use it.
18141 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18142 (compat_symbol): Use compat_symbol_reference.
18143 (compat_symbol_1, compat_symbol_2): Remove.
18144 (compat_symbol_reference, compat_symbol_reference_1)
18145 (compat_symbol_reference_2): New macro. Use
18146 symbol_version_reference.
18147
18148 2016-08-02 Florian Weimer <fweimer@redhat.com>
18149
18150 [BZ #19469]
18151 * malloc/Makefile (CPPFLAGS): Compile tests with
18152 -DTEST_NO_MALLOPT.
18153 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18154
18155 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
18156
18157 [BZ #20033]
18158 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18159 finite version.
18160 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18161 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18162 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18163 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18164 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18165 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18166 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18167 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18168 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18169 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18170 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18171 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18172 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18173 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18174 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18175 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18176 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18177 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18178 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18179 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18180 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18181 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18182 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18183 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18184 in zero power.
18185
18186 2016-08-02 Florian Weimer <fweimer@redhat.com>
18187
18188 [BZ #20370]
18189 * malloc/arena.c (get_free_list): Update comment. Assert that
18190 arenas on the free list have no attached threads.
18191 (remove_from_free_list): New function.
18192 (reused_arena): Call it.
18193
18194 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
18195
18196 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18197 when it is a NaN.
18198 [_IEEE_FP_INEXACT] Remove.
18199 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18200 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18201 when it is a NaN.
18202 [_IEEE_FP_INEXACT] Remove.
18203 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18204 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18205 when it is a NaN.
18206 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18207 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18208 when its absolute value is greater than 0x1.0p52.
18209 [_IEEE_FP_INEXACT] Remove.
18210 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18211 when its absolute value is greater than 0x1.0p23.
18212 [_IEEE_FP_INEXACT] Remove.
18213
18214 2016-08-01 Carlos O'Donell <carlos@redhat.com>
18215
18216 * version.h (RELEASE): Set to "development"
18217 (VERSION): Set to 2.24.90.
18218 * NEWS: Add 2.25 section.
18219
18220 * version.h (RELEASE): Set to "stable"
18221 (VERSION): Set to 2.24.
18222 * include/features.h (__GLIBC_MINOR__): Set to 24.
18223
18224 * NEWS: Add 2.24 fixed bugs.
18225 * po/libc.pot: Regenerate.
18226
18227 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
18228
18229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18230 [$(subdir) = math] (libm-sysdep_routines): Remove.
18231 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18232 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18233 s_truncf-vis3, s_trunc-vis3.
18234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18236 file.
18237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18270 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18271 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18272 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18273 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18274 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18275 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18276 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18277 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18278 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18279 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18280
18281 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
18282
18283 [BZ #20384]
18284 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18285 test-double-libmvec-sincos-avx-main.o,
18286 test-double-libmvec-sincos-avx2-main.o,
18287 test-double-libmvec-sincos-main.o,
18288 test-float-libmvec-sincosf-avx-main.o,
18289 test-float-libmvec-sincosf-avx2-main.o and
18290 test-float-libmvec-sincosf-main.o.
18291 test-float-libmvec-sincosf-avx512-main.o.
18292 ($(objpfx)test-double-libmvec-sincos): Also link with
18293 $(objpfx)test-double-libmvec-sincos-main.o.
18294 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18295 $(objpfx)test-double-libmvec-sincos-avx-main.o.
18296 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18297 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18298 ($(objpfx)test-float-libmvec-sincosf): Also link with
18299 $(objpfx)test-float-libmvec-sincosf-main.o.
18300 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18301 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18302 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18303 test-double-libmvec-sincos-avx512-main.o and
18304 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18305 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18306 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18307 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18308 (CFLAGS-test-double-libmvec-sincos.c): Removed.
18309 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18310 (CFLAGS-test-double-libmvec-sincos-main.c): New.
18311 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18312 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18313 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18314 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18315 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18316 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18317 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18318 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18319 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18320 -DREQUIRE_AVX2.
18321 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18322 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18323 -DREQUIRE_AVX512F.
18324 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18325 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18326 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18327 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18328 file.
18329 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18330 Likewise.
18331 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18332 Likewise.
18333 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18334 Likewise.
18335 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18336 Likewise.
18337 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18338 Likewise.
18339 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18340 Likewise.
18341 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18342 Likewise.
18343
18344 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
18345
18346 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18347
18348 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
18349
18350 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18351 and typo in a comment about AT_HWCAP entry.
18352
18353 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
18354
18355 * sysdeps/aarch64/libm-test-ulps: Updated.
18356
18357 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18358
18359 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18360 of r13 as it is not restored in mvcle case.
18361
18362 2016-07-19 Mike Frysinger <vapier@gentoo.org>
18363
18364 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18365 Rename "ret" to "__ret".
18366 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18367 inline_syscall5, inline_syscall6): Likewise.
18368
18369 2016-07-19 Will Newton <will.newton@gmail.com>
18370
18371 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18372 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18373 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18374 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18375 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18376
18377 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
18378
18379 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18380 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18381 -mfpmath=387 with $(rtld-CFLAGS).
18382 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18383 $(rtld-CFLAGS).
18384
18385 2016-07-18 Ross Burton <ross.burton@intel.com>
18386 Khem Raj <raj.khem@gmail.com>
18387
18388 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18389 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18390 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18391 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18392 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18393 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18394 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18395 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18396 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18397 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18398 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18399 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18400 R_METAG_TLS_DTPOFF): New.
18401
18402 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
18403 Matt Clay <mclay@lycos.com>
18404
18405 [BZ #20357]
18406 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18407 to call __mpsin/__mpcos and to negate values.
18408 * math/auto-libm-test-in: Add test.
18409 * math/auto-libm-test-out: Regenerate.
18410
18411 2016-07-18 Zack Weinberg <zackw@panix.com>
18412
18413 * grp/Makefile: Don't install the internal header grp-merge.h.
18414
18415 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
18416
18417 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18418
18419 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
18420
18421 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18422
18423 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18424
18425 [BZ #15368]
18426 * sysdeps/unix/sysv/linux/nptl-signals.h
18427 (__nptl_clear_internal_signals): New function.
18428 (__libc_signal_block_all): Likewise.
18429 (__libc_signal_block_app): Likewise.
18430 (__libc_signal_restore_set): Likewise.
18431 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18432 implementation.
18433 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18434 the cached pid/tid value in pthread structure.
18435
18436 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 [BZ #20347]
18439 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18440
18441 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18442
18443 [BZ #20348]
18444 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18445 preadv64, pwrite64 and pwritev64.
18446
18447 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18448
18449 [BZ #20350]
18450 * posix/tst-preadwrite.c: Renamed to ...
18451 * posix/tst-preadwrite-common.c: This.
18452 (PREAD): Removed.
18453 (PWRITE): Likewise.
18454 (STRINGIFY): Likewise.
18455 (STRINGIFY2): Likewise.
18456 (do_prepare): Make it static and remove function arguments.
18457 (do_test): Likewise.
18458 (PREPARE): Updated.
18459 (TEST_FUNCTION): New.
18460 (name): Make it static.
18461 (fd): Likewise.
18462 (do_prepare): Use create_temp_file.
18463 (do_test): Renamed to ...
18464 (do_test_with_offset): This. Make it static and accept offset.
18465 Properly check return value of PWRITE and PREAD. Return bytes
18466 read. Don't close fd nor unlink name.
18467 * posix/tst-preadwrite.c: Rewrite.
18468 * posix/tst-preadwrite64.c: Likewise.
18469
18470 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
18471
18472 [BZ #20309]
18473 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18474 -mtls-dialect=gnu2 works.
18475 * configure: Regenerated.
18476 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18477 (tests): Add tst-gnu2-tls1.
18478 (modules-names): Add tst-gnu2-tls1mod.
18479 ($(objpfx)tst-gnu2-tls1): New.
18480 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18481 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18482 * elf/tst-gnu2-tls1.c: New file.
18483 * elf/tst-gnu2-tls1mod.c: Likewise.
18484 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18485 bytes for push in the PLT entry to align the stack.
18486
18487 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
18488
18489 [BZ #20349]
18490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18491
18492 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
18493
18494 [BZ #18707]
18495 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18496 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18497
18498 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18499
18500 * sysdeps/unix/sysv/linux/sysdep.h
18501 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18502 guards.
18503 * misc/tst-preadvwritev-common.c: New file.
18504 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18505 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18506 a check for files larger than 2GB.
18507
18508 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18509 (__ASSUME_OFF_DIFF_OFF64): Remove define.
18510 * sysdeps/unix/sysv/linux/pread.c
18511 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18512 __OFF_T_MATCHES_OFF64_T.
18513 * sysdeps/unix/sysv/linux/pread64.c
18514 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18515 * sysdeps/unix/sysv/linux/preadv.c
18516 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18517 * sysdeps/unix/sysv/linux/preadv64.c
18518 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18519 * sysdeps/unix/sysv/linux/pwrite.c
18520 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18521 * sysdeps/unix/sysv/linux/pwrite64.c
18522 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18523 * sysdeps/unix/sysv/linux/pwritev.c
18524 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18525 * sysdeps/unix/sysv/linux/pwritev64.c
18526 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18527
18528 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
18529
18530 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18531 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18532
18533 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18534
18535 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18536
18537 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
18538
18539 [BZ #20240]
18540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18541 (CFLAGS-s_modf-ppc32.c): New variable.
18542 (CFLAGS-s_modff-ppc32.c): Likewise.
18543 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18544 (CFLAGS-s_modf-ppc64.c): Likewise.
18545 (CFLAGS-s_modff-ppc64.c): Likewise.
18546
18547 2016-07-07 Andreas Schwab <schwab@suse.de>
18548
18549 [BZ #20263]
18550 * nptl/tst-robust10.c: New test.
18551 * nptl/Makefile (tests): Add tst-robust10.
18552
18553 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
18554
18555 [BZ #20263]
18556 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18557
18558 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
18559
18560 * sysdeps/s390/linkmap.h (struct link_map_machine):
18561 Remove member gotplt and add member jmprel.
18562 * sysdeps/s390/s390-32/dl-machine.h
18563 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18564 instead of gotplt with &got[3].
18565 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18566 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18567
18568 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
18569
18570 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18571
18572 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18573
18574 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18575 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18576 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18577 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18578 * libio/vtables.c (_IO_vtable_check)
18579 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18580 * libio/libioP.h (IO_set_accept_foreign_vtables)
18581 [!PTR_MANGLE]: Do not call PTR_MANGLE.
18582
18583 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
18584
18585 [BZ #20314]
18586 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18587 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18588 $(common-objpfx)cmath.
18589 ($(common-objpfx)cstdlib): New target.
18590 ($(common-objpfx)cmath): Likewise.
18591
18592 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
18593
18594 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18595
18596 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18597
18598 [BZ #20327]
18599 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18600 are not part of the string.
18601
18602 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18603
18604 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18605 * nptl/tst-cancel4-common.h (fifoname): New variable.
18606 (fifofd): Likewise.
18607 (cl_fifo): New function.
18608 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18609 SIGINT.
18610 (tf_open): Add early cancel test.
18611
18612 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
18613
18614 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18615
18616 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
18617
18618 * sysdeps/generic/ldsodefs.h
18619 (dl_symbol_visibility_binds_local_p): New inline function.
18620 * elf/dl-addr.c (determine_info): Treat hidden and internal
18621 symbols as local.
18622 * elf/dl-lookup.c (do_lookup_x): Likewise.
18623 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18624
18625 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
18626
18627 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18628 invalid exception for a sNaN input.
18629 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18630 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18631 (__nearbyint_vis3): Likewise
18632 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18633 (__nearbyintf_vis3): Likewise
18634 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18635 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18636 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18637 Likewise.
18638 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18639 Likewise.
18640
18641 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
18642
18643 [BZ #20139]
18644 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18645 (HAVE_AVX512DQ_ASM_SUPPORT): This.
18646 * sysdeps/x86_64/configure.ac: Require assembler from binutils
18647 2.24 or above.
18648 (HAVE_AVX512_ASM_SUPPORT): Removed.
18649 (HAVE_AVX512DQ_ASM_SUPPORT): New.
18650 * sysdeps/x86_64/configure: Regenerated.
18651 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18652 check unconditional.
18653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18654 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18655 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18656 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18657 Likewise.
18658 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18659 Likewise.
18660 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18661 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18662 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18663 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18664 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18665 Likewise.
18666 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18667 Likewise.
18668 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18669 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
18671 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
18672 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
18673 Likewise.
18674 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
18675 Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
18677 Likewise.
18678 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
18679 Likewise.
18680 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
18681 Likewise.
18682 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
18683 Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
18685 Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
18687 Likewise.
18688 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
18689 Likewise.
18690 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
18691 Likewise.
18692 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
18693 Likewise.
18694
18695 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
18696
18697 [BZ #20024]
18698 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
18699 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
18700 of this implementation of vector function.
18701 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18702 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18703 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18704 Likewise.
18705 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18706 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18707 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
18708 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
18709 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
18710 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
18711 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18712 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
18713 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
18714 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
18715 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
18716 for testing vector sincos with fixed ABI.
18717 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18718 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18719 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18720 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18721 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18722 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18723 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18724 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
18725 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
18726 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
18727 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
18728 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
18729 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
18730 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
18731 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18732 * sysdeps/x86_64/fpu/Makefile: Added new tests.
18733
18734 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
18735
18736 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
18737
18738 2016-06-30 Anton Blanchard <anton@samba.org>
18739
18740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18741 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
18742 s_sinf-ppc64.
18743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
18744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
18745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
18746 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
18747
18748 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18749
18750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18752 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
18753 e_expf-ppc64.
18754 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18755 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
18756 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
18757 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
18758
18759 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
18760
18761 [BZ #20277]
18762 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
18763 when SHARED is defined.
18764
18765 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
18766
18767 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
18768 (index_arch_Prefer_ERMS): Likewise.
18769 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
18770 __memcpy_erms for Prefer_ERMS.
18771 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18772 (__memmove_erms): Enabled for libc.a.
18773 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
18774 __memmove_erms or Prefer_ERMS.
18775 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
18776 __mempcpy_erms for Prefer_ERMS.
18777 * sysdeps/x86_64/multiarch/memset.S (memset): Return
18778 __memset_erms for Prefer_ERMS.
18779
18780 2016-06-30 Andreas Schwab <schwab@suse.de>
18781
18782 [BZ #20262]
18783 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18784 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
18785 of memory.
18786
18787 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
18788
18789 [BZ #18645]
18790 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18791 (test-extras): Add tst-cleanupx4aux.
18792 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
18793 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18794 tst-cleanupx4aux.o.
18795 * nptl/tst-cleanupx4aux.c: New file.
18796
18797 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
18798
18799 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18800
18801 2016-06-29 Andreas Schwab <schwab@suse.de>
18802
18803 [BZ #20260]
18804 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18805 address before the beginning of the string as an integer to avoid
18806 array-bounds warning.
18807
18808 2016-06-28 Richard Henderson <rth@redhat.com>
18809
18810 * elf/elf.h (EM_BPF): New.
18811 (EM_NUM): Update.
18812 (R_BPF_NONE, R_BPF_MAP_FD): New.
18813
18814 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18815 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18816 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18817 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18818 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18819 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18820 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18821 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18822 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18823 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18824 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18825 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18826 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18827 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18828 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18829 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18830 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18831 (EM_NUM): Update.
18832
18833 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
18834
18835 [BZ #18960]
18836 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18837 Set _nl_current_LC_CATEGORY_used to two instead of one.
18838
18839 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
18840
18841 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18842 (do_test): ... this.
18843 (TEST_FUNCTION): New macro.
18844 Include test-skeleton.c.
18845 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18846 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18847
18848 2016-06-27 Joseph Myers <joseph@codesourcery.com>
18849
18850 [BZ #15479]
18851 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18852 floating-point environment rather than just control word.
18853 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18854 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18855 floating-point environment, with "invalid" exceptions merged in,
18856 rather than just control word.
18857 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18858 * math/libm-test.inc (trunc_test_data): Do not allow spurious
18859 "inexact" exceptions.
18860
18861 [BZ #15479]
18862 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18863 floating-point environment rather than just control word.
18864 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18865 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18866 floating-point environment, with "invalid" exceptions merged in,
18867 rather than just control word.
18868 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18869 * math/libm-test.inc (floor_test_data): Do not allow spurious
18870 "inexact" exceptions.
18871
18872 [BZ #15479]
18873 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18874 floating-point environment rather than just control word.
18875 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18876 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18877 floating-point environment, with "invalid" exceptions merged in,
18878 rather than just control word.
18879 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18880 * math/libm-test.inc (ceil_test_data): Do not allow spurious
18881 "inexact" exceptions.
18882
18883 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
18884
18885 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18886 __libc_vfork.
18887 (__vfork) [IS_IN (libc)]: Remove alias.
18888 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18889 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18890 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18891
18892 2016-06-24 Torvald Riegel <triegel@redhat.com>
18893
18894 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18895 of atomic_compare_and_exchange_bool_rel.
18896 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18897 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18898 catomic_compare_and_exchange_bool_rel): Remove.
18899 * sysdeps/aarch64/atomic-machine.h
18900 (atomic_compare_and_exchange_bool_rel): Likewise.
18901 * sysdeps/alpha/atomic-machine.h
18902 (atomic_compare_and_exchange_bool_rel): Likewise.
18903 * sysdeps/arm/atomic-machine.h
18904 (atomic_compare_and_exchange_bool_rel): Likewise.
18905 * sysdeps/mips/atomic-machine.h
18906 (atomic_compare_and_exchange_bool_rel): Likewise.
18907 * sysdeps/microblaze/atomic-machine.h
18908 ( __arch_compare_and_exchange_bool_8_rel,
18909 __arch_compare_and_exchange_bool_16_rel): Likewise.
18910 * sysdeps/powerpc/atomic-machine.h
18911 ( __arch_compare_and_exchange_bool_8_rel,
18912 __arch_compare_and_exchange_bool_16_rel): Likewise.
18913 * sysdeps/powerpc/powerpc32/atomic-machine.h
18914 ( __arch_compare_and_exchange_bool_32_rel,
18915 __arch_compare_and_exchange_bool_64_rel): Likewise.
18916 * sysdeps/powerpc/powerpc64/atomic-machine.h
18917 ( __arch_compare_and_exchange_bool_32_rel,
18918 __arch_compare_and_exchange_bool_64_rel): Likewise.
18919 * sysdeps/tile/atomic-machine.h
18920 (atomic_compare_and_exchange_bool_rel): Likewise.
18921
18922 2016-06-23 Joseph Myers <joseph@codesourcery.com>
18923
18924 [BZ #20296]
18925 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18926 when either argument is a NaN.
18927 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18928 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18929
18930 * math/libm-test.inc (snan_value_ld): New macro.
18931 (isgreater_test_data): Add sNaN tests.
18932 (isgreaterequal_test_data): Likewise.
18933 (isless_test_data): Likewise.
18934 (islessequal_test_data): Likewise.
18935 (islessgreater_test_data): Likewise.
18936 (isunordered_test_data): Likewise.
18937 (nextafter_test_data): Likewise.
18938 (nexttoward_test_data): Likewise.
18939 (remainder_test_data): Likewise.
18940 (remquo_test_data): Likewise.
18941 (significand_test_data): Likewise.
18942 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18943
18944 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
18945
18946 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18947 environment macros are defined.
18948 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18949
18950 2016-06-23 Florian Weimer <fweimer@redhat.com>
18951
18952 [BZ #20191]
18953 Implement vtable verification in libio.
18954 * Makerules (shlib.lds): Place __libc_IO_vtables section.
18955 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18956 * debug/vdprintf_chk.c (__vdprintf_chk): Call
18957 _IO_new_file_init_internal instead of _IO_file_init.
18958 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18959 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18960 * libio/Makefile (routines): Add vtables.
18961 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18962 (_IO_init): Remove, not for internal use.
18963 (_IO_init_internal): Declare, internal replacement for _IO_init.
18964 (_IO_file_init): Remove, not for internal use.
18965 (_IO_new_file_init): Remove, not for internal use.
18966 (_IO_new_file_init_internal): Declare, internal replacement for
18967 _IO_new_file_init.
18968 (_IO_old_file_init): Remove, not for internal use.
18969 (_IO_old_file_init_internal): Declare, internal replacement for
18970 _IO_old_file_init.
18971 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18972 internal use.
18973 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18974 Declare.
18975 (libio_vtable): New macro.
18976 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18977 functions.
18978 * libio/fileops.c (_IO_new_file_init_internal): Rename from
18979 _IO_new_file_init.
18980 (_IO_new_file_init): New externally visible wrapper which disables
18981 vtable verification.
18982 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18983 Define as vtables.
18984 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18985 (_IO_init): New externally visible wrapper which disables
18986 vtable verification.
18987 * libio/iofdopen.c (_IO_new_fdopen): Call
18988 _IO_new_file_init_internal instead of _IO_file_init. Adjust
18989 comment.
18990 * libio/iofopen.c (__fopen_internal): Call
18991 _IO_new_file_init_internal instead of _IO_file_init.
18992 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18993 Define as vtables.
18994 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18995 _IO_new_file_init_internal instead of _IO_file_init.
18996 * libio/iopopen.c (_IO_new_popen): Likewise.
18997 (_IO_proc_jumps): Define as vtable.
18998 * libio/iovdprintf.c (_IO_vdprintf): Call
18999 _IO_new_file_init_internal instead of _IO_file_init.
19000 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19001 (__open_memstream): Call _IO_init_internal instead of _IO_init.
19002 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19003 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19004 _IO_old_file_init.
19005 (_IO_old_file_init): New externally visible wrapper which disables
19006 vtable verification.
19007 (_IO_old_file_jumps): Define as vtable.
19008 * libio/oldiofdopen.c (_IO_old_fdopen): Call
19009 _IO_old_file_init_internal instead of _IO_old_file_init.
19010 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19011 * libio/oldiopopen.c (_IO_old_popen): Likewise.
19012 (_IO_old_proc_jumps): Define as vtable.
19013 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19014 Define as vtables.
19015 * libio/vtables.c: New file.
19016 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19017 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19018 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19019 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19020 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19021 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19022 instead of _IO_init.
19023
19024 2016-06-23 Florian Weimer <fweimer@redhat.com>
19025
19026 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19027
19028 2016-06-23 Florian Weimer <fweimer@redhat.com>
19029
19030 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19031 potentially unused.
19032
19033 2016-06-22 Florian Weimer <fweimer@redhat.com>
19034
19035 * test-skeleton.c (write_message): New function.
19036 * malloc/tst-mallocfork2.c (write_message): Remove.
19037 * debug/tst-longjmp_chk2.c (write_indented): New function.
19038 (write_message): Remove.
19039 (stackoverflow_handler): Call write_indented.
19040
19041 2016-06-22 Joseph Myers <joseph@codesourcery.com>
19042
19043 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19044 "inexact" exceptions after fnstenv.
19045 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19046 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19047 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19048
19049 2015-06-22 Zack Weinberg <zackw@panix.com>
19050
19051 * sysdeps/generic/bits/hwcap.h: Moved to ...
19052 * bits/hwcap.h: Here.
19053
19054 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
19055
19056 * sysdeps/aarch64/memcpy.S (memcpy):
19057 Further tuning for performance.
19058
19059 2016-06-21 Florian Weimer <fweimer@redhat.com>
19060
19061 [BZ #20284]
19062 * malloc/arena.c (reused_arena): Do not return NULL if we start
19063 out with a non-corrupted arena.
19064
19065 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19066
19067 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19068 * misc/tst-preadvwritev.c: New file.
19069 * misc/tst-preadvwritev64.c: Likewise.
19070 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19071 usage.
19072 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19073 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19074 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19075 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19076
19077 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
19078
19079 [BZ #19654]
19080 * sysdeps/x86_64/fpu/Makefile: Added new tests.
19081 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19082 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19083 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19084 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19085 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19086 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19087 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19088 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19089 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19090 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19091 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19092 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19093 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19094 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19095 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19096 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19097 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19098 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19099 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19100 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19101 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19102 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19103 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19104 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19105 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19106
19107 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19108
19109 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19110 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19111
19112 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
19113
19114 * sysdeps/aarch64/memcpy.S (memcpy):
19115 Rewrite of optimized memcpy and memmove.
19116 * sysdeps/aarch64/memmove.S (memmove): Remove
19117 memmove code (merged into memcpy.S).
19118
19119 2016-06-20 Florian Weimer <fweimer@redhat.com>
19120
19121 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19122 * sysdeps/generic/dl-dtv.h: New file.
19123 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19124 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19125 (dtv_t): Remove.
19126 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19127 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19128 (dtv_t): Remove.
19129 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19130 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19131 (dtv_t): Remove.
19132 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19133 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19134 (dtv_t): Remove.
19135 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19136 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19137 (dtv_t): Remove.
19138 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19139 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19140 (dtv_t): Remove.
19141 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19142 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19143 (dtv_t): Remove.
19144 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19145 (dtv_t): Remove.
19146 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19147 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19148 (dtv_t): Remove.
19149 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19150 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19151 (dtv_t): Remove.
19152 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19153 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19154 (dtv_t): Remove.
19155 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19156 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19157 (dtv_t): Remove.
19158 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19159 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19160 (dtv_t): Remove.
19161 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19162 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19163 (dtv_t): Remove.
19164 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19165 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19166 (dtv_t): Remove.
19167 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19168 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19169 (dtv_t): Remove.
19170
19171 2016-06-20 Florian Weimer <fweimer@redhat.com>
19172
19173 Revert symbol poisoning of __malloc_initialize_hook.
19174 * include/stdc-predef.h (__malloc_initialize_hook): Remove
19175 poisoning.
19176 * malloc/Makefile: Remove un-poisoning.
19177 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19178 instead of old__malloc_initialize_hook.
19179 * malloc/malloc-hooks.h: Likewise.
19180 * malloc/malloc.c: Likewise.
19181 * malloc/mcheck-init.c: Likewise.
19182
19183 2016-06-19 Carlos O'Donell <carlos@redhat.com>
19184
19185 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19186
19187 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
19188
19189 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19190 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19191 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19192 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19193
19194 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19195
19196 * NEWS: Mention addition of nextup and nextdown.
19197 * manual/arith.texi: Document nextup and nextdown.
19198 * manual/libm-err-tab.pl: Add nextup and nextdown.
19199 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19200 * math/Versions (libm): Add GLIBC_2.24.
19201 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19202 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19203 Add new test.
19204 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19205 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19206 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19207 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19208 (nextup_test_data): Likewise.
19209 (nextdown_test_data): Likewise.
19210 * math/s_nextdown.c: New file.
19211 * math/s_nextdownf.c: Likewise.
19212 * math/s_nextdownl.c: Likewise.
19213 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19214 F(nextup): New function.
19215 F(nextdown): Likewise.
19216 * math/tgmath.h: Add nextup and nextdown.
19217 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19218 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19222 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19223 Add nextup and nextdown.
19224 (CFLAGS-nldbl-nextup.c): New variable.
19225 (CFLAGS-nldbl-nextdown.c): Likewise.
19226 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19227 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19228 * sysdeps/nacl/libm.abilist: Update.
19229 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19230 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19231 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19232 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19233 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19234 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19235 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19236 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19237 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19238 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19239 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19240 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19243 Likewise.
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19246 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19247 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19248 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19250 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19253 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19254 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19255 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19256 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19257
19258 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19259
19260 * manual/pattern.texi: Fix typos & grammar errors.
19261
19262 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19263
19264 * manual/search.texi: Fix typos & grammar errors.
19265
19266 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19267
19268 * manual/message.texi: Fix typos & grammar errors.
19269
19270 2016-06-16 Mike Frysinger <vapier@gentoo.org>
19271
19272 * manual/contrib.texi: Fix spelling typos.
19273 * manual/crypt.texi: Likewise.
19274 * manual/filesys.texi: Likewise.
19275 * manual/locale.texi: Likewise.
19276 * manual/message.texi: Likewise.
19277 * manual/nss.texi: Likewise.
19278 * manual/string.texi: Likewise.
19279
19280 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19281
19282 * manual/locale.texi: Fix typos & grammar errors.
19283
19284 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19285
19286 * manual/charset.texi: Fix typos & grammar errors.
19287
19288 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19289
19290 * manual/string.texi: Fix typos.
19291
19292 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19293
19294 * manual/ctype.texi: Fix typos.
19295
19296 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
19297
19298 * manual/memory.texi: Fix various typos & grammar errors.
19299
19300 2016-06-14 Joseph Myers <joseph@codesourcery.com>
19301
19302 [BZ #20255]
19303 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
19304 * math/libm-test.inc (fdim_test_data): Add another test.
19305
19306 [BZ #6796]
19307 [BZ #20255]
19308 [BZ #20256]
19309 * math/s_fdim.c: Include <math_private.h>.
19310 (__fdim): Use math_narrow_eval on result.
19311 * math/s_fdimf.c: Include <math_private.h>.
19312 (__fdimf): Use math_narrow_eval on result.
19313 * sysdeps/i386/fpu/s_fdim.S: Remove file.
19314 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19315 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19316 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19317 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19318 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19319 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19320 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19321 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19322 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19323 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19324 * math/libm-test.inc (fdim_test_data): Expect errno setting on
19325 overflow. Add sNaN tests.
19326
19327 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19328 fpclassify.
19329 * math/s_fdimf.c (__fdimf): Likewise.
19330 * math/s_fdiml.c (__fdiml): Likewise.
19331
19332 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19333
19334 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19335 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19337 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19338 ifunc'ed strcasecmp/strncasecmp.
19339 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19340 [EALIGN]: Removed.
19341 [END]: Likewise.
19342 [__strcasecmp]: Define instead of the above to control symbol name.
19343 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19344 for __strcasecmp_power8.
19345 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19346 for __strncasecmp_power8.
19347 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19348 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19349 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19350 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19351 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19352 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19353
19354 2016-06-13 Joseph Myers <joseph@codesourcery.com>
19355
19356 [BZ #20252]
19357 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19358 arguments when second argument is a NaN.
19359 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19360 qNaN tests.
19361
19362 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19363 (conj_test_data): Likewise.
19364 (copysign_test_data): Likewise.
19365 (creal_test_data): Likewise.
19366 (fma_test_data): Likewise.
19367 (fmod_test_data): Likewise.
19368
19369 [BZ #20250]
19370 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19371 itself.
19372 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19373 zero input to itself.
19374 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19375 Likewise.
19376 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19377 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19379 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19380 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19381
19382 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19383
19384 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19385 * nptl/tst-cancel4-common.c: New file.
19386 * nptl/tst-cancel4-common.h: Likewise.
19387 * nptl/tst-cancel4.c: Move common definitions to
19388 tst-cancel4-common.{c,h} file.
19389 * nptl/tst-cancel4_1.c: New test.
19390 * nptl/tst-cancel4_2.c: New test.
19391
19392 2016-06-13 Florian Weimer <fweimer@redhat.com>
19393
19394 [BZ #20248]
19395 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19396 (write_message): New function.
19397 (stackoverflow_handler): Call it instead of printf, to avoid
19398 excessive stack usage by printf.
19399 (do_test): Restore SIGSEGV, SIGBUS default handlers.
19400
19401 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19402
19403 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19404 (prio_inherit_missing): Remove define.
19405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19406 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19408 Likewise.
19409 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19410 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19411 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19412 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19413 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19414 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19415
19416 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19417
19418 [BZ #19670]
19419 [BZ #19672]
19420
19421 * io/test-lfs.c (do_prepare): Use xmalloc.
19422 * io/tst-fcntl.c (do_prepare): Likewise.
19423 * libio/tst-fopenloc.c (do_bz17916): Likewise.
19424 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19425 * login/tst-utmp.c (do_prepare): Likewise.
19426 * posix/tst-exec.c (do_prepare): Likewise.
19427 * posix/tst-pathconf.c (prepare): Likewise.
19428 * posix/tst-spawn.c (do_prepare): Likewise.
19429 * posix/tst-truncate.c (do_prepare): Likewise.
19430 * rt/tst-aio.c (do_prepare): Likewise.
19431 * rt/tst-aio64.c (do_prepare): Likewise.
19432
19433 2016-06-11 Florian Weimer <fweimer@redhat.com>
19434
19435 [BZ #20237]
19436 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19437 (get*ent): Set entidx to NULL during initialization. If entidx is
19438 NULL, start iteration from the beginning.
19439
19440 2016-06-11 Florian Weimer <fweimer@redhat.com>
19441
19442 * malloc/malloc.c (musable): Return correct size for dumped fake
19443 mmapped chunk.
19444
19445 2016-06-11 Florian Weimer <fweimer@redhat.com>
19446
19447 [BZ #20222]
19448 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19449 (_IO_cookie_write): Likewise.
19450 (_IO_cookie_seek): Likewise.
19451 (_IO_cookie_close): Likewise.
19452 (_IO_old_cookie_seek): Likewise.
19453 (set_callbacks): New function.
19454 (_IO_cookie_init): Call set_callbacks to copy callbacks.
19455
19456 2016-06-11 Marko Myllynen <myllynen@redhat.com>
19457
19458 * locale/programs/localedef.c (oldstyle_tables): Remove.
19459 * locale/programs/localedef.h (oldstyle_tables): Likewise.
19460
19461 2016-06-10 Joseph Myers <joseph@codesourcery.com>
19462
19463 [BZ #20240]
19464 * math/Makefile (CFLAGS-s_modf.c): New variable.
19465 (CFLAGS-s_modff.c): Likewise.
19466 (CFLAGS-s_modfl.c): Likewise.
19467 * math/libm-test.inc (modf_test_data): Add sNaN tests.
19468
19469 2016-06-09 Carlos O'Donell <carlos@redhat.com>
19470
19471 [BZ #20215]
19472 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19473 [!__GNUC_PREREQ (3,2)]: Likewise.
19474
19475 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
19476
19477 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19478 (msghdr.msg_controllen): Likewise.
19479 (cmsghdr.cmsg_len): Likewise.
19480 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19481 ptw-oldsendmsg.
19482 (CFLAGS-oldrecvmsg.c): Remove rule.
19483 (CFLAGS-oldsendmsg.c): Likewise.
19484 (CFLAGS-recvmsg.c): Add rule.
19485 (CFLAGS-sendmsg.c): Likewise.
19486 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19487 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19488 (CFLAGS-recvmsg.c): Remove rule.
19489 (CFLAGS-sendmsg.c): Likewise.
19490 (CFLAGS-oldrecvmsg.c): Likewise.
19491 (CFLAGS-oldsendmsg.c): Likewise.
19492 (CFLAGS-recvmmsg.c): Likewise.
19493 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19494 to kernel defined interfaces.
19495 (msghdr.msg_controllen): Likewise.
19496 (cmsghdr.cmsg_len): Likewise.
19497 (msghdr.__glibc_reserved1): Remove member.
19498 (msghdr.__glibc_reserved2): Likewise.
19499 (cmsghdr.__glibc_reserved1): Likewise.
19500 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19501 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19502 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19503 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19504 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19505 version.
19506 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19507 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19508 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19509 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19510 Remove recvmsg and sendmsg.
19511 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19512 Likewise.
19513 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19514 Likewise.
19515 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19516 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19517 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19518 Likewise.
19519 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19520 Likewise.
19521 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19522 [libc] (GLIBC_2.24): Likewise.
19523 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19524 Likewise.
19525 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19526 Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19528 [libc] (GLIBC_2.24): Likewise.
19529 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19530 Likewise.
19531 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19532 Likewise.
19533 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19534 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19535 Likewise.
19536 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19537 Likewise.
19538 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19539 Likewise.
19540 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19541 Likewise.
19542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19543 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19544 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19545 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19546 version for {recv,send,recm,sendm}msg.
19547 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19548 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19549 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19550 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19551 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19552 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19553 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19554 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19555 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19556 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19557 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19558 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19560 Likewise.
19561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19562 Likewise.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19565 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19566 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19567 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19568 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19570 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19573 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19574 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19575 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19576
19577 2016-06-10 Florian Weimer <fweimer@redhat.com>
19578
19579 [BZ #19564]
19580 Remove __malloc_initialize_hook from the API.
19581 * malloc/malloc.h (__malloc_initialize_hook): Remove.
19582 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19583 #pragma GCC poison.
19584 * malloc/malloc-hooks.h: New file.
19585 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19586 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19587 (old__malloc_initialize_hook): Rename from
19588 __malloc_initialize_hook to evade poisoning. Turn into compat
19589 symbol.
19590 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19591 __malloc_initialize_hook.
19592 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19593 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19594 * manual/memory.texi (Hooks for Malloc): Remove
19595 __malloc_initialize_hook. Adjust hook example.
19596
19597 2016-06-09 Joseph Myers <joseph@codesourcery.com>
19598
19599 [BZ #20235]
19600 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19601 itself.
19602 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19603 * math/libm-test.inc (log2_test_data): Add sNaN tests.
19604
19605 [BZ #20234]
19606 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19607 infinity or NaN input to itself.
19608
19609 [BZ #20233]
19610 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19611 to itself.
19612
19613 [BZ #20232]
19614 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19615 itself.
19616
19617 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19618
19619 * sysdeps/x86_64/start.S (_start): Always indirect branch to
19620 __libc_start_main via GOT.
19621
19622 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
19623
19624 * sysdeps/x86_64/memcopy.h: New file.
19625 * sysdeps/x86_64/wordcopy.c: Likewise.
19626
19627 2016-06-09 Florian Weimer <fweimer@redhat.com>
19628
19629 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19630 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19631 <cstdlib>.
19632 (optimization_barrier): New.
19633 (do_test): Use it. Call quick_exit in the global namespace.
19634 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19635 instead of <cstdlib>, <thread>.
19636 (optimization_barrier): New.
19637 (non_main_thread): Adjust declaration. Call optimization_barrier.
19638 Call quick_exit in the global namespace.
19639 (do_test): Call optimization_barrier. Use pthread_create,
19640 pthread_join instead of std::thread.
19641
19642 2016-06-09 Andreas Schwab <schwab@suse.de>
19643
19644 [BZ #19755]
19645 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19646 new entries in auto-propagate mode.
19647 * nscd/grpcache.c (cache_addgr): Likewise.
19648
19649 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19650
19651 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19652 New functions.
19653 (add_temp_file): Use them.
19654
19655 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
19656
19657 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
19658
19659 2016-06-08 Joseph Myers <joseph@codesourcery.com>
19660
19661 [BZ #20229]
19662 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
19663 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
19664 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
19665
19666 [BZ #20228]
19667 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
19668 itself.
19669 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19670 * math/libm-test.inc (log10_test_data): Add sNaN tests.
19671
19672 [BZ #20227]
19673 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
19674 itself.
19675 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19676 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19677 * math/libm-test.inc (log_test_data): Add sNaN tests.
19678
19679 [BZ #20226]
19680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
19681 itself.
19682 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19683 * math/libm-test.inc (exp_test_data): Add sNaN tests.
19684 (exp10_test_data): Likewise.
19685 (expm1_test_data): Likewise.
19686
19687 [BZ #20225]
19688 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
19689 itself.
19690 * math/s_ldexpf.c (__ldexpf): Likewise.
19691 * math/s_ldexpl.c (__ldexpl): Likewise.
19692 * math/w_scalbln.c (__w_scalbln): Likewise.
19693 * math/w_scalblnf.c (__w_scalblnf): Likewise.
19694 * math/w_scalblnl.c (__w_scalblnl): Likewise.
19695 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
19696 (scalbln_test_data): Likewise.
19697
19698 [BZ #20224]
19699 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
19700 argument to itself.
19701 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
19702
19703 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
19704
19705 [BZ #19776]
19706 * sysdeps/x86_64/memcpy.S: Make it dummy.
19707 * sysdeps/x86_64/mempcpy.S: Likewise.
19708 * sysdeps/x86_64/memmove.S: New file.
19709 * sysdeps/x86_64/memmove_chk.S: Likewise.
19710 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19711 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19712 * sysdeps/x86_64/memmove.c: Removed.
19713 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19714 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19715 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
19716 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19717 Likewise.
19718 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19719 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19721 memcpy-sse2-unaligned, memmove-avx-unaligned,
19722 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
19723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19724 (__libc_ifunc_impl_list): Replace
19725 __memmove_chk_avx512_unaligned_2 with
19726 __memmove_chk_avx512_unaligned. Remove
19727 __memmove_chk_avx_unaligned_2. Replace
19728 __memmove_chk_sse2_unaligned_2 with
19729 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
19730 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
19731 with __memmove_avx512_unaligned. Replace
19732 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
19733 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
19734 with __memcpy_chk_avx512_unaligned. Remove
19735 __memcpy_chk_avx_unaligned_2. Replace
19736 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
19737 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
19738 Replace __memcpy_avx512_unaligned_2 with
19739 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
19740 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
19741 with __mempcpy_chk_avx512_unaligned. Remove
19742 __mempcpy_chk_avx_unaligned_2. Replace
19743 __mempcpy_chk_sse2_unaligned_2 with
19744 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
19745 Replace __mempcpy_avx512_unaligned_2 with
19746 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
19747 Replace __mempcpy_sse2_unaligned_2 with
19748 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
19749 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
19750 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
19751 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
19752 if processor has ERMS. Default to __memcpy_sse2_unaligned.
19753 (ENTRY): Removed.
19754 (END): Likewise.
19755 (ENTRY_CHK): Likewise.
19756 (libc_hidden_builtin_def): Likewise.
19757 Don't include ../memcpy.S.
19758 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
19759 __memcpy_chk_avx512_unaligned_erms and
19760 __memcpy_chk_avx512_unaligned. Use
19761 __memcpy_chk_avx_unaligned_erms and
19762 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19763 Default to __memcpy_chk_sse2_unaligned.
19764 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19765 Change function suffix from unaligned_2 to unaligned.
19766 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
19767 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
19768 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
19769 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
19770 (ENTRY): Removed.
19771 (END): Likewise.
19772 (ENTRY_CHK): Likewise.
19773 (libc_hidden_builtin_def): Likewise.
19774 Don't include ../mempcpy.S.
19775 (mempcpy): New. Add a weak alias.
19776 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19777 __mempcpy_chk_avx512_unaligned_erms and
19778 __mempcpy_chk_avx512_unaligned. Use
19779 __mempcpy_chk_avx_unaligned_erms and
19780 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19781 Default to __mempcpy_chk_sse2_unaligned.
19782
19783 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
19784
19785 [BZ #19881]
19786 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19787 into ...
19788 * sysdeps/x86_64/memset.S: This.
19789 (__bzero): Removed.
19790 (__memset_tail): Likewise.
19791 (__memset_chk): Likewise.
19792 (memset): Likewise.
19793 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19794 defined.
19795 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19796 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19797 (__memset_zero_constant_len_parameter): Check SHARED instead of
19798 PIC.
19799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19800 memset-avx2 and memset-sse2-unaligned-erms.
19801 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19802 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19803 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19804 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19805 (__bzero): Enabled.
19806 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19807 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19808 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
19809 or __memset_avx2_unaligned_erms if processor has ERMS. Support
19810 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19811 (memset): Removed.
19812 (__memset_chk): Likewise.
19813 (MEMSET_SYMBOL): New.
19814 (libc_hidden_builtin_def): Replace __memset_sse2 with
19815 __memset_sse2_unaligned.
19816 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19817 __memset_chk_sse2 and __memset_chk_avx2 with
19818 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19819 Use __memset_chk_sse2_unaligned_erms or
19820 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
19821 __memset_chk_avx512_unaligned_erms and
19822 __memset_chk_avx512_unaligned.
19823
19824 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19825
19826 * math/gen-auto-libm-test.c (fp_format_desc): remove
19827 suffix member.
19828 (output_generic_value): Remove usage of suffix member,
19829 and the resulting unuse of the fp_format argument.
19830 (output_for_one_input_case): Remove unused fp_format
19831 parameter.
19832
19833 * math/auto-libm-test-out: Regenerate.
19834
19835 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19836 usage with TEST_COND_ibm128.
19837 (TEST_COND_flt_32): Remove.
19838 (TEST_COND_dbl_64): Remove.
19839 (TEST_COND_ldbl_96_intel): Remove.
19840 (TEST_COND_ldbl_96_m68k): Remove.
19841 (TEST_COND_ldbl_128): Remove.
19842
19843 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19844
19845 * auto-libm-test-in:
19846 Replace flt-32 usage with binary32.
19847 Replace dbl-64 usage with binary64.
19848 Replace ldbl-intel-96 usage with intel96.
19849 Replace ldbl-m68k-96 usage with m68k96.
19850 Replace ldbl-128ibm usage with ibm128.
19851 Replace ldbl-128 usage with binary128.
19852
19853 * auto-libm-test-out: Regenerate.
19854
19855 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19856
19857 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19858 (parse_ulps): Dynamically generate type name matching
19859 string from all_floats.
19860 (get_ulps): Generate the ulps as an array instead.
19861 (output_ulps): Dynamically compose the type based
19862 on the number of supported formats, and print
19863 the indices as type specific helper macros.
19864
19865 * math/libm-test.inc: Remove comment about CHOOSE.
19866 (ulp_data): Generate the type in libm-test-ulps.h.
19867 (ULP_IDX): New macro.
19868 (find_ulps): Update usage of max_ulp.
19869
19870 * math/test-double-vlen2.h (CHOOSE): Remove.
19871 * math/test-double-vlen4.h (CHOOSE): Likewise.
19872 * math/test-double-vlen8.h (CHOOSE): Likewise.
19873 * math/test-float.c (CHOOSE): Likewise.
19874 * math/test-float-finite.c (CHOOSE): Likewise.
19875 * math/test-double.c (CHOOSE): Likewise.
19876 * math/test-double-finite.c (CHOOSE): Likewise.
19877 * math/test-idouble.c (CHOOSE): Likewise.
19878 * math/test-ifloat.c (CHOOSE): Likewise.
19879 * math/test-ildoubl.c (CHOOSE): Likewise.
19880 * math/test-ldouble-finite.c (CHOOSE): Likewise.
19881 * math/test-ldouble.c (CHOOSE): Likewise.
19882
19883 * math/test-float.h (TEST_FLOAT): Remove.
19884 * math/test-double.h (TEST_DOUBLE): Likewise.
19885 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19886
19887 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19888
19889 * math/gen-libm-test.pl: (apply_lit): New subroutine.
19890 (parse_args): Strip C suffix from floating point literals
19891 typed with 'f' and wrap them with LIT().
19892
19893 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19894 (test_ff_f_data_nexttoward): Rename to
19895 (test_fj_f_data): New struct.
19896 (nexttoward_test_data): Relabel tests as
19897 TEST_fj_f instead of TEST_ff_f.
19898
19899 2016-06-08 Florian Weimer <fweimer@redhat.com>
19900
19901 Emacs bug 23726.
19902 * malloc/malloc.c (dumped_main_arena_start): Update comment.
19903 (__libc_realloc): Correct size computation for dumped fake mmapped
19904 chunks.
19905
19906 2016-06-07 Joseph Myers <joseph@codesourcery.com>
19907
19908 [BZ #20219]
19909 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19910 to itself.
19911 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19912
19913 [BZ #20218]
19914 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19915 to itself.
19916 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19917
19918 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
19919
19920 [BZ #20195]
19921 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19922 check to ...
19923 (init_cpu_features): Here.
19924
19925 2016-06-07 Carlos O'Donell <carlos@redhat.com>
19926
19927 [BZ #20214]
19928 * sysdeps/unix/sysv/linux/bits/in.h
19929 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19930 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19931 Define to 1.
19932 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19933 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19934 Define to 0.
19935 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19936 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19937
19938 2016-06-06 Carlos O'Donell <carlos@redhat.com>
19939
19940 [BZ #20198]
19941 * stdlib/Makefile (tests): Add tst-quick_exit, and
19942 tst-thread-quick_exit.
19943 [ifeq ($(have-cxx-thread_local),yes)]
19944 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19945 (CFLAGS-tst-thread-quick_exit.o): Likewise.
19946 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19947 (LDLIBS-tst-thread-quick_exit): Likewise.
19948 [ifneq ($(have-cxx-thread_local),yes)]
19949 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19950 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19951 If run_dtors is true call __call_tls_dtors.
19952 (exit): Call __run_exit_handlers with run_dtors set to true.
19953 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19954 definition.
19955 * stdlib/quick_exit.c (quick_exit): Remove function.
19956 (__new_quick_exit): New function.
19957 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19958 function.
19959 * stdlib/tst-quick_exit.cc: New file.
19960 * stdlib/tst-thread-quick_exit.cc: New file.
19961 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19962 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19963 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19964 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19965 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19966 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19967 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19968 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19969 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19970 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19971 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19972 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19973 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19974 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19975 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19976 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19982 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19983 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19984 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19985 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19988 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19989 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19990 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19991
19992 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
19993
19994 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19995 a typo in comments.
19996
19997 2016-06-06 Joseph Myers <joseph@codesourcery.com>
19998
19999 [BZ #20213]
20000 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20001 argument to itself.
20002 * math/libm-test.inc (asin_test_data): Add sNaN tests.
20003
20004 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20005
20006 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20007 required flags.
20008 (CFLAGS-pwritev64.c): Likewise.
20009 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20010 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20011 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20012 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20013 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20014 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20015 syscall from auto-generation.
20016 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20017 [WORDSIZE == 64] (pwritev64): Remove macro.
20018 [!PWRITEV] (PWRITEV): Likewise.
20019 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20020 [!PWRITEV] (PWRITE): Likewise.
20021 [!PWRITEV] (OFF_T): Likewise.
20022 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20023 (LO_HI_LONG): Remove macro.
20024 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20025 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20026 (PWRITEV): Remove macro.
20027 (PWRITEV_REPLACEMENTE): Likewise.
20028 (PWRITE): Likewise.
20029 (OFF_T): Likewise.
20030 (pwritev64): New function.
20031 * nptl/tst-cancel4.c (tf_writev): Add test.
20032
20033 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20034 required flags.
20035 (CFLAGS-preadv64.c): Likewise.
20036 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20037 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20038 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20039 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20040 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20042 syscall from auto-generation.
20043 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20044 [WORDSIZE == 64] (preadv64): Remove macro.
20045 [!PREADV] (PREADV): Likewise.
20046 [!PREADV] (PREADV_REPLACEMENT): Likewise.
20047 [!PREADV] (PREAD): Likewise.
20048 [!PREADV] (OFF_T): Likewise.
20049 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20050 (LO_HI_LONG): Remove macro.
20051 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20052 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20053 (PREADV): Remove macro.
20054 (PREADV_REPLACEMENTE): Likewise.
20055 (PREAD): Likewise.
20056 (OFF_T): Likewise.
20057 (preadv64): New function.
20058 * nptl/tst-cancel4.c (tf_preadv): Add test.
20059
20060 2016-06-06 Joseph Myers <joseph@codesourcery.com>
20061
20062 [BZ #20212]
20063 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20064 argument to itself.
20065 * math/libm-test.inc (acos_test_data): Add sNaN tests.
20066
20067 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20068
20069 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20070 New symbol defined as libc_hidden_def.
20071 (strcasestr): Became a weak alias to __strcasestr.
20072 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20073 according to multi-arch support. Move __stpncpy hidden
20074 definition from here to...
20075 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
20076 symbol stpncpy.
20077 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20078 libc_hidden_builtin_def.
20079 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20080 memset symbol to use when multi-arch support is available.
20081
20082 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
20083
20084 * dlfcn/tst-rec-dlopen.c: Include string.h.
20085
20086 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20087
20088 * manual/install.texi: Remove mention of --without-tls
20089 * INSTALL: Regenerate.
20090
20091 2016-06-05 Florian Weimer <fweimer@redhat.com>
20092
20093 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20094 Remove.
20095 (call_function, interposed_malloc_called): New variables.
20096 (malloc): New function.
20097 (do_test): Do not change malloc hooks. Initialize malloc. Set
20098 and clear call_function as needed.
20099
20100 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
20101
20102 * include/wchar.h (__wmemset): Use __typeof.
20103
20104 2016-06-03 Carlos O'Donell <carlos@redhat.com>
20105
20106 * include/wchar.h (__wmemset): Declare function without typeof.
20107
20108 2016-06-03 Joseph Myers <joseph@codesourcery.com>
20109
20110 [BZ #20205]
20111 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20112 exponent when incrementing negative subnormal with low mantissa
20113 word zero.
20114 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20115 Add another test.
20116
20117 2016-06-03 Florian Weimer <fweimer@redhat.com>
20118
20119 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20120 __wmemset instead of wmemset.
20121
20122 2016-06-02 Carlos O'Donell <carlos@redhat.com>
20123
20124 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20125 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20126 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20127 __USE_KERNEL_IPV6_DEFS to 0.
20128 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20129 Update comment.
20130
20131 2016-06-01 Florian Weimer <fweimer@redhat.com>
20132
20133 [BZ #19861]
20134 Do not use IFUNC resolver with potentially unrelocated symbol.
20135 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20136 (DEFINE_FORK): Remove macro and inline definition.
20137 (fork_alias): Renamed from fork_ifunc.
20138 (__fork_alias): Renamed from __fork_ifunc.
20139
20140 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
20141
20142 [BZ 19653]
20143 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20144 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20145
20146 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20147
20148 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20149 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20150 i386-linux-gnu).
20151 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20152 Set to no.
20153 * sysdeps/mach/hurd/configure: Refresh.
20154
20155 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20156
20157 [BZ #20178]
20158 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20159 on failure instead of exit.
20160
20161 2016-05-30 Roland McGrath <roland@hack.frob.com>
20162
20163 [BZ #3629]
20164 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20165 of POSIX.1-2008.
20166
20167 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
20168
20169 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20170 Use PLT entry for calling _hurd_self_sigstate.
20171
20172 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
20173
20174 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20175 available logical processors with SMT level type sharing L2
20176 cache for Intel processors.
20177
20178 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20179
20180 [BZ #20160]
20181 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20182 argument to itself before returning the result.
20183 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20184 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20185 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20187 Likewise.
20188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20189 Likewise.
20190 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20191 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20192 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20193 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20194 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20195 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20196
20197 [BZ #20160]
20198 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20199 argument to itself before returning the result.
20200 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20201 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20202 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20204 Likewise.
20205 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20206 Likewise.
20207 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20208 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20209 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20210 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20211 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20212 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20213
20214 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20215
20216 * libm-test.inc: Replace usage of M_El with
20217 (lit_e): New macro.
20218
20219 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20220
20221 * libm-test.inc: Replace usage of M_PI_4l with
20222 (lit_pi_4_d): New macro.
20223
20224 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20225
20226 * libm-test.inc: Replace usage of M_PIl with
20227 (lit_pi): New macro.
20228
20229 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20230
20231 * libm-test.inc: Replace usage of M_PI2l with
20232 (lit_pi_2_d): New macro.
20233
20234 * math/test-double.h (LITM): New macro.
20235 * math/test-float.h (LITM): Likewise.
20236 * math/test-ldouble.h (LITM): Likewise.
20237
20238 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20239
20240 * libm-test.inc (M_PI_34l): Rename to
20241 (lit_pi_3_m_4_d): New Macro.
20242 (M_PI_34_LOG10El): Rename to
20243 (lit_pi_3_m_4_ln10_m_d): New Macro.
20244 (M_PI2_LOG10El): Rename to
20245 (lit_pi_2_ln10_m_d): New Macro.
20246 (M_PI4_LOG10El): Rename to
20247 (lit_pi_4_ln10_m_d): New Macro.
20248 (M_PI_LOG10El): Rename to
20249 (lit_pi_ln10_d): New Macro.
20250
20251 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20252
20253 [BZ #20157]
20254 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20255 determine whether to negate low half if [_ARCH_PPCGR], and integer
20256 comparison otherwise.
20257 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20258 determine whether to negate low half.
20259
20260 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20261 (NO_TEST_INLINE_DOUBLE): Likewise.
20262 (TEST_COND_x86_64): Likewise.
20263 (TEST_COND_x86): Likewise.
20264 (M_PI_6l): Likewise.
20265
20266 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20267
20268 * math/libm-test.inc:
20269 (TEST_FLOAT): Change usage to TEST_COND_binary32.
20270 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20271 (TEST_LDOUBLE): Update usage to evaluate as true if
20272 the guarded tests match the property being tested.
20273 (LDBL_MAX_EXP): Change to MAX_EXP.
20274 (LDBL_MIN_EXP): Change to MIN_EXP.
20275 (LDBL_MANT_DIG): Change to MANT_DIG, except for
20276 nexttoward tests.
20277
20278 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20279
20280 * math/libm-test.inc:
20281 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20282 (TYPE_MIN): Likewise.
20283 (TYPE_TRUE_MIN): Likewise.
20284 (TYPE_MAX): Likewise.
20285 (MIN_EXP): Likewise.
20286 (MAX_EXP): Likewise.
20287 (MANT_DIG): Likewise.
20288
20289 (FSTR_MAX): New macro.
20290 (__CONCATX): Likewise.
20291 (QTYPE_STR): Likewise.
20292 (TEST_COND_binary32): Likewise.
20293 (TEST_COND_binary64): Likewise.
20294 (TEST_COND_binary128): Likewise.
20295 (TEST_COND_ibm128): Likewise.
20296 (TEST_COND_intel96): Likewise.
20297 (TEST_COND_m68k96): Likewise.
20298
20299 (TEST_COND_flt_32): Redefine as equivalent format test macro.
20300 (TEST_COND_dbl_64): Likewise.
20301 (TEST_COND_ldbl_96_intel): Likewise.
20302 (TEST_COND_ldbl_96_m68k): Likewise.
20303 (TEST_COND_ldbl_128): Likewise.
20304 (TEST_COND_ldbl_128ibm): Likewise.
20305
20306 (plus_zero): Redefine using LIT macro.
20307 (minus_zero): Likewise.
20308 (plus_infty): Redefine as (INF).
20309 (minux_infty): Redefine as (-INF).
20310 (max_value): Redefine as TYPE_MAX.
20311 (min_value): Redefine as TYPE_MIN.
20312 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20313
20314 (print_float): Refactor to use snprintf to convert FLOAT values
20315 to string. This brings it closer to dropin replacement of strtof
20316 for the TS 18661 defined types.
20317 (update_stats): Likewise.
20318 (print_complex_function_ulps): Likewise.
20319 (print_max_error): Likewise.
20320 (print_complex_max_error): Likewise.
20321 (check_float_internal): Likewise.
20322
20323 * math/test-float.h (PREFIX): New macro.
20324 (LIT): Likewise.
20325 (TYPE_STR): Likewise.
20326 (FTOSTR): Likewise.
20327
20328 * math/test-double.h (PREFIX): New macro.
20329 (LIT): Likewise.
20330 (TYPE_STR): Likewise.
20331 (FTOSTR): Likewise.
20332
20333 * math/test-ldouble.h (PREFIX): New macro.
20334 (LIT): Likewise.
20335 (TYPE_STR): Likewise.
20336 (FTOSTR): Likewise.
20337
20338 2016-05-27 Joseph Myers <joseph@codesourcery.com>
20339
20340 [BZ #20156]
20341 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20342 to itself when zero or not finite.
20343 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20344 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20345 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20346 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20347
20348 2016-05-26 Joseph Myers <joseph@codesourcery.com>
20349
20350 [BZ #20153]
20351 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20352 x * x + x for infinities and NaNs.
20353
20354 [BZ #20151]
20355 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20356 argument to itself before returning result.
20357 (__ieee754_y0l): Likewise.
20358 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20359 (__ieee754_y1l).
20360
20361 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20362 (atan_test_data): Likewise.
20363 (ceil_test_data): Likewise.
20364 (cos_test_data): Likewise.
20365 (cosh_test_data): Likewise.
20366 (erf_test_data): Likewise.
20367 (exp2_test_data): Likewise.
20368 (fabs_test_data): Likewise.
20369 (floor_test_data): Likewise.
20370 (ilogb_test_data): Likewise.
20371 (j0_test_data): Likewise.
20372 (j1_test_data): Likewise.
20373 (jn_test_data): Likewise.
20374 (lgamma_test_data): Likewise.
20375 (lrint_test_data): Likewise.
20376 (llrint_test_data): Likewise.
20377 (logb_test_data): Likewise.
20378 (lround_test_data): Likewise.
20379 (llround_test_data): Likewise.
20380 (nearbyint_test_data): Likewise.
20381 (rint_test_data): Likewise.
20382 (round_test_data): Likewise.
20383 (sin_test_data): Likewise.
20384 (sincos_test_data): Likewise.
20385 (sinh_test_data): Likewise.
20386 (sqrt_test_data): Likewise.
20387 (tan_test_data): Likewise.
20388 (tanh_test_data): Likewise.
20389 (tgamma_test_data): Likewise.
20390 (trunc_test_data): Likewise.
20391 (y0_test_data): Likewise.
20392 (y1_test_data): Likewise.
20393 (yn_test_data): Likewise.
20394
20395 * math/libm-test.inc: Update comment about NaN testing.
20396 (TEST_SNAN): New macro.
20397 (snan_value): Likewise.
20398 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20399 (fpclassify_test_data): Add sNaN tests.
20400 (isfinite_test_data): Likewise.
20401 (isinf_test_data): Likewise.
20402 (isnan_test_data): Likewise.
20403 (isnormal_test_data): Likewise.
20404 (issignaling_test_data): Likewise.
20405 (signbit_test_data): Likewise.
20406 * math/gen-libm-test.pl (%beautify): Add snan_value.
20407 (show_exceptions): Add argument $test_snan.
20408 (parse_args): Handle snan_value as non-finite. Update call to
20409 show_exceptions.
20410 * math/Makefile (libm-test-no-inline-cflags): Add
20411 -fsignaling-nans.
20412
20413 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20414
20415 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20416 (CFLAGS-oldsendmsg.c): Add rule.
20417 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20418 Correct recvmsg symbol name.
20419 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20420 Likewise.
20421
20422 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20423
20424 * sysdeps/unix/sysv/linux/Makefile
20425 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20426 oldsendmmsg.
20427 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20428 sendmmsg.
20429 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20430 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20431 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20432 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20434 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20435 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20437 Likewise.
20438 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20439 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20440 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20441 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20442 iovlen and controllen fields to adjust to POSIX specification.
20443 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20444
20445 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20446 and change to correct expected type.
20447 (msghdr.msg_controllen): Likewise.
20448 (cmsghdr.cmsg_len): Likewise.
20449 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20450 expected POSIX assumption about the size.
20451 (msghdr.msg_controllen): Likewise.
20452 (msghdr.__glibc_reserved1): Likewise.
20453 (msghdr.__glibc_reserved2): Likewise.
20454 (cmsghdr.cmsg_len): Likewise.
20455 (cmsghdr.__glibc_reserved1): Likewise.
20456 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20457 Add ptw-oldrecvmsg and ptw-oldsendmsg.
20458 (CFLAGS-sendmsg.c): Remove rule.
20459 (CFLAGS-recvmsg.c): Likewise.
20460 (CFLAGS-oldsendmsg.c): Add rule.
20461 (CFLAGS-oldrecvmsg.c): Likewise.
20462 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20463 recvmsg and sendmsg.
20464 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20465 Likewise.
20466 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20467 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20468 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20469 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20470 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20471 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20472 Likewise.
20473 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20474 Likewise.
20475 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20476 Likewise.
20477 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20478 Likewise.
20479 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20480 Likewise.
20481 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20482 Likewise.
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20484 (GLIBC_2.24): Likewise.
20485 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20486 Likewise.
20487 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20488 Likewise.
20489 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20490 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20491 Likewise.
20492 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20493 Likewise.
20494 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20495 Likewise.
20496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20497 (GLIBC_2.24): Likewise.
20498 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20499 Likewise.
20500 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20501 Likewise.
20502 * sysdeps/unix/sysv/linux/Makefile
20503 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20504 (CFLAGS-sendmsg.c): Add rule.
20505 (CFLAGS-recvmsg.c): Likewise.
20506 (CFLAGS-oldsendmsg.c): Likewise.
20507 (CFLAGS-oldrecvmsg.c): Likewise.
20508 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20509 initialization.
20510 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20511 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20512 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20513 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20514 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20515 iovlen and controllen fields to adjust to POSIX specification.
20516 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20517 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20518 added recvmsg and sendmsg.
20519 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20520 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20521 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20522 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20523 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20524 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20525 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20526 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20527 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20528 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20529 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20530 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20532 Likewise.
20533 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20535 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20536 Likewise.
20537 Likewise.
20538 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20539 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20540 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20541 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20542 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20543 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20545 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20547 Likewise.
20548 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20549 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20550
20551 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20552 from auto-generation.
20553 (sendmsg): Likewise.
20554 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20555 (sendmsg): Likewise.
20556 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20557 (sendmsg): Likewise.
20558 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20559 (sendmsg): Likewise.
20560 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20561 (sendmsg): Likewise.
20562 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20563 (sendmsg): Likewise.
20564 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20565 Likewise.
20566 (sendmsg): Likewise.
20567 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20568 (sendmsg): Likewise.
20569 * sysdeps/unix/sysv/linux/i386/kernel-features.h
20570 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20571 Remove.
20572 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20573 Likewise.
20574 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20575 Undefine.
20576 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20577 Likewise.
20578 * sysdeps/unix/sysv/linux/kernel-features.h
20579 (__ASSUME_SENDMSG_SYSCALL): Define.
20580 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20581 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20582 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20583 Remove.
20584 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20585 Likewise.
20586 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20587 Undefine.
20588 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20589 Likewise.
20590 * sysdeps/unix/sysv/linux/s390/kernel-features.h
20591 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20592 Remove.
20593 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20594 Likewise.
20595 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20596 Undefine.
20597 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20598 Likewise.
20599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20600 (__ASSUME_SENDMSG_SYSCALL): Undefine.
20601 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20602 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20603 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20604 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20605 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20606 (__ASSUME_SENDMSG_SYSCALL): Likewise.
20607 (__ASSUME_RECVMSG_SYSCALL): Likewise.
20608
20609 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20610
20611 * stdlib/gen-tst-strtod-round.c: Add backslash to
20612 compile command in comment.
20613 (printfp): Remove the literal suffix, and define an infinite
20614 value as INF to avoid expansion clash with INFINITY.
20615 (round_str): Remove the literal suffix.
20616 (round_for_all): Likewise, remove the now duplicate ldbl-64
20617 entry, and remove some magic constants.
20618
20619 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20620 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
20621 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20622 (_CONCAT): New macro.
20623 (CONCAT): Likewise.
20624 (CHOOSE_ld): Likewise.
20625 (CHOOSE_f): Likewise.
20626 (CHOOSE_d): Likewise.
20627 (FTYPE_MEMBER): Likewise.
20628 (BOOL_MEMBER): Likewise.
20629 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20630 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20631 (_XNTRY): Likewise.
20632 (XNTRY): Likewise.
20633 (_ENTRY): Likewise.
20634 (ENTRY): Likewise.
20635 (test_exactness): Generate members via macro.
20636 (test_results): Likewise.
20637 (test): Update members.
20638 (TEST): Redefine using new macros.
20639 (INF): New macro.
20640 (fetestmodes): New structure.
20641 (do_test): Refactor to be type generic.
20642 (test_in_one_mode): Refactor duplicate code into
20643 (GEN_ONE_TEST): New macro.
20644
20645 * stdlib/tst-strtod-round-data.h: Regenerate.
20646
20647 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20648 Extend to pass additional arbitrary parameters to
20649 generators.
20650
20651 2016-05-25 Joseph Myers <joseph@codesourcery.com>
20652
20653 [BZ #15479]
20654 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20655 floating-point state after first floating-point operation on
20656 input. Restore full floating-point state instead of just rounding
20657 mode.
20658 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20659 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20660 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20661 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20662 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20663
20664 [BZ #15479]
20665 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
20666 floating-point state after first floating-point operation on
20667 input. Restore full floating-point state instead of just rounding
20668 mode.
20669 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20670 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20671 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20672 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20673 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20674
20675 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20676
20677 [BZ #19727]
20678 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
20679 valid high surrogate.
20680 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
20681 of an utf16 surrogate.
20682 * iconv/gconv_simple.c (BODY): Likewise.
20683 * iconvdata/bug-iconv12.c: New file.
20684 * iconvdata/Makefile (tests): Add bug-iconv12.
20685
20686 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20687
20688 [BZ #19726]
20689 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
20690 outptrp in case of an illegal input.
20691 * iconv/tst-iconv6.c: New file.
20692 * iconv/Makefile (tests): Add tst-iconv6.
20693
20694 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20695
20696 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
20697 an error in case of a value in range of an utf16 low surrogate.
20698
20699 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20700
20701 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
20702 an error in case of a value in range of an utf16 low surrogate.
20703
20704 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20705
20706 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
20707 Move to ...
20708 * sysdeps/s390/Makefile: ... here.
20709 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
20710 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
20711 (BRANCH_ON_COUNT): New define.
20712 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
20713 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
20714 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
20715 run on s390-32, too.
20716 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
20717 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
20718 run on s390-32, too.
20719 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
20720 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
20721 run on s390-32, too.
20722
20723 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20724
20725 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
20726 etf3eh or new vector loop-variant.
20727
20728 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20729
20730 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
20731 etf3eh or new vector loop-variant.
20732
20733 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20734
20735 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
20736 or new vector loop-variant.
20737
20738 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20739
20740 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
20741 Rename to TR_LOOP and usage of tr instead of troo instruction.
20742
20743 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20744
20745 * sysdeps/s390/multiarch/gconv_simple.c: New File.
20746 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
20747
20748 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20749
20750 * sysdeps/s390/multiarch/8bit-generic.c: New File.
20751 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
20752 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
20753 New override define.
20754 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
20755
20756 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20757
20758 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
20759 * sysdeps/s390/configure.ac: Add test for S390 vector register
20760 support in gcc.
20761 * sysdeps/s390/configure: Regenerated.
20762
20763 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20764
20765 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
20766 Install file from $(objpfx)gconv-modules.
20767 ($(objpfx)gconv-modules): Concatenate architecture specific file
20768 in variable sysdeps-gconv-modules and gconv-modules in src dir.
20769 * sysdeps/s390/gconv-modules: New file.
20770 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
20771 Deleted.
20772 ($(objpfx)gconv-modules-s390): Deleted.
20773 (sysdeps-gconv-modules): New variable.
20774
20775 2016-05-24 Joseph Myers <joseph@codesourcery.com>
20776
20777 [BZ #15479]
20778 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20779 of immediate operand to rounding instruction.
20780 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20781 Likewise.
20782 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20783 Likewise.
20784 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20785 Likewise.
20786
20787 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20788
20789 * math/libm-test.inc (MIN_EXP): Directly define as
20790 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20791
20792 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20793
20794 * math/libm-test.inc (MANT_DIG): Directly define as
20795 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20796
20797 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20798
20799 * stdlib/gen-tst-strtod-round.c (main):
20800 Change usage to more closely match the generated
20801 output. Add usage and compilation instructions.
20802 (string_to_fp): Add and use FILE* parameter as
20803 output target.
20804 (print_fp): Likewise.
20805 (round_str): Likewise.
20806 (round_for_all): Likewise.
20807 * stdlib/tst-strtod-round.c (tests): Move into
20808 * stdlib/tst-strtod-round-data.h: New file.
20809
20810 2016-05-24 Joseph Myers <joseph@codesourcery.com>
20811
20812 [BZ #15479]
20813 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20814 (__round): Do not force "inexact" exception.
20815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20816 variable.
20817 (__round): Do not force "inexact" exception.
20818 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20819 (__roundf): Do not force "inexact" exception.
20820 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20821 (__roundl): Do not force "inexact" exception.
20822 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20823 (__roundl): Do not force "inexact" exception.
20824 * math/libm-test.inc (round_test_data): Do not allow spurious
20825 "inexact" exceptions.
20826
20827 [BZ #15479]
20828 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20829 exception in comment.
20830 (huge): Remove variable.
20831 (__floor): Do not force "inexact" exception.
20832 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20833 "inexact" exception in comment.
20834 (huge): Remove variable.
20835 (__floor): Do not force "inexact" exception.
20836 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20837 exception in comment.
20838 (huge): Remove variable.
20839 (__floorf): Do not force "inexact" exception.
20840 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20841 exception in comment.
20842 (huge): Remove variable.
20843 (__floorl): Do not force "inexact" exception.
20844
20845 [BZ #15479]
20846 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20847 exception in comment.
20848 (huge): Remove variable.
20849 (__ceil): Do not force "inexact" exception.
20850 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20851 "inexact" exception in comment.
20852 (huge): Remove variable.
20853 (__ceil): Do not force "inexact" exception.
20854 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20855 (__ceilf): Do not force "inexact" exception.
20856 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20857 exception in comment.
20858 (huge): Remove variable.
20859 (__ceill): Do not force "inexact" exception.
20860
20861 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 * config.h.in (BIND_NOW): New.
20864 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
20865 * configure: Regenerated.
20866 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20867 indirect branch via the GOT slot.
20868
20869 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20870
20871 [BZ #19765]
20872 * sysdeps/s390/mempcpy.S: New File.
20873 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20874 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20875 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20876 Add mempcpy variants.
20877 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20878 (memcpy): Adjust to be usable from mempcpy entry point.
20879 (__memcpy_mvcle): Likewise.
20880 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20881 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20882 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20883 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20884 (__memcpy_z10): Likewise.
20885 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20886
20887 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20888
20889 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20890 Remove __GI_ symbol.
20891 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20892 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20893 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20894 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20895 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20896 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20897
20898 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20899
20900 * sysdeps/s390/s390-64/memcpy.S (memcpy):
20901 Use cghi instead of chi to compare 64bit value.
20902
20903 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20904
20905 * sysdeps/s390/s390-32/memcpy.S (memcpy):
20906 Jump to 1MB check before executing mvc-loop.
20907
20908 2016-05-24 Florian Weimer <fweimer@redhat.com>
20909
20910 [BZ #6527]
20911 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20912 unconditionally.
20913 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20914
20915 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20916
20917 * stdlib/tst-strtod6.c (do_test): Use new type generic
20918 invocation of the test function.
20919 (test): Refactor into ...
20920 (TEST_STRTOD): New macro base function.
20921
20922 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20923
20924 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20925 (TEST_STRTOD): New macro.
20926 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20927
20928 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20929
20930 * stdlib/tst-strtod6.c (do_test): Use new type generic
20931 invocation of the test function.
20932 (test): Refactor into ...
20933 (TEST_STRTOD): New macro base function.
20934
20935 2016-05-23 Florian Weimer <fweimer@redhat.com>
20936
20937 CVE-2016-4429
20938 [BZ #20112]
20939 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20940 payload.
20941
20942 2016-05-23 Florian Weimer <fweimer@redhat.com>
20943
20944 [BZ #20111]
20945 * bits/sockaddr.h (_SS_SIZE): Define.
20946 * bits/socket.h (_SS_SIZE): Remove.
20947 (_SS_PADSIZE): Adjust to account for all padding.
20948 (struct sockaddr_storage): Update comment. Avoid implicit
20949 padding.
20950 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20951 (_SS_PADSIZE): Adjust to account for all padding.
20952 (struct sockaddr_storage): Update comment. Avoid implicit
20953 padding.
20954 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20955 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20956 (_SS_PADSIZE): Adjust to account for all padding.
20957 (struct sockaddr_storage): Update comment. Avoid implicit
20958 padding.
20959 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20960 __SS_SIZE is 126 in this version.
20961 * inet/tst-sockaddr.c: New file.
20962 * inet/Makefile (tests): Add tst-sockaddr.c
20963 (tst-sockaddr.c): Compile with non-strict aliasing.
20964
20965 2016-05-23 Joseph Myers <joseph@codesourcery.com>
20966
20967 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20968 [XPG3 || XPG4].
20969 (NL_ARGMAX): Also expect for [XPG3].
20970 (NL_LANGMAX): Likewise.
20971 (NL_MSGMAX): Likewise.
20972 (NL_NMAX): Likewise.
20973 (NL_SETMAX): Likewise.
20974 (NL_TEXTMAX): Likewise.
20975 (NZERO): Likewise.
20976 (TMP_MAX): Likewise.
20977 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20978 variable.
20979
20980 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20981 (PF_MAX): Update value.
20982 (AF_KCM): New macro.
20983 (SOL_NETBEUI): Likewise.
20984 (SOL_LLC): Likewise.
20985 (SOL_DCCP): Likewise.
20986 (SOL_NETLINK): Likewise.
20987 (SOL_TIPC): Likewise.
20988 (SOL_RXRPC): Likewise.
20989 (SOL_PPPOL2TP): Likewise.
20990 (SOL_BLUETOOTH): Likewise.
20991 (SOL_PNPIPE): Likewise.
20992 (SOL_RDS): Likewise.
20993 (SOL_IUCV): Likewise.
20994 (SOL_CAIF): Likewise.
20995 (SOL_ALG): Likewise.
20996 (SOL_NFC): Likewise.
20997 (SOL_KCM): Likewise.
20998 (MSG_BATCH): New enum value and macro.
20999
21000 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
21001
21002 [BZ #18185]
21003 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21004 sharing L2 cache to 2 for Knights Landing.
21005
21006 2016-05-20 Joseph Myers <joseph@codesourcery.com>
21007
21008 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21009 (FTW_DP): Do not expect for [XPG3 || XPG4].
21010 (FTW_SL): Do not expect for [XPG3].
21011 (FTW_SLN): Likewise.
21012 (FTW_PHYS): Likewise.
21013 (FTW_MOUNT): Likewise.
21014 (FTW_DEPTH): Likewise.
21015 (FTW_CHDIR): Likewise.
21016 (nftw): Likewise.
21017 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21018 variable.
21019
21020 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21021
21022 * manual/errno.texi: Fix various typos & grammar errors.
21023
21024 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
21025
21026 * manual/intro.texi: Fix duplicated typo.
21027
21028 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21029
21030 [BZ #13304]
21031 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21032 <float.h>, <math_private.h> and <stdlib.h>.
21033 (add_split): New function.
21034 (mul_split): Likewise.
21035 (ext_val): New typedef.
21036 (store_ext_val): New function.
21037 (mul_ext_val): New function.
21038 (compare): New function.
21039 (add_split_ext): New function.
21040 (__fmal): After checking for Inf, NaN and zero, compute result as
21041 an exact sum of scaled double values in round-to-nearest before
21042 adding those up and adjusting for other rounding modes.
21043 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21044 tests of fma.
21045 * math/auto-libm-test-out: Regenerated.
21046
21047 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21048
21049 [BZ #20119]
21050 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21051 processor level type mask for CPUID with EAX == 11.
21052
21053 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21054
21055 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21056 logical threads if the HTT bit is 0.
21057 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21058 (index_cpu_HTT): Likewise.
21059 (reg_HTT): Likewise.
21060
21061 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
21062
21063 [BZ #20115]
21064 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21065 Remove alignments on jump targets.
21066
21067 2016-05-19 Joseph Myers <joseph@codesourcery.com>
21068
21069 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21070 (getpwent): Likewise.
21071 (setpwent): Likewise.
21072 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21073 variable.
21074
21075 * conform/data/search.h-data (insque): Do not expect for [XPG3].
21076 (remque): Likewise.
21077 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21078 variable.
21079
21080 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21081
21082 * math/libm-test.inc: Update comment not to refer to signs of NaNs
21083 not being tested.
21084
21085 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21086
21087 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21088 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
21089 call.
21090 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21091 (__condvar_cleanup1): Likewise.
21092
21093 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21094
21095 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21096 New
21097 (__pthread_unwind): Renamed to ...
21098 (PTHREAD_UNWIND): This.
21099 (__pthread_enable_asynccancel): Replace
21100 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21101
21102 2016-05-18 Joseph Myers <joseph@codesourcery.com>
21103
21104 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21105 (CLONE_NEWCGROUP): New macro.
21106
21107 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21108 (Q_GETNEXTQUOTA): New macro.
21109
21110 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
21111
21112 [BZ #19907]
21113 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21114 buffer updated by the previous run.
21115 * string/test-memcpy.c (do_one_test): Likewise.
21116 * benchtests/bench-memmove.c (do_one_test): Add a comment.
21117 * string/test-memmove.c (do_one_test): Likewise.
21118
21119 2016-05-17 Joseph Myers <joseph@codesourcery.com>
21120
21121 [BZ #20094]
21122 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21123 not [__USE_XOPEN].
21124 (unlockpt): Likewise.
21125 (ptsname): Likewise.
21126 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21127 variable.
21128
21129 [BZ #20076]
21130 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21131 instead of [__USE_UNIX98].
21132 (S_ISSOCK): Likewise.
21133 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21134 variable.
21135
21136 [BZ #20074]
21137 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21138 [__USE_POSIX].
21139 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21140 variable.
21141
21142 [BZ #20051]
21143 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21144 (ttyslot): Do not declare.
21145 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21146 (ttyslot): New prototype.
21147 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21148 variable.
21149 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21150
21151 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21152
21153 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21154
21155 2016-05-13 Florian Weimer <fweimer@redhat.com>
21156
21157 Fix race condition in tst-mallocfork2, use fewer resources.
21158 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21159 to current process group.
21160 (signal_sender): Yield in the non-sleeping case.
21161
21162 2016-05-13 Joseph Myers <joseph@codesourcery.com>
21163
21164 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21165 (ecvt): Likewise.
21166 (fcvt): Likewise.
21167 (gcvt): Likewise.
21168 (getsubopt): Likewise.
21169 (grantpt): Likewise.
21170 (initstate): Likewise.
21171 (l64a): Likewise.
21172 (mktemp): Likewise.
21173 (mkstemp): Likewise.
21174 (ptsname): Likewise.
21175 (random): Likewise.
21176 (realpath): Likewise.
21177 (setstate): Likewise.
21178 (srandom): Likewise.
21179 (ttyslot): Likewise.
21180 (unlockpt): Likewise.
21181 (valloc): Likewise.
21182
21183 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21184 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21185 variable.
21186
21187 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21188
21189 [BZ #20072]
21190 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21191 init_cpu_features only if SHARED is defined.
21192 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21193
21194 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
21195
21196 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21197 non-inclusive caches on Intel processors.
21198
21199 2016-05-13 Florian Weimer <fweimer@redhat.com>
21200
21201 * malloc/malloc.c (dumped_main_arena_start)
21202 (dumped_main_arena_end): New variables.
21203 (DUMPED_MAIN_ARENA_CHUNK): New macro.
21204 (do_check_chunk): Skip dumped fake mmapped chunks.
21205 (munmap_chunk): Likewise.
21206 (__libc_free): Do not adjust statistics for fake mmapped chunks.
21207 (__libc_realloc): Adjust hardening check. Always copy dumped fake
21208 mmapped chunks.
21209 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21210 Mark dumped chunks as using mmap. Update dumped_main_arena_start
21211 and dumped_main_arena_end to cover the dumped heap.
21212
21213 2016-05-12 Joseph Myers <joseph@codesourcery.com>
21214
21215 * conform/data/time.h-data (getdate_err): Do not expect for
21216 [XPG3].
21217 (getdate): Likewise.
21218 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21219 variable.
21220
21221 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21222 (F_ULOCK): Likewise.
21223 (F_TEST): Likewise.
21224 (F_TLOCK): Likewise.
21225 (useconds_t): Likewise.
21226 (intptr_t): Do not expect for [XPG3] or [XPG4].
21227 (brk): Do not expect for [XPG3]
21228 (fchown): Likewise.
21229 (fchdir): Likewise.
21230 (ftruncate): Likewise.
21231 (getdtablesize): Likewise.
21232 (gethostid): Likewise.
21233 (getpagesize): Likewise.
21234 (getpgid): Likewise.
21235 (getsid): Likewise.
21236 (getwd): Likewise.
21237 (lchown): Likewise.
21238 (lockf): Likewise.
21239 (readlink): Likewise.
21240 (sbrk): Likewise.
21241 (setpgrp): Likewise.
21242 (setregid): Likewise.
21243 (setreuid): Likewise.
21244 (symlink): Likewise.
21245 (sync): Likewise.
21246 (truncate): Likewise.
21247 (ualarm): Likewise.
21248 (usleep): Likewise.
21249 (vfork): Likewise.
21250 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21251 variable.
21252
21253 [BZ #20054]
21254 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21255 not [__USE_UNIX98].
21256 * conform/data/unistd.h-data (gethostname): Do not expect for
21257 [XPG3].
21258
21259 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21260 [!POSIX] (S_IFBLK): Likewise.
21261 [!POSIX] (S_IFCHR): Likewise.
21262 [!POSIX] (S_IFIFO): Likewise.
21263 [!POSIX] (S_IFREG): Likewise.
21264 [!POSIX] (S_IFDIR): Likewise.
21265 [!POSIX] (S_IFLNK): Likewise.
21266 [!POSIX] (S_IFSOCK): Likewise.
21267 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21268 variable.
21269 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21270
21271 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
21272
21273 * sysdeps/aarch64/memset.S (__memset):
21274 Rewrite of optimized memset.
21275
21276 2016-05-12 Florian Weimer <fweimer@redhat.com>
21277
21278 [BZ #19703]
21279 Partially async-signal-safe fork for single-threaded processes.
21280 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21281 variable. Do not acquire and reset/release malloc and libio locks
21282 in single-threaded processes.
21283 * malloc/tst-mallocfork2.c: New file.
21284 * malloc/Makefile (tests): Add it.
21285
21286 2016-05-12 Florian Weimer <fweimer@redhat.com>
21287
21288 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21289 argument. Use scratch buffer instead of extend_alloca.
21290 (gethosts): Use scratch buffer instead of extend_alloca.
21291 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
21292 extend_alloca.
21293 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21294
21295 2016-05-11 Joseph Myers <joseph@codesourcery.com>
21296
21297 [BZ #20055]
21298 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21299 instead of [__USE_UNIX98].
21300 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21301 [__USE_UNIX98].
21302 * conform/data/termios.h-data (tcgetsid): Do not expect for
21303 [XPG3].
21304 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21305 variable.
21306 (test-xfail-XPG4/termios.h/conform): Likewise.
21307
21308 2016-05-11 Florian Weimer <fweimer@redhat.com>
21309
21310 Do not use mcheck in localedef.
21311 * locale/programs/localedef.c (turn_on_mcheck)
21312 (__malloc_initialize_hook): Remove.
21313
21314 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21315
21316 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21317 * sysdeps/s390/s390-64/Makefile: Likewise.
21318
21319 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
21320
21321 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21322 Remove ifunc-defines.sym.
21323 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21324 Likewise.
21325 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21326 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21327 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21328 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21329 rtld-global-offsets.sym.
21330 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21331 * sysdeps/x86/cpu-features-offsets.sym: This.
21332 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21333 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21334
21335 2016-05-10 Joseph Myers <joseph@codesourcery.com>
21336
21337 [BZ #20073]
21338 * io/sys/stat.h (fchmod): Declare for
21339 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21340 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21341 variable.
21342
21343 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21344 [XPG3] (S_IFSOCK): Likewise.
21345 [XPG3] (S_ISVTX): Likewise.
21346 [XPG3] (S_ISLNK): Likewise.
21347 [XPG3] (S_ISSOCK): Likewise.
21348 [XPG3] (fchmod): Likewise.
21349 [XPG3] (lstat): Likewise.
21350 [XPG3] (mknod): Likewise.
21351
21352 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21353 [XPG3]. Expect type long and XFAIL for [XPG4].
21354 (st_blocks): Likewise.
21355
21356 [BZ #20044]
21357 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21358 (pthread_atfork): New prototype.
21359 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21360 variable.
21361
21362 [BZ #20043]
21363 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21364 prototype.
21365
21366 2016-05-10 Florian Weimer <fweimer@redhat.com>
21367
21368 [BZ #20017]
21369 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21370 gmtime.
21371
21372 2016-05-10 Florian Weimer <fweimer@redhat.com>
21373
21374 [BZ #19994]
21375 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21376 flag in _res.options.
21377
21378 2016-05-09 Joseph Myers <joseph@codesourcery.com>
21379
21380 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21381 [XPG3 || XPG4].
21382 (blksize_t): Likewise.
21383 (clockid_t): Likewise.
21384 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21385 variable.
21386 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21387
21388 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
21389
21390 * sysdeps/unix/sysv/linux/s390/init-first.c:
21391 Add VDSO_SYMBOL(getcpu).
21392 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21393 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21394 Add VDSO_SYMBOL(getcpu).
21395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21396 New define HAVE_GETCPU_VSYSCALL.
21397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21398
21399 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
21400
21401 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21402 instead of <sysdeps/x86_64/cacheinfo.c>.
21403 * sysdeps/x86_64/cacheinfo.c: Moved to ...
21404 * sysdeps/x86/cacheinfo.c: Here.
21405
21406 2016-05-04 Florian Weimer <fweimer@redhat.com>
21407
21408 * malloc/malloc-internal.h: Adjust header file guard.
21409
21410 2016-05-04 Florian Weimer <fweimer@redhat.com>
21411
21412 [BZ #19787]
21413 * inet/getnameinfo.c (check_sprintf_result): New function.
21414 (CHECKED_SNPRINTF): New macro.
21415 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21416 to the host buffer.
21417 (gni_host_local): Use checked_copy to copy the host name.
21418 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21419 (gni_serv_local): Use checked_copy to copy the service name.
21420 (getnameinfo): Remove unnecessary truncation of result buffers.
21421
21422 2016-05-04 Florian Weimer <fweimer@redhat.com>
21423
21424 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21425 in case of inet_ntop failure.
21426
21427 2016-05-04 Florian Weimer <fweimer@redhat.com>
21428
21429 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21430 avoid long lines.
21431 (gni_host_inet_numeric): Likewise. Reduce scope of local
21432 variables.
21433 (gni_host_inet, gni_host_local): Add comment.
21434 (gni_host): Add comment. Use temporary to avoid long lines.
21435
21436 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21437
21438 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21439 registers specifiers where general purpose registers specifiers should
21440 have been used.
21441
21442 2016-05-04 Florian Weimer <fweimer@redhat.com>
21443
21444 [BZ #19779]
21445 CVE-2016-1234
21446 Avoid copying names of directory entries.
21447 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21448 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21449 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21450 (struct readdir_result): New type.
21451 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21452 (GL_READDIR): New macros.
21453 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21454 (convert_dirent, convert_dirent64): New functions.
21455 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
21456 convert_dirent64. Adjust references to the readdir result.
21457 * sysdeps/unix/sysv/linux/i386/glob64.c:
21458 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21459 * posix/bug-glob2.c (LONG_NAME): Define.
21460 (filesystem): Add LONG_NAME.
21461 (my_DIR): Increase the size of room_for_dirent.
21462
21463 2016-05-03 Joseph Myers <joseph@codesourcery.com>
21464
21465 [BZ #20041]
21466 * misc/sys/select.h (__need_timespec): Only define if
21467 [__USE_XOPEN2K].
21468 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21469 variable.
21470 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21471 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21472 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21473
21474 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21475 Segher Boessenkool <segher@gcc.gnu.org>
21476
21477 [BZ #20004]
21478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21479 (__novec_swapcontext): Add missing load.
21480
21481 2016-05-02 Joseph Myers <joseph@codesourcery.com>
21482
21483 [BZ #20023]
21484 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21485 <time.h>.
21486 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21487 variable.
21488 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21489
21490 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21491
21492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21493 flags CLONE_VM compare.
21494
21495 2016-05-02 Florian Weimer <fweimer@redhat.com>
21496
21497 [BZ #20031]
21498 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21499 completely empty.
21500
21501 2016-05-02 Florian Weimer <fweimer@redhat.com>
21502
21503 [BZ #19573]
21504 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21505 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21506 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21507 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21508 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21509 (hesiod_free_list): Mark as hidden.
21510 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21511 res_set, res_get.
21512 * hesiod/hesiod.c: Remove unnecessary forward declarations.
21513 (init, __hesiod_res_get, __hesiod_res_set): Remove.
21514 (hesiod_init): Remove obsolete res_ninit call.
21515 (hesiod_end): Do not free resolver state. Do not invoke callback.
21516 (hesiod_bind): Do not call init.
21517 (get_txt_records): Use res_mkquery, res_send instead of
21518 res_nmkquery, res_nsend.
21519 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21520 instead of _nss_hesiod_init.
21521 (_nss_hesiod_initgroups_dyn): Likewise.
21522 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21523 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21524 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21525
21526 2016-05-02 Florian Weimer <fweimer@redhat.com>
21527
21528 * hesiod/hesiod_p.h (DEF_RHS): Remove.
21529 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21530
21531 2016-05-02 Florian Weimer <fweimer@redhat.com>
21532
21533 * hesiod/hesiod.h: Remove RCS keyword.
21534 * hesiod/hesiod_p.h: Likewise.
21535
21536 * hesiod/hesiod.c: Likewise.
21537
21538 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
21539
21540 [BZ #12450]
21541 * locale/iso-639.def: Add Samogitian/sgs.
21542
21543 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
21544
21545 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21546
21547 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21548
21549 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
21550 Carlos O'Donell <carlos@redhat.com>
21551
21552 [BZ #19072]
21553 * grp/Makefile (headers): Add grp-merge.h
21554 (routines): Add grp-merge.
21555 * grp/getgrgid_r.c: Include grp-merge.h.
21556 (DEEPCOPY_FN): Define.
21557 (MERGE_FN): Define.
21558 * grp/getgrname_r.c: Include grp-merge.h.
21559 (DEEPCOPY_FN): Define.
21560 (MERGE_FN): Define.
21561 * grp/grp-merge.c: New file.
21562 * grp/grp-merge.h: New file.
21563 * include/grp-merge.h: New file.
21564 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21565 __copy_grp@GLIBC_PRIVATE.
21566 * manual/nss.texi (Actions in the NSS configuration): Describe
21567 return, continue, and merge.
21568 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21569 (DEEPCOPY_FN): Define.
21570 (MERGE_FN): Define.
21571 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21572 (DEEPCOPY_FN): Define.
21573 (MERGE_FN): Define.
21574 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21575 [!MERGE_FN]: Define __merge_einval.
21576 (CHECK_MERGE): Define.
21577 (REENTRANT_NAME): Process merge if do_merge is true.
21578 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21579 (__nss_getent_r): Likewise.
21580 * nss/nsswitch.c (nss_parse_service_list): Likewise.
21581 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21582
21583 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21584
21585 [BZ #20012]
21586 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21587 length to calculate the buffer to read.
21588 (fmemopen_write): Set the buffer position based on bytes written.
21589 (fmemopen_seek): Return EINVAL for invalid whence modes.
21590
21591 [BZ #19957]
21592 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21593 tst-getpid2.
21594 (test): Add tst-clone2.
21595 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21596 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21597 pid/tid fields for CLONE_VM.
21598 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21599 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21600 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21601 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21602 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21603 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21604 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21605 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21607 Likewise.
21608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21609 Likewise.
21610 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21611 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21612 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21613 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21615 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21616 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21617 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21618
21619 2016-04-29 Florian Weimer <fweimer@redhat.com>
21620
21621 [BZ #19642]
21622 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21623 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21624 (gni_serv_local, gni_serv): New functions extracted from
21625 getnameinfo.
21626 (getnameinfo): Call gni_host and gni_serv to perform the
21627 processing. Always free scratch buffer.
21628
21629 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21630
21631 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21632 remaining bytes in the dest string, with zeros.
21633
21634 2016-04-29 Florian Weimer <fweimer@redhat.com>
21635
21636 [BZ #20010]
21637 CVE-2016-3706
21638 * sysdeps/posix/getaddrinfo.c
21639 (convert_hostent_to_gaih_addrtuple): New function.
21640 (gethosts): Call convert_hostent_to_gaih_addrtuple.
21641 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21642 AF_INET data.
21643
21644 2016-04-29 Florian Weimer <fweimer@redhat.com>
21645
21646 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21647 callback function gl_readdir.
21648 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21649 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21650 (glob_in_dir): Remove len. Use strdup instead of malloc and
21651 memcpy to copy the name.
21652 * manual/pattern.texi (Calling Glob): Document requirements for
21653 implementations of the gl_readdir callback function.
21654 * manual/examples/mkdirent.c: New example.
21655 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21656 per the manual guidance.
21657 * posix/tst-gnuglob.c (my_readdir): Likewise.
21658
21659 2016-04-28 Joseph Myers <joseph@codesourcery.com>
21660
21661 [BZ #20014]
21662 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
21663 not [__USE_POSIX].
21664 (getchar_unlocked): Likewise.
21665 (putc_unlocked): Likewise.
21666 (putchar_unlocked): Likewise.
21667 (flockfile): Likewise.
21668 (ftrylockfile): Likewise.
21669 (funlockfile): Likewise.
21670 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
21671 variable.
21672 (test-xfail-XPG4/stdio.h/conform): Likewise.
21673
21674 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
21675 Expect constant.
21676 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
21677 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
21678 variable.
21679 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21680 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21681
21682 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
21683 [__USE_LARGEFILE64] (off64_t): Likewise.
21684 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
21685 variable.
21686
21687 2016-04-28 Florian Weimer <fweimer@redhat.com>
21688
21689 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
21690
21691 2016-04-28 Florian Weimer <fweimer@redhat.com>
21692
21693 * resolv/inet_addr.c: Reindent preprocessor conditionals.
21694 * resolv/res_init.c: Likewise.
21695 * resolv/res_mkquery.c: Likewise.
21696
21697 2016-04-28 Florian Weimer <fweimer@redhat.com>
21698
21699 * resolv/res_init.c (isascii): Do not define. Use definition in
21700 <ctype.h>.
21701 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
21702 (LOG_AUTH): Remove.
21703 (SPRINTF): Remove, adjust caller.
21704 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
21705
21706 2016-04-28 Florian Weimer <fweimer@redhat.com>
21707
21708 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
21709 SUNSECURITY conditional.
21710 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
21711
21712 2016-04-28 Florian Weimer <fweimer@redhat.com>
21713
21714 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
21715 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
21716 Remove BSD-related preprocessor conditionals.
21717 * conf/portability.h: Remove.
21718
21719 2016-04-28 Florian Weimer <fweimer@redhat.com>
21720
21721 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
21722 * resolv/res_data.c: Likewise.
21723
21724 2016-04-28 Florian Weimer <fweimer@redhat.com>
21725
21726 * resolv/res_comp.c: Remove code conditional on __ultrix__.
21727 * resolv/res_data.c: Remove code conditional on ultrix.
21728
21729 2016-04-28 Florian Weimer <fweimer@redhat.com>
21730
21731 * resolv/res_init.c (RFC1535): Do not define. Remove
21732 RFC1535 preprocessor conditionals.
21733 * resolv/README: Update. Do not claim strict RFC 1535 compliance
21734 because there configuration options which make the resolver
21735 behavior different.
21736
21737 2016-04-28 Florian Weimer <fweimer@redhat.com>
21738
21739 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
21740 RESOLVSORT preprocessor conditionals.
21741 * resolv/nss_dns/dns-host.c: Likewise.
21742 * resolv/res_init.c: Likewise.
21743
21744 2016-04-28 Florian Weimer <fweimer@redhat.com>
21745
21746 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
21747 is never defined.
21748
21749 2016-04-28 Florian Weimer <fweimer@redhat.com>
21750
21751 * inet/inet_lnaof.c: Remove SCSS keyword.
21752 * inet/inet_mkadr.c: Likewise.
21753 * inet/inet_net.c: Likewise.
21754 * inet/inet_netof.c: Likewise.
21755 * inet/rcmd.c: Likewise.
21756 * inet/rexec.c: Likewise.
21757 * inet/ruserpass.c: Likewise.
21758
21759 2016-04-28 Florian Weimer <fweimer@redhat.com>
21760
21761 * resolv/inet_addr.c: Remove _LIBC conditionals.
21762 * resolv/res_data.c: Likewise.
21763 * resolv/res_init.c: Likewise.
21764 * resolv/res_mkquery.c: Likewise.
21765 * resolv/res_libc.c: Update comment.
21766 * resolv/README: Update.
21767
21768 2016-04-28 Florian Weimer <fweimer@redhat.com>
21769
21770 * resolv/gethnamaddr.c: Remove SCSS keyword.
21771 * resolv/herror.c: Likewise.
21772 * resolv/inet_addr.c: Likewise.
21773 * resolv/inet_net_ntop.c: Likewise.
21774 * resolv/inet_net_pton.c: Likewise.
21775 * resolv/inet_neta.c: Likewise.
21776 * resolv/inet_ntop.c: Likewise.
21777 * resolv/inet_pton.c: Likewise.
21778 * resolv/ns_date.c: Remove RCS keyword.
21779 * resolv/ns_name.c: Likewise.
21780 * resolv/ns_netint.c: Likewise.
21781 * resolv/ns_parse.c: Likewise.
21782 * resolv/ns_print.c: Likewise.
21783 * resolv/ns_samedomain.c: Likewise.
21784 * resolv/ns_ttl.c: Likewise.
21785 * resolv/nsap_addr.c: Likewise.
21786 * resolv/res_comp.c: Remove SCSS and RCS keyword.
21787 * resolv/res_data.c: Remove RCS keyword.
21788 * resolv/res_debug.c: Remove SCSS and RCS keyword.
21789 * resolv/res_init.c: Likewise.
21790 * resolv/res_mkquery.c: Likewise.
21791 * resolv/res_query.c: Likewise.
21792 * resolv/res_send.c: Likewise.
21793
21794 2016-04-27 Joseph Myers <joseph@codesourcery.com>
21795
21796 * conform/data/stdio.h-data (fdopen): Expect also for
21797 [XPG3 || XPG4].
21798
21799 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21800 (fseeko): Likewise.
21801 (ftello): Likewise.
21802 (ftrylockfile): Likewise.
21803 (funlockfile): Likewise.
21804 (getc_unlocked): Likewise.
21805 (getchar_unlocked): Likewise.
21806 (putc_unlocked): Likewise.
21807 (putchar_unlocked): Likewise.
21808
21809 2016-04-27 Florian Weimer <fweimer@redhat.com>
21810
21811 [BZ #19868]
21812 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21813 DNS packet syntax checks (which were not needed before). Skip
21814 over non-PTR records.
21815
21816 2016-04-27 Florian Weimer <fweimer@redhat.com>
21817
21818 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21819 definition. Include <stddef.h> instead.
21820
21821 2016-04-27 Florian Weimer <fweimer@redhat.com>
21822
21823 [BZ #19831]
21824 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21825 function.
21826 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21827 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21828
21829 2016-04-27 Florian Weimer <fweimer@redhat.com>
21830
21831 [BZ #19862]
21832 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21833 (getanswer_r): Do not call syslog.
21834 (gaih_getanswer_slice): Likewise.
21835 * resolv/gethnamaddr.c (AskedForGot): Remove.
21836 (getanswer): Do not call syslog.
21837 (gethostbyaddr): Likewise.
21838
21839 2016-04-27 Joseph Myers <joseph@codesourcery.com>
21840
21841 * conform/data/signal.h-data (union sigval): Expect also if
21842 [XOPEN2K].
21843 (struct sigevent): Likewise.
21844 (SIGEV_NONE): Likewise.
21845 (SIGEV_SIGNAL): Likewise.
21846 (SIGEV_THREAD): Likewise.
21847 (SIGRTMIN): Likewise.
21848 (SIGRTMAX): Likewise.
21849 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21850 variable.
21851 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21852
21853 2016-04-27 Florian Weimer <fweimer@redhat.com>
21854
21855 [BZ #19830]
21856 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21857 (gaih_getanswer_slice): Likewise.
21858 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21859 Also check for availability of RR metadata.
21860
21861 2016-04-27 Florian Weimer <fweimer@redhat.com>
21862
21863 [BZ #19825]
21864 * resolv/res_send.c (send_vc): Remove early *resplen2
21865 initialization. Set *resplen2 on socket error. Call
21866 close_and_return_error for other errors.
21867
21868 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
21869
21870 * sysdeps/unix/sysv/linux/netiucv/iucv.h
21871 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21872 (SCM_IUCV_TRGCLS): New define.
21873
21874 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21875
21876 [BZ #20005]
21877 * libio/fmemopen.c (fmemopen_write): Update internal position after
21878 write.
21879 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21880 * stdio-common/tst-fmemopen4.c: New file..
21881
21882 2016-04-26 Joseph Myers <joseph@codesourcery.com>
21883
21884 [BZ #19996]
21885 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21886 not [__USE_XOPEN2K].
21887 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21888 variable.
21889
21890 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21891 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21892 variable.
21893
21894 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21895 [__USE_XOPEN2K8].
21896 [__USE_LARGEFILE64] (off64_t): Likewise.
21897 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21898 variable.
21899
21900 2016-04-25 Joseph Myers <joseph@codesourcery.com>
21901
21902 [BZ #19989]
21903 * libio/stdio.h (cuserid): Do not declare if
21904 [__USE_XOPEN2K && !__USE_GNU].
21905 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21906 variable.
21907
21908 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21909
21910 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21911 (sysdep_routines): Add P8 and PPC64 strcspn targets.
21912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21913 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21914 ifunc'ed strcspn.
21915 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21916 [EALIGN]: Removed.
21917 [END]: Likewise
21918 [STRSPN]: Define instead of the above to control symbol name.
21919 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21920 New file.
21921 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21922 Likewise.
21923 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21924 Likewise.
21925 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21926 Likewise.
21927 * sysdeps/powerpc/powerpc64/power8/strspn.S:
21928 [INITIAL_MASK]: New macro.
21929 [STRCSPN]: Likewise.
21930 [UPDATE_MASK]: Likewise.
21931 [USE_AS_STRCSPN]: Likewise.
21932
21933 2016-04-25 Florian Weimer <fweimer@redhat.com>
21934
21935 [BZ #19931]
21936 * stdio-common/tst-vfprintf-width-prec.c: New file.
21937 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21938 (tests-special): Add tst-vfprintf-width-prec-mem.out.
21939 (generated): Add mtrace-related files.
21940 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21941 (tst-%-mem.out): New pattern rule, replaces
21942 tst-printf-bz18872-mem.out.
21943 * stdio-common/vfprintf.c (vfprintf): When handling a precision
21944 specifier, deallocate any previously allocated work buffer.
21945
21946 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21947
21948 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21949 Add nop before __startcontext, add explaining comments.
21950
21951 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
21952
21953 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21954 any more. Notably since IPV6_PKTINFO has been reintroduced with a
21955 completely different API.
21956
21957 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21958 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21959 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21960 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21961 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21962 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21963 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21964 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21965 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21966 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21967
21968 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
21969
21970 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21971
21972 2016-04-23 Mike Frysinger <vapier@gentoo.org>
21973
21974 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21975 when it is the default of 0.
21976
21977 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21978
21979 * sysdeps/powerpc/locale-defines.sym: Add new macros.
21980 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21981 (sysdep_routines): Add new strcasestr targets.
21982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21983 (__libc_ifunc_impl_list): Likewise.
21984 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21985 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21986 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21987 * sysdeps/powerpc/powerpc64/power8/Makefile:
21988 New file to add strcasestr-ppc64 to sysdep_routines.
21989 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21990 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21991
21992 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
21993
21994 * benchtests/Makefile (wcsmbs-benchset): Include only for
21995 native builds and runs.
21996 (LOCALES): Likewise.
21997 (bench-build): Build timing-type here instead of the bench
21998 target. Generate locale only for native builds.
21999 * benchtests/README: Add note for cross-building.
22000
22001 * benchtests/Makefile (bench-clean): Clean up extra-objs.
22002
22003 * benchtests/README: Update README to include instructions on
22004 using bench-build.
22005
22006 * Makefile.in (bench-build): New target.
22007 * Rules (PHONY): Add bench-build target.
22008 * benchtests/Makefile (bench): Depend on bench-build.
22009 (bench-build): New target.
22010
22011 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
22012
22013 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22014 profil_reply_port.
22015 (profile_waiter): Do not initialize profil_reply_port.
22016 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22017 frequency instead of tick length in us.
22018
22019 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
22020
22021 [BZ #18712]
22022 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22023 (__old_mempcpy_small): Likewise.
22024 (__old_strcpy_small): Likewise.
22025 (__old_stpcpy_small): Likewise.
22026 (__old_strpbrk_c2): Fix compat symbol name.
22027 (__old_strpbrk_c3): Likewise.
22028 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22029 (__mempcpy_small): Remove.
22030 (__strcpy_small): Remove.
22031 (__stpcpy_small): Remove.
22032
22033 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
22034
22035 [BZ #19400]
22036 * locale/iso-639.def: Add the Talossan/tzl language.
22037
22038 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22039
22040 [BZ #16983]
22041 * locale/programs/ld-address.c (address_finish): Update postal_fmt
22042 comment. Add "ln" to strchr check on postal_fmt.
22043
22044 2016-04-16 Mike Frysinger <vapier@gentoo.org>
22045
22046 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22047 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
22048 tel_dom_fmt.
22049
22050 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22051
22052 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22053 (sysdep_routines): Added __strlen_power8.
22054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22055 __strlen_power8 entry.
22056 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22057 Implementation for POWER8.
22058 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22059 for __strlen_power8.
22060 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22061 Implementation for POWER8.
22062
22063 2016-04-15 Mike Frysinger <vapier@gentoo.org>
22064
22065 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22066
22067 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
22068
22069 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22070 Goldmont and Airmont processors.
22071
22072 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
22073
22074 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22075 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22076 (__STRING2_SMALL_GET32): Remove.
22077 (memset): Remove.
22078 (__memset_1): Remove.
22079 (__memset_gc): Remove.
22080 (__mempcpy): Remove.
22081 (mempcpy): Remove.
22082 (__mempcpy_args): Remove.
22083 (strchr): Remove.
22084 (strcpy): Remove.
22085 (strcpy_args): Remove.
22086 (__stpcpy_args): Remove.
22087 (__strcmp_cc): Remove.
22088 (__strcmp_gc): Remove.
22089 (strstr): Remove.
22090
22091 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
22092
22093 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22094 * nis/nis_call.c (nis_server_cache_add): Likewise.
22095
22096 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22097
22098 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22099
22100 2016-04-14 Florian Weimer <fweimer@redhat.com>
22101
22102 * malloc/arena.c (__malloc_fork_lock_parent)
22103 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22104 internal_function attribute.
22105
22106 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
22107
22108 * stdio-common/printf_fp.c (__printf_fp_l):
22109 Rename ___printf_fp_l to __printf_fp_l and
22110 remove strong alias. Use libc_hidden_def instead
22111 of ldbl_hidden_def macro.
22112
22113 2016-04-14 Florian Weimer <fweimer@redhat.com>
22114
22115 Remove malloc hooks from fork handler. They are no longer needed
22116 because malloc runs right before fork, and no malloc calls from
22117 other fork handlers are not possible anymore.
22118 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22119 declarations.
22120 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22121 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22122 (atfork_recursive_cntr): Remove.
22123 (__malloc_fork_lock_parent): Do not override malloc hooks and
22124 thread_arena.
22125 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22126 thread_arena.
22127 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
22128 thread_arena instead of save_arena.
22129
22130 2016-04-14 Florian Weimer <fweimer@redhat.com>
22131
22132 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22133 (thread_atfork, thread_atfork_static): Remove.
22134 * sysdeps/mach/hurd/malloc-machine.h:
22135 (thread_atfork, thread_atfork_static): Remove.
22136
22137 2016-04-14 Florian Weimer <fweimer@redhat.com>
22138
22139 [BZ #19431]
22140 Run the malloc fork handler as late as possible to avoid deadlocks.
22141 * malloc/malloc-internal.h: New file.
22142 * malloc/malloc.c: Include it.
22143 * malloc/arena.c (ATFORK_MEM): Remove.
22144 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22145 Update comment.
22146 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22147 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22148 Remove outdated comment.
22149 (ptmalloc_init): Do not call thread_atfork. Remove
22150 thread_atfork_static.
22151 * malloc/tst-malloc-fork-deadlock.c: New file.
22152 * Makefile (tests): Add tst-malloc-fork-deadlock.
22153 (tst-malloc-fork-deadlock): Link against libpthread.
22154 * manual/memory.texi (Aligned Memory Blocks): Update safety
22155 annotation comments.
22156 * sysdeps/nptl/fork.c (__libc_fork): Call
22157 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22158 __malloc_fork_unlock_child.
22159 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22160
22161 2016-04-14 Florian Weimer <fweimer@redhat.com>
22162
22163 [BZ #19613]
22164 Remove union wait.
22165 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22166 (w_stopsig, w_stopval): Remove.
22167 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22168 stat_loc argument.
22169 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22170 (__WAIT_STATUS_DEFN): Remove.
22171 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22172 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22173 (wait, wait3, wait4): Use int * for the stat_loc argument.
22174 * posix/wait.c (__wait): Likewise.
22175 * posix/wait3.c (__wait3): Likewise.
22176 * posix/wait4.c (__wait4): Likewise.
22177 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22178 (__WAIT_STATUS_DEFN): Remove.
22179 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22180 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22181 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22182 argument.
22183 * sysdeps/posix/wait.c (__libc_wait): Likewise.
22184 * sysdeps/posix/wait3.c (__wait3): Likewise.
22185 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22186 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22187 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22188 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22189 stat_loc argument.
22190 * manual/process.texi (BSD Wait Functions): Remove union wait.
22191
22192 2016-04-13 Andreas Schwab <schwab@suse.de>
22193
22194 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22195 (test-extras): Add tst-tlsalign-vars.
22196 * math/Makefile: Wrap long lines.
22197 (libm-vec-test-wrappers): Define.
22198 (test-extras): Add $(libm-vec-test-wrappers).
22199 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22200 * nss/Makefile (extra-test-objs): Add nss_test1.os.
22201 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22202 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22203 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22204 (extra-test-objs): Add corresponding objects.
22205
22206 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
22207
22208 [BZ #19928]
22209 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22210 New.
22211 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22212 times of shared cache size.
22213 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22214 (VMOVNT): New.
22215 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22216 (VMOVNT): Likewise.
22217 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22218 (VMOVNT): Likewise.
22219 (VMOVU): Changed to movups for smaller code sizes.
22220 (VMOVA): Changed to movaps for smaller code sizes.
22221 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22222 comments.
22223 (PREFETCH): New.
22224 (PREFETCH_SIZE): Likewise.
22225 (PREFETCHED_LOAD_SIZE): Likewise.
22226 (PREFETCH_ONE_SET): Likewise.
22227 Rewrite to use forward and backward loops, which move 4 vector
22228 registers at a time, to support overlapping addresses and use
22229 non temporal store if size is above the threshold and there is
22230 no overlap between destination and source.
22231
22232 2016-04-12 Alex Smith <alex.smith@imgtec.com>
22233
22234 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22235 Include dl-vdso.
22236 * sysdeps/unix/sysv/linux/mips/Versions: Add
22237 __vdso_clock_gettime.
22238 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22239 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22240 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22241 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22242 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22243 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22244 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22245 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22246 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22247
22248 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22249
22250 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22251 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22252 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22253 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22254 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22255 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22258 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22260 syscalls generation.
22261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22262 [__NR_pwrite64] (__NR_write): Remove define.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22264 [__NR_pwrite64] (__NR_write): Remove define.
22265 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22266 Remove define.
22267 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22268 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22269 Remove define.
22270 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22271 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22272 Linux implementation as base.
22273 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22274
22275 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22276 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22277 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22278 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22281 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22282 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22283 syscall generation.
22284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22285 [__NR_pread64] (__NR_pread): Remove define.
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22287 [__NR_pread64] (__NR_pread): Likewise.
22288 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22289 define.
22290 (__libc_pread): Use SYSCALL_LL macro on offset argument.
22291 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22292 Remove define.
22293 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22294 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22295 Linux implementation as base.
22296 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22297 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22298 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22299
22300 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22301 definition.
22302 (__ALIGNMENT_COUNT): Likewise.
22303 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22304 (__ALIGNMENT_COUNT): Likewise.
22305 (SYSCALL_LL): New define.
22306 (SYSCALL_LL64): Likewise.
22307 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22308 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22309 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22310 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22311
22312 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22313 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22315 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22316 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22317 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22318
22319 2016-04-11 Florian Weimer <fweimer@redhat.com>
22320
22321 [BZ #19865]
22322 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22323 original buffer before retry.
22324
22325 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22326
22327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22328 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22329 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22330 GLRO(dl_auxv) list.
22331 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22332 including <ldsodefs.h>.
22333 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22334
22335 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
22336
22337 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22338 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22339 $(CPPFLAGS).
22340
22341 2016-04-09 Khem Raj <raj.khem@gmail.com>
22342
22343 [BZ #17950]
22344 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22345 Add -mfpmath=387.
22346
22347 2016-04-09 Mike Frysinger <vapier@gentoo.org>
22348
22349 * sysdeps/i386/configure.ac: Change == to = when calling test.
22350 * sysdeps/x86_64/configure.ac: Likewise.
22351 * sysdeps/i386/configure: Regenerated.
22352 * sysdeps/x86_64/configure: Likewise.
22353
22354 2016-04-08 Mike Frysinger <vapier@gentoo.org>
22355
22356 [BZ #16137]
22357 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22358 * benchtests/bench-strcoll.c (input_files): Likewise.
22359 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22360 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22361 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22362
22363 2016-04-08 Joseph Myers <joseph@codesourcery.com>
22364
22365 [BZ #19929]
22366 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22367 [__USE_XOPEN2K8 && !__USE_GNU].
22368 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22369 variable.
22370
22371 [BZ #19925]
22372 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22373 define if [!__USE_MISC && __USE_XOPEN2K].
22374 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22375 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22376 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22377 Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22379 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22380 variable.
22381 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22382
22383 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22384
22385 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22386 (sysdep_routines): Add new strspn targets.
22387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22388 (__libc_ifunc_impl_list): Add strspn.
22389 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22390 New file.
22391 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22392 Likewise.
22393 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22394 Likewise.
22395 * sysdeps/powerpc/powerpc64/power8/strspn.S:
22396 Likewise.
22397
22398 2016-04-07 Florian Weimer <fweimer@redhat.com>
22399
22400 * misc/hsearch_r.c: Include <limits.h>.
22401
22402 2016-04-07 Florian Weimer <fweimer@redhat.com>
22403
22404 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22405
22406 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22409 (MEMCPY_SYMBOL): New.
22410 (MEMPCPY_SYMBOL): Likewise.
22411 (MEMMOVE_CHK_SYMBOL): Likewise.
22412 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22413 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22414 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
22415 Provide alias for memcpy in libc.a and ld.so.
22416
22417 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22418
22419 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22420 (MEMSET_CHK_SYMBOL): New. Define if not defined.
22421 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22422 Disabled fro now.
22423 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22424 symbols. Properly check USE_MULTIARCH on __memset symbols.
22425
22426 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
22427
22428 * benchtests/Makefile (string-benchset): Add memcpy-large,
22429 memmove-large and memset-large.
22430 * benchtests/bench-memcpy-large.c: New file.
22431 * benchtests/bench-memmove-large.c: Likewise.
22432 * benchtests/bench-memmove-large.c: Likewise.
22433 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22434
22435 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22436
22437 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22438 32-bit displacement to avoid long nop between instructions.
22439
22440 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
22441
22442 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22443 a comment on VMOVU and VMOVA.
22444
22445 2016-04-04 Florian Weimer <fweimer@redhat.com>
22446
22447 [BZ #19633]
22448 Use specified locale for number formatting in strfmon_l.
22449 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22450 (__nl_lookup_word): New inline functions.
22451 * include/printf.h (__print_fp_l): Declare.
22452 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22453 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
22454 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22455 (___printf_fp): New function.
22456 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22457 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22458 * stdlib/tst-strfmon_l.c (do_test): New test.
22459 * stdlib/Makefile (tests): Add kt.
22460 (LOCALES): Build additional locales.
22461 (tst-strfmon_l.out): Require locales.
22462
22463 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22464
22465 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22466 if not in libc.
22467 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22468 Likewise.
22469 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22470 Likewise.
22471 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22472 Likewise.
22473
22474 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
22475
22476 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22477 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22478 with unaligned_erms.
22479 (__memmove_erms): Skip if source == destination.
22480 (__memmove_unaligned_erms): Don't check source == destination
22481 first.
22482
22483 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22484
22485 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22486 bit_arch_Fast_Copy_Backward for Intel Core proessors.
22487
22488 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22489
22490 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22491 * string/strspn.c (strspn): Likewise.
22492
22493 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22494
22495 * benchtests/bench-memset.c (do_test): Support 64-byte
22496 alignment.
22497 (test_main): Test 64-byte alignment.
22498
22499 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22500
22501 * benchtests/bench-memmove.c (test_main): Test 64-byte
22502 alignment.
22503
22504 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
22505
22506 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22507
22508 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22509
22510 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22511 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22512 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22513
22514 * string/strpbrk.c (strpbrk): Rewrite function.
22515 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22516 (__strpbrk_c2): Likewise.
22517 (__strpbrk_c3): Likewise.
22518 * string/string-inlines.c
22519 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22520 Likewise.
22521 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22522 Likewise.
22523
22524 * string/strspn.c (strcspn): Rewrite function.
22525 * string/bits/string2.h (strspn): Use __builtin_strcspn.
22526 (__strspn_c1): Remove inline function.
22527 (__strspn_c2): Likewise.
22528 (__strspn_c3): Likewise.
22529 * string/string-inlines.c
22530 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22531 compatibility symbol.
22532 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22533 Likewise.
22534 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22535 Likewise.
22536 * string/string-inlines.c: Include generic version.
22537
22538 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
22539 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22540
22541 * string/Version (libc): Add GLIBC_2.24.
22542 * string/strcspn.c (strcspn): Rewrite function.
22543 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22544 (__strcspn_c1): Remove inline function.
22545 (__strcspn_c2): Likewise.
22546 (__strcspn_c3): Likewise.
22547 * string/string-inline.c
22548 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22549 compatibility symbol.
22550 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22551 Likewise.
22552 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22553 Likewise.
22554 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22555
22556 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22557
22558 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22559 Use ahi instead of aghi to adjust stack pointer.
22560
22561 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22562
22563 [BZ #19853]
22564 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22565 TEST to take significant digits as second parameter.
22566 [TEST]: Redefine in terms of TEST_N taking 30
22567 significant digits.
22568 (do_test): Add test case to demonstrate precision
22569 failure in the ldbl-128ibm printf.
22570 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22571 (__mpn_extract_long_double): Carry 7 extra intermediate
22572 bits of precision to aide computing difference when
22573 signs differ.
22574
22575 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22576
22577 [BZ #19881]
22578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22579 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22580 memset-avx512-unaligned-erms.
22581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22582 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22583 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22584 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22585 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22586 __memset_sse2_unaligned_erms, __memset_erms,
22587 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22588 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22589 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22590 file.
22591 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22592 Likewise.
22593 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22594 Likewise.
22595 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22596 Likewise.
22597
22598 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
22599
22600 [BZ #19776]
22601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22602 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22603 memmove-avx512-unaligned-erms.
22604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22605 (__libc_ifunc_impl_list): Test
22606 __memmove_chk_avx512_unaligned_2,
22607 __memmove_chk_avx512_unaligned_erms,
22608 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22609 __memmove_chk_sse2_unaligned_2,
22610 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22611 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22612 __memmove_avx512_unaligned_erms, __memmove_erms,
22613 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22614 __memcpy_chk_avx512_unaligned_2,
22615 __memcpy_chk_avx512_unaligned_erms,
22616 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22617 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22618 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22619 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22620 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22621 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22622 __mempcpy_chk_avx512_unaligned_erms,
22623 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22624 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22625 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22626 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22627 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22628 __mempcpy_erms.
22629 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22630 file.
22631 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22632 Likewise.
22633 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22634 Likewise.
22635 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22636 Likewise.
22637
22638 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22639
22640 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22641 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22642 (La_s390_64_regs): Likewise.
22643 (La_s390_32_retval): Append vector register lrv_v24.
22644 (La_s390_64_retval): Likeweise.
22645 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22646 Handle extended structs La_s390_32_regs and La_s390_32_retval.
22647 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22648 Handle extended structs La_s390_64_regs and La_s390_64_retval.
22649
22650 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22651
22652 [BZ #19916]
22653 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22654 to create a non-vector/vector version for _dl_runtime_resolve and
22655 _dl_runtime_profile. Move implementation to ...
22656 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22657 (_dl_runtime_resolve) Save and restore fpr/vrs.
22658 (_dl_runtime_profile) Save and restore vrs and fix some issues
22659 if _dl_call_pltexit is called.
22660 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
22661 Choose the correct resolver function if running on a machine with vx.
22662 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
22663 to create a non-vector/vector version for _dl_runtime_resolve and
22664 _dl_runtime_profile. Move implementation to ...
22665 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
22666 (_dl_runtime_resolve) Save and restore fpr/vrs.
22667 (_dl_runtime_profile) Save and restore vrs and fix some issues
22668 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
22669 Choose the correct resolver function if running on a machine with vx.
22670
22671 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22672
22673 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
22674
22675 2016-03-31 Florian Weimer <fweimer@redhat.com>
22676
22677 [BZ #19509]
22678 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
22679 skip_map != NULL.
22680 * elf/tst-dlsym-error.c: New file.
22681 * elf/Makefile (tests): Add tst-dlsym-error.
22682 (tst-dlsym-error): Link against libdl.
22683
22684 2016-03-29 Joseph Myers <joseph@codesourcery.com>
22685
22686 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22687 (__ASSUME_FUTIMESAT): Remove macro.
22688 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
22689
22690 2016-03-29 Florian Weimer <fweimer@redhat.com>
22691
22692 [BZ #19879]
22693 CVE-2016-3075
22694 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
22695 copy name.
22696
22697 2016-03-29 Florian Weimer <fweimer@redhat.com>
22698
22699 [BZ #19837]
22700 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
22701 error if parse_line fails.
22702
22703 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22704
22705 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
22706 (index_cpu_ERMS): Likewise.
22707 (reg_ERMS): Likewise.
22708
22709 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
22710
22711 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
22712 PER_LINUX_FDPIC): Add.
22713
22714 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22717 memcpy-avx512-no-vzeroupper.
22718 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
22719 to ...
22720 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
22721 (MEMCPY): Don't define.
22722 (MEMCPY_CHK): Likewise.
22723 (MEMPCPY): Likewise.
22724 (MEMPCPY_CHK): Likewise.
22725 (MEMPCPY_CHK): Renamed to ...
22726 (__mempcpy_chk_avx512_no_vzeroupper): This.
22727 (MEMPCPY_CHK): Renamed to ...
22728 (__mempcpy_chk_avx512_no_vzeroupper): This.
22729 (MEMCPY_CHK): Renamed to ...
22730 (__memmove_chk_avx512_no_vzeroupper): This.
22731 (MEMCPY): Renamed to ...
22732 (__memmove_avx512_no_vzeroupper): This.
22733 (__memcpy_avx512_no_vzeroupper): New alias.
22734 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
22735
22736 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22737
22738 [BZ #18858]
22739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22740 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
22741 and mempcpy-avx512-no-vzeroupper.
22742 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
22743 New.
22744 (MEMPCPY): Likewise.
22745 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
22746 (MEMPCPY_CHK): New.
22747 (MEMPCPY): Likewise.
22748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
22749 (MEMPCPY): Likewise.
22750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
22751 (MEMPCPY): Likewise.
22752 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
22753 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
22754 Likewise.
22755 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
22756 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
22757
22758 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
22759 Amit Pawar <Amit.Pawar@amd.com>
22760
22761 [BZ #19583]
22762 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22763 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
22764 processors. Set Fast_Copy_Backward for AMD Excavator
22765 processors.
22766 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
22767 New.
22768 (index_arch_Fast_Unaligned_Copy): Likewise.
22769 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
22770 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
22771
22772 2016-03-25 Florian Weimer <fweimer@redhat.com>
22773
22774 [BZ #19791]
22775 * resolv/res_send.c (close_and_return_error): New function.
22776 (send_dg): Initialize *resplen2 after reopen failure. Call
22777 close_and_return_error for error returns. On error paths without
22778 __res_iclose, initialze *resplen2 explicitly. Update comment for
22779 successful return.
22780
22781 2016-03-25 Florian Weimer <fweimer@redhat.com>
22782
22783 [BZ #19860]
22784 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22785 zero if the compiler does not provide the AVX512F bit.
22786
22787 2016-03-24 Joseph Myers <joseph@codesourcery.com>
22788
22789 [BZ #19848]
22790 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22791 from 8 to 4.
22792 (__ieee754_powl): Compare integer exponent against 4 not 8.
22793 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22794 from 8 to 4.
22795 (__ieee754_powl): Compare integer exponent against 4 not 8.
22796 * math/auto-libm-test-in: Add more tests of pow.
22797 * math/auto-libm-test-out: Regenerated.
22798 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22800
22801 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
22802
22803 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22804 Make code unconditional.
22805 [!__NR_utimensat]: Remove conditional code.
22806 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22807 Make code unconditional.
22808 [!__NR_utimensat]: Remove conditional code.
22809 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22810 Make code unconditional.
22811 [!__NR_utimensat]: Remove conditional code.
22812
22813 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
22814
22815 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22816 Make code unconditional.
22817
22818 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
22819
22820 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22821 call-clobbered %eax on retry path.
22822 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22823
22824 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22827 Don't set %rcx twice before "rep movsb".
22828
22829 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
22830
22831 [BZ #19583]
22832 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22833 inline. Check family before setting family, model and
22834 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
22835 bits here.
22836 (init_cpu_features): Replace HAS_CPU_FEATURE and
22837 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22838 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
22839 for Intel processors with usable AVX2. Call get_common_indeces
22840 for other processors with family == NULL.
22841 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22842 (CPU_FEATURES_ARCH_P): Likewise.
22843 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22844 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22845
22846 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22847
22848 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22849 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22850 $(shared-thread-library) instead of hardcoding the path to libpthread.
22851
22852 2016-03-22 Joseph Myers <joseph@codesourcery.com>
22853
22854 * sysdeps/unix/sysv/linux/kernel-features.h
22855 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22856 * sysdeps/unix/sysv/linux/getdents.c
22857 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22858 [!have_no_getdents64_defined]: Likewise.
22859 (__GETDENTS): Remove __have_no_getdents64 conditional.
22860
22861 2016-03-21 Joseph Myers <joseph@codesourcery.com>
22862
22863 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22864 Remove macro.
22865 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22866 <kernel-features.h>.
22867 (signalfd) [__NR_signalfd4]: Make code unconditional.
22868 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22869
22870 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22871
22872 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22873 style.
22874
22875 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
22876
22877 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22878 (__pthread_enable_asynccancel): Use JUMPTARGET to call
22879 __pthread_unwind.
22880 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22881 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22882 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22883 (__condvar_cleanup1): Likewise.
22884
22885 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
22886
22887 [BZ #19822]
22888 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22889 move it to the final $@ location.
22890
22891 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22892
22893 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22894 access where posix_spawn success and pid argument is null.
22895 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22896 success case.
22897
22898 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
22899
22900 * sysdeps/mach/hurd/i386/c++-types.data: New file.
22901
22902 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22903
22904 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22905 and __fcntl.
22906 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22907 __fcntl only.
22908 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22909 adding attribute_hidden to __open and __fcntl.
22910
22911 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22912 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22913 depend on libc-modules.h,
22914 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22915
22916 2016-03-17 Joseph Myers <joseph@codesourcery.com>
22917
22918 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22919 Remove macro.
22920 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22921 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22922 entry.
22923
22924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22925 Remove macro.
22926 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22927 include <kernel-features.h>.
22928 [!__ASSUME_FALLOCATE]: Remove conditional code.
22929 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22930
22931 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
22932
22933 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22934 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22935 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22936 (_ZGVdN4v_cos_avx2): Likewise.
22937 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22938 (_ZGVdN4v_cos): Likewise.
22939 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22940 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22941 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22942 (_ZGVdN4v_exp_avx2): Likewise.
22943 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22944 (_ZGVdN4v_exp): Likewise.
22945 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22946 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22947 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22948 (_ZGVdN4v_log_avx2): Likewise.
22949 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22950 (_ZGVdN4v_log): Likewise.
22951 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22952 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22953 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22954 (_ZGVdN4vv_pow_avx2): Likewise.
22955 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22956 (_ZGVdN4vv_pow): Likewise.
22957 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22958 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22959 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22960 (_ZGVdN4v_sin_avx2): Likewise.
22961 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22962 (_ZGVdN4v_sin): Likewise.
22963 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22964 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22965 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22966 (_ZGVdN4vvv_sincos_avx2): Likewise.
22967 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22968 (_ZGVdN4vvv_sincos): Likewise.
22969 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22970 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22971 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22972 (_ZGVbN4v_cosf_sse4): Likewise.
22973 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22974 (_ZGVdN8v_cosf_avx2): Likewise.
22975 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22976 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22977 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22978 (_ZGVbN4v_expf_sse4): Likewise.
22979 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22980 (_ZGVdN8v_expf_avx2): Likewise.
22981 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22982 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22983 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22984 (_ZGVbN4v_logf_sse4): Likewise.
22985 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22986 (_ZGVdN8v_logf_avx2): Likewise.
22987 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22988 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22989 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22990 (_ZGVbN4vv_powf_sse4): Likewise.
22991 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22992 (_ZGVdN8vv_powf_avx2): Likewise.
22993 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22994 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22995 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22996 (_ZGVbN4vvv_sincosf_sse4): Likewise.
22997 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22998 (_ZGVdN8vvv_sincosf_avx2): Likewise.
22999 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23000 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23001 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23002 (_ZGVbN4v_sinf_sse4): Likewise.
23003 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23004 (_ZGVdN8v_sinf_avx2): Likewise.
23005 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23006 Use JUMPTARGET to call callee.
23007 (WRAPPER_IMPL_SSE2_ff): Likewise.
23008 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23009 (WRAPPER_IMPL_AVX): Likewise.
23010 (WRAPPER_IMPL_AVX_ff): Likewise.
23011 (WRAPPER_IMPL_AVX_fFF): Likewise.
23012 (WRAPPER_IMPL_AVX512): Likewise.
23013 (WRAPPER_IMPL_AVX512_ff): Likewise.
23014 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23015 Likewise.
23016 (WRAPPER_IMPL_SSE2_ff): Likewise.
23017 (WRAPPER_IMPL_SSE2_fFF): Likewise.
23018 (WRAPPER_IMPL_AVX): Likewise.
23019 (WRAPPER_IMPL_AVX_ff): Likewise.
23020 (WRAPPER_IMPL_AVX_fFF): Likewise.
23021 (WRAPPER_IMPL_AVX512): Likewise.
23022 (WRAPPER_IMPL_AVX512_ff): Likewise.
23023 (WRAPPER_IMPL_AVX512_fFF): Likewise.
23024
23025 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23026
23027 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23028 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23029 qualifier.
23030 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23031 internal_function qualifiers.
23032
23033 2016-03-15 Carlos O'Donell <carlos@redhat.com>
23034
23035 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23036 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23037 * math/atest-exp.c (exp_mpn): Mark chk unused.
23038 * math/atest-exp2.c (exp_mpn): Likewise.
23039 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23040 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23041
23042 2016-03-15 Joseph Myers <joseph@codesourcery.com>
23043
23044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23045 Remove macro.
23046 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23047 <kernel-features.h>.
23048 [__NR_ppoll]: Make code unconditional.
23049 [!__ASSUME_PPOLL]: Remove conditional code.
23050
23051 * sysdeps/unix/sysv/linux/kernel-features.h
23052 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23053 (__ASSUME_ACCEPT4): Likewise.
23054 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23055 Define.
23056 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23057 Likewise.
23058 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23059 Likewise.
23060 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23061 Likewise.
23062 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23063 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23064 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23065 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23066 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23067 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23068 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23069 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23070 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23071 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23072 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23073 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23074 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23075 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23076 * sysdeps/unix/sysv/linux/i386/kernel-features.h
23077 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23078 Likewise.
23079 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23080 Likewise.
23081 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23082 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23083 0x040300].
23084 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23085 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23086 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23087 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23088 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23089 0x030300].
23090 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23091 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23092 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23093 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23094 0x040300].
23095 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23096 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23097 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23098 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23099 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23100 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23101 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23102 0x030300].
23103 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23104 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23105 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23106 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23108 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23109 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23110 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23111 * sysdeps/unix/sysv/linux/s390/kernel-features.h
23112 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23113 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23114 0x040300].
23115 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23116 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23117 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23118 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23119 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23120 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23121 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23122 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23123 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23124 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23125 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23126 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23127 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23128 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23129 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23130 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23131 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23132 Likewise.
23133 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23134 Likewise.
23135
23136 2016-03-15 Andreas Schwab <schwab@suse.de>
23137
23138 [BZ #19257]
23139 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23140 statp->_u._ext.nscount as loop count.
23141
23142 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
23143
23144 * math/test-signgam-finite-c99.c: Also #undef
23145 __LIBC_INTERNAL_MATH_INLINES.
23146 * math/test-signgam-main.c: Likewise.
23147
23148 2016-03-14 Joseph Myers <joseph@codesourcery.com>
23149
23150 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23151 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23152 (MADV_FREE): Likewise.
23153 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23154 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23155 EPOLLEXCLUSIVE.
23156
23157 2016-03-14 Carlos O'Donell <carlos@redhat.com>
23158
23159 * timezone/README: Remove mention of checktab.awk. Mention wiki
23160 SharedSourceFiles.
23161
23162 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
23163
23164 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23165 WUNTRACED.
23166
23167 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23168
23169 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23170 order to match the type of p when calling atomic_exchange_acq().
23171
23172 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23173
23174 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23175 cfi_offset calls.
23176 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23177 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23178 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23179 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23180 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23181
23182 2016-03-10 Carlos O'Donell <carlos@redhat.com>
23183
23184 * timezone/checktab.awk: Removed.
23185
23186 2016-03-10 Joseph Myers <joseph@codesourcery.com>
23187
23188 * manual/math.texi (Errors in Math Functions): Document relaxed
23189 accuracy goals for IBM long double.
23190 * math/libm-test.inc (test_exceptions): Always allow spurious
23191 "underflow" and "inexact" exceptions for IBM long double.
23192
23193 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
23194
23195 [BZ #19762]
23196 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23197 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23198 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23199 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23200 (bit_arch_*): This for feature array.
23201 (bit_*): Renamed to ...
23202 (bit_cpu_*): This for cpu array.
23203 (index_*): Renamed to ...
23204 (index_arch_*): This for feature array.
23205 (index_*): Renamed to ...
23206 (index_cpu_*): This for cpu array.
23207 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23208 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23209 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23210 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23211 bit_##name with index_cpu_##name and bit_cpu_##name.
23212 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23213 bit_##name with index_arch_##name and bit_arch_##name.
23214
23215 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
23216
23217 [BZ #19792]
23218 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23219 Terminate FDE before return label.
23220
23221 2016-03-09 Joseph Myers <joseph@codesourcery.com>
23222
23223 [BZ #19790]
23224 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23225 (rintl): Define as macro.
23226 [USE_AS_NEARBYINTL] (__rintl): Likewise.
23227 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23228 of fesetround. Ensure results are evaluated before end of scope.
23229 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23230 USE_AS_NEARBYINTL and include s_rintl.c.
23231 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23232 Disable exception traps in new environment.
23233 (libc_feholdsetround_ppc_ctx): Likewise.
23234
23235 2016-03-08 Roland McGrath <roland@hack.frob.com>
23236
23237 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23238 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23239 (tst_audit10_aux) [__AVX512F__]: ... here.
23240
23241 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
23242
23243 * include/sys/auxv.h: New file.
23244
23245 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23246
23247 [BZ #19759]
23248 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23249
23250 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
23251
23252 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23253 operand modifier.
23254 (feclearexcept): Likewise.
23255
23256 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
23257
23258 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23259 to reflect the entire 32-bit HWCAP.
23260 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23261 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
23262
23263 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
23264
23265 [BZ #19783]
23266 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23267 $(test-via-rtld-prefix).
23268 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23269
23270 2016-03-08 Florian Weimer <fweimer@redhat.com>
23271
23272 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23273 union wait. Report any non-zero exit status as error.
23274
23275 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23276
23277 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23278 configured with --enable-hardcoded-path-in-tests.
23279
23280 2016-03-08 Joseph Myers <joseph@codesourcery.com>
23281
23282 [BZ #19677]
23283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23284 (__ieee754_remainderl): Put zero low parts in canonical form.
23285 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23286 file. Based on
23287 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23288 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23289 with wrapper round test-fmodrem-ldbl-128ibm.c.
23290 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23291 file.
23292 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23293 Likewise.
23294 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23295 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23296
23297 2016-03-07 Florian Weimer <fweimer@redhat.com>
23298
23299 [BZ #19610]
23300 * elf/ldconfig.c (opt_link): Update comment.
23301 (options): Update help string for option -X.
23302 (search_dir): Unlink stale symbolic link only if updating symbolic
23303 links.
23304 * elf/tst-ldconfig-X.sh: New file.
23305 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23306 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23307
23308 2016-03-07 Andreas Schwab <schwab@suse.de>
23309
23310 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23311 needed arguments.
23312
23313 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
23314
23315 [BZ #15333]
23316 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23317 to lstat64.
23318
23319 2016-03-07 Florian Weimer <fweimer@redhat.com>
23320
23321 * libio/filedoalloc.c (isatty): Remove.
23322 (local_isatty): Add comment. Call __isatty directly.
23323 (_IO_file_doallocate): Update comment. Assume _LIBC.
23324 * libio/wfiledoalloc.c (isatty): Remove.
23325 (_IO_wfile_doallocate): Update comment.
23326
23327 2016-03-07 Florian Weimer <fweimer@redhat.com>
23328
23329 [BZ #19269]
23330 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23331 tst-audit4-aux.o.
23332 (tst-audit10): Depend on tst-audit10-aux.o.
23333 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23334 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23335 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23336 instead of inline AVX code.
23337 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23338 instead of inline AVX512 code.
23339 * sysdeps/x86_64/tst-audit4-aux.c: New file
23340 * sysdeps/x86_64/tst-audit10-aux.c: New file
23341
23342 [BZ #19648]
23343 * test-skeleton.c (main): Do not set RLIMIT_DATA.
23344
23345 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23346
23347 [BZ #14750]
23348 [BZ #10354]
23349 [BZ #18433]
23350 * include/sched.h (__clone): Add hidden prototype.
23351 (__clone2): Likewise.
23352 * include/unistd.h (__dup): Likewise.
23353 * posix/Makefile (tests): Add tst-spawn2.
23354 * posix/tst-spawn2.c: New file.
23355 * sysdeps/posix/dup.c (__dup): Add hidden definition.
23356 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23357 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23358 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23359 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23360 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23361 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23362 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23363 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23364 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23365 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23367 Likewise.
23368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23369 Likewise.
23370 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23371 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23372 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23373 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23374 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23375 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23376 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23377 * sysdeps/unix/sysv/linux/nptl-signals.h
23378 (____nptl_is_internal_signal): New function.
23379 * sysdeps/unix/sysv/linux/spawni.c: New file.
23380
23381 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23382 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23383 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23384 * posix/tst-execvp2.c (do_test): Likewise.
23385 * posix/tst-execvp3.c (do_test): Likewise.
23386 * posix/tst-execvp4.c (do_test): Likewise.
23387 * posix/tst-execvpe1.c: New file.
23388 * posix/tst-execvpe2.c: Likewise.
23389 * posix/tst-execvpe3.c: Likewise.
23390 * posix/tst-execvpe4.c: Likewise.
23391 * posix/tst-execvpe5.c: Likewise.
23392 * posix/tst-execvpe6.c: Likewise.
23393
23394 [BZ #19534]
23395 * posix/execl.c (execl): Remove dynamic memory allocation.
23396 * posix/execle.c (execle): Likewise.
23397 * posix/execlp.c (execlp): Likewise.
23398
23399 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23400
23401 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23402 Replace .text with .text.avx512.
23403 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23404 Likewise.
23405
23406 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
23407
23408 * sysdeps/generic/libnsl.abilist: New file.
23409 * sysdeps/generic/libutil.abilist: New file.
23410
23411 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
23412
23413 [BZ #19762]
23414 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23415 HAS_ARCH_FEATURE with Fast_Rep_String.
23416 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23417 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23418 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23419 Likewise.
23420 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23421 Likewise.
23422 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23423 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23424 Likewise.
23425 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23426 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23427 Likewise.
23428
23429 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23430
23431 [BZ #19745]
23432 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23433 with *%rax in call.
23434
23435 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23436
23437 [BZ #19745]
23438 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23439 with *__libc_start_main@GOTPCREL(%rip) in call.
23440
23441 2016-03-04 Roland McGrath <roland@hack.frob.com>
23442
23443 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23444 inside conditional for nonempty $(CXX).
23445
23446 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23447 nonempty.
23448
23449 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23450 to test for empty $(CXX) rather than $(CXX) of "no".
23451
23452 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
23453
23454 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23455
23456 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
23457 H.J. Lu <hongjiu.lu@intel.com>
23458
23459 [BZ #18880]
23460 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23461 instead of Slow_BSF, and also check for Fast_Copy_Backward to
23462 enable __memcpy_ssse3_back.
23463
23464 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23465
23466 [BZ #19758]
23467 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23468 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23469
23470 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
23471
23472 [BZ #19490]
23473 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23474 (__fentry__): Likewise.
23475
23476 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
23477
23478 * gmon/Makefile (noprof): Add $(sysdep_noprof).
23479 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23480
23481 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23482
23483 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23484 __mcount_internal directly.
23485 (C_LABEL(__fentry__)): Likewise.
23486 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23487 directly.
23488
23489 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
23490
23491 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23492 (__start_context): Call __setcontext directly.
23493
23494 2016-02-26 Joseph Myers <joseph@codesourcery.com>
23495
23496 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23497 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23498 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23499 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23500 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23501 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23502 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23503 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23504 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23505 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23506 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23507 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23509 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23510 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23511 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23512 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23514 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23515 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23516 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23517 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23518 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23519 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23520 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23521 Remove conditional code.
23522 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23523 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23524 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23525 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23526 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23527 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23528 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23529 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23530 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23531 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23532 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23533 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23534
23535 2016-02-24 Marko Myllynen <myllynen@redhat.com>
23536
23537 * NEWS (2.23): Fix typo in bug 19048 text.
23538
23539 2016-02-24 Carlos O'Donell <carlos@redhat.com>
23540
23541 [BZ #14259]
23542 * Makeconfig: Rename msgcatdir to localedir.
23543 Rename inst_msgcatdir to inst_localedir.
23544 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23545 * config.make.in: Add localedir.
23546 * elf/Makefile ($(objpfx)sotruss): Use localedir.
23547 (ldd-rewrite): Likewise.
23548 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23549 (install-others): Use inst_localedir.
23550 (CPPFLAGS): Use localedir.
23551 * locale/Makefile (locale-CPPFLAGS): Likewise.
23552 * po/Makefile (mo-installed): Use inst_localedir.
23553
23554 [BZ #19575]
23555 * localedata/charmaps/GB18030: Update comments regarding PAU to
23556 non-PUA mappings.
23557
23558 2016-02-24 Joseph Myers <joseph@codesourcery.com>
23559
23560 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23561 test for header.
23562 * sysdeps/unix/sysv/linux/configure: Regenerated.
23563 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23564 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23565 Remove conditional code.
23566 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23567
23568 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23569 Define to 3.2.0.
23570 (arch_minimum_kernel): Likewise.
23571 * sysdeps/unix/sysv/linux/configure: Regenerated.
23572 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23573 Define to 2.6.32.
23574 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23575 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23576 (arch_minimum_kernel): Define to 2.6.32.
23577 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23578 * README: Document Linux 3.2 requirement.
23579 * manual/install.texi (Linux): Document Linux 3.2 headers
23580 requirement.
23581 * INSTALL: Regenerated.
23582
23583 2016-02-24 Andreas Schwab <schwab@suse.de>
23584
23585 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23586 if !NO_LONG_DOUBLE.
23587
23588 2016-02-22 Roland McGrath <roland@hack.frob.com>
23589
23590 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23591 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23592
23593 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
23594
23595 [BZ #19512]
23596 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23597
23598 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
23599
23600 * posix/tst-dir.c: Include libc-internal.h.
23601
23602 2016-02-20 Florian Weimer <fweimer@redhat.com>
23603
23604 [BZ #19056]
23605 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23606 * manual/filesys.texi (Reading/Closing Directory): Mention
23607 deprecaion.
23608 * posix/tst-dir.c (main): Disable deprecation warning in test.
23609
23610 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
23611
23612 [BZ #19679]
23613 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23614 Renamed to ...
23615 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
23616 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23617 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
23618 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23619 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23620 * sysdeps/x86_64/dl-trampoline.h
23621 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23622 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23623
23624 2016-02-19 Mark Wielaard <mjw@redhat.com>
23625
23626 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23627
23628 2016-02-19 Mark Wielaard <mjw@redhat.com>
23629
23630 * elf/elf.h (R_386_GOT32X): New.
23631 (R_386_NUM): Update.
23632 (R_X86_64_GOTPCRELX: New.
23633 (R_X86_64_REX_GOTPCRELX): New.
23634 (R_X86_64_NUM): Update.
23635
23636 2016-02-19 Mike Frysinger <vapier@gentoo.org>
23637
23638 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23639
23640 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
23641
23642 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23643 assign attr->stackaddr to it, and adjust it down when
23644 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
23645 [_STACK_GROWS_UP]: Delete assert.
23646 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23647 Implement stack grows up logic.
23648 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23649 stack grows up logic.
23650
23651 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23652
23653 * NEWS: Update with 2.24 template.
23654
23655 2016-02-19 Joseph Myers <joseph@codesourcery.com>
23656
23657 [BZ #19678]
23658 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23659 Ensure +0.0 is returned when taking the next value below the least
23660 positive value.
23661
23662 2016-02-19 Florian Weimer <fweimer@redhat.com>
23663
23664 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
23665 available. Do not define NO_THREADS.
23666 * malloc/malloc.c: Do not check NO_THREADS.
23667 * malloc/arena.c: Likewise.
23668
23669 2016-02-19 Florian Weimer <fweimer@redhat.com>
23670
23671 * malloc/malloc.c (__libc_mallinfo): Update comment.
23672 (struct malloc_par): Remove max_total_mem member, it was always 0.
23673 (int_mallinfo): Store 0 into usmblks (no functional change).
23674 * malloc/hooks.c (struct malloc_state): Document that
23675 max_total_mem is always 0.
23676 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
23677 always 0.
23678 * manual/memory.texi (Statistics of Malloc): Likewise.
23679
23680 2016-02-19 Florian Weimer <fweimer@redhat.com>
23681
23682 * malloc/malloc.c (sysmalloc): Do not update arena_max.
23683 * malloc/arena.c (arena_max): Remove.
23684 (heap_trim, _int_new_arena): Do not update arena_max.
23685
23686 2016-02-19 Florian Weimer <fweimer@redhat.com>
23687
23688 * resolv/res_init.c (res_ninit): Update comment.
23689
23690 2016-02-19 Florian Weimer <fweimer@redhat.com>
23691
23692 [BZ #19505]
23693 * posix/spawn_int.h: Add headers and include guard.
23694 (__spawn_valid_fd): New function.
23695 * posix/spawn_faction_addopen.c
23696 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
23697 * posix/spawn_faction_addclose.c
23698 (posix_spawn_file_actions_addclose): Likewise.
23699 * posix/spawn_faction_adddup2.c
23700 (posix_spawn_file_actions_adddup2): Likewise. Add check for
23701 second file descriptor.
23702 * posix/spawn_valid_fd.c: New file.
23703 * posix/tst-posix_spawn-fd.c: New file.
23704 * posix/Makefile (routines): Add spawn_valid_fd.
23705 (tests): Add tst-posix_spawn-fd.
23706
23707 2016-02-19 Florian Weimer <fweimer@redhat.com>
23708
23709 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
23710 (do_test): Limit the number of arenas, so that we can use fewer
23711 outer threads. Limit timeout to 3 seconds, in preparation for a
23712 larger TIMEOUT value.
23713
23714 2016-02-19 Joseph Myers <joseph@codesourcery.com>
23715
23716 [BZ #19674]
23717 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
23718 sign in overflowing and underflowing results when overflow or
23719 underflow is detected early. Include sign in result before rather
23720 than after scaling.
23721
23722 [BZ #19603]
23723 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23724 (__ieee754_remainderl): Adjust sign of integer version of low part
23725 when taking absolute value of high part.
23726 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23727 * math/libm-test.inc (remainder_test_data): Add another test.
23728 (remquo_test_data): Likewise.
23729
23730 2016-02-18 Joseph Myers <joseph@codesourcery.com>
23731
23732 [BZ #19602]
23733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
23734 equal high parts and both low parts zero specially.
23735 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
23736 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
23737 Add test-fmodl-ldbl-128ibm.
23738
23739 [BZ #19595]
23740 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
23741 common logic for all cases of shifting subnormal results. Do not
23742 insert sign bit in shifted mantissa. Always pass -1023 as biased
23743 exponent to ldbl_insert_mantissa in subnormal case.
23744
23745 [BZ #19594]
23746 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
23747 on high and low parts then adjust result and use
23748 ldbl_canonicalize_int if needed.
23749
23750 [BZ #19593]
23751 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23752 on high part and __floor or __ceil on low part then use
23753 ldbl_canonicalize_int if needed.
23754
23755 [BZ #19592]
23756 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
23757 high and low parts then use ldbl_canonicalize_int if needed.
23758
23759 [BZ #17899]
23760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
23761 New function.
23762 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
23763 on high and low parts then use ldbl_canonicalize_int if needed.
23764
23765 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23766
23767 * configure: Regenerated.
23768
23769 * po/libc.pot: Regenerated.
23770
23771 * po/be.po: Updated translation.
23772 * po/bg.po: Likewise.
23773 * po/ca.po: Likewise.
23774 * po/cs.po: Likewise.
23775 * po/da.po: Likewise.
23776 * po/el.po: Likewise.
23777 * po/eo.po: Likewise.
23778 * po/es.po: Likewise.
23779 * po/fi.po: Likewise.
23780 * po/fr.po: Likewise.
23781 * po/gl.po: Likewise.
23782 * po/hr.po: Likewise.
23783 * po/hu.po: Likewise.
23784 * po/ia.po: Likewise.
23785 * po/id.po: Likewise.
23786 * po/it.po: Likewise.
23787 * po/ja.po: Likewise.
23788 * po/lt.po: Likewise.
23789 * po/nb.po: Likewise.
23790 * po/nl.po: Likewise.
23791 * po/pt_BR.po: Likewise.
23792 * po/rw.po: Likewise.
23793 * po/sk.po: Likewise.
23794 * po/sl.po: Likewise.
23795 * po/sv.po: Likewise.
23796 * po/tr.po: Likewise.
23797 * po/zh_CN.po: Likewise.
23798 * po/zh_TW.po: Likewise.
23799
23800 * version.h (RELEAES): Set to "development".
23801 (VERSION): Set to 2.23.90.
23802
23803 * version.h (RELEASE): Set to "stable".
23804 (VERSION): Set to 2.23.
23805 * include/feature.h (__GLIBC_MINOR__): Set to 23.
23806
23807 * NEWS: Updated fixed bugs.
23808
23809 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
23810 Wilco Dijkstra <wdijkstr@arm.com>
23811
23812 [BZ #19462]
23813 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23814 (_STRING_INLINE_unaligned): This.
23815 * include/string.h: Include <string_private.h>.
23816 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23817 _STRING_INLINE_unaligned.
23818 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23819 (_STRING_INLINE_unaligned): New.
23820 * sysdeps/aarch64/string_private.h: New file.
23821 * sysdeps/generic/string_private.h: Likewise.
23822 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23823 * sysdeps/s390/string_private.h: Likewise.
23824 * sysdeps/x86/string_private.h: Likewise.
23825 * sysdeps/m68k/m680x0/m68020/bits/string.h
23826 (_STRING_ARCH_unaligned): Renamed to ...
23827 (_STRING_INLINE_unaligned): This.
23828 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23829 to ...
23830 (_STRING_INLINE_unaligned): This.
23831 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23832 to ...
23833 (_STRING_INLINE_unaligned): This.
23834 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23835 to ...
23836 (_STRING_INLINE_unaligned): This.
23837
23838 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
23839 H.J. Lu <hongjiu.lu@intel.com>
23840
23841 [BZ #19590]
23842 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23843 relocation.
23844
23845 2016-02-15 Carlos O'Donell <carlos@redhat.com>
23846
23847 [BZ #18665]
23848 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23849 *herrno_p.
23850 (gaih_getanswer): Document functional behviour. Return tryagain
23851 if any result is tryagain.
23852 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23853 when freed.
23854 * resolv/res_send.c: Add copyright text.
23855 (__libc_res_nsend): Document that MAXPACKET is expected.
23856 (send_vc): Document. Remove buffer reuse.
23857 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23858 size of the buffer. Add Dprint for truncated UDP buffer.
23859
23860 2016-02-14 Carlos O'Donell <carlos@redhat.com>
23861
23862 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23863 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23864 * INSTALL: Regenerate.
23865
23866 2016-02-14 Jakub Jelinek <jakub@redhat.com>
23867 Jonathan Wakely <jwakely@redhat.com>
23868 Carlos O'Donell <carlos@redhat.com>
23869
23870 [BZ 19439]
23871 * math/Makefile (tests): Add test-math-isinff.
23872 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23873 * math/bits/mathcalls.h [__USE_MISC]: Use
23874 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23875 functions not in C++11 and which don't conflict e.g. isinff,
23876 isinfl etc.
23877 * math/test-math-isinff.cc: New file.
23878
23879 2016-02-12 Florian Weimer <fweimer@redhat.com>
23880
23881 * misc/bug18240.c (do_test): Set RLIMIT_AS.
23882
23883 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
23884
23885 [BZ #19529]
23886 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23887
23888 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23889
23890 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23891
23892 2016-02-01 Joseph Myers <joseph@codesourcery.com>
23893
23894 [BZ #19550]
23895 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23896 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23897 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23898 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23899 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23900 New syscall entry.
23901 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23902 New syscall entry.
23903 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23904 syscall entry.
23905
23906 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
23907
23908 [BZ #18240]
23909 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23910 unsigned int wraparound.
23911
23912 2016-01-27 Florian Weimer <fweimer@redhat.com>
23913
23914 [BZ #18240]
23915 * misc/bug18240.c: New test.
23916 * misc/Makefile (tests): Add it.
23917
23918 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
23919 Joseph Myers <joseph@codesourcery.com>
23920
23921 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23922 load in branch delay slot when less than a word of input left.
23923
23924 2016-01-27 Andreas Schwab <schwab@suse.de>
23925
23926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23927 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23928 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23929 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23930
23931 2016-01-26 David S. Miller <davem@davemloft.net>
23932
23933 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23934
23935 2016-01-25 David S. Miller <davem@davemloft.net>
23936
23937 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23938 __sqrtl_finite.
23939 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23940 instead using versioned_symbol.
23941 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23942 of entries.
23943
23944 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23945 __sqrtl_finite to GLIBC_2.23
23946
23947 2016-01-25 Ricchard Henderson <rth@redhat.com>
23948
23949 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23950
23951 2016-01-25 Andreas Schwab <schwab@suse.de>
23952
23953 [BZ #17514]
23954 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23955 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23956 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23957 * nptl/tst-mutex-errorcheck.c: New file.
23958
23959 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23960
23961 [BZ #18560]
23962 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23963 (IPCOP_semop): Likewise.
23964 (IPCOP_semget): Likewise.
23965 (IPCOP_semctl): Likewise.
23966 (IPCOP_msgsnd): Likewise.
23967 (IPCOP_msgrcv): Likewise.
23968 (IPCOP_msgget): Likewise.
23969 (IPCOP_msgctl): Likewise.
23970 (IPCOP_shmat): Likewise.
23971 (IPCOP_shmdt): Likewise.
23972 (IPCOP_shmget): Likewise.
23973 (IPCOP_shmctl): Likewise.
23974
23975 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
23976
23977 * string/tst-endian.c: Include <libc-internal.h>.
23978 (do_test): Ignore tautological-compare warnings around
23979 "htobeXX (beXXtoh (i)) != i" and
23980 "htoleXX (leXXtoh (i)) != i" if-statements.
23981
23982 2016-01-24 David S. Miller <davem@davemloft.net>
23983
23984 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23985 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23986 alias.
23987 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23988 __sqrtl_finite.
23989
23990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23991
23992 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
23993
23994 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23995 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23996 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23997
23998 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
23999
24000 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24001 (thread_func): Use new function to simplify barrier check.
24002 (do_test): Use new function to simplify checking barrier exit
24003 code, and actually join the child thread.
24004
24005 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24006
24007 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24008 semicolon.
24009 (__libc_tend): Likewise.
24010 (__libc_tabort): Likewise.
24011
24012 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
24013
24014 * sysdeps/nios2/libm-test-ulps: Update.
24015 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24016 (__gtsf2): Likewise.
24017 (__unorddf2): Likewise.
24018 (__unordsf2): Likewise.
24019 (__ledf2): Likewise.
24020
24021 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
24022
24023 * nis/nis_table.c (__follow_path): Disable diagnostic for
24024 uninitialized variable that is a false positive for gcc 4.7.
24025 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24026
24027 2016-01-20 Roland McGrath <roland@hack.frob.com>
24028
24029 * sysdeps/nacl/lowlevellock-futex.h
24030 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24031 Always evaluate PRIVATE argument.
24032
24033 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
24034
24035 [BZ #19490]
24036 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24037 (pthread_cond_broadcast): Use ENTRY/END
24038 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24039 (pthread_cond_signal): Likewise.
24040 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24041 Likewise.
24042 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24043 Likewise.
24044 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24045 Likewise.
24046
24047 2016-01-20 Joseph Myers <joseph@codesourcery.com>
24048
24049 * sysdeps/ieee754/dbl-64/s_finite.c
24050 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24051 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24052 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24053 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24054 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24055
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24057 (__gtsf2): Add as optional for libc.so.
24058 (__unordsf2): Likewise.
24059 (__signbit): Remove for libc.so.
24060 (__signbitl): Likewise.
24061
24062 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24063
24064 * iconvdata/bug-iconv11.c (test_ibm93x):
24065 Use %zu printf format specifier for size_t argument.
24066
24067 2016-01-19 Joseph Myers <joseph@codesourcery.com>
24068
24069 * math/gen-libm-test.pl (parse_ulps): Do not reduce
24070 already-recorded ulps.
24071 * sysdeps/arm/libm-test-ulps: Regenerated.
24072 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24073 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24074 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24075
24076 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
24077 Paul Pluzhnikov <ppluzhnikov@google.com>
24078
24079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24080 assembler not supporting AVX-512.
24081
24082 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
24083
24084 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24085
24086 2016-01-18 Joseph Myers <joseph@codesourcery.com>
24087
24088 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24089 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24090
24091 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24092
24093 * sysdeps/arm/libm-test-ulps: Regenerated.
24094
24095 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24096
24097 [BZ #19451]
24098 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24099
24100 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24101
24102 [BZ #19486]
24103 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24104 * sysdeps/generic/fix-fp-int-convert-overflow.h
24105 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24106 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24107 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24108 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24109 Likewise.
24110 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24111 Avoid conversions to long int where inexact exceptions
24112 could be raised.
24113 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24114 Likewise.
24115 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24116 Avoid conversions to long long int where inexact exceptions
24117 could be raised.
24118 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24119 Likewise.
24120
24121 2016-01-17 Mike Frysinger <vapier@gentoo.org>
24122
24123 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24124 * configure: Regenerated.
24125
24126 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24127
24128 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24129
24130 2016-01-16 Mike Frysinger <vapier@gentoo.org>
24131
24132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24133 outside of comment.
24134
24135 2016-01-15 Torvald Riegel <triegel@redhat.com>
24136
24137 * nptl/tst-barrier1.c: Add description on first line.
24138 * nptl/tst-barrier2.c: Likewise.
24139 * nptl/tst-barrier3.c: Likewise.
24140 * nptl/tst-barrier4.c: Likewise.
24141 * nptl/tst-barrier5.c: Likewise.
24142
24143 2016-01-15 Torvald Riegel <triegel@redhat.com>
24144
24145 [BZ #18868]
24146 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24147
24148 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
24149
24150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24152 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24153 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24154 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24155 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24156 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24157 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24158 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24159 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24160 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24161
24162 2016-01-15 Torvald Riegel <triegel@redhat.com>
24163
24164 [BZ #13065]
24165 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24166 new implementation.
24167 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24168 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24169 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24170 (BARRIER_IN_THRESHOLD): New macro.
24171 * nptl/pthread_barrierattr_setpshared.c
24172 (pthread_barrierattr_setpshared): Clean up.
24173 * nptl/tst-barrier4.c: Correct comment.
24174 * nptl/tst-barrier5.c: New file.
24175 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24176 (gen-as-const-headers): Remove lowlevelbarrier.sym.
24177 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24178 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24179 * nptl/lowlevelbarrier.sym: Remove.
24180 * nptl/DESIGN-barrier.txt: Remove.
24181 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24182 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24183 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24184 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24185 error.
24186 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24187 implementation.
24188
24189 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
24190
24191 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24192 (do_child): Mask SIGRTMIN while thr is running.
24193
24194 2016-01-15 Martin Sebor <msebor@redhat.com>
24195
24196 [BZ #19432]
24197 * iconvdata/Makefile: Add bug-iconv11.
24198 * iconvdata/bug-iconv11.c: New test.
24199 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24200 * iconvdata/ibm933.c: Same.
24201 * iconvdata/ibm935.c: Same.
24202 * iconvdata/ibm937.c: Same.
24203 * iconvdata/ibm939.c: Same.
24204
24205 2016-01-15 Martin Sebor <msebor@redhat.com>
24206
24207 [BZ #19443]
24208 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24209 [DEBUG] (_ufc_set_bits): Declare used.
24210 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24211 [DEBUG] (print_all): Declare used.
24212 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24213 operands of the ternary ?: expression to target type.
24214 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24215 calling the undeclared abort.
24216 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24217
24218 2016-01-15 Martin Sebor <msebor@redhat.com>
24219
24220 [BZ #18755]
24221 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24222 warnings.
24223 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24224 (__gai_create_helper_thread): Same.
24225 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24226 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24227 to suppress -Wmaybe-uninitialized warnings.
24228
24229 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 [BZ #19465]
24232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24233 inside if.
24234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24237
24238 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
24239
24240 [BZ #19466]
24241 * time/tst-mktime2.c (time_t_max): Removed.
24242 (time_t_min): Likewise.
24243 (TYPE_SIGNED): New.
24244 (TYPE_MINIMUM): Likewise.
24245 (TYPE_MAXIMUM): Likewise.
24246 (TIME_T_MIN): Likewise.
24247 (TIME_T_MAX): Likewise.
24248 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24249 and TIME_T_MIN.
24250 (do_test): Likewise.
24251
24252 2016-01-14 Amit Pawar <amit.pawar@amd.com>
24253
24254 [BZ #19467]
24255 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24256 index_Fast_Unaligned_Load flag for Excavator family CPUs.
24257
24258 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
24259
24260 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24261
24262 2016-01-13 Carlos O'Donell <carlos@redhat.com>
24263
24264 * benchtests/Makefile (PYTHON): Define.
24265 (bench-func): Use $(PYTHON) to run python scripts.
24266 ($(objpfx)bench-%.c): Likewise.
24267
24268 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
24269
24270 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24271 leading slash when `file_name' is "/".
24272
24273 2016-01-12 Joseph Myers <joseph@codesourcery.com>
24274
24275 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24276 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24277 Likewise.
24278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24279 Likewise.
24280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24281 Likewise.
24282 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24283 enum constant and macro.
24284 (PTRACE_SETSIGMASK): Likewise.
24285 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24286 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24287 (PTRACE_GETSIGMASK): Likewise.
24288 (PTRACE_SETSIGMASK): Likewise.
24289 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24290 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24291 Likewise.
24292 (PTRACE_SETSIGMASK): Likewise.
24293 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24295 (PTRACE_GETSIGMASK): Likewise.
24296 (PTRACE_SETSIGMASK): Likewise.
24297 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24299 Likewise.
24300 (PTRACE_SETSIGMASK): Likewise.
24301 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24303 Likewise.
24304 (PTRACE_SETSIGMASK): Likewise.
24305 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24306 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24307 Likewise.
24308 (PTRACE_SETSIGMASK): Likewise.
24309 (PTRACE_SECCOMP_GET_FILTER): Likewise.
24310
24311 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
24312 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24313
24314 [BZ #19439]
24315 * math/bits/mathcalls.h
24316 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24317 prototype.
24318 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24319
24320 2016-01-11 Andreas Schwab <schwab@suse.de>
24321
24322 [BZ #19253]
24323 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24324 cache when TZDEFRULES was used.
24325 * time/tst-tzname.c: New file.
24326 * time/Makefile (test): Add tst-tzname.
24327 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24328 * timezone/Makefile (test-zones): Add $(posixrules-file).
24329 ($(testdata)/$(posixrules-file)): New rule.
24330
24331 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
24332
24333 Fix doc quoting problems with Texinfo 5
24334 Without this change, in the info file output, Texinfo 5 quotes code
24335 in text with undirected single quotes 'like this' and generates
24336 code examples that with many PDF readers cannot be cut out of PDFs
24337 and pasted into code.
24338 * manual/libc.texinfo: Configure the libc manual like the GNU
24339 Emacs manual, by using @documentencoding and setting
24340 txicodequoteundirected and txicodequotebacktick. This way,
24341 Texinfo 5 quotes code in text with directed single quotes ‘like
24342 this’ and produces examples that can be cut out of PDFs. This
24343 change causes Texinfo 5 to generate info files that contain UTF-8
24344 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24345 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24346
24347 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24348
24349 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24350 __libc_tabort, __libc_tend): New wrappers that enforce compiler
24351 barriers to their respective compiler built-ins.
24352 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24353 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24354 * sysdeps/powerpc/sysdep.h: Likewise.
24355 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24356 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24357 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24358
24359 2016-01-08 Marko Myllynen <myllynen@redhat.com>
24360
24361 * scripts/config.guess: Revert previous shebang change.
24362 * scripts/config.sub: Likewise.
24363 * scripts/mkinstalldirs: Likewise.
24364
24365 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24366
24367 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24368 PPC_FEATURE2_HAS_IEEE128.
24369 * sysdeps/powerpc/dl-procinfo.c:
24370 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24371
24372 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
24373
24374 [BZ #19415]
24375 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24376 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
24377 (_dl_lookup_address): Rewrite using function resolver trampoline.
24378 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24379 two bits in address.
24380
24381 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24382
24383 * longlong.h: Change !__SHMEDIA__ to
24384 (!defined (__SHMEDIA__) || !__SHMEDIA__).
24385 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24386
24387 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
24388 Joseph Myers <joseph@codesourcery.com>
24389 Mark Shinwell <shinwell@codesourcery.com>
24390 Andrew Stubbs <ams@codesourcery.com>
24391 Rich Felker <dalias@libc.org>
24392
24393 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24394
24395 2016-01-07 Richard Henderson <rth@redhat.com>
24396
24397 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24398
24399 2016-01-07 Mike Frysinger <vapier@gentoo.org>
24400
24401 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24402 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24403 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24404 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24405 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24406
24407 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
24408 Joseph Myers <joseph@codesourcery.com>
24409
24410 * timezone/private.h: Update from tzcode 2015g.
24411 * timezone/tzfile.h: Likewise.
24412 * timezone/tzselect.ksh: Likewise.
24413 * timezone/zdump.c: Likewise.
24414 * timezone/zic.c: Likewise.
24415 * timezone/ialloc.c: Remove file.
24416 * timezone/scheck.c: Likewise.
24417 * timezone/Makefile (extra-objs): Remove variable.
24418 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24419 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24420 -Wno-maybe-uninitialized.
24421 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24422 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24423 (CFLAGS-ialloc.c): Remove variable.
24424 (CFLAGS-scheck.c): Likewise.
24425 * timezone/README: Update list of files from tzcode.
24426
24427 2016-01-07 Khem Raj <raj.khem@gmail.com>
24428
24429 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24430 instead of __fxprintf when _LIBC is undefined.
24431
24432 2016-01-07 Marko Myllynen <myllynen@redhat.com>
24433
24434 * catgets/test-gencat.sh: Remove space after shebang.
24435 * conform/GlibcConform.pm: Likewise.
24436 * conform/check-header-lists.sh: Likewise.
24437 * conform/conformtest.pl: Likewise.
24438 * conform/linknamespace.pl: Likewise.
24439 * conform/list-header-symbols.pl: Likewise.
24440 * debug/catchsegv.sh: Likewise.
24441 * elf/genrtldtbl.awk: Likewise.
24442 * elf/tst-pathopt.sh: Likewise.
24443 * elf/tst-rtld-load-self.sh: Likewise.
24444 * grp/tst_fgetgrent.sh: Likewise.
24445 * iconvdata/gen-8bit-gap-1.sh: Likewise.
24446 * iconvdata/gen-8bit-gap.sh: Likewise.
24447 * iconvdata/gen-8bit.sh: Likewise.
24448 * iconvdata/run-iconv-test.sh: Likewise.
24449 * intl/tst-gettext.sh: Likewise.
24450 * intl/tst-gettext2.sh: Likewise.
24451 * intl/tst-gettext4.sh: Likewise.
24452 * intl/tst-gettext6.sh: Likewise.
24453 * intl/tst-translit.sh: Likewise.
24454 * io/ftwtest-sh: Likewise.
24455 * libio/test-freopen.sh: Likewise.
24456 * locale/gen-translit.pl: Likewise.
24457 * malloc/tst-mtrace.sh: Likewise.
24458 * manual/check-safety.sh: Likewise.
24459 * manual/libc-texinfo.sh: Likewise.
24460 * manual/tsort.awk: Likewise.
24461 * manual/xtract-typefun.awk: Likewise.
24462 * nptl/tst-cancel-wrappers.sh: Likewise.
24463 * nptl/tst-tls6.sh: Likewise.
24464 * posix/globtest.sh: Likewise.
24465 * posix/tst-getconf.sh: Likewise.
24466 * posix/wordexp-tst.sh: Likewise.
24467 * scripts/check-c++-types.sh: Likewise.
24468 * scripts/check-local-headers.sh: Likewise.
24469 * scripts/config.guess: Likewise.
24470 * scripts/config.sub: Likewise.
24471 * scripts/cpp: Likewise.
24472 * scripts/cross-test-ssh.sh: Likewise.
24473 * scripts/documented.sh: Likewise.
24474 * scripts/evaluate-test.sh: Likewise.
24475 * scripts/gen-libc-abis: Likewise.
24476 * scripts/gen-sorted.awk: Likewise.
24477 * scripts/list-fixed-bugs.py: Likewise.
24478 * scripts/merge-test-results.sh: Likewise.
24479 * scripts/mkinstalldirs: Likewise.
24480 * scripts/rellns-sh: Likewise.
24481 * scripts/test-installation.pl: Likewise.
24482 * scripts/update-copyrights: Likewise.
24483 * stdio-common/tst-printf.sh: Likewise.
24484 * stdio-common/tst-unbputc.sh: Likewise.
24485 * stdlib/tst-fmtmsg.sh: Likewise.
24486 * stdlib/tst-setcontext3.sh: Likewise.
24487 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24488 * sysdeps/unix/make-syscalls.sh: Likewise.
24489
24490 2016-01-06 John David Anglin <dave.anglin@bell.net>
24491
24492 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24493 asm stw with atomic_exchange_rel. Add explanatory comment.
24494 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24495 Likewise.
24496
24497 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 [BZ #19122]
24500 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24501 * sysdeps/generic/dl-unistd.h: New file.
24502 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24503
24504 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
24505
24506 [BZ #19122]
24507 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24508 * sysdeps/generic/dl-mman.h: New file.
24509 * sysdeps/mach/hurd/dl-mman.h: Likewise.
24510
24511 2016-01-05 Joseph Myers <joseph@codesourcery.com>
24512
24513 * manual/texinfo.tex: Update to version 2016-01-04.21 with
24514 trailing whitespace removed.
24515 * scripts/config.guess: Update to version 2016-01-01.
24516 * scripts/config.sub: Update to version 2016-01-01.
24517 * scripts/move-if-change: Update from gnulib.
24518
24519 2016-01-04 Anton Blanchard <anton@samba.org>
24520
24521 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24522 for array indices.
24523 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24524
24525 2016-01-04 Joseph Myers <joseph@codesourcery.com>
24526
24527 * NEWS: Update copyright dates.
24528 * catgets/gencat.c (print_version): Likewise.
24529 * csu/version.c (banner): Likewise.
24530 * debug/catchsegv.sh: Likewise.
24531 * debug/pcprofiledump.c (print_version): Likewise.
24532 * debug/xtrace.sh (do_version): Likewise.
24533 * elf/ldconfig.c (print_version): Likewise.
24534 * elf/ldd.bash.in: Likewise.
24535 * elf/pldd.c (print_version): Likewise.
24536 * elf/sotruss.sh: Likewise.
24537 * elf/sprof.c (print_version): Likewise.
24538 * iconv/iconv_prog.c (print_version): Likewise.
24539 * iconv/iconvconfig.c (print_version): Likewise.
24540 * locale/programs/locale.c (print_version): Likewise.
24541 * locale/programs/localedef.c (print_version): Likewise.
24542 * login/programs/pt_chown.c (print_version): Likewise.
24543 * malloc/memusage.sh (do_version): Likewise.
24544 * malloc/memusagestat.c (print_version): Likewise.
24545 * malloc/mtrace.pl: Likewise.
24546 * manual/libc.texinfo: Likewise.
24547 * nptl/version.c (banner): Likewise.
24548 * nscd/nscd.c (print_version): Likewise.
24549 * nss/getent.c (print_version): Likewise.
24550 * nss/makedb.c (print_version): Likewise.
24551 * posix/getconf.c (main): Likewise.
24552 * scripts/test-installation.pl: Likewise.
24553 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24554
24555 * All files with FSF copyright notices: Update copyright dates
24556 using scripts/update-copyrights.
24557 * intl/plural.c: Regenerated.
24558 * locale/programs/charmap-kw.h: Likewise.
24559 * locale/programs/locfile-kw.h: Likewise.
24560
24561 2016-01-02 Helge Deller <deller@gmx.de>
24562
24563 [BZ #19285]
24564 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24565 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24566 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24567 (MADV_xxK_PAGES): Remove.
24568
24569 2016-01-01 Mike Frysinger <vapier@gentoo.org>
24570
24571 [BZ #15421]
24572 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24573 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
24574 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24575 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24576
24577 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
24578
24579 [BZ #19408]
24580 * sysdeps/unix/sysv/linux/personality.c: New file.
24581 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24582 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24583 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24584 (sysdep_routines): Add personality.
24585 (tests): Add tst-personality.
24586 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24588 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24589 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24590 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24591 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24592 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24593 Likewise.
24594 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24595 Likewise.
24596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24597 Likewise.
24598 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24599 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24600 Likewise.
24601
24602 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
24603
24604 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24605 (PATH_ARM_SYSTYPE): Remove.
24606 (PATH_CPUINFO): Likewise.
24607 (IO_BASE_FOOTBRIDGE): Likewise.
24608 (IO_SHIFT_FOOTBRIDGE): Likewise.
24609 (struct platform): Likewise.
24610 (init_iosys): Remove compatibility code for 2.4 kernels.
24611 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24612
24613 2015-12-29 Florian Weimer <fweimer@redhat.com>
24614
24615 * malloc/tst-malloc-thread-fail.c: New file.
24616 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24617 (tst-malloc-thread-fail): Link against libpthread.
24618
24619 2015-12-29 Mike Frysinger <vapier@gentoo.org>
24620
24621 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
24622 (get_parser): New function.
24623 (main): New function.
24624
24625 2015-12-29 Rob Wu <rob@robwu.nl>
24626
24627 [BZ #19369]
24628 * resolv/res_init.c (__res_vinit): Reset defdname before use.
24629
24630 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
24631
24632 [BZ #19270]
24633 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24634
24635 2015-12-28 Mike Frysinger <vapier@gentoo.org>
24636
24637 [BZ #15421]
24638 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24639
24640 2015-12-23 Torvald Riegel <triegel@redhat.com>
24641
24642 [BZ #13690]
24643 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24644 after releasing it.
24645 (__lll_robust_unlock): Likewise.
24646 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24647 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24648 (lll_robust_unlock): Likewise.
24649 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24650 Prevent warnings in callers.
24651
24652 2015-12-23 Florian Weimer <fweimer@redhat.com>
24653
24654 * malloc/arena.c (list_lock): Update comment.
24655
24656 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24657
24658 * sysdeps/powerpc/hwcapinfo.c: Export symbol
24659 __parse_hwcap_and_convert_at_platform to libc.a.
24660
24661 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
24662
24663 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
24664 platform and feature support for POWER9.
24665 * sysdeps/powerpc/dl-procinfo.h: Likewise.
24666 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
24667 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
24668 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
24669 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
24670 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
24671 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
24672 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
24673
24674 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
24675
24676 Harmonize generic stdio-lock support with nptl
24677
24678 This fixes build when _IO_funlockfile is a macro, fixes build where
24679 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
24680 stack unwind.
24681
24682 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
24683 _IO_release_lock ): Use cleanup attribute on new
24684 _IO_acquire_lock_file variable instead of assuming that
24685 _IO_release_lock will be called.
24686 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
24687 _IO_acquire_lock_needs_exceptions_enabled.
24688 (_IO_acquire_lock_clear_flags2): New macro.
24689
24690 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24691
24692 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24693
24694 2015-12-21 Florian Weimer <fweimer@redhat.com>
24695
24696 [BZ #19182]
24697 * malloc/arena.c (list_lock): Document lock ordering requirements.
24698 (free_list_lock): New lock.
24699 (ptmalloc_lock_all): Comment on free_list_lock.
24700 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
24701 (detach_arena): Update comment. free_list_lock is now needed.
24702 (_int_new_arena): Use free_list_lock around detach_arena call.
24703 Acquire arena lock after list_lock. Add comment, including FIXME
24704 about incorrect synchronization.
24705 (get_free_list): Switch to free_list_lock.
24706 (reused_arena): Acquire free_list_lock around detach_arena call
24707 and attached threads counter update. Add two FIXMEs about
24708 incorrect synchronization.
24709 (arena_thread_freeres): Switch to free_list_lock.
24710 * malloc/malloc.c (struct malloc_state): Update comments to
24711 mention free_list_lock.
24712
24713 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
24714
24715 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
24716 Remove functions.
24717 (sloww, sloww1): Accept argument to offset quadrant.
24718 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
24719 quadrant.
24720 (__sin, __cos): Consolidate common code into new functions.
24721 (reduce_sincos_1, do_sincos_1): New functions.
24722 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24723
24724 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
24725 code to new functions.
24726 (reduce_sincos_2, do_sincos_2): New functions.
24727 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24728
24729 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
24730 common code for sincos.
24731 (__cos) [!IN_SINCOS]: Likewise.
24732 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
24733 New function.
24734 (__sincos): Use it.
24735
24736 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
24737
24738 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
24739 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
24740 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24741
24742 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
24743
24744 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
24745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
24746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24747 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
24748 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24749 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
24750 index_Prefer_No_VZEROUPPER): New feature.
24751 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
24752 Prefer_No_VZEROUPPER for Knights Landing.
24753
24754 015-12-18 Torvald Riegel <triegel@redhat.com>
24755
24756 * math/atest-exp2.c (mp_exp_m1): Remove.
24757
24758 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24759
24760 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
24761 syscalls.
24762 (__SYSCALL0): New macro.
24763 (__SYSCALL1): Likewise.
24764 (__SYSCALL2): Likewise.
24765 (__SYSCALL3): Likewise.
24766 (__SYSCALL4): Likewise.
24767 (__SYSCALL5): Likewise.
24768 (__SYSCALL6): Likewise.
24769 (__SYSCALL_CONCAT_X): Likewise.
24770 (__SYSCALL_CONCAT): Likewise.
24771 (__SYSCALL_DIST): Likewise.
24772 (__SYSCALL_CALL): Likewise.
24773
24774 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
24775
24776 [BZ #19363]
24777 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24778
24779 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24780
24781 [BZ #19375]
24782 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24783 negative subnormals.
24784
24785 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
24786
24787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24788 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24789 (INTERNAL_SYSCALL_NCS): Use it.
24790 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24791
24792 2015-12-16 Florian Weimer <fweimer@redhat.com>
24793
24794 [BZ #19243]
24795 * malloc/arena.c (get_free_list): Remove assert and adjust
24796 reference count handling. Add comment about reused_arena
24797 interaction.
24798 (reused_arena): Add comments abount get_free_list interaction.
24799 * malloc/tst-malloc-thread-exit.c: New file.
24800 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24801 (tst-malloc-thread-exit): Link against libpthread.
24802
24803 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
24804
24805 [BZ #19367]
24806 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24807 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24808 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24809 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24810 (index_Prefer_MAP_32BIT_EXEC): Likewise.
24811
24812 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
24813
24814 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24815 Silvermont optimizations for Knights Landing.
24816
24817 2015-12-15 Andreas Schwab <schwab@suse.de>
24818
24819 [BZ #17197]
24820 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24821 immediately after emitting SI.
24822 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24823 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24824 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24825 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24826 * iconvdata/bug-iconv10.c: New file.
24827 * iconvdata/Makefile (tests): Add bug-iconv10.
24828 ($(objpfx)bug-iconv10.out): New rule.
24829
24830 2015-12-15 Florian Weimer <fweimer@redhat.com>
24831
24832 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24833 aliasing violation.
24834
24835 2015-12-14 Joseph Myers <joseph@codesourcery.com>
24836
24837 [BZ #18472]
24838 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24839 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24840 conditionals for them.
24841 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24842 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24844 sys/kdaemon.h.
24845 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24846 compat-only syscall, obsoleted in glibc 2.23.
24847 (create_module): Likewise.
24848 (get_kernel_syms): Likewise.
24849 (query_module): Likewise.
24850 (uselib): Likewise.
24851 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24852
24853 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
24854
24855 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24856 <linux/version.h>.
24857 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24858 conditional code.
24859 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24860 and ioshift_name initialization.
24861
24862 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
24863
24864 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24865 Fix indentation.
24866
24867 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
24868
24869 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24870
24871 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
24872
24873 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24874
24875 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
24876 Jakub Wilk <jwilk@debian.org>
24877
24878 [BZ #19347]
24879 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24880 to change the group of the device to the tty group.
24881
24882 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
24883
24884 Split large string section; add truncation advice
24885 * manual/examples/strncat.c: Remove.
24886 This example was misleading, as the code would have undefined
24887 behavior if "hello" was longer than SIZE. Anyway, the manual
24888 shouldn't encourage strncpy+strncat for this sort of thing.
24889 * manual/string.texi (Copying Strings and Arrays): Split into
24890 three sections Copying Strings and Arrays, Concatenating Strings,
24891 and Truncating Strings, as this section was way too long. All
24892 cross-referenced changed. Add advice about string-truncation
24893 functions. Remove misleading strncat example.
24894
24895 2015-12-10 Carlos O'Donell <carlos@redhat.com>
24896
24897 * manual/nss.texi (NSS Modules Interface): Document
24898 NSS_STATUS_NOTFOUND and SUCCESS.
24899
24900 2015-12-09 Mike FABIAN <mfabian@redhat.com>
24901
24902 [BZ 18568]
24903 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24904 201505L, for Unicode 8.
24905
24906 2015-12-09 Carlos O'Donell <carlos@redhat.com>
24907
24908 * locale/C-translit.h: Regenerate.
24909
24910 2015-12-09 Mike FABIAN <mfabian@redhat.com>
24911
24912 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24913 and U+0153.
24914
24915 2015-12-09 Joseph Myers <joseph@codesourcery.com>
24916
24917 [BZ #19351]
24918 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24919 expanding log(1+z), compare z rather than its square with epsilon
24920 to determine when to avoid evaluating the expansion.
24921
24922 [BZ #19350]
24923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24924 Increase overflow threshold.
24925
24926 [BZ #19349]
24927 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24928 when small.
24929
24930 * sysdeps/unix/sysv/linux/i386/kernel-features.h
24931 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24932 New macro.
24933 [__LINUX_KERNEL_VERSION >= 0x040300]
24934 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24935 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24936 Likewise.
24937 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24938 Likewise.
24939 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24940 Likewise.
24941 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24942 Likewise.
24943 [__LINUX_KERNEL_VERSION >= 0x040300]
24944 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24945 [__LINUX_KERNEL_VERSION >= 0x040300]
24946 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24947 [__LINUX_KERNEL_VERSION >= 0x040300]
24948 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24949 [__LINUX_KERNEL_VERSION >= 0x040300]
24950 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24951 [__LINUX_KERNEL_VERSION >= 0x040300]
24952 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24953 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24954 Likewise.
24955 [__LINUX_KERNEL_VERSION >= 0x040300]
24956 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24957 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24958 Likewise.
24959 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24960 Likewise.
24961 [__LINUX_KERNEL_VERSION >= 0x040300]
24962 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24963 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24964 Likewise.
24965 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24966 Likewise.
24967 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24968 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24969 Likewise.
24970 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24971 Likewise.
24972 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24973 Likewise.
24974 [__LINUX_KERNEL_VERSION >= 0x040300]
24975 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24976 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24977 Likewise.
24978 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24979 Likewise.
24980 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24981 Likewise.
24982 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24983 Likewise.
24984 [__LINUX_KERNEL_VERSION >= 0x040300]
24985 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24986 [__LINUX_KERNEL_VERSION >= 0x040300]
24987 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24988 [__LINUX_KERNEL_VERSION >= 0x040300]
24989 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24990 [__LINUX_KERNEL_VERSION >= 0x040300]
24991 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24992 [__LINUX_KERNEL_VERSION >= 0x040300]
24993 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24994 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24995 Likewise.
24996 [__LINUX_KERNEL_VERSION >= 0x040300]
24997 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24998 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24999 Likewise.
25000 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25001 Likewise.
25002 [__LINUX_KERNEL_VERSION >= 0x040300]
25003 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25004 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25005 Likewise.
25006 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25007 Likewise.
25008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25009 (__ASSUME_SOCKET_SYSCALL): Likewise.
25010 (__ASSUME_BIND_SYSCALL): Likewise.
25011 (__ASSUME_CONNECT_SYSCALL): Likewise.
25012 (__ASSUME_LISTEN_SYSCALL): Likewise.
25013 (__ASSUME_ACCEPT_SYSCALL): Likewise.
25014 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25015 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25016 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25017 (__ASSUME_SEND_SYSCALL): Likewise.
25018 (__ASSUME_SENDTO_SYSCALL): Likewise.
25019 (__ASSUME_RECV_SYSCALL): Likewise.
25020 (__ASSUME_RECVFROM_SYSCALL): Likewise.
25021 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25022 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25023 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25024 (__ASSUME_SENDMSG_SYSCALL): Likewise.
25025 (__ASSUME_RECVMSG_SYSCALL): Likewise.
25026 * sysdeps/unix/sysv/linux/sh/kernel-features.h
25027 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25028 Likewise.
25029 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25030 Likewise.
25031 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25032 Likewise.
25033 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25034 Likewise.
25035 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25036 Likewise.
25037 [__LINUX_KERNEL_VERSION >= 0x020625]
25038 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25039 [__LINUX_KERNEL_VERSION >= 0x020625]
25040 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25041 [__LINUX_KERNEL_VERSION >= 0x020625]
25042 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25043 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25044 Likewise.
25045 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25046 Likewise.
25047 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25048 Likewise.
25049 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25050 Likewise.
25051 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25052 Likewise.
25053 [__LINUX_KERNEL_VERSION >= 0x020625]
25054 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25055 [__LINUX_KERNEL_VERSION >= 0x020625]
25056 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25057 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25058 Likewise.
25059 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25060 Likewise.
25061
25062 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25063
25064 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25065 record the current if the current ABI and CPU support the FP64
25066 extension.
25067 (has-modd-spreg): Define to record the current if the current ABI and
25068 CPU support 32-bit floating point values in odd FPU registers.
25069 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25070 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25071 $(has-modd-spreg) equals yes.
25072 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25073 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25074 $(has-modd-spreg) equal yes.
25075
25076 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
25077
25078 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25079 basename.
25080
25081 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
25082
25083 * benchtests/Makefile (bench-math): Move ffs and ffsll...
25084 (bench-string): ... here.
25085 (bench): Add bench-string.
25086 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25087 to *-benchset to reflect what they are.
25088 (benchset): Adjust.
25089
25090 * benchtests/sincos-inputs: Add inputs from sin-inputs and
25091 cos-inputs.
25092
25093 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
25094
25095 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25096 __attribute__ ((__simd__)) for vector math function declarations.
25097
25098 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25099
25100 Fix typo in strncat, wcsncat manual entries
25101 * manual/string.texi (Copying and Concatenation): Fix typos in
25102 sample implementations of strncat and wcsncat, by having them use
25103 the old value of the destination length, not the new one.
25104
25105 2015-12-04 Joseph Myers <joseph@codesourcery.com>
25106
25107 [BZ #16961]
25108 [BZ #16962]
25109 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25110 string on the stack for strtod.
25111 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25112 a string on the stack for strtof.
25113 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25114 constructing a string on the stack for strtold.
25115 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25116 __strtold_nan to GLIBC_PRIVATE.
25117 * math/test-nan-overflow.c: New file.
25118 * math/test-nan-payload.c: Likewise.
25119 * math/Makefile (tests): Add test-nan-overflow and
25120 test-nan-payload.
25121
25122 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
25123
25124 Consistency about byte vs character in string.texi
25125 * manual/string.texi (String and Array Utilities):
25126 Distinguish more carefully among bytes, multibyte characters,
25127 and wide characters. Use "byte" when talking about C 'char',
25128 to distinguish it more clearly from multibyte characters.
25129 Say "wide character" or "multibyte character" instead of
25130 "character", when a wide or multibyte character is intended.
25131 Similarly for "multibyte string" versus "string".
25132 Define these terms more carefully.
25133
25134 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
25135
25136 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25137 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25138 Likewise.
25139 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25140 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25141 * sysdeps/sh/math_private.h: New file.
25142 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25143 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25144 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25145 long double function name.
25146 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25147 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25150 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25152 Remove __finitel, __isinfl, and __isnanl.
25153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25154 Likewise.
25155 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25157 Remove __finitel.
25158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25159 Likewise.
25160 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25161
25162 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
25163
25164 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25165 installed libmvec_nonshared.a.
25166
25167 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
25168
25169 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25170 (sysdep_routines): Likewise.
25171 (sysdep-rtld-routines): Likewise.
25172 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25173 [$(subdir) = nptl](tests-static): test-get_hwcap-static
25174 * sysdeps/powerpc/Versions: Added new
25175 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25176 * sysdeps/powerpc/hwcapinfo.c: New file.
25177 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25178 and parse hwcap, hwcap2 and platform number information.
25179 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
25180 to store HWCAP+HWCAP2 and platform number.
25181 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25182 for HWCAP+HWCAP2 and platform number in the TCB.
25183 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
25184 the HWCAP, HWCAP2 and platform number in the TCB.
25185 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25186 (TLS_INIT_TP): Included calls to add the hwcap and
25187 at_platform values in the TCB in TP initialization.
25188 (TLS_DEFINE_INIT_TP): Likewise.
25189 (THREAD_GET_HWCAP): New macro.
25190 (THREAD_SET_HWCAP): Likewise.
25191 (THREAD_GET_AT_PLATFORM): Likewise.
25192 (THREAD_SET_AT_PLATFORM): Likewise.
25193 * sysdeps/powerpc/powerpc32/dl-machine.h:
25194 (dl_platform_init): New function that calls
25195 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25196 powerpc32.
25197 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25198 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
25199 this functionality, static linking case.
25200 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
25201 linking case.
25202 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25203 __parse_hwcap_and_convert_at_platform for the static linking case.
25204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25205 Included the new __parse_hwcap_and_convert_at_platform symbol in the
25206 ABI list for GLIBC 2.23.
25207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25208 Likewise.
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25210 Likewise.
25211
25212 2015-12-02 Ludovic Courtès <ludo@gnu.org>
25213
25214 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25215 * configure: Regenerate.
25216 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25217 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
25218
25219 2015-12-02 Carlos O'Donell <carlos@redhat.com>
25220
25221 * iconvdata/ibm930.c: Add comment explaining encoding uses.
25222 * iconvdata/ibm933.c: Likewise.
25223 * iconvdata/ibm935.c: Likewise.
25224 * iconvdata/ibm937.c: Likewise.
25225 * iconvdata/ibm939.c: Likewise.
25226
25227 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25228
25229 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25230 pthread_join.
25231 * nptl/tst-cancel21.c (tf): Likewise.
25232
25233 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
25234
25235 [BZ #19313]
25236 * bits/typesizes.h (__CPU_MASK_TYPE): New.
25237 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25238 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25239 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25240 Likewise.
25241 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25242 Likewise.
25243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25244 Likewise.
25245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25246 Likewise.
25247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25248 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25249 unsigned long int with __CPU_MASK_TYPE.
25250
25251 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
25252
25253 * sysdeps/aarch64/libm-test-ulps: Regenerated.
25254
25255 2015-12-01 Joseph Myers <joseph@codesourcery.com>
25256
25257 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25258 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25259 t512.x.
25260 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25261
25262 2015-11-30 Amit Pawar <amit.pawar@amd.com>
25263
25264 [BZ #19214]
25265 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25266 argument to return extended model. Update family and model
25267 with extended family and model when family == 0x0f.
25268 (init_cpu_features): Updated.
25269
25270 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25271
25272 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25273 signed off_t, so 32bit bigger than 2GiB values are fine actually.
25274
25275 * sysdeps/mach/hurd/mmap64.c: New file.
25276
25277 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
25278
25279 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25280 rights for its main user thread in NEWTASK.
25281
25282 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
25283
25284 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25285 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25286
25287 2015-11-27 Carlos O'Donell <carlos@redhat.com>
25288
25289 [BZ #14259]
25290 * Makeconfig: Rename localedir to complocaledir.
25291 Rename inst_localedir to inst_complocaledir.
25292 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25293 * config.make.in: Use complocaledir and libc_cv_complocaledir.
25294 * configure.ac: Use libc_cv_complocaledir.
25295 * configure: Regenerate.
25296 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25297 -DCOMPLOCALEDIR.
25298 * locale/findlocale.c: Use COMPLOCALEDIR.
25299 * locale/loadarchive.c: Likewise.
25300 * locale/programs/locale.c: Likewise.
25301 * locale/programs/localedef.c: Likewise.
25302 * locale/programs/locarchive.c: Likewise.
25303 * localedata/Makefile: Use inst_complocaledir.
25304 * sysdeps/gnu/configure: Regenerate.
25305 * sysdeps/hppa/configure: Regenerate.
25306 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25307 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25309 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25310 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25311 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25312 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25313
25314 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
25315
25316 [BZ #19058]
25317 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25318 AS_NEEDED.
25319 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25320 workaround.
25321 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25322 libmvec-static-only-routines): Added new file.
25323 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25324
25325 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
25326
25327 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25328 of interrupted RPC instead of restoring it.
25329
25330 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25331 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25332 libc_hidden_def.
25333 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25334 into initialized data instead of common. Define rtld_hidden_data_def.
25335 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25336 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25337 libc_hidden_def.
25338 (if_freenameindex): Add libc_hidden_weak.
25339 (if_nameindex): Add libc_hidden_weak.
25340 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25341 __open64.
25342 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25343 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25344 * sysdeps/mach/nanosleep.c: Include <time.h>
25345 (__nanosleep): Rename to __libc_nanosleep.
25346 (__nanosleep): Add weak_alias.
25347 (nanosleep): Update alias.
25348
25349 2015-11-24 Joseph Myers <joseph@codesourcery.com>
25350
25351 * stdlib/strtod_nan.c: New file.
25352 * stdlib/strtod_nan_double.h: Likewise.
25353 * stdlib/strtod_nan_float.h: Likewise.
25354 * stdlib/strtod_nan_main.c: Likewise.
25355 * stdlib/strtod_nan_narrow.h: Likewise.
25356 * stdlib/strtod_nan_wide.h: Likewise.
25357 * stdlib/strtof_nan.c: Likewise.
25358 * stdlib/strtold_nan.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25360 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25361 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25362 * wcsmbs/wcstod_nan.c: Likewise.
25363 * wcsmbs/wcstof_nan.c: Likewise.
25364 * wcsmbs/wcstold_nan.c: Likewise.
25365 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25366 strtold_nan.
25367 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25368 wcstof_nan.
25369 * include/stdlib.h (__strtof_nan): Declare and use
25370 libc_hidden_proto.
25371 (__strtod_nan): Likewise.
25372 (__strtold_nan): Likewise.
25373 (__wcstof_nan): Likewise.
25374 (__wcstod_nan): Likewise.
25375 (__wcstold_nan): Likewise.
25376 * include/wchar.h (____wcstoull_l_internal): Declare.
25377 * stdlib/strtod_l.c: Do not include <ieee754.h>.
25378 (____strtoull_l_internal): Remove declaration.
25379 (STRTOF_NAN): Define macro.
25380 (SET_MANTISSA): Remove macro.
25381 (STRTOULL): Likewise.
25382 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25383 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25384 (STRTOF_NAN): Define macro.
25385 (SET_MANTISSA): Remove macro.
25386 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25387 (SET_MANTISSA): Remove macro.
25388 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25389 macro.
25390 (SET_MANTISSA): Remove macro.
25391 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25392 macro.
25393 (SET_MANTISSA): Remove macro.
25394 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25395 (SET_MANTISSA): Remove macro.
25396 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25397 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25398 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25399
25400 [BZ #19266]
25401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25402 upper case and lower case letters inside NAN(), not using TOLOWER.
25403 * stdlib/tst-strtod-nan-locale-main.c: New file.
25404 * stdlib/tst-strtod-nan-locale.c: Likewise.
25405 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25406 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25407 Depend on $(gen-locales).
25408 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25409 * wcsmbs/tst-wcstod-nan-locale.c: New file.
25410 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25411 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25412 Depend on $(gen-locales).
25413 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25414
25415 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
25416
25417 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25418
25419 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25421 __finitel, __isinfl, and __isnanl.
25422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25423 Likewise.
25424 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25426 __finitel.
25427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25428 Likewise.
25429 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25430
25431 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
25432
25433 * malloc/memusage.c (me): Remove redundant getenv call.
25434
25435 2015-10-24 Florian Weimer <fweimer@redhat.com>
25436
25437 [BZ #19143]
25438 [BZ #19164]
25439 * nptl/check-cpuset.h: Remove.
25440 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25441 Remove CPU set size check.
25442 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25443 Likewise.
25444 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25445 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25446 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25447 (__pthread_setaffinity_new): Remove CPU set size check.
25448 * sysdeps/unix/sysv/linux/sched_setaffinity.c
25449 (__kernel_cpumask_size): Remove.
25450 (__sched_setaffinity_new): Remove CPU set size check.
25451 * manual/threads.texi (Default Thread Attributes): Remove stale
25452 reference to check_cpuset_attr, determine_cpumask_size in comment.
25453 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25454 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
25455 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25456 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25457 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25458 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25459 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25460 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25461 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25462 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25463 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25464 skeleton test file.
25465 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
25466 tst-affinity-pid.
25467
25468 2015-11-24 Florian Weimer <fweimer@redhat.com>
25469
25470 * scripts/update-abilist.sh: New file.
25471 * Makefile (+subdir_targets): Add subdir_update-all-abi.
25472 * Makerules (update-all-abi-%, update-all-abi)
25473 (subdir_update-all-abi): New targets.
25474 * elf/Makefile (update-all-abi): New target.
25475
25476 2015-11-24 Florian Weimer <fweimer@redhat.com>
25477
25478 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25479 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25480 (__libc_lock_define_initialized): Use it.
25481 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25482 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25483 * malloc/malloc.c (main_arena): Likewise.
25484 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25485 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25486
25487 2015-11-23 Joseph Myers <joseph@codesourcery.com>
25488
25489 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25490 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25491 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25492 (PTRACE_O_MASK): Update value.
25493 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25494 New value in enum __ptrace_setoptions.
25495 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25496 (PTRACE_O_MASK): Update value.
25497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25498 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25499 (PTRACE_O_MASK): Update value.
25500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25501 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25502 (PTRACE_O_MASK): Update value.
25503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25504 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25505 (PTRACE_O_MASK): Update value.
25506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25507 New value in enum __ptrace_setoptions.
25508 (PTRACE_O_MASK): Update value.
25509 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25510 New value in enum __ptrace_setoptions.
25511 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25512 (PTRACE_O_MASK): Update value.
25513
25514 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25515 New macro.
25516 (PACKET_AUXDATA): Likewise.
25517 (PACKET_ORIGDEV): Likewise.
25518 (PACKET_VERSION): Likewise.
25519 (PACKET_HDRLEN): Likewise.
25520 (PACKET_RESERVE): Likewise.
25521 (PACKET_TX_RING): Likewise.
25522 (PACKET_LOSS): Likewise.
25523 (PACKET_VNET_HDR): Likewise.
25524 (PACKET_TX_TIMESTAMP): Likewise.
25525 (PACKET_TIMESTAMP): Likewise.
25526 (PACKET_FANOUT): Likewise.
25527 (PACKET_TX_HAS_OFF): Likewise.
25528 (PACKET_QDISC_BYPASS): Likewise.
25529 (PACKET_ROLLOVER_STATS): Likewise.
25530 (PACKET_FANOUT_DATA): Likewise.
25531 (PACKET_MR_UNICAST): Likewise.
25532
25533 [BZ #19242]
25534 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25535 (TOUPPER): Likewise.
25536 * stdlib/tst-strtol-locale-main.c: New file.
25537 * stdlib/tst-strtol-locale.c: Likewise.
25538 * stdlib/Makefile (tests): Add tst-strtol-locale.
25539 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25540 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25541 Depend on $(gen-locales).
25542 * wcsmbs/tst-wcstol-locale.c: New file.
25543 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25544 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25545 tr_TR.ISO-8859-9.
25546 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25547 Depend on $(gen-locales).
25548
25549 2015-11-20 Roland McGrath <roland@hack.frob.com>
25550
25551 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25552 __glibc_likely instead of __builtin_expect. After falling back to
25553 dyncode_create in a non-ET_DYN case, use the allocate_code_data
25554 system interface to register the code pages as occupied.
25555
25556 2015-11-20 Joseph Myers <joseph@codesourcery.com>
25557
25558 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25559 [!ARM_MATH_PRIVATE_H].
25560 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25561 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25562 [!HPPA_MATH_PRIVATE_H].
25563 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25564 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25565 to [!I386_MATH_PRIVATE_H].
25566 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25567 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25568 Change guard to [!M68K_MATH_PRIVATE_H].
25569 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25570 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25571 guard to [!MICROBLAZE_MATH_PRIVATE_H].
25572 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25573 macro.
25574 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25575 [!MIPS_MATH_PRIVATE_H].
25576 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25577 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25578 [!NIO2_MATH_PRIVATE_H].
25579 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25580 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25581 [!TILE_MATH_PRIVATE_H].
25582 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25583
25584 [BZ #15421]
25585 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25586 initialize with 0 and define as weak alias of __signgam.
25587 * include/math.h [!_ISOMAC] (__signgam): Declare.
25588 * math/Makefile (libm-calls): Add w_lgamma_compat.
25589 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25590 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25591 test-signgam-ullong-init.
25592 (tests-static): Add test-signgam-uchar-static,
25593 test-signgam-uchar-init-static, test-signgam-uint-static,
25594 test-signgam-uint-init-static, test-signgam-ullong-static and
25595 test-signgam-ullong-init-static.
25596 (CFLAGS-test-signgam-uchar.c): New variable.
25597 (CFLAGS-test-signgam-uchar-init.c): Likewise.
25598 (CFLAGS-test-signgam-uchar-static.c): Likewise.
25599 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25600 (CFLAGS-test-signgam-uint.c): Likewise.
25601 (CFLAGS-test-signgam-uint-init.c): Likewise.
25602 (CFLAGS-test-signgam-uint-static.c): Likewise.
25603 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25604 (CFLAGS-test-signgam-ullong.c): Likewise.
25605 (CFLAGS-test-signgam-ullong-init.c): Likewise.
25606 (CFLAGS-test-signgam-ullong-static.c): Likewise.
25607 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25608 * math/Versions (libm): Add GLIBC_2.23.
25609 * math/lgamma-compat.h: New file.
25610 * math/test-signgam-main.c: Likewise.
25611 * math/test-signgam-uchar-init-static.c: Likewise.
25612 * math/test-signgam-uchar-init.c: Likewise.
25613 * math/test-signgam-uchar-static.c: Likewise.
25614 * math/test-signgam-uchar.c: Likewise.
25615 * math/test-signgam-uint-init-static.c: Likewise.
25616 * math/test-signgam-uint-init.c: Likewise.
25617 * math/test-signgam-uint-static.c: Likewise.
25618 * math/test-signgam-uint.c: Likewise.
25619 * math/test-signgam-ullong-init-static.c: Likewise.
25620 * math/test-signgam-ullong-init.c: Likewise.
25621 * math/test-signgam-ullong-static.c: Likewise.
25622 * math/test-signgam-ullong.c: Likewise.
25623 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25624 wrapper of w_lgamma_main.c.
25625 * math/w_lgamma_compat.c: New file.
25626 * math/w_lgamma_compatf.c: Likewise.
25627 * math/w_lgamma_compatl.c: Likewise.
25628 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
25629 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25630 defining compatibility symbols.
25631 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
25632 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25633 wrapper of w_lgammaf_main.c.
25634 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
25635 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25636 defining compatibility symbols.
25637 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
25638 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25639 wrapper of w_lgammal_main.c.
25640 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
25641 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
25642 defining compatibility symbols.
25643 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
25644 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25645 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25646 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
25647 <lgamma-compat.h>.
25648 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
25649 (__ieee754_gamma): Define as alias.
25650 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25651 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
25652 <lgamma-compat.h>.
25653 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
25654 (__ieee754_gammaf): Define as alias.
25655 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25656 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
25657 <lgamma-compat.h>.
25658 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
25659 (__ieee754_gammal): Define as alias.
25660 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
25661 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
25662 <math/w_lgamma_compat.c>.
25663 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
25664 Define as alias of __lgamma_compat and use in defining lgammal.
25665 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
25666 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
25667 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
25668 (USE_AS_COMPAT): New macro.
25669 (LGAMMA_OLD_VER): Undefine and redefine.
25670 (lgammal): Do not define here.
25671 (gammal): Only define here if [GAMMA_ALIAS].
25672 * conform/linknamespace.pl (@whitelist): Remove signgam.
25673 * sysdeps/nacl/libm.abilist: Update.
25674 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25675 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25676 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25677 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25678 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25679 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25680 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25681 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25682 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25683 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25684 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25685 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25687 Likewise.
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25689 Likewise.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25691 Likewise.
25692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25693 Likewise.
25694 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25695 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25696 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25697 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25698 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25700 Likewise.
25701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25702 Likewise.
25703 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25704 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25706
25707 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25708
25709 [BZ #16364]
25710 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
25711 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
25712
25713 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
25714
25715 * sysdeps/s390/fpu/bits/mathinline.h:
25716 Use __asm__ [__volatile__] instead of asm [volatile].
25717 * sysdeps/s390/abort-instr.h: Likewise.
25718 * sysdeps/s390/atomic-machine.h: Likewise.
25719 * sysdeps/s390/bits/string.h: Likewise.
25720 * sysdeps/s390/dl-tls.h: Likewise.
25721 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25722 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25723 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25724 * sysdeps/s390/fpu/fesetround.c: Likewise.
25725 * sysdeps/s390/fpu/fpu_control.h: Likewise.
25726 * sysdeps/s390/fpu/s_fma.c: Likewise.
25727 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
25728 * sysdeps/s390/memusage.h: Likewise.
25729 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
25730 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
25731 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
25732 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
25733 * sysdeps/s390/nptl/tls.h: Likewise.
25734 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
25735 * sysdeps/s390/s390-32/backtrace.c: Likewise.
25736 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25737 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
25738 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25739 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25740 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
25741 * sysdeps/s390/s390-64/backtrace.c: Likewise.
25742 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25743 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
25744 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
25745 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25746 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25747 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
25748 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25749 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25750 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
25751 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25752 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
25753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25754 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
25755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25756 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
25757
25758 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25759 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25760
25761 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25762 Add lwarx hint, and use macro for acquire instruction.
25763 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25764 Likewise.
25765 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
25766 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
25767 update to use new atomic macros.
25768
25769 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25770
25771 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25772 (__lll_trylock_elision): Fix setting of adapt_count.
25773 * sysdeps/unix/sysv/linux/powerpc/htm.h
25774 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
25775 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
25776 (_ABORT_SYSCALL): Renumber, and clarify definition.
25777 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25778
25779 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
25780
25781 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25782 after system headers to prevent MIN/MAX redefinition. Define
25783 HAVE_ALLOCA to preserve builtin alloca usage.
25784
25785 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
25786
25787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25788 static and don't set or restore rounding.
25789 (__cos)[IN_SINCOS]: Likewise.
25790 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25791 (__sincos): Set and restore rounding mode. Remove check for infinite
25792 or NaN input.
25793
25794 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25795
25796 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25797 as used.
25798
25799 2015-11-16 Florian Weimer <fweimer@redhat.com>
25800
25801 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25802
25803 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
25804
25805 * config.make.in (have-glob-dat-reloc): New.
25806 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
25807 target supports GLOB_DAT relocaton. AC_SUBST.
25808 * configure: Regenerated.
25809 * elf/Makefile (tests): Add tst-prelink.
25810 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25811 (tst-prelink-ENV): New.
25812 ($(objpfx)tst-prelink-conflict.out): Likewise.
25813 ($(objpfx)tst-prelink-cmp.out): Likewise.
25814 * sysdeps/x86/tst-prelink.c: Moved to ...
25815 * elf/tst-prelink.c: Here.
25816 * sysdeps/x86/tst-prelink.exp: Moved to ...
25817 * elf/tst-prelink.exp: Here.
25818 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25819 (tst-prelink-ENV): Removed.
25820 ($(objpfx)tst-prelink-conflict.out): Likewise.
25821 ($(objpfx)tst-prelink-cmp.out): Likewise.
25822 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25823
25824 2015-11-13 Joseph Myers <joseph@codesourcery.com>
25825
25826 [BZ #14551]
25827 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25828 (__mpn_construct_long_double): If high part overflows to infinity,
25829 set errno and recompute overflowed result of the correct sign.
25830 * sysdeps/ieee754/ldbl-128ibm/Makefile
25831 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25832 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25833 $(libm).
25834 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25835
25836 2015-11-12 Joseph Myers <joseph@codesourcery.com>
25837
25838 [BZ #15479]
25839 [BZ #19238]
25840 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25841 floating-point state after first operation on input. Restore full
25842 state rather than just rounding mode.
25843 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25844 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25845 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25846
25847 [BZ #19235]
25848 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25849 add 0.5 to integer arguments.
25850 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25851 Likewise.
25852 (.LC2): New object.
25853
25854 2015-11-11 Mike Frysinger <vapier@gentoo.org>
25855
25856 * scripts/pylintrc (reports): Set to no.
25857
25858 2015-11-10 Roland McGrath <roland@hack.frob.com>
25859
25860 * elf/dl-load.c (open_verify): Take new argument FD.
25861 Skip __open call if passed FD is not -1.
25862 (_dl_map_object, open_path): Update callers.
25863 * elf/dl-sysdep-open.h: New file.
25864 * elf/dl-load.c: Include it.
25865 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25866 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25867 * sysdeps/nacl/dl-sysdep-open.h: New file.
25868 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25869 from libc to rtld.
25870
25871 2015-11-10 Joseph Myers <joseph@codesourcery.com>
25872
25873 [BZ #19228]
25874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25875 and restore full floating-point state.
25876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25877 Likewise.
25878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25879 Likewise.
25880 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25881 Likewise.
25882 * math/test-nearbyint-except-2.c: New file.
25883 * math/Makefile (tests): Add test-nearbyint-except-2.
25884
25885 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
25886
25887 [BZ #19178]
25888 * sysdeps/x86/Makefile (tests): Add tst-prelink.
25889 (tst-prelink-ENV): New.
25890 ($(objpfx)tst-prelink-conflict.out): Likewise.
25891 ($(objpfx)tst-prelink-cmp.out): Likewise.
25892 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25893 * sysdeps/x86/tst-prelink.c: New file.
25894 * sysdeps/x86/tst-prelink.exp: Likewise.
25895
25896 2015-11-10 Joseph Myers <joseph@codesourcery.com>
25897
25898 * math/auto-libm-test-in: Add another test of pow.
25899 * math/auto-libm-test-out: Regenerated.
25900 * math/libm-test.inc (pow_test_data): Add another test.
25901
25902 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25903
25904 [BZ #19219]
25905 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25906 weak_alias to nearbyintl.
25907
25908 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
25909
25910 * sysdeps/aarch64/bits/string.h: New file.
25911 (_STRING_ARCH_unaligned): Define.
25912
25913 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
25914
25915 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25916 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25917 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25918 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25920
25921 2015-11-09 Ulrich Drepper <drepper@gmail.com>
25922
25923 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25924 for original name of the DSO. Add it to the name list of the DSO
25925 if it is actually given.
25926 (_dl_map_object): Keep track of whether an audit module rewrote
25927 the file name. If yes, pass the original name to
25928 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
25929 debugging is enabled, log the change of the file name.
25930 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25931 _dl_map_object_from_fd.
25932 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25933 * elf/tst-audit11.c: New file
25934 * elf/tst-auditmod11.c: New file.
25935 * elf/tst-audit11mod1.c: New file.
25936 * elf/tst-audit11mod2.c: New file.
25937 * elf/tst-audit11mod2.map: New file.
25938 * elf/tst-audit12.c: New file
25939 * elf/tst-auditmod12.c: New file.
25940 * elf/tst-audit12mod1.c: New file.
25941 * elf/tst-audit12mod2.c: New file.
25942 * elf/tst-audit12mod2.map: New file.
25943 * elf/tst-audit12mod3.c: New file.
25944
25945 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
25946
25947 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25948 Don't create weak aliases,
25949 because versioned symbols are created later.
25950 * sysdeps/s390/s390-32/setjmp.S
25951 (setjmp, _setjmp): Remove weak and rename to an unique name
25952 in SHARED case due to existing versioned symbols.
25953 * sysdeps/s390/s390-64/setjmp.S: Likewise.
25954 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25955 (getcontext): Create weak alias only in non SHARED case.
25956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25957
25958 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
25959
25960 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25961 (__ASSUME_*_SYSCALL) Define new macros.
25962 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25963 Remove socketcall syscalls.
25964 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25965 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25966 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25967 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25968 * sysdeps/unix/sysv/linux/send.c (__libc_send):
25969 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25970
25971 2015-11-09 Florian Weimer <fweimer@redhat.com>
25972
25973 [BZ #12926]
25974 Terminate process on invalid netlink response.
25975 * sysdeps/unix/sysv/linux/netlinkaccess.h
25976 (__netlink_assert_response): Declare.
25977 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25978 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25979 (sysdep_routines): Add netlink_assert_response.
25980 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25981 __netlink_assert_response.
25982 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25983 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25984 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25985 __netlink_assert_response.
25986
25987 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
25988
25989 [BZ #19178]
25990 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25991 (RTYPE_CLASS_PLT): Likewise.
25992 (RTYPE_CLASS_COPY): Likewise.
25993 (RTYPE_CLASS_TLS): Likewise.
25994 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25995 to set relocation type class for DL_DEBUG_PRELINK. Keep only
25996 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25997 DL_DEBUG_PRELINK.
25998
25999 2015-11-06 Joseph Myers <joseph@codesourcery.com>
26000
26001 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26002 calls with argument -0.5.
26003 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26004
26005 * configure.ac (libc_cv_z_nodelete): Remove configure test.
26006 (libc_cv_z_nodlopen): Likewise.
26007 (libc_cv_z_initfirst): Likewise.
26008 * configure: Regenerated.
26009
26010 2015-11-06 Florian Weimer <fweimer@redhat.com>
26011
26012 Simplify abilist format to be line-based.
26013 * scripts/abilist.awk: Collect descriptors in the descs variable.
26014 (emit): Write descs variable and sort it
26015 externally, with sort.
26016 * sysdeps/**/*.abilist: Convert to new format.
26017
26018 2015-11-06 Mark Wielaard <mjw@redhat.com>
26019
26020 [BZ #11460]
26021 * io/Makefile (routines): Add fts64.
26022 (tests): Add tst-fts and tst-fts-lfs.
26023 (CFLAGS-fts64.c): New.
26024 * io/Versions (GLIBC_2.23): New.
26025 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26026 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26027 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26028 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26029 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26030 (FTSENT64): Likewise.
26031 (fts64_children): Likewise.
26032 (fts64_close): Likewise.
26033 (fts64_open): Likewise.
26034 (fts64_read): Likewise.
26035 (fts64_set): Likewise.
26036 * io/fts64.c: New file.
26037 * io/tst-fts.c: New test.
26038 * io/tst-fts-lfs.c: Likewise.
26039 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26040 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26041 fts64_set.
26042 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26043 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26044 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26045 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26046 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26047 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26048 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26049 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26050 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26051 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26052 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26053 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26054 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26056 Likewise.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26058 Likewise.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26061 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26062 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26064 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26065 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26068 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26069 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26070 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26071 * sysdeps/wordsize-64/fts.c: New file.
26072 * sysdeps/wordsize-64/fts64.c: Likewise.
26073 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26074 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26075 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26076 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26077
26078 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26079
26080 * math/libm-test.inc (NON_FINITE): New macro.
26081 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26082 * math/gen-libm-test.pl (show_exceptions): Add argument
26083 $non_finite.
26084 (parse_args): Update call to show_exceptions.
26085 * math/test-math-finite.h: New file.
26086 * math/test-math-no-finite.h: Likewise.
26087 * math/test-double-finite.c: Likewise.
26088 * math/test-float-finite.c: Likewise.
26089 * math/test-ldouble-finite.c: Likewise.
26090 * math/test-double.c: Include "test-math-no-finite.h".
26091 * math/test-float.c: Include "test-math-no-finite.h".
26092 * math/test-ldouble.c: Include "test-math-no-finite.h".
26093 * math/test-math-inline.h (TEST_FINITE): New macro.
26094 * math/test-math-vector.h (TEST_FINITE): Likewise.
26095 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26096 (libm-tests): Add test-float-finite and test-double-finite.
26097 ($(objpfx)test-float-finite.o): New dependency on
26098 $(objpfx)libm-test.stmp.
26099 ($(objpfx)test-double-finite.o): Likewise.
26100 ($(objpfx)test-ldouble-finite.o): Likewise.
26101 (libm-test-no-inline-cflags): New variable.
26102 (libm-test-finite-cflags): Likewise.
26103 (CFLAGS-test-float-finite.c): Likewise.
26104 (CFLAGS-test-double-finite.c): Likewise.
26105 (CFLAGS-test-ldouble-finite.c): Likewise.
26106 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26107 (CFLAGS-test-double.c): Likewise.
26108 (CFLAGS-test-ldouble.c): Likewise.
26109
26110 2015-11-05 Roland McGrath <roland@hack.frob.com>
26111
26112 * io/fcntl.c (__fcntl): Add ... to prototype.
26113 * misc/ioctl.c (__ioctl): Likewise.
26114 * misc/syscall.c (syscall): Likewise.
26115
26116 2015-11-05 Joseph Myers <joseph@codesourcery.com>
26117
26118 * scripts/list-fixed-bugs.py: New file.
26119
26120 [BZ #19213]
26121 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26122 returned for argument 1.
26123 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26124 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26125 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26126 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26127 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26128 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26129
26130 [BZ #19211]
26131 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26132 __USE_XOPEN], not if [!__USE_ISOC99].
26133 (lgammaf): Likewise.
26134 (lgammal): Likewise.
26135 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26136 (gammaf): Likewise.
26137 (gammal): Likewise.
26138 * math/test-signgam-finite-c11.c: New file.
26139 * math/test-signgam-finite-c99.c: Likewise.
26140 * math/test-signgam-finite.c: Likewise.
26141 * math/Makefile (tests): Add test-signgam-finite,
26142 test-signgam-finite-c99 and test-signgam-finite-c11.
26143 (CFLAGS-test-signgam-finite.c): New variable.
26144 (CFLAGS-test-signgam-finite-c99.c): Likewise.
26145 (CFLAGS-test-signgam-finite-c11.c): Likewise.
26146
26147 [BZ #19212]
26148 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26149 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26150 500].
26151 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26152 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26153 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26154 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26155 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26156 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26157 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26158 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26159 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26160 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26161
26162 [BZ #19209]
26163 * math/bits/math-finite.h (ldexp): Remove declaration.
26164 (ldexpf): Likewise.
26165 (ldexpl): Likewise.
26166
26167 [BZ #19205]
26168 * math/bits/math-finite.h (acosf): Condition declaration on
26169 [__USE_ISOC99].
26170 (acosl): Likewise.
26171 (acoshf): Likewise.
26172 (acoshl): Likewise.
26173 (asinf): Likewise.
26174 (asinl): Likewise.
26175 (atan2f): Likewise.
26176 (atan2l): Likewise.
26177 (atanhf): Likewise.
26178 (atanhl): Likewise.
26179 (coshf): Likewise.
26180 (coshl): Likewise.
26181 (expf): Likewise.
26182 (expl): Likewise.
26183 (fmodf): Likewise.
26184 (fmodl): Likewise.
26185 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26186 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26187 (j0l): Likewise.
26188 (y0f): Likewise.
26189 (y0l): Likewise.
26190 (j1f): Likewise.
26191 (j1l): Likewise.
26192 (y1f): Likewise.
26193 (y1l): Likewise.
26194 (jnf): Likewise.
26195 (jnl): Likewise.
26196 (ynf): Likewise.
26197 (ynl): Likewise.
26198 (lgammaf_r): Condition declaration on [__USE_ISOC99].
26199 (lgammal_r): Likewise.
26200 (__lgamma_r_finite): New declaration.
26201 (__lgammaf_r_finite): Likewise.
26202 (__lgammal_r_finite): Likewise.
26203 (lgamma): Use __lgamma_r_finite.
26204 (lgammaf): Condition definition on [__USE_ISOC99]. Use
26205 __lgammaf_r_finite.
26206 (lgammal): Condition definition on [__USE_ISOC99]. Use
26207 __lgammal_r_finite.
26208 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
26209 __lgamma_r_finite.
26210 (gammaf): Condition definition on [__USE_ISOC99]. Use
26211 __lgammaf_r_finite.
26212 (gammal): Condition definition on [__USE_ISOC99]. Use
26213 __lgammal_r_finite.
26214 (logf): Condition declaration on [__USE_ISOC99].
26215 (logl): Likewise.
26216 (log10f): Likewise.
26217 (log10l): Likewise.
26218 (ldexpf): Likewise.
26219 (ldexpl): Likewise.
26220 (powf): Likewise.
26221 (powl): Likewise.
26222 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26223 __USE_ISOC99].
26224 (remainderf): Condition declaration on [__USE_ISOC99].
26225 (remainderl): Likewise.
26226 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26227 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26228 (scalbl): Likewise.
26229 (sinhf): Condition declaration on [__USE_ISOC99].
26230 (sinhl): Likewise.
26231 (sqrtf): Likewise.
26232 (sqrtl): Likewise.
26233
26234 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26235
26236 * sysdeps/arm/atomic-machine.h
26237 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26238 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26239 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26240 Remove conditional code.
26241 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26242 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26243 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26244 Change conditional to [__ASSEMBLER__].
26245 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26246 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26247 [!__ASSEMBLER__].
26248 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26249 code.
26250 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26251 conditional macro definitions.
26252 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26253 (__arch_compare_and_exchange_val_16_acq): Likewise.
26254 (__arch_compare_and_exchange_val_32_acq): Likewise.
26255 (atomic_exchange_and_add): Likewise.
26256 (atomic_add): Likewise.
26257 (atomic_add_negative): Likewise.
26258 (atomic_add_zero): Likewise.
26259 (atomic_bit_set): Likewise.
26260 (atomic_bit_test_set): Likewise.
26261 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26262 code unconditional.
26263 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26264
26265 * math/test-math-errno.h: New file.
26266 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26267 empty.
26268 (TEST_ERRNO): New macro.
26269 (TEST_EXCEPTIONS): Likewise.
26270 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26271 (TEST_EXCEPTIONS): Likewise.
26272 * math/test-math-vector.h (TEST_ERRNO): Likewise.
26273 * math/test-double.c: Include "test-math-errno.h".
26274 * math/test-float.c: Likewise.
26275 * math/test-ldouble.c: Likewise.
26276 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26277 code unconditional.
26278 (test_exceptions): Only run code if TEST_EXCEPTIONS.
26279 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26280 unconditional.
26281 (test_errno): Only run code if TEST_ERRNO.
26282 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26283
26284 2015-11-04 Florian Weimer <fweimer@redhat.com>
26285
26286 * nptl/tst-once5.cc: Remove attribution.
26287
26288 2015-11-04 Joseph Myers <joseph@codesourcery.com>
26289
26290 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26291 sqrt, tan, tanh, y0, y1 and yn.
26292 * math/auto-libm-test-out: Regenerated.
26293 * math/libm-test.inc (scalb_test_data): Add more tests.
26294 (scalbn_test_data): Likewise.
26295 (scalbln_test_data): Likewise.
26296 (signbit_test_data): Likewise.
26297 (sin_test_data): Likewise.
26298 (sincos_test_data): Likewise.
26299 (sinh_test_data): Likewise.
26300 (sqrt_test_data): Likewise.
26301 (tan_test_data): Likewise.
26302 (tanh_test_data): Likewise.
26303 (tgamma_test_data): Likewise.
26304 (y0_test_data): Likewise.
26305 (y1_test_data): Likewise.
26306 (yn_test_data): Likewise.
26307 (significand_test_data): Likewise.
26308 * sysdeps/i386/fpu/libm-test-ulps: Update.
26309
26310 2015-11-03 David Kastrup <dak@gnu.org>
26311
26312 [BZ #18604]
26313 * assert/assert.h (assert): Don't macro-expand failed assertion
26314 expression in error message.
26315 * malloc/malloc.c (assert): Likewise.
26316
26317 2015-11-03 Joseph Myers <joseph@codesourcery.com>
26318
26319 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26320 test.
26321 * configure: Regenerated.
26322
26323 2015-11-02 Joseph Myers <joseph@codesourcery.com>
26324
26325 * math/libm-test.inc (modf_test_data): Add more tests.
26326 (nearbyint_test_data): Likewise.
26327 (nextafter_test_data): Likewise.
26328 (nexttoward_test_data): Likewise.
26329 (pow_test_data): Likewise.
26330 (remainder_test_data): Likewise.
26331 (remquo_test_data): Likewise.
26332 (rint_test_data): Likewise.
26333
26334 [BZ #19201]
26335 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26336 Check for zero remainder in case of large exponents and ensure
26337 correct sign of result in that case.
26338 * math/libm-test.inc (remainder_test_data): Add more tests.
26339
26340 [BZ #6799]
26341 * math/s_nextafter.c: Include <errno.h>.
26342 (__nextafter): Set errno on overflow and underflow.
26343 * math/s_nexttowardf.c: Include <errno.h>.
26344 (__nexttowardf): Set errno on overflow and underflow.
26345 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26346 (__nextafterl): Set errno on overflow and underflow.
26347 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26348 (__nexttoward): Set errno on overflow and underflow.
26349 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26350 (__nexttowardf): Set errno on overflow and underflow.
26351 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26352 (__nextafterf): Set errno on overflow and underflow.
26353 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26354 (__nextafterl): Set errno on overflow and underflow.
26355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26356 (__nexttoward): Set errno on overflow and underflow.
26357 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26358 (__nexttowardf): Set errno on overflow and underflow.
26359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26360 (__nextafterl): Set errno on overflow and underflow.
26361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26362 (__nexttoward): Set errno on overflow and underflow.
26363 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26364 (__nexttowardf): Set errno on overflow and underflow.
26365 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26366 (__nexttoward): Set errno on overflow and underflow.
26367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26368 (__nexttowardf): Set errno on overflow and underflow.
26369 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26370 (__nldbl_nexttowardf): Set errno on overflow and underflow.
26371 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26372 (__nextafterl): Set errno on overflow and underflow.
26373 * math/libm-test.inc (nextafter_test_data): Do not allow errno
26374 setting to be missing on overflow. Add more tests.
26375 (nexttoward_test_data): Likewise.
26376
26377 * configure.ac (libc_cv_initfini_array): Remove configure test.
26378 * configure: Regenerated.
26379
26380 2015-10-29 Joseph Myers <joseph@codesourcery.com>
26381
26382 [BZ #19189]
26383 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26384 non-finite argument handle arguments with negative sign.
26385
26386 * math/libm-test.inc (j0_test_data): Do not test sign of zero
26387 result from infinite argument.
26388 (j1_test_data): Likewise.
26389 (jn_test_data): Likewise.
26390 (y0_test_data): Likewise.
26391 (y1_test_data): Likewise.
26392 (yn_test_data): Likewise.
26393
26394 [BZ #16171]
26395 * math/w_remainder.c (drem): Define as weak alias of __remainder.
26396 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26397 * math/w_remainderf.c (dremf): Define as weak alias of
26398 __remainderf.
26399 * math/w_remainderl.c (dreml): Define as weak alias of
26400 __remainderl.
26401 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26402 __remainder.
26403 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26404 __remainderf.
26405 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26406 __remainderl.
26407 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26408 weak alias of remainderl.
26409 * sysdeps/ieee754/ldbl-opt/w_remainder.c
26410 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26411 alias of __remainder.
26412 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26413 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26414 strong alias of __remainderl.
26415 (dreml): Use long_double_symbol.
26416 * math/Makefile (libm-calls): Remove w_drem.
26417 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26418 (CFLAGS-nldbl-drem.c): Remove variable.
26419 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26420 * math/w_drem.c: Remove file.
26421 * math/w_dremf.c: Likewise.
26422 * math/w_dreml.c: Likewise.
26423 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26424 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26425 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26426
26427 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26428 * sysdeps/i386/configure: Regenerated.
26429 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26430 * sysdeps/x86_64/configure: Regenerated.
26431
26432 * configure.ac (libc_cv_asm_protected_directive): Remove configure
26433 test.
26434 (libc_cv_visibility_attribute): Likewise.
26435 (libc_cv_protected_data): Test unconditionally.
26436 (libc_cv_broken_visibility_attribute): Remove configure test.
26437 (libc_cv_have_sdata_section): Test unconditionally.
26438 * configure: Regenerated.
26439
26440 * include/libc-internal.h (libc_max_align_t): Remove typedef.
26441 * include/scratch_buffer.h: Include <stddef.h> instead of
26442 <libc-internal.h>.
26443 (struct scratch_buffer): Use max_align_t instead of
26444 libc_max_align_t.
26445
26446 2015-10-29 Florian Weimer <fweimer@redhat.com>
26447
26448 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26449 instead of extend_alloca. Change control flow to avoid a goto.
26450 Remove assert which is trivially always true.
26451
26452 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26453
26454 [BZ #16068]
26455 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26456 (FE_ALL_EXCEPT_X86): New macro.
26457 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26458 FE_ALL_EXCEPT. Ensure precision control is included in
26459 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26460 handle "denormal operand exception" and clear FZ and DAZ bits.
26461 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26462 (FE_ALL_EXCEPT_X86): New macro.
26463 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26464 FE_ALL_EXCEPT. Ensure precision control is included in
26465 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26466 handle "denormal operand exception" and clear FZ and DAZ bits.
26467 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26468 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26469 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26470 test-fenv-x87 and test-fenv-sse-2.
26471 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26472
26473 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26474 * math/test-double.h (BUILD_COMPLEX): New macro.
26475 * math/test-float.h (BUILD_COMPLEX): Likewise.
26476 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26477
26478 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26479 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26480 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26482 instead of DBL_DENORM_MIN in comment.
26483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26484 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26485 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26486 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26488 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26489
26490 2015-10-28 Florian Weimer <fweimer@redhat.com>
26491
26492 [BZ #19048]
26493 * malloc/malloc.c (struct malloc_state): Update comment. Add
26494 attached_threads member.
26495 (main_arena): Initialize attached_threads.
26496 * malloc/arena.c (list_lock): Update comment.
26497 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26498 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26499 (deattach_arena): New function.
26500 (_int_new_arena): Initialize arena reference count and deattach
26501 replaced arena.
26502 (get_free_list, reused_arena): Update reference count and deattach
26503 replaced arena.
26504 (arena_thread_freeres): Update arena reference count and only put
26505 unreferenced arenas on the free list.
26506
26507 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26508
26509 [BZ #19181]
26510 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26511 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26512 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26513 * math/test-fenv-clear-main.c: New file.
26514 * math/test-fenv-clear.c: Likewise.
26515 * math/Makefile (tests): Add test-fenv-clear.
26516 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26517 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26518 test-fenv-clear-sse.
26519 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26520
26521 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26522 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26523 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26524
26525 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26526
26527 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26528 static libc.
26529
26530 2015-10-28 Joseph Myers <joseph@codesourcery.com>
26531
26532 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26533 test.
26534 * sysdeps/i386/configure: Regenerated.
26535 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26536 test.
26537 * sysdeps/x86_64/configure: Regenerated.
26538 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26540 memset-avx2 unconditionally instead of conditionally on
26541 [$(config-cflags-avx2) = yes].
26542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26543 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26544 unconditional.
26545 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26546 * sysdeps/x86_64/multiarch/memset_chk.S
26547 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26548 to [IS_IN (libc) && SHARED].
26549
26550 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26551
26552 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26553 configure test.
26554 * sysdeps/arm/configure: Regenerated.
26555 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26556 Define variable if not already defined.
26557
26558 [BZ #17404]
26559 * sysdeps/mips/atomic-machine.h
26560 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26561 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26562 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26563
26564 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26565 unconditional.
26566 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26567 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26568 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26569 unconditional.
26570 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26571 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26572 unconditional.
26573 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26574 * stdlib/setenv.c
26575 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26576 code unconditional.
26577 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26578 Remove conditional code.
26579 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26580 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26581 unconditional.
26582 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26583 code.
26584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26585 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26586 unconditional.
26587 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26588 code.
26589 * sysdeps/ieee754/ldbl-128/k_tanl.c
26590 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26591 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26592 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26593 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26594 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26595 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26596 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26597 unconditional.
26598 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26599 code.
26600 * sysdeps/ieee754/ldbl-96/k_tanl.c
26601 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26602 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26603
26604 * nptl/tst-initializers1-c11.c: New file.
26605 * nptl/tst-initializers1-gnu11.c: Likewise.
26606 * nptl/Makefile (tests): Add these new tests.
26607 (CFLAGS-tst-initializers1-c11.c): New variable.
26608 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26609
26610 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26611 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26612 instead of -std=gnu99.
26613 * configure.ac (systemtap): Test with -std=gnu11 instead of
26614 -std=gnu99.
26615 * configure: Regenerated.
26616 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26617 in compilation command in comment.
26618
26619 * sysdeps/nptl/configure.ac: Remove file.
26620 * sysdeps/nptl/configure: Remove generated file.
26621 * configure.ac (libc_cv_forced_unwind): Do not substitute.
26622 * configure: Regenerated.
26623 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26624 * config.make.in (have-forced-unwind): Remove variable.
26625 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26626 unconditional.
26627 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26628 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26629 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26630 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26631 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26632 unconditional.
26633
26634 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
26635
26636 [BZ #19174]
26637 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26638 .skip_lock_out_of_tbegin_retries.
26639 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26640 (__lll_lock_elision): Likewise, and respect a value of
26641 try_tbegin <= 0.
26642
26643 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
26644
26645 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26646 statement.
26647
26648 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26649
26650 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26651 variable.
26652 (test-xfail-ISO11/stdalign.h/conform): Likewise.
26653 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26654
26655 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26656 of -std=c1x -D_ISOC11_SOURCE.
26657
26658 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
26659 * configure: Regenerated.
26660 * manual/install.texi (Tools for Compilation): Document
26661 requirement for GCC 4.7 or later.
26662 * INSTALL: Regenerated.
26663
26664 2015-10-27 Ludovic Courtès <ludo@gnu.org>
26665
26666 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
26667 on CNT to a conditional jump to 'puntdata'.
26668
26669 2015-10-27 Joseph Myers <joseph@codesourcery.com>
26670
26671 * configure.ac (libc_cv_gcc___thread): Remove configure test.
26672 (libc_cv_gcc_tls_model_attr): Likewise.
26673 * configure: Regenerated.
26674
26675 * configure.ac (libc_cv_need_minus_P): Remove configure test.
26676 * configure: Regenerated.
26677 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
26678
26679 2015-10-26 Joseph Myers <joseph@codesourcery.com>
26680
26681 * configure.ac (old_glibc_headers): Remove configure test.
26682 * configure: Regenerated.
26683 * config.make.in (old-glibc-headers): Remove variable.
26684 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
26685 (install): Remove dependency on remove-old-headers.
26686 (headers2_0): Remove variable.
26687 (remove-old-headers): Remove rule.
26688
26689 * configure.ac (libc_cv_dot_text): Remove configure test.
26690 (libc_cv_asm_set_directive): Use .text instead of
26691 ${libc_cv_dot_text} in configure test.
26692 * configure: Regenerated.
26693
26694 2015-10-26 Florian Weimer <fweimer@redhat.com>
26695
26696 [BZ #19168]
26697 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26698
26699 2015-10-26 Florian Weimer <fweimer@redhat.com>
26700
26701 * configure.ac (CXX): Clear the variable if the C++ toolchain does
26702 not support static linking.
26703 * configure: Regenerate.
26704
26705 2015-10-23 Joseph Myers <joseph@codesourcery.com>
26706
26707 * math/libm-test.inc (check_float_internal): Do not special-case
26708 errors up to 0.5 ulp.
26709
26710 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26711 log2.
26712 * math/auto-libm-test-out: Regenerated.
26713 * math/libm-test.inc (MAX_EXP): New macro.
26714 (ilogb_test_data): Add more tests.
26715 (isfinite_test_data): Likewise.
26716 (isgreater_test_data): Likewise.
26717 (isgreaterequal_test_data): Likewise.
26718 (isinf_test_data): Likewise.
26719 (isless_test_data): Likewise.
26720 (islessequal_test_data): Likewise.
26721 (islessgreater_test_data): Likewise.
26722 (isnan_test_data): Likewise.
26723 (isnormal_test_data): Likewise.
26724 (issignaling_test_data): Likewise.
26725 (isunordered_test_data): Likewise.
26726 (j0_test_data): Likewise.
26727 (j1_test_data): Likewise.
26728 (jn_test_data): Likewise.
26729 (lgamma_test_data): Likewise.
26730 (log_test_data): Likewise.
26731 (log10_test_data): Likewise.
26732 (log1p_test_data): Likewise.
26733 (log2_test_data): Likewise.
26734 (logb_test_data): Likewise.
26735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26736
26737 [BZ #18611]
26738 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
26739 avoid excess range and precision on underflow.
26740 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26741 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
26742 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26743 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
26744 underflow.
26745 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26747 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26748 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26749 * math/auto-libm-test-in: Do not allow missing errno setting for
26750 tests of j1 and jn.
26751 * math/auto-libm-test-out: Regenerated.
26752
26753 2015-10-22 Joseph Myers <joseph@codesourcery.com>
26754
26755 [BZ #15491]
26756 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
26757 floating-point environment instead of clearing all exceptions.
26758 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
26759 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
26760 merging in "invalid" exceptions from frndint.
26761 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
26762 * math/test-nearbyint-except.c: New file.
26763 * math/Makefile (tests): Add test-nearbyint-except.
26764
26765 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
26766
26767 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
26768
26769 * sysdeps/tile/libm-test-ulps: Regenerated.
26770
26771 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26772
26773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
26774 (__NR_sync_file_range2): Assume it is always defined.
26775 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26776 (__NR_sync_file_range): Assume it is always defined.
26777
26778 2015-10-22 Andreas Schwab <schwab@suse.de>
26779
26780 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26781 INTERNAL_SYSCALL_ERRNO.
26782 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26783 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26784 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26785 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26786 Likewise.
26787 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26788
26789 2015-10-21 Joseph Myers <joseph@codesourcery.com>
26790
26791 * io/tst-fcntl.c (fd): New static variable.
26792 (do_prepare): Open temporary file here....
26793 (do_test): ...not here.
26794
26795 * io/ftwtest-sh: Also trap on exit to remove temporary files.
26796
26797 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
26798
26799 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26800 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26801 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26802 Moved before "#ifdef __ASSEMBLER__".
26803
26804 2015-10-21 Joseph Myers <joseph@codesourcery.com>
26805
26806 [BZ #19156]
26807 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26808 arguments very close to 0.
26809
26810 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
26811
26812 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26813 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26814
26815 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
26816
26817 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26818 New. Defined for GCC 5 and above when not compiling for
26819 profiling.
26820 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26821
26822 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26823 Renamed to ...
26824 (CFLAGS-epoll_pwait.o): This.
26825 (CFLAGS-mmap.c): Renamed to ...
26826 (CFLAGS-mmap.o): This.
26827 (CFLAGS-mmap64.c): Renamed to ...
26828 (CFLAGS-mmap64.o): This.
26829 (CFLAGS-epoll_pwait.os): New.
26830 (CFLAGS-mmap.os): Likewise.
26831 (CFLAGS-mmap64.os): Likewise.
26832 (CFLAGS-semtimedop.os): Likewise.
26833 (CFLAGS-semtimedop.c): Renamed to ...
26834 (CFLAGS-semtimedop.o): This.
26835
26836 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26837
26838 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26839 warning message.
26840
26841 2015-10-21 Joseph Myers <joseph@codesourcery.com>
26842
26843 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26844 * Makefile ($(objpfx)c++-types-check.out): Filter out
26845 $(+gccwarn-c) instead of -Wstrict-prototypes.
26846
26847 * io/fts.c (fts_open): Convert to prototype-style function
26848 definition.
26849 * malloc/mcheck.c (mcheck): Likewise.
26850 (mcheck_pedantic): Likewise.
26851 * posix/regexec.c (re_search_2_stub): Likewise. Use
26852 internal_function.
26853 (re_search_internal): Likewise.
26854 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26855 prototype-style function definition.
26856 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26857 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26858 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26859 (xdr_utmpptr): Likewise.
26860 (xdr_utmparr): Likewise.
26861 (xdr_utmpidle): Likewise.
26862 (xdr_utmpidleptr): Likewise.
26863 (xdr_utmpidlearr): Likewise.
26864
26865 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26866 log, log10 and log2.
26867 * math/auto-libm-test-out: Regenerated.
26868 * math/libm-test.inc (fmod_test_data): Add more tests.
26869 (fpclassify_test_data): Likewise.
26870 (frexp_test_data): Likewise.
26871 (hypot_test_data): Likewise.
26872 (ilogb_test_data): Likewise.
26873
26874 2015-10-20 Joseph Myers <joseph@codesourcery.com>
26875
26876 * debug/fortify_fail.c (__fortify_fail): Convert to
26877 prototype-style function definition. Use internal_function.
26878 * libio/genops.c (save_for_backup): Convert to prototype-style
26879 function definition.
26880 * libio/wgenops.c (save_for_wbackup): Likewise.
26881 * login/grantpt.c (grantpt): Likewise.
26882 * login/ptsname.c (ptsname): Likewise.
26883 (__ptsname_r): Likewise.
26884 * login/unlockpt.c (unlockpt): Likewise.
26885 * mach/msgserver.c (__mach_msg_server): Likewise.
26886 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26887 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26888 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26889 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26890 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26891 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26892 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26893 Likewise.
26894 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
26895 internal_function.
26896 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26897 prototype-style function definition.
26898 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26899 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26900 (__pthread_create_2_0): Likewise.
26901 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26902 * nptl/register-atfork.c (__register_atfork): Likewise.
26903 * posix/glob.c (glob): Likewise.
26904 * posix/regcomp.c (re_comp): Likewise.
26905 * posix/regexec.c (re_exec): Likewise.
26906 * stdlib/add_n.c [__STDC__]: Make code unconditional.
26907 [!__STDC__]: Remove conditional code.
26908 * stdlib/cmp.c [__STDC__]: Make code unconditional.
26909 [!__STDC__]: Remove conditional code.
26910 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26911 [!__STDC__]: Remove conditional code.
26912 * stdlib/divrem.c [__STDC__]: Make code unconditional.
26913 [!__STDC__]: Remove conditional code.
26914 * stdlib/lshift.c [__STDC__]: Make code unconditional.
26915 [!__STDC__]: Remove conditional code.
26916 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26917 [!__STDC__]: Remove conditional code.
26918 * stdlib/mul.c [__STDC__]: Make code unconditional.
26919 [!__STDC__]: Remove conditional code.
26920 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26921 [!__STDC__]: Remove conditional code.
26922 * stdlib/rshift.c [__STDC__]: Make code unconditional.
26923 [!__STDC__]: Remove conditional code.
26924 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26925 function definition.
26926 (STRTOF): Likewise.
26927 * stdlib/strtod_l.c (__STRTOF): Likewise.
26928 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26929 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26930 (__strtol_l): Likewise.
26931 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26932 [!__STDC__]: Remove conditional code.
26933 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26934 definition.
26935 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26936 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26937 type.
26938 (__strcasecmp): Convert to prototype-style function definition.
26939 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26940 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26941 type.
26942 (__strncasecmp): Convert to prototype-style function definition.
26943 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26944 * sunrpc/xdr.c (xdr_union): Likewise.
26945 * sunrpc/xdr_array.c (xdr_array): Likewise.
26946 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26947 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26948 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26949 Likewise.
26950 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26951 Likewise.
26952 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26953 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26954 Likewise.
26955 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26956 (LOCALE_PARAM_PROTO): Likewise.
26957 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26958 argument type.
26959 (ut_argument_spec): Remove macro.
26960 (ut_argument_spec_iso): Rename to ut_argument_spec.
26961 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
26962 prototype-style function definition.
26963 (memcpy_uppcase): Likewise.
26964 (__strftime_internal): Likewise.
26965 (my_strftime): Likewise.
26966 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26967 (LOCALE_PARAM_DECL): Likewise.
26968 [_LIBC] (LOCALE_PARAM): Include argument type.
26969 (__strptime_internal): Convert to prototype-style function
26970 definition.
26971 (strptime): Likewise.
26972 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26973 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26974 type.
26975 (__wcscasecmp): Convert to prototype-style function definition.
26976 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26977 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26978 type.
26979 (__wcsncasecmp): Convert to prototype-style function definition.
26980
26981 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26982 function definition.
26983 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26984 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26985 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26986 * elf/dl-minimal.c (_itoa): Likewise.
26987 * hurd/hurdmalloc.c (malloc): Likewise.
26988 (free): Likewise.
26989 (realloc): Likewise.
26990 * inet/inet6_option.c (inet6_option_space): Likewise.
26991 (inet6_option_init): Likewise.
26992 (inet6_option_append): Likewise.
26993 (inet6_option_alloc): Likewise.
26994 (inet6_option_next): Likewise.
26995 (inet6_option_find): Likewise.
26996 * io/ftw.c (FTW_NAME): Likewise.
26997 (NFTW_NAME): Likewise.
26998 (NFTW_NEW_NAME): Likewise.
26999 (NFTW_OLD_NAME): Likewise.
27000 * libio/iofwide.c (_IO_fwide): Likewise.
27001 * libio/strops.c (_IO_str_init_static_internal): Likewise.
27002 (_IO_str_init_static): Likewise.
27003 (_IO_str_init_readonly): Likewise.
27004 (_IO_str_overflow): Likewise.
27005 (_IO_str_underflow): Likewise.
27006 (_IO_str_count): Likewise.
27007 (_IO_str_seekoff): Likewise.
27008 (_IO_str_pbackfail): Likewise.
27009 (_IO_str_finish): Likewise.
27010 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27011 (_IO_wstr_overflow): Likewise.
27012 (_IO_wstr_underflow): Likewise.
27013 (_IO_wstr_count): Likewise.
27014 (_IO_wstr_seekoff): Likewise.
27015 (_IO_wstr_pbackfail): Likewise.
27016 (_IO_wstr_finish): Likewise.
27017 * locale/programs/localedef.c (normalize_codeset): Likewise.
27018 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27019 (add_locales_to_archive): Likewise.
27020 (delete_locales_from_archive): Likewise.
27021 * malloc/malloc.c (__libc_mallinfo): Likewise.
27022 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27023 * misc/tsearch.c (__tfind): Likewise.
27024 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27025 * nptl/pthread_attr_getdetachstate.c
27026 (__pthread_attr_getdetachstate): Likewise.
27027 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27028 Likewise.
27029 * nptl/pthread_attr_getinheritsched.c
27030 (__pthread_attr_getinheritsched): Likewise.
27031 * nptl/pthread_attr_getschedparam.c
27032 (__pthread_attr_getschedparam): Likewise.
27033 * nptl/pthread_attr_getschedpolicy.c
27034 (__pthread_attr_getschedpolicy): Likewise.
27035 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27036 Likewise.
27037 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27038 Likewise.
27039 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27040 Likewise.
27041 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27042 Likewise.
27043 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27044 (__pthread_attr_init_2_0): Likewise.
27045 * nptl/pthread_attr_setdetachstate.c
27046 (__pthread_attr_setdetachstate): Likewise.
27047 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27048 Likewise.
27049 * nptl/pthread_attr_setinheritsched.c
27050 (__pthread_attr_setinheritsched): Likewise.
27051 * nptl/pthread_attr_setschedparam.c
27052 (__pthread_attr_setschedparam): Likewise.
27053 * nptl/pthread_attr_setschedpolicy.c
27054 (__pthread_attr_setschedpolicy): Likewise.
27055 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27056 Likewise.
27057 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27058 Likewise.
27059 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27060 Likewise.
27061 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27062 Likewise.
27063 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27064 Likewise.
27065 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27066 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27067 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27068 use internal_function.
27069 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27070 prototype-style function definition.
27071 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27072 (__pthread_mutex_cond_lock_adjust): Likewise. Use
27073 internal_function.
27074 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27075 Convert to prototype-style function definition.
27076 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27077 Likewise.
27078 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27079 Likewise.
27080 (__pthread_mutex_unlock): Likewise.
27081 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27082 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27083 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27084 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27085 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27086 * nss/makedb.c (process_input): Likewise.
27087 * posix/fnmatch.c (__strchrnul): Likewise.
27088 (__wcschrnul): Likewise.
27089 (fnmatch): Likewise.
27090 * posix/fnmatch_loop.c (FCT): Likewise.
27091 * posix/glob.c (globfree): Likewise.
27092 (__glob_pattern_type): Likewise.
27093 (__glob_pattern_p): Likewise.
27094 * posix/regcomp.c (re_compile_pattern): Likewise.
27095 (re_set_syntax): Likewise.
27096 (re_compile_fastmap): Likewise.
27097 (regcomp): Likewise.
27098 (regerror): Likewise.
27099 (regfree): Likewise.
27100 * posix/regexec.c (regexec): Likewise.
27101 (re_match): Likewise.
27102 (re_search): Likewise.
27103 (re_match_2): Likewise.
27104 (re_search_2): Likewise.
27105 (re_search_stub): Likewise. Use internal_function
27106 (re_copy_regs): Likewise.
27107 (re_set_registers): Convert to prototype-style function
27108 definition.
27109 (prune_impossible_nodes): Likewise. Use internal_function.
27110 * resolv/inet_net_pton.c (inet_net_pton): Convert to
27111 prototype-style function definition.
27112 (inet_net_pton_ipv4): Likewise.
27113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27114 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27115 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27116 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27117 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27118 Make variadic.
27119 * time/strptime_l.c (localtime_r): Convert to prototype-style
27120 function definition.
27121 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27122 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27123 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27124 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27125
27126 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27127 definition.
27128 (_ufc_doit_r): Likewise.
27129 * crypt/crypt_util.c (_ufc_copymem): Likewise.
27130 (_ufc_output_conversion_r): Likewise.
27131 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27132 * inet/rcmd.c (rcmd_af): Likewise.
27133 (rcmd): Likewise.
27134 (ruserok_af): Likewise.
27135 (ruserok): Likewise.
27136 (ruserok2_sa): Likewise.
27137 (ruserok_sa): Likewise.
27138 (iruserok_af): Likewise.
27139 (iruserok): Likewise.
27140 (__ivaliduser): Likewise.
27141 (__validuser2_sa): Likewise.
27142 * inet/rexec.c (rexec_af): Likewise.
27143 (rexec): Likewise.
27144 * inet/ruserpass.c (ruserpass): Likewise.
27145 * locale/programs/xmalloc.c (xcalloc): Likewise.
27146 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27147 * math/w_drem.c (__drem): Likewise.
27148 * math/w_dremf.c (__dremf): Likewise.
27149 * math/w_dreml.c (__dreml): Likewise.
27150 * misc/daemon.c (daemon): Likewise.
27151 * resolv/res_debug.c (p_fqnname): Likewise.
27152 * stdlib/div.c (div): Likewise.
27153 * string/memcmp.c (memcmp_bytes): Likewise.
27154 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27155 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27156
27157 * crypt/cert.c (main): Convert to prototype-style function
27158 definition.
27159 * io/pipe.c (__pipe): Likewise.
27160 * io/pipe2.c (__pipe2): Likewise.
27161 * misc/futimesat.c (futimesat): Likewise.
27162 * misc/utimes.c (__utimes): Likewise.
27163 * posix/execve.c (__execve): Likewise.
27164 * posix/execvp.c (execvp): Likewise.
27165 * posix/execvpe.c (__execvpe): Likewise.
27166 * posix/fexecve.c (fexecve): Likewise.
27167 * socket/socketpair.c (socketpair): Likewise.
27168 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27169 * stdlib/erand48.c (erand48): Likewise.
27170 * stdlib/erand48_r.c (__erand48_r): Likewise.
27171 * stdlib/jrand48.c (jrand48): Likewise.
27172 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27173 * stdlib/lcong48.c (lcong48): Likewise.
27174 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27175 * stdlib/nrand48.c (nrand48): Likewise.
27176 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27177 * stdlib/seed48.c (seed48): Likewise.
27178 * stdlib/seed48_r.c (__seed48_r): Likewise.
27179 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27180 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27181 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27182
27183 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27184
27185 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27186 * configure: Regenerated.
27187 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27188 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27189 unconditional.
27190 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27191 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27192 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27193 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27194 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27195 unconditional.
27196 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27197
27198 * posix/Makefile (CFLAGS-regex.c): Remove variable.
27199 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27200
27201 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27202 function definition.
27203 * crypt/crypt_util.c (__encrypt_r): Likewise.
27204 * libio/genops.c (_IO_no_init): Likewise.
27205 * libio/iofopncook.c (_IO_fopencookie): Likewise.
27206 (_IO_old_fopencookie): Likewise.
27207 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27208 * libio/iogetline.c (_IO_getline): Likewise.
27209 (_IO_getline_info): Likewise.
27210 * libio/iogetwline.c (_IO_getwline): Likewise.
27211 (_IO_getwline_info): Likewise.
27212 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27213 * libio/vswprintf.c (_IO_vswprintf): Likewise.
27214 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27215 (find_entry): Likewise.
27216 (iterate_table): Likewise.
27217 (lookup): Likewise.
27218 * login/forkpty.c (forkpty): Likewise.
27219 * misc/hsearch_r.c (__hsearch_r): Likewise.
27220 * misc/select.c (__select): Likewise.
27221 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27222 Likewise.
27223 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27224 Likewise.
27225 * nptl/old_pthread_cond_timedwait.c
27226 (__pthread_cond_timedwait_2_0): Likewise.
27227 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27228 * nptl/pthread_barrierattr_getpshared.c
27229 (pthread_barrierattr_getpshared): Likewise.
27230 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27231 Likewise.
27232 * nptl/pthread_mutex_setprioceiling.c
27233 (pthread_mutex_setprioceiling): Likewise.
27234 * nptl/pthread_mutexattr_getprioceiling.c
27235 (pthread_mutexattr_getprioceiling): Likewise.
27236 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27237 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27238 Likewise.
27239 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27240 Likewise.
27241 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27242 Likewise.
27243 * socket/recvfrom.c (__recvfrom): Likewise.
27244 * socket/sendto.c (__sendto): Likewise.
27245 * socket/setsockopt.c (__setsockopt): Likewise.
27246 * stdio-common/_itoa.c (_itoa): Likewise.
27247 * stdio-common/_itowa.c (_itowa): Likewise.
27248 * stdio-common/reg-printf.c (__register_printf_specifier):
27249 Likewise.
27250 (__register_printf_function): Likewise.
27251 * stdio-common/tempname.c (__path_search): Likewise.
27252 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27253 * stdlib/mul_1.c (mpn_mul_1): Likewise.
27254 * stdlib/random_r.c (__initstate_r): Likewise.
27255 * stdlib/setenv.c (__add_to_environ): Likewise.
27256 * stdlib/submul_1.c (mpn_submul_1): Likewise.
27257 * streams/getpmsg.c (getpmsg): Likewise.
27258 * streams/putmsg.c (putmsg): Likewise.
27259 * streams/putpmsg.c (putpmsg): Likewise.
27260 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27261 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27262 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27263 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27264 * sunrpc/pm_getport.c (pmap_getport): Likewise.
27265 * sunrpc/svc_udp.c (cache_get): Likewise.
27266 * sunrpc/xdr_array.c (xdr_vector): Likewise.
27267 * sysdeps/mach/hurd/getcwd.c
27268 (__canonicalize_directory_name_internal): Likewise.
27269 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27270 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27271 * sysdeps/mach/hurd/select.c (__select): Likewise.
27272 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27273 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27274 * sysdeps/sparc/nptl/pthread_barrier_init.c
27275 (__pthread_barrier_init): Likewise.
27276 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27277 (__pthread_cond_timedwait): Likewise.
27278 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27279 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27280 Likewise.
27281 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27282 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27283 Likewise.
27284 * sysvipc/semtimedop.c (semtimedop): Likewise.
27285 * time/setitimer.c (__setitimer): Likewise.
27286 * time/strftime_l.c (emacs_strftime): Likewise.
27287
27288 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27289
27290 * config.make.in (have-ssp): Delete.
27291 (stack-protector): New variable.
27292 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
27293 cache test for -fstack-protector-strong. Export stack_protector to
27294 the best ssp flag.
27295 * configure: Regenerated.
27296 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27297 * nscd/Makefile (CFLAGS-nscd): Likewise.
27298 * resolv/Makefile (CFLAGS-libresolv): Likewise.
27299
27300 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 [BZ #19122]
27303 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27304 attribute_hidden.
27305
27306 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27307
27308 [BZ #18743]
27309 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27310 code to...
27311 (ELIDE_LOCK): ...here.
27312 (__get_new_count): New function with part of the code from
27313 __elide_lock that updates the value of adapt_count after a
27314 transaction abort.
27315 (__elided_trylock): Moved this code to...
27316 (ELIDE_TRYLOCK): ...here.
27317
27318 2015-10-19 Mike Frysinger <vapier@gentoo.org>
27319
27320 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27321 * configure: Regenerate.
27322 * INSTALL: Regenerate.
27323 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27324 and tweak grammar.
27325
27326 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
27327
27328 * login/programs/pt_chown.c: Include signal.h
27329 (main): Clear any signal mask from the parent process.
27330
27331 2015-10-19 Joseph Myers <joseph@codesourcery.com>
27332
27333 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27334 * configure: Regenerated.
27335 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27336 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27337 $(gnu89-inline-CFLAGS).
27338
27339 * configure.ac (libc_cv_asm_weak_directive): Remove configure
27340 test.
27341 (libc_cv_asm_weakext_directive): Likewise.
27342 * configure: Regenerated.
27343 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27344 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27345 * include/libc-symbols.h
27346 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27347 #error.
27348 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27349 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27350
27351 * sysdeps/arm/backtrace.c (__backtrace): Convert to
27352 prototype-style function definition.
27353 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27354 * sysdeps/i386/ffs.c (__ffs): Likewise.
27355 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27356 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27357 Likewise.
27358 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27359 Likewise.
27360 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27361 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27362 Likewise.
27363 * sysdeps/m68k/ffs.c (__ffs): Likewise.
27364 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27365 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27366 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27367 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27368 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27369 * sysdeps/mach/hurd/access.c (__access): Likewise.
27370 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27371 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27372 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27373 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27374 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27375 (cthread_getspecific): Likewise.
27376 (cthread_setspecific): Likewise.
27377 (__libc_getspecific): Likewise.
27378 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27379 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27380 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27381 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27382 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27383 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27384 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27385 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27386 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27387 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27388 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27389 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27390 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27391 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27392 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27393 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27394 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27395 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27396 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27397 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27398 * sysdeps/mach/hurd/link.c (__link): Likewise.
27399 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27400 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27401 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27402 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27403 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27404 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27405 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27406 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27407 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27408 * sysdeps/mach/hurd/rename.c (rename): Likewise.
27409 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27410 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27411 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27412 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27413 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27414 * sysdeps/mach/hurd/send.c (__send): Likewise.
27415 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27416 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27417 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27418 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27419 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27420 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27421 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27422 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27423 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27424 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27425 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27426 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27427 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27428 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27429 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27430 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27431 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27432 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27433 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27434 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27435 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27436 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27437 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27438 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27439 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27440 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27441 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27442 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27443 * sysdeps/posix/alarm.c (alarm): Likewise.
27444 * sysdeps/posix/cuserid.c (cuserid): Likewise.
27445 * sysdeps/posix/dirfd.c (dirfd): Likewise.
27446 * sysdeps/posix/dup.c (__dup): Likewise.
27447 * sysdeps/posix/dup2.c (__dup2): Likewise.
27448 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27449 (main): Likewise.
27450 * sysdeps/posix/flock.c (__flock): Likewise.
27451 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27452 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27453 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27454 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27455 * sysdeps/posix/isatty.c (__isatty): Likewise.
27456 * sysdeps/posix/killpg.c (killpg): Likewise.
27457 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27458 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27459 * sysdeps/posix/raise.c (raise): Likewise.
27460 * sysdeps/posix/remove.c (remove): Likewise.
27461 * sysdeps/posix/rename.c (rename): Likewise.
27462 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27463 * sysdeps/posix/seekdir.c (seekdir): Likewise.
27464 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27465 * sysdeps/posix/sigignore.c (sigignore): Likewise.
27466 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27467 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27468 * sysdeps/posix/sigset.c (sigset): Likewise.
27469 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27470 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27471 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27472 * sysdeps/posix/time.c (time): Likewise.
27473 * sysdeps/posix/ttyname.c (getttyname): Likewise.
27474 (ttyname): Likewise.
27475 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27476 * sysdeps/posix/utime.c (utime): Likewise.
27477 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27478 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27479 Likewise.
27480 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27481 (pthread_spin_trylock): Likewise.
27482 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27483 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27484 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27485 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27486 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27487 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27488 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27489 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27490 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27491 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27492 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27493 * sysdeps/s390/ffs.c (__ffs): Likewise.
27494 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27495 Likewise.
27496 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27497 Likewise.
27498 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27499 Likewise.
27500 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27501 (pthread_barrier_destroy): Likewise.
27502 * sysdeps/sparc/nptl/pthread_barrier_wait.c
27503 (__pthread_barrier_wait): Likewise.
27504 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27505 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27506 (__pthread_barrier_wait): Likewise.
27507 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27508 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27509 (memcmp_not_common_alignment): Likewise.
27510 (MEMCMP): Likewise.
27511 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27512 (_wordcopy_fwd_dest_aligned): Likewise.
27513 (_wordcopy_bwd_aligned): Likewise.
27514 (_wordcopy_bwd_dest_aligned): Likewise.
27515 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27516 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27517 * sysdeps/unix/bsd/stty.c (stty): Likewise.
27518 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27519 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27520 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27521 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27522 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27523 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27524 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27525 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27526 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27527 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27528 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27529 * sysdeps/unix/stime.c (stime): Likewise.
27530 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27531 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27532 Likewise. Use internal_function.
27533 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27534 Convert to prototype-style function definition.
27535 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27536 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27538 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27539 Likewise. Use internal_function.
27540 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27541 prototype-style function definition
27542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27543 Likewise.
27544 (__getlogin_r): Likewise.
27545 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27546 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27547 (__pthread_cond_broadcast): Likewise.
27548 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27549 (__pthread_cond_destroy): Likewise.
27550 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27551 (__pthread_cond_init): Likewise.
27552 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27553 (__pthread_cond_signal): Likewise.
27554 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27555 (__pthread_cond_wait): Likewise.
27556 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27557 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27558 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27559 Likewise.
27560 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27561 Likewise.
27562 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27563 Likewise.
27564 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27565 Likewise.
27566 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27568 (__ftruncate64): Likewise.
27569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27570 (truncate64): Likewise.
27571 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27572 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27573 (pthread_getcpuclockid): Likewise.
27574 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27575 Likewise.
27576 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27577 Likewise.
27578 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27579 Likewise.
27580 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27581 Likewise.
27582 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27583 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27584 (__libc_sigaction): Likewise.
27585 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27586 Likewise.
27587 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27588 (__sigprocmask): Likewise.
27589 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27590 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27591 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27592 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27593 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27594 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27595 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27596 Likewise.
27597 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27598 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27599 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27600 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27602 Likewise.
27603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27604 (__sigprocmask): Likewise.
27605 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27606 (cfgetispeed): Likewise.
27607 (cfsetospeed): Likewise.
27608 (cfsetispeed): Likewise.
27609 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27610 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27611 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27612 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27613 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27614 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27615 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27616 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27617 Likewise.
27618 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27619 Likewise.
27620 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27621 Likewise.
27622 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27623 Likewise.
27624 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27625
27626 2015-10-17 Florian Weimer <fweimer@redhat.com>
27627
27628 sunrpc: Rewrite with explicit TLS access using __thread.
27629 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27630 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27631 directly.
27632 (__rpc_thread_variables): Access thread_rpc_vars directly.
27633 Eliminate redundant assignment of the tvp variable.
27634
27635 2015-10-17 Florian Weimer <fweimer@redhat.com>
27636
27637 malloc: Rewrite with explicit TLS access using __thread.
27638 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27639 (tsd_setspecific, tsd_getspecific): Remove.
27640 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27641 (tsd_setspecific, tsd_getspecific): Likewise.
27642 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27643 (tsd_setspecific, tsd_getspecific): Likewise.
27644 * malloc/arena.c (thread_arena): New TLS variable.
27645 (arena_key): Remove variable.
27646 (arena_get): Use thread_arena.
27647 (arena_lookup): Remove macro.
27648 (malloc_atfork, free_atfork, ptmalloc_lock_all)
27649 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27650 (_int_new_arena, get_free_list, reused_arena)
27651 (arena_thread_freeres): Use thread_arena.
27652 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27653 tsd_getspecific, tsd_setspecific from safety annotations.
27654 (Allocating Cleared Space): Remove arena_lookup from safety
27655 annotations.
27656
27657 2015-10-17 Florian Weimer <fweimer@redhat.com>
27658
27659 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
27660 struct scratch_buffer instead of extend_alloca.
27661
27662 2015-10-17 Florian Weimer <fweimer@redhat.com>
27663
27664 * sysdeps/unix/sysv/linux/kernel-features.h
27665 (__ASSUME_SOCK_CLOEXEC): Remove.
27666 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
27667 (__have_paccept): Remove unused macro.
27668 * include/unistd.h (__have_sock_cloexec): Remove declaration.
27669 * misc/syslog.c (openlog_internal): Remove fallback code for
27670 !__ASSUME_SOCK_CLOEXEC.
27671 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
27672 missing SOCK_CLOEXEC.
27673 * nscd/connections.c (have_sock_cloexec): Remove definition.
27674 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27675 * nscd/nscd_helper.c (open_socket): Remove fallback code for
27676 !__ASSUME_SOCK_CLOEXEC.
27677 * resolv/res_send.c (__have_o_nonblock): Remove definition.
27678 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27679 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
27680 definition.
27681 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
27682 code for !__ASSUME_SOCK_CLOEXEC.
27683
27684 2015-10-17 Florian Weimer <fweimer@redhat.com>
27685
27686 [BZ #18982]
27687 * manual/stdio.texi (Variable Arguments Output): Add portability
27688 note, explaining that vfprintf clobbers the va_list pointer.
27689
27690 2015-10-16 Joseph Myers <joseph@codesourcery.com>
27691
27692 * math/libm-test.inc (fabs_test_data): Add more tests.
27693 (fdim_test_data): Likewise.
27694 (fma_test_data): Likewise.
27695 (fmax_test_data): Likewise.
27696 (fmin_test_data): Likewise.
27697 (fmod_test_data): Likewise.
27698
27699 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
27700
27701 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
27702 data.
27703
27704 2015-10-16 Joseph Myers <joseph@codesourcery.com>
27705
27706 * math/libm-test.inc (ceil_test_data): Add more tests and more
27707 expectations for "inexact".
27708 (floor_test_data): Add more tests.
27709 (round_test_data): Likewise.
27710 (trunc_test_data): Likewise.
27711
27712 * crypt/cert.c (good_bye): Convert to prototype-style function
27713 definition.
27714 (get8): Likewise.
27715 (put8): Likewise.
27716 * crypt/crypt-entry.c (crypt): Likewise.
27717 (__fcrypt): Likewise.
27718 * crypt/crypt_util.c (_ufc_prbits): Likewise.
27719 (_ufc_set_bits): Likewise.
27720 (_ufc_clearmem): Likewise.
27721 (__init_des_r): Likewise.
27722 (shuffle_sb): Likewise.
27723 (shuffle_sb): Likewise.
27724 (_ufc_setup_salt_r): Likewise.
27725 (_ufc_mk_keytab_r): Likewise.
27726 (_ufc_dofinalperm_r): Likewise.
27727 (encrypt): Likewise.
27728 (__setkey_r): Likewise.
27729 (setkey): Likewise.
27730 * crypt/md5.c (md5_init_ctx): Likewise.
27731 (md5_read_ctx): Likewise.
27732 (md5_finish_ctx): Likewise.
27733 (md5_stream): Likewise.
27734 (md5_buffer): Likewise.
27735 (md5_process_bytes): Likewise.
27736 * crypt/sha256.c (__sha256_init_ctx): Likewise.
27737 (__sha256_finish_ctx): Likewise.
27738 (__sha256_process_bytes): Likewise.
27739 * crypt/sha512.c (__sha512_init_ctx): Likewise.
27740 (__sha512_finish_ctx): Likewise.
27741 (__sha512_process_bytes): Likewise.
27742 * ctype/isctype.c (__isctype): Likewise.
27743 * debug/backtrace.c (__backtrace): Likewise.
27744 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
27745 * debug/fgets_chk.c (__fgets_chk): Likewise.
27746 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
27747 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
27748 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27749 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27750 * debug/memset_chk.c (__memset_chk): Likewise.
27751 * debug/strcat_chk.c (__strcat_chk): Likewise.
27752 * debug/strncat_chk.c (__strncat_chk): Likewise.
27753 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
27754 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
27755 * dirent/dirfd.c (dirfd): Likewise.
27756 * dirent/getdents.c (__getdirentries): Likewise.
27757 * dirent/getdents64.c (getdirentries64): Likewise.
27758 * dirent/rewinddir.c (__rewinddir): Likewise.
27759 * dirent/seekdir.c (seekdir): Likewise.
27760 * dirent/telldir.c (telldir): Likewise.
27761 * elf/sln.c (makesymlinks): Likewise.
27762 (makesymlink): Likewise.
27763 * gmon/gmon.c (__moncontrol): Likewise.
27764 (__monstartup): Likewise.
27765 (write_hist): Likewise.
27766 (write_call_graph): Likewise.
27767 (write_bb_counts): Likewise.
27768 * grp/setgroups.c (setgroups): Likewise.
27769 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27770 * inet/inet_net.c (inet_network): Likewise.
27771 * inet/inet_netof.c (inet_netof): Likewise.
27772 * inet/rcmd.c (rresvport_af): Likewise.
27773 (rresvport): Likewise.
27774 * io/access.c (__access): Likewise.
27775 * io/chdir.c (__chdir): Likewise.
27776 * io/chmod.c (__chmod): Likewise.
27777 * io/chown.c (__chown): Likewise.
27778 * io/close.c (__close): Likewise.
27779 * io/creat.c (creat): Likewise.
27780 * io/creat64.c (creat64): Likewise.
27781 * io/dup.c (__dup): Likewise.
27782 * io/dup2.c (__dup2): Likewise.
27783 * io/dup3.c (__dup3): Likewise.
27784 * io/euidaccess.c (__euidaccess): Likewise.
27785 * io/faccessat.c (faccessat): Likewise.
27786 * io/fchmod.c (__fchmod): Likewise.
27787 * io/fchmodat.c (fchmodat): Likewise.
27788 * io/fchown.c (__fchown): Likewise.
27789 * io/fchownat.c (fchownat): Likewise.
27790 * io/fcntl.c (__fcntl): Likewise.
27791 * io/flock.c (__flock): Likewise.
27792 * io/fts.c (fts_load): Likewise.
27793 (fts_close): Likewise.
27794 (fts_read): Likewise.
27795 (fts_set): Likewise.
27796 (fts_children): Likewise.
27797 (fts_build): Likewise.
27798 (fts_stat): Likewise.
27799 (fts_sort): Likewise.
27800 (fts_alloc): Likewise.
27801 (fts_lfree): Likewise.
27802 (fts_palloc): Likewise.
27803 (fts_padjust): Likewise.
27804 (fts_maxarglen): Likewise.
27805 (fts_safe_changedir): Likewise.
27806 * io/getwd.c (getwd): Likewise.
27807 * io/isatty.c (__isatty): Likewise.
27808 * io/lchown.c (__lchown): Likewise.
27809 * io/link.c (__link): Likewise.
27810 * io/linkat.c (linkat): Likewise.
27811 * io/lseek.c (__libc_lseek): Likewise.
27812 * io/mkdir.c (__mkdir): Likewise.
27813 * io/mkdirat.c (mkdirat): Likewise.
27814 * io/mkfifo.c (mkfifo): Likewise.
27815 * io/mkfifoat.c (mkfifoat): Likewise.
27816 * io/open.c (__libc_open): Likewise.
27817 * io/open64.c (__libc_open64): Likewise.
27818 * io/readlink.c (__readlink): Likewise.
27819 * io/readlinkat.c (readlinkat): Likewise.
27820 * io/rmdir.c (__rmdir): Likewise.
27821 * io/symlink.c (__symlink): Likewise.
27822 * io/symlinkat.c (symlinkat): Likewise.
27823 * io/ttyname.c (ttyname): Likewise.
27824 * io/ttyname_r.c (__ttyname_r): Likewise.
27825 * io/umask.c (__umask): Likewise.
27826 * io/unlink.c (__unlink): Likewise.
27827 * io/unlinkat.c (unlinkat): Likewise.
27828 * io/utime.c (utime): Likewise.
27829 * libio/clearerr.c (clearerr): Likewise.
27830 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27831 * libio/feof.c (_IO_feof): Likewise.
27832 * libio/feof_u.c (feof_unlocked): Likewise.
27833 * libio/ferror.c (_IO_ferror): Likewise.
27834 * libio/ferror_u.c (ferror_unlocked): Likewise.
27835 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27836 * libio/fileno.c (__fileno): Likewise.
27837 * libio/fputc.c (fputc): Likewise.
27838 * libio/fputc_u.c (fputc_unlocked): Likewise.
27839 * libio/fputwc.c (fputwc): Likewise.
27840 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27841 * libio/freopen.c (freopen): Likewise.
27842 * libio/freopen64.c (freopen64): Likewise.
27843 * libio/fseek.c (fseek): Likewise.
27844 * libio/fseeko.c (fseeko): Likewise.
27845 * libio/fseeko64.c (fseeko64): Likewise.
27846 * libio/ftello.c (__ftello): Likewise.
27847 * libio/ftello64.c (ftello64): Likewise.
27848 * libio/fwide.c (fwide): Likewise.
27849 * libio/genops.c (_IO_un_link): Likewise.
27850 (_IO_link_in): Likewise.
27851 (_IO_least_marker): Likewise.
27852 (_IO_switch_to_main_get_area): Likewise.
27853 (_IO_switch_to_backup_area): Likewise.
27854 (_IO_switch_to_get_mode): Likewise.
27855 (_IO_free_backup_area): Likewise.
27856 (_IO_switch_to_put_mode): Likewise.
27857 (__overflow): Likewise.
27858 (__underflow): Likewise.
27859 (__uflow): Likewise.
27860 (_IO_setb): Likewise.
27861 (_IO_doallocbuf): Likewise.
27862 (_IO_default_underflow): Likewise.
27863 (_IO_default_uflow): Likewise.
27864 (_IO_default_xsputn): Likewise.
27865 (_IO_sgetn): Likewise.
27866 (_IO_default_xsgetn): Likewise.
27867 (_IO_sync): Likewise.
27868 (_IO_default_setbuf): Likewise.
27869 (_IO_default_seekpos): Likewise.
27870 (_IO_default_doallocate): Likewise.
27871 (_IO_init): Likewise.
27872 (_IO_old_init): Likewise.
27873 (_IO_default_sync): Likewise.
27874 (_IO_default_finish): Likewise.
27875 (_IO_default_seekoff): Likewise.
27876 (_IO_sputbackc): Likewise.
27877 (_IO_sungetc): Likewise.
27878 (_IO_set_column): Likewise.
27879 (_IO_set_column): Likewise.
27880 (_IO_adjust_column): Likewise.
27881 (_IO_get_column): Likewise.
27882 (_IO_init_marker): Likewise.
27883 (_IO_remove_marker): Likewise.
27884 (_IO_marker_difference): Likewise.
27885 (_IO_marker_delta): Likewise.
27886 (_IO_seekmark): Likewise.
27887 (_IO_unsave_markers): Likewise.
27888 (_IO_nobackup_pbackfail): Likewise.
27889 (_IO_default_pbackfail): Likewise.
27890 (_IO_default_seek): Likewise.
27891 (_IO_default_stat): Likewise.
27892 (_IO_default_read): Likewise.
27893 (_IO_default_write): Likewise.
27894 (_IO_default_showmanyc): Likewise.
27895 (_IO_default_imbue): Likewise.
27896 (_IO_iter_next): Likewise.
27897 (_IO_iter_file): Likewise.
27898 * libio/getc.c (_IO_getc): Likewise.
27899 * libio/getwc.c (_IO_getwc): Likewise.
27900 * libio/iofclose.c (_IO_new_fclose): Likewise.
27901 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27902 * libio/iofflush.c (_IO_fflush): Likewise.
27903 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27904 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27905 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27906 * libio/iofgets.c (_IO_fgets): Likewise.
27907 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27908 * libio/iofgetws.c (fgetws): Likewise.
27909 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27910 * libio/iofopen64.c (_IO_fopen64): Likewise.
27911 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27912 (_IO_cookie_write): Likewise.
27913 (_IO_cookie_seek): Likewise.
27914 (_IO_cookie_close): Likewise.
27915 (_IO_cookie_seekoff): Likewise.
27916 (_IO_old_cookie_seek): Likewise.
27917 * libio/iofputs.c (_IO_fputs): Likewise.
27918 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27919 * libio/iofputws.c (fputws): Likewise.
27920 * libio/iofputws_u.c (fputws_unlocked): Likewise.
27921 * libio/iofread.c (_IO_fread): Likewise.
27922 * libio/iofread_u.c (__fread_unlocked): Likewise.
27923 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27924 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27925 * libio/ioftell.c (_IO_ftell): Likewise.
27926 * libio/iofwrite.c (_IO_fwrite): Likewise.
27927 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27928 * libio/iogets.c (_IO_gets): Likewise.
27929 * libio/iopadn.c (_IO_padn): Likewise.
27930 * libio/iopopen.c (_IO_new_proc_open): Likewise.
27931 (_IO_new_popen): Likewise.
27932 (_IO_new_proc_close): Likewise.
27933 * libio/ioputs.c (_IO_puts): Likewise.
27934 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27935 (_IO_seekoff): Likewise.
27936 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27937 (_IO_seekpos): Likewise.
27938 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27939 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27940 * libio/ioungetc.c (_IO_ungetc): Likewise.
27941 * libio/ioungetwc.c (ungetwc): Likewise.
27942 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27943 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27944 * libio/iowpadn.c (_IO_wpadn): Likewise.
27945 * libio/libc_fatal.c (__libc_fatal): Likewise.
27946 * libio/memstream.c (__open_memstream): Likewise.
27947 (_IO_mem_sync): Likewise.
27948 (_IO_mem_finish): Likewise.
27949 * libio/oldfileops.c (_IO_old_file_init): Likewise.
27950 (_IO_old_file_close_it): Likewise.
27951 (_IO_old_file_finish): Likewise.
27952 (_IO_old_file_fopen): Likewise.
27953 (_IO_old_file_attach): Likewise.
27954 (_IO_old_file_setbuf): Likewise.
27955 (_IO_old_do_write): Likewise.
27956 (old_do_write): Likewise.
27957 (_IO_old_file_underflow): Likewise.
27958 (_IO_old_file_overflow): Likewise.
27959 (_IO_old_file_sync): Likewise.
27960 (_IO_old_file_seekoff): Likewise.
27961 (_IO_old_file_write): Likewise.
27962 (_IO_old_file_xsputn): Likewise.
27963 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27964 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27965 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27966 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27967 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27968 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27969 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27970 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27971 (_IO_old_popen): Likewise.
27972 (_IO_old_proc_close): Likewise.
27973 * libio/oldpclose.c (__old_pclose): Likewise.
27974 * libio/pclose.c (__new_pclose): Likewise.
27975 * libio/peekc.c (_IO_peekc_locked): Likewise.
27976 * libio/putc.c (_IO_putc): Likewise.
27977 * libio/putc_u.c (putc_unlocked): Likewise.
27978 * libio/putchar.c (putchar): Likewise.
27979 * libio/putchar_u.c (putchar_unlocked): Likewise.
27980 * libio/putwc.c (putwc): Likewise.
27981 * libio/putwc_u.c (putwc_unlocked): Likewise.
27982 * libio/putwchar.c (putwchar): Likewise.
27983 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27984 * libio/rewind.c (rewind): Likewise.
27985 * libio/setbuf.c (setbuf): Likewise.
27986 * libio/setlinebuf.c (setlinebuf): Likewise.
27987 * libio/vasprintf.c (_IO_vasprintf): Likewise.
27988 * libio/vscanf.c (_IO_vscanf): Likewise.
27989 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27990 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27991 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27992 * libio/wgenops.c (_IO_least_wmarker): Likewise.
27993 (_IO_switch_to_main_wget_area): Likewise.
27994 (_IO_switch_to_wbackup_area): Likewise.
27995 (_IO_wsetb): Likewise.
27996 (_IO_wdefault_pbackfail): Likewise.
27997 (_IO_wdefault_finish): Likewise.
27998 (_IO_wdefault_uflow): Likewise.
27999 (__woverflow): Likewise.
28000 (__wuflow): Likewise.
28001 (__wunderflow): Likewise.
28002 (_IO_wdefault_xsputn): Likewise.
28003 (_IO_wdefault_xsgetn): Likewise.
28004 (_IO_wdoallocbuf): Likewise.
28005 (_IO_wdefault_doallocate): Likewise.
28006 (_IO_switch_to_wget_mode): Likewise.
28007 (_IO_free_wbackup_area): Likewise.
28008 (_IO_switch_to_wput_mode): Likewise.
28009 (_IO_sputbackwc): Likewise.
28010 (_IO_sungetwc): Likewise.
28011 (_IO_adjust_wcolumn): Likewise.
28012 (_IO_init_wmarker): Likewise.
28013 (_IO_wmarker_delta): Likewise.
28014 (_IO_seekwmark): Likewise.
28015 (_IO_unsave_wmarkers): Likewise.
28016 * libio/wmemstream.c (open_wmemstream): Likewise.
28017 (_IO_wmem_sync): Likewise.
28018 (_IO_wmem_finish): Likewise.
28019 * locale/nl_langinfo.c (nl_langinfo): Likewise.
28020 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28021 * locale/programs/simple-hash.c (init_hash): Likewise.
28022 (delete_hash): Likewise.
28023 (insert_entry): Likewise.
28024 (set_entry): Likewise.
28025 (next_prime): Likewise.
28026 (is_prime): Likewise.
28027 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28028 (xmalloc): Likewise.
28029 (xrealloc): Likewise.
28030 * locale/programs/xstrdup.c (xstrdup): Likewise.
28031 * localedata/collate-test.c (xstrcoll): Likewise.
28032 * localedata/xfrm-test.c (xstrcmp): Likewise.
28033 * login/getlogin_r.c (__getlogin_r): Likewise.
28034 * login/getpt.c (__posix_openpt): Likewise.
28035 * login/login_tty.c (login_tty): Likewise.
28036 * login/setlogin.c (setlogin): Likewise.
28037 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28038 (mach_msg_destroy_port): Likewise.
28039 (mach_msg_destroy_memory): Likewise.
28040 * malloc/mcheck.c (flood): Likewise.
28041 * misc/acct.c (acct): Likewise.
28042 * misc/brk.c (__brk): Likewise.
28043 * misc/chflags.c (chflags): Likewise.
28044 * misc/chroot.c (chroot): Likewise.
28045 * misc/fchflags.c (fchflags): Likewise.
28046 * misc/fstab.c (getfsspec): Likewise.
28047 (getfsfile): Likewise.
28048 * misc/fsync.c (fsync): Likewise.
28049 * misc/ftruncate.c (__ftruncate): Likewise.
28050 * misc/ftruncate64.c (__ftruncate64): Likewise.
28051 * misc/getdomain.c (getdomainname): Likewise.
28052 (getdomainname): Likewise.
28053 * misc/gethostname.c (__gethostname): Likewise.
28054 * misc/getpass.c (getpass): Likewise.
28055 * misc/getttyent.c (skip): Likewise.
28056 (value): Likewise.
28057 * misc/gtty.c (gtty): Likewise.
28058 * misc/hsearch.c (hsearch): Likewise.
28059 (hcreate): Likewise.
28060 * misc/hsearch_r.c (__hcreate_r): Likewise.
28061 (__hdestroy_r): Likewise.
28062 * misc/ioctl.c (__ioctl): Likewise.
28063 * misc/mkdtemp.c (mkdtemp): Likewise.
28064 * misc/mkostemp.c (mkostemp): Likewise.
28065 * misc/mkostemp64.c (mkostemp64): Likewise.
28066 * misc/mkostemps.c (mkostemps): Likewise.
28067 * misc/mkostemps64.c (mkostemps64): Likewise.
28068 * misc/mkstemp.c (mkstemp): Likewise.
28069 * misc/mkstemp64.c (mkstemp64): Likewise.
28070 * misc/mkstemps.c (mkstemps): Likewise.
28071 * misc/mkstemps64.c (mkstemps64): Likewise.
28072 * misc/mktemp.c (__mktemp): Likewise.
28073 * misc/preadv.c (preadv): Likewise.
28074 * misc/preadv64.c (preadv64): Likewise.
28075 * misc/pwritev.c (pwritev): Likewise.
28076 * misc/pwritev64.c (pwritev64): Likewise.
28077 * misc/readv.c (__readv): Likewise.
28078 * misc/revoke.c (revoke): Likewise.
28079 * misc/setdomain.c (setdomainname): Likewise.
28080 * misc/setegid.c (setegid): Likewise.
28081 * misc/seteuid.c (seteuid): Likewise.
28082 * misc/sethostid.c (sethostid): Likewise.
28083 * misc/sethostname.c (sethostname): Likewise.
28084 * misc/setregid.c (__setregid): Likewise.
28085 * misc/setreuid.c (__setreuid): Likewise.
28086 * misc/sstk.c (sstk): Likewise.
28087 * misc/stty.c (stty): Likewise.
28088 * misc/syscall.c (syscall): Likewise.
28089 * misc/syslog.c (setlogmask): Likewise.
28090 * misc/truncate.c (__truncate): Likewise.
28091 * misc/truncate64.c (truncate64): Likewise.
28092 * misc/ualarm.c (ualarm): Likewise.
28093 * misc/usleep.c (usleep): Likewise.
28094 * misc/ustat.c (ustat): Likewise.
28095 * misc/writev.c (__writev): Likewise.
28096 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28097 * nptl/old_pthread_cond_broadcast.c
28098 (__pthread_cond_broadcast_2_0): Likewise.
28099 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28100 Likewise.
28101 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28102 Likewise.
28103 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28104 Likewise.
28105 * nptl/pt-raise.c (raise): Likewise.
28106 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28107 Likewise.
28108 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28109 * nptl/pthread_barrierattr_destroy.c
28110 (pthread_barrierattr_destroy): Likewise.
28111 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28112 Likewise.
28113 * nptl/pthread_barrierattr_setpshared.c
28114 (pthread_barrierattr_setpshared): Likewise.
28115 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28116 Likewise.
28117 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28118 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28119 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28120 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28121 Likewise.
28122 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28123 Likewise.
28124 * nptl/pthread_condattr_getpshared.c
28125 (pthread_condattr_getpshared): Likewise.
28126 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28127 Likewise.
28128 * nptl/pthread_condattr_setpshared.c
28129 (pthread_condattr_setpshared): Likewise.
28130 * nptl/pthread_detach.c (pthread_detach): Likewise.
28131 * nptl/pthread_equal.c (__pthread_equal): Likewise.
28132 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28133 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28134 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28135 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28136 Likewise.
28137 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28138 Likewise.
28139 * nptl/pthread_mutex_getprioceiling.c
28140 (pthread_mutex_getprioceiling): Likewise.
28141 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28142 Likewise.
28143 * nptl/pthread_mutexattr_getprotocol.c
28144 (pthread_mutexattr_getprotocol): Likewise.
28145 * nptl/pthread_mutexattr_getpshared.c
28146 (pthread_mutexattr_getpshared): Likewise.
28147 * nptl/pthread_mutexattr_getrobust.c
28148 (pthread_mutexattr_getrobust): Likewise.
28149 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28150 Likewise.
28151 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28152 Likewise.
28153 * nptl/pthread_mutexattr_setprioceiling.c
28154 (pthread_mutexattr_setprioceiling): Likewise.
28155 * nptl/pthread_mutexattr_setprotocol.c
28156 (pthread_mutexattr_setprotocol): Likewise.
28157 * nptl/pthread_mutexattr_setpshared.c
28158 (pthread_mutexattr_setpshared): Likewise.
28159 * nptl/pthread_mutexattr_setrobust.c
28160 (pthread_mutexattr_setrobust): Likewise.
28161 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28162 Likewise.
28163 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28164 Likewise.
28165 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28166 Likewise.
28167 * nptl/pthread_rwlockattr_getkind_np.c
28168 (pthread_rwlockattr_getkind_np): Likewise.
28169 * nptl/pthread_rwlockattr_getpshared.c
28170 (pthread_rwlockattr_getpshared): Likewise.
28171 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28172 Likewise.
28173 * nptl/pthread_rwlockattr_setkind_np.c
28174 (pthread_rwlockattr_setkind_np): Likewise.
28175 * nptl/pthread_rwlockattr_setpshared.c
28176 (pthread_rwlockattr_setpshared): Likewise.
28177 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28178 Likewise.
28179 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28180 Likewise.
28181 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28182 Likewise.
28183 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28184 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28185 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28186 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28187 * nptl/sem_close.c (sem_close): Likewise.
28188 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28189 * nptl/sem_init.c (__old_sem_init): Likewise.
28190 * nptl/sigaction.c (__sigaction): Likewise.
28191 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28192 * posix/_exit.c (_exit): Likewise.
28193 * posix/alarm.c (alarm): Likewise.
28194 * posix/confstr.c (confstr): Likewise.
28195 * posix/fpathconf.c (__fpathconf): Likewise.
28196 * posix/getgroups.c (__getgroups): Likewise.
28197 * posix/getpgid.c (__getpgid): Likewise.
28198 * posix/group_member.c (__group_member): Likewise.
28199 * posix/pathconf.c (__pathconf): Likewise.
28200 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28201 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28202 * posix/setgid.c (__setgid): Likewise.
28203 * posix/setpgid.c (__setpgid): Likewise.
28204 * posix/setuid.c (__setuid): Likewise.
28205 * posix/sleep.c (__sleep): Likewise.
28206 * posix/sysconf.c (__sysconf): Likewise.
28207 * posix/times.c (__times): Likewise.
28208 * posix/uname.c (__uname): Likewise.
28209 * posix/waitid.c (__waitid): Likewise.
28210 * pwd/getpw.c (__getpw): Likewise.
28211 * resolv/base64.c (b64_pton): Likewise.
28212 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28213 * resolv/gethnamaddr.c (Dprintf): Likewise.
28214 (gethostbyname): Likewise.
28215 (gethostbyname2): Likewise.
28216 (gethostbyaddr): Likewise.
28217 (_sethtent): Likewise.
28218 (_gethtbyname): Likewise.
28219 (_gethtbyname2): Likewise.
28220 (_gethtbyaddr): Likewise.
28221 (map_v4v6_address): Likewise.
28222 (map_v4v6_hostent): Likewise.
28223 (addrsort): Likewise.
28224 (ht_sethostent): Likewise.
28225 (ht_gethostbyname): Likewise.
28226 (ht_gethostbyaddr): Likewise.
28227 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28228 (inet_net_ntop_ipv4): Likewise.
28229 * resolv/inet_neta.c (inet_neta): Likewise.
28230 * resolv/inet_ntop.c (inet_ntop): Likewise.
28231 (inet_ntop4): Likewise.
28232 (inet_ntop6): Likewise.
28233 * resolv/inet_pton.c (__inet_pton): Likewise.
28234 (inet_pton4): Likewise.
28235 (inet_pton6): Likewise.
28236 * resolv/res_debug.c (loc_aton): Likewise.
28237 (loc_ntoa): Likewise.
28238 * resource/getpriority.c (__getpriority): Likewise.
28239 * resource/getrusage.c (__getrusage): Likewise.
28240 * resource/nice.c (nice): Likewise.
28241 * resource/setpriority.c (__setpriority): Likewise.
28242 * resource/setrlimit64.c (setrlimit64): Likewise.
28243 * resource/vlimit.c (vlimit): Likewise.
28244 * resource/vtimes.c (vtimes): Likewise.
28245 * rt/aio_error.c (aio_error): Likewise.
28246 * rt/aio_return.c (aio_return): Likewise.
28247 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28248 * signal/kill.c (__kill): Likewise.
28249 * signal/killpg.c (killpg): Likewise.
28250 * signal/raise.c (raise): Likewise.
28251 * signal/sigaction.c (__sigaction): Likewise.
28252 * signal/sigaddset.c (sigaddset): Likewise.
28253 * signal/sigaltstack.c (sigaltstack): Likewise.
28254 * signal/sigandset.c (sigandset): Likewise.
28255 * signal/sigblock.c (__sigblock): Likewise.
28256 * signal/sigdelset.c (sigdelset): Likewise.
28257 * signal/sigempty.c (sigemptyset): Likewise.
28258 * signal/sigfillset.c (sigfillset): Likewise.
28259 * signal/sighold.c (sighold): Likewise.
28260 * signal/sigignore.c (sigignore): Likewise.
28261 * signal/sigintr.c (siginterrupt): Likewise.
28262 * signal/sigisempty.c (sigisemptyset): Likewise.
28263 * signal/sigismem.c (sigismember): Likewise.
28264 * signal/signal.c (signal): Likewise.
28265 * signal/sigorset.c (sigorset): Likewise.
28266 * signal/sigpause.c (__sigpause): Likewise.
28267 * signal/sigpending.c (sigpending): Likewise.
28268 * signal/sigprocmask.c (__sigprocmask): Likewise.
28269 * signal/sigrelse.c (sigrelse): Likewise.
28270 * signal/sigreturn.c (__sigreturn): Likewise.
28271 * signal/sigset.c (sigset): Likewise.
28272 * signal/sigsetmask.c (__sigsetmask): Likewise.
28273 * signal/sigstack.c (sigstack): Likewise.
28274 * signal/sigsuspend.c (__sigsuspend): Likewise.
28275 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28276 * signal/sysv_signal.c (__sysv_signal): Likewise.
28277 * socket/accept.c (accept): Likewise.
28278 * socket/accept4.c (__libc_accept4): Likewise.
28279 * socket/bind.c (__bind): Likewise.
28280 * socket/connect.c (__connect): Likewise.
28281 * socket/getpeername.c (getpeername): Likewise.
28282 * socket/getsockname.c (__getsockname): Likewise.
28283 * socket/getsockopt.c (getsockopt): Likewise.
28284 * socket/listen.c (__listen): Likewise.
28285 * socket/recv.c (__recv): Likewise.
28286 * socket/recvmsg.c (__recvmsg): Likewise.
28287 * socket/send.c (__send): Likewise.
28288 * socket/sendmsg.c (__sendmsg): Likewise.
28289 * socket/shutdown.c (shutdown): Likewise.
28290 * socket/sockatmark.c (sockatmark): Likewise.
28291 * socket/socket.c (__socket): Likewise.
28292 * stdio-common/ctermid.c (ctermid): Likewise.
28293 * stdio-common/cuserid.c (cuserid): Likewise.
28294 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28295 * stdio-common/remove.c (remove): Likewise.
28296 * stdio-common/rename.c (rename): Likewise.
28297 * stdio-common/renameat.c (renameat): Likewise.
28298 * stdio-common/tempname.c (__gen_tempname): Likewise.
28299 * stdio-common/xbug.c (InitBuffer): Likewise.
28300 (AppendToBuffer): Likewise.
28301 (ReadFile): Likewise.
28302 * stdlib/a64l.c (a64l): Likewise.
28303 * stdlib/drand48_r.c (drand48_r): Likewise.
28304 * stdlib/getcontext.c (getcontext): Likewise.
28305 * stdlib/getenv.c (getenv): Likewise.
28306 * stdlib/l64a.c (l64a): Likewise.
28307 * stdlib/llabs.c (llabs): Likewise.
28308 * stdlib/lldiv.c (lldiv): Likewise.
28309 * stdlib/lrand48_r.c (lrand48_r): Likewise.
28310 * stdlib/mrand48_r.c (mrand48_r): Likewise.
28311 * stdlib/putenv.c (putenv): Likewise.
28312 * stdlib/random.c (__srandom): Likewise.
28313 (__initstate): Likewise.
28314 (__setstate): Likewise.
28315 * stdlib/random_r.c (__srandom_r): Likewise.
28316 (__setstate_r): Likewise.
28317 (__random_r): Likewise.
28318 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28319 * stdlib/setcontext.c (setcontext): Likewise.
28320 * stdlib/setenv.c (setenv): Likewise.
28321 (unsetenv): Likewise.
28322 * stdlib/srand48.c (srand48): Likewise.
28323 * stdlib/srand48_r.c (__srand48_r): Likewise.
28324 * stdlib/swapcontext.c (swapcontext): Likewise.
28325 * stdlib/system.c (__libc_system): Likewise.
28326 * stdlib/tst-strtod.c (expand): Likewise.
28327 * stdlib/tst-strtol.c (expand): Likewise.
28328 * stdlib/tst-strtoll.c (expand): Likewise.
28329 * streams/fattach.c (fattach): Likewise.
28330 * streams/fdetach.c (fdetach): Likewise.
28331 * streams/getmsg.c (getmsg): Likewise.
28332 * streams/isastream.c (isastream): Likewise.
28333 * string/ffs.c (__ffs): Likewise.
28334 * string/ffsll.c (ffsll): Likewise.
28335 * string/memcmp.c (memcmp_common_alignment): Likewise.
28336 (memcmp_not_common_alignment): Likewise.
28337 (MEMCMP): Likewise.
28338 * string/memcpy.c (memcpy): Likewise.
28339 * string/memmove.c (MEMMOVE): Likewise.
28340 * string/memset.c (memset): Likewise.
28341 * string/rawmemchr.c (RAWMEMCHR): Likewise.
28342 * string/strchrnul.c (STRCHRNUL): Likewise.
28343 * string/strerror.c (strerror): Likewise.
28344 * string/strndup.c (__strndup): Likewise.
28345 * string/strverscmp.c (__strverscmp): Likewise.
28346 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28347 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28348 (clnttcp_freeres): Likewise.
28349 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28350 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28351 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28352 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28353 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28354 (xdr_callhdr): Likewise.
28355 * sunrpc/rpcinfo.c (udpping): Likewise.
28356 (tcpping): Likewise.
28357 (pstatus): Likewise.
28358 (pmapdump): Likewise.
28359 (brdcst): Likewise.
28360 (deletereg): Likewise.
28361 (getprognum): Likewise.
28362 (getvers): Likewise.
28363 (get_inet_address): Likewise.
28364 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28365 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28366 (svcudp_stat): Likewise.
28367 (svcudp_recv): Likewise.
28368 (svcudp_reply): Likewise.
28369 (svcudp_getargs): Likewise.
28370 (svcudp_freeargs): Likewise.
28371 (svcudp_destroy): Likewise.
28372 * sunrpc/xdr.c (xdr_bytes): Likewise.
28373 (xdr_netobj): Likewise.
28374 (xdr_string): Likewise.
28375 (xdr_wrapstring): Likewise.
28376 * sunrpc/xdr_float.c (xdr_float): Likewise.
28377 (xdr_double): Likewise.
28378 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28379 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28380 * sysvipc/ftok.c (ftok): Likewise.
28381 * sysvipc/msgctl.c (msgctl): Likewise.
28382 * sysvipc/msgget.c (msgget): Likewise.
28383 * sysvipc/msgrcv.c (msgrcv): Likewise.
28384 * sysvipc/msgsnd.c (msgsnd): Likewise.
28385 * sysvipc/semget.c (semget): Likewise.
28386 * sysvipc/semop.c (semop): Likewise.
28387 * sysvipc/shmat.c (shmat): Likewise.
28388 * sysvipc/shmctl.c (shmctl): Likewise.
28389 * sysvipc/shmdt.c (shmdt): Likewise.
28390 * sysvipc/shmget.c (shmget): Likewise.
28391 * termios/cfmakeraw.c (cfmakeraw): Likewise.
28392 * termios/speed.c (cfgetospeed): Likewise.
28393 (cfgetispeed): Likewise.
28394 (cfsetospeed): Likewise.
28395 (cfsetispeed): Likewise.
28396 * termios/tcflow.c (tcflow): Likewise.
28397 * termios/tcflush.c (tcflush): Likewise.
28398 * termios/tcgetattr.c (__tcgetattr): Likewise.
28399 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28400 * termios/tcgetsid.c (tcgetsid): Likewise.
28401 * termios/tcsendbrk.c (tcsendbreak): Likewise.
28402 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28403 * time/adjtime.c (__adjtime): Likewise.
28404 * time/dysize.c (dysize): Likewise.
28405 * time/ftime.c (ftime): Likewise.
28406 * time/getitimer.c (__getitimer): Likewise.
28407 * time/gettimeofday.c (__gettimeofday): Likewise.
28408 * time/gmtime.c (__gmtime_r): Likewise.
28409 (gmtime): Likewise.
28410 * time/localtime.c (__localtime_r): Likewise.
28411 (localtime): Likewise.
28412 * time/offtime.c (__offtime): Likewise.
28413 * time/settimeofday.c (__settimeofday): Likewise.
28414 * time/stime.c (stime): Likewise.
28415 * time/strftime_l.c (tm_diff): Likewise.
28416 (iso_week_days): Likewise.
28417 * time/strptime.c (strptime): Likewise.
28418 * time/time.c (time): Likewise.
28419 * time/timespec_get.c (timespec_get): Likewise.
28420 * time/tzset.c (tzset_internal): Likewise.
28421 (compute_change): Likewise.
28422 (__tz_compute): Likewise.
28423 * wcsmbs/btowc.c (__btowc): Likewise.
28424 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28425 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28426 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28427 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28428 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28429 * wcsmbs/wcscat.c (__wcscat): Likewise.
28430 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28431 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28432 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28433 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28434 * wcsmbs/wcsdup.c (wcsdup): Likewise.
28435 * wcsmbs/wcslen.c (__wcslen): Likewise.
28436 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28437 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28438 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28439 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28440 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28441 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28442 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28443 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28444 * wcsmbs/wcstok.c (wcstok): Likewise.
28445 * wcsmbs/wctob.c (wctob): Likewise.
28446 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28447 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28448 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28449 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28450 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28451 * wcsmbs/wmemset.c (__wmemset): Likewise.
28452 * wctype/wcfuncs.c (__towlower): Likewise.
28453 (__towupper): Likewise.
28454
28455 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28456 (lll_unlock_elision): Add adapt_count parameter.
28457
28458 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28459
28460 * sysdeps/nptl/configure.ac: Do not give errors based on the
28461 results of top-level configure tests.
28462 * sysdeps/nptl/configure: Regenerated.
28463
28464 * configure.ac (libc_cv_Bgroup): Remove configure test.
28465 * configure: Regenerated.
28466 * config.make.in (have-Bgroup): Remove variable.
28467
28468 * configure.ac (sizeof_long_double): Remove configure test.
28469 * configure: Regenerated.
28470 * config.make.in (sizeof-long-double): Remove variable.
28471
28472 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28473 * configure: Regenerated.
28474 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28475 variable.
28476 (exceptions): Likewise.
28477 * sysdeps/arm/configure: Regenerated.
28478 * config.make.in (exceptions): Remove variable.
28479 * Makeconfig (uses-callbacks): Use -fexceptions instead of
28480 $(exceptions).
28481 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28482 (CFLAGS-vdprintf_chk.c): Likewise.
28483 (CFLAGS-printf_chk.c): Likewise.
28484 (CFLAGS-fprintf_chk.c): Likewise.
28485 (CFLAGS-vprintf_chk.c): Likewise.
28486 (CFLAGS-vfprintf_chk.c): Likewise.
28487 (CFLAGS-gets_chk.c): Likewise.
28488 (CFLAGS-fgets_chk.c): Likewise.
28489 (CFLAGS-fgets_u_chk.c): Likewise.
28490 (CFLAGS-fread_chk.c): Likewise.
28491 (CFLAGS-fread_u_chk.c): Likewise.
28492 (CFLAGS-wprintf_chk.c): Likewise.
28493 (CFLAGS-fwprintf_chk.c): Likewise.
28494 (CFLAGS-vwprintf_chk.c): Likewise.
28495 (CFLAGS-vfwprintf_chk.c): Likewise.
28496 (CFLAGS-fgetws_chk.c): Likewise.
28497 (CFLAGS-fgetws_u_chk.c): Likewise.
28498 * libio/Makefile (CFLAGS-fileops.c): Likewise.
28499 (CFLAGS-fputc.c): Likewise.
28500 (CFLAGS-fputwc.c): Likewise.
28501 (CFLAGS-freopen64.c): Likewise.
28502 (CFLAGS-freopen.c): Likewise.
28503 (CFLAGS-fseek.c): Likewise.
28504 (CFLAGS-fseeko64.c): Likewise.
28505 (CFLAGS-fseeko.c): Likewise.
28506 (CFLAGS-ftello64.c): Likewise.
28507 (CFLAGS-ftello.c): Likewise.
28508 (CFLAGS-fwide.c): Likewise.
28509 (CFLAGS-genops.c): Likewise.
28510 (CFLAGS-getc.c): Likewise.
28511 (CFLAGS-getchar.c): Likewise.
28512 (CFLAGS-getwc.c): Likewise.
28513 (CFLAGS-getwchar.c): Likewise.
28514 (CFLAGS-iofclose.c): Likewise.
28515 (CFLAGS-iofflush.c): Likewise.
28516 (CFLAGS-iofgetpos64.c): Likewise.
28517 (CFLAGS-iofgetpos.c): Likewise.
28518 (CFLAGS-iofgets.c): Likewise.
28519 (CFLAGS-iofgetws.c): Likewise.
28520 (CFLAGS-iofputs.c): Likewise.
28521 (CFLAGS-iofputws.c): Likewise.
28522 (CFLAGS-iofread.c): Likewise.
28523 (CFLAGS-iofsetpos64.c): Likewise.
28524 (CFLAGS-iofsetpos.c): Likewise.
28525 (CFLAGS-ioftell.c): Likewise.
28526 (CFLAGS-iofwrite.c): Likewise.
28527 (CFLAGS-iogetdelim.c): Likewise.
28528 (CFLAGS-iogetline.c): Likewise.
28529 (CFLAGS-iogets.c): Likewise.
28530 (CFLAGS-iogetwline.c): Likewise.
28531 (CFLAGS-ioputs.c): Likewise.
28532 (CFLAGS-ioseekoff.c): Likewise.
28533 (CFLAGS-ioseekpos.c): Likewise.
28534 (CFLAGS-iosetbuffer.c): Likewise.
28535 (CFLAGS-iosetvbuf.c): Likewise.
28536 (CFLAGS-ioungetc.c): Likewise.
28537 (CFLAGS-ioungetwc.c): Likewise.
28538 (CFLAGS-oldfileops.c): Likewise.
28539 (CFLAGS-oldiofclose.c): Likewise.
28540 (CFLAGS-oldiofgetpos64.c): Likewise.
28541 (CFLAGS-oldiofgetpos.c): Likewise.
28542 (CFLAGS-oldiofsetpos64.c): Likewise.
28543 (CFLAGS-oldiofsetpos.c): Likewise.
28544 (CFLAGS-peekc.c): Likewise.
28545 (CFLAGS-putc.c): Likewise.
28546 (CFLAGS-putchar.c): Likewise.
28547 (CFLAGS-putwc.c): Likewise.
28548 (CFLAGS-putwchar.c): Likewise.
28549 (CFLAGS-rewind.c): Likewise.
28550 (CFLAGS-wfileops.c): Likewise.
28551 (CFLAGS-wgenops.c): Likewise.
28552 (CFLAGS-oldiofopen.c): Likewise.
28553 (CFLAGS-iofopen.c): Likewise.
28554 (CFLAGS-iofopen64.c): Likewise.
28555 (CFLAGS-oldtmpfile.c): Likewise.
28556 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28557 (CFLAGS-fprintf.c): Likewise.
28558 (CFLAGS-printf.c): Likewise.
28559 (CFLAGS-vfwprintf.c): Likewise.
28560 (CFLAGS-vfscanf.c): Likewise.
28561 (CFLAGS-vfwscanf.c): Likewise.
28562 (CFLAGS-fscanf.c): Likewise.
28563 (CFLAGS-scanf.c): Likewise.
28564 (CFLAGS-isoc99_vfscanf.c): Likewise.
28565 (CFLAGS-isoc99_vscanf.c): Likewise.
28566 (CFLAGS-isoc99_fscanf.c): Likewise.
28567 (CFLAGS-isoc99_scanf.c): Likewise.
28568 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28569 (CFLAGS-isoc99_fwscanf.c): Likewise.
28570 (CFLAGS-isoc99_vwscanf.c): Likewise.
28571 (CFLAGS-isoc99_vfwscanf.c): Likewise.
28572
28573 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28574 after mkstemp64.
28575 * login/tst-utmp.c (do_prepare): Likewise.
28576 * rt/tst-aio.c (do_prepare): Likewise.
28577 * rt/tst-aio64.c (do_prepare): Likewise.
28578
28579 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28580
28581 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28582 (__lll_lock_elision): Remove adapt_count decrement...
28583 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28584 (__lll_trylock_elision): Likewise.
28585 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28586 (__lll_unlock_elision): ... to here. And utilize
28587 new adapt_count parameter.
28588 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28589 (__lll_unlock_elision): Update to include adapt_count
28590 parameter.
28591 (lll_unlock_elision): Pass pointer to adapt_count
28592 variable.
28593
28594 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
28595
28596 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28597 Add elision adapt_count parameter to list of arguments.
28598 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28599 (lll_unlock_elision): Update with new parameter list
28600 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28601 (lll_unlock_elision): Likewise.
28602 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28603 (lll_unlock_elision): Likewise.
28604
28605 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28606
28607 [BZ #19122]
28608 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28609 attribute_hidden.
28610
28611 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28612 attribute_hidden.
28613 [IS_IN (rtld)] (__strdup): Likewise.
28614 [IS_IN (rtld)] (__strerror_r): Likewise.
28615 [IS_IN (rtld)] (__strsep_g): Likewise.
28616 [IS_IN (rtld)] (memchr): Likewise.
28617 [IS_IN (rtld)] (memcmp): Likewise.
28618 [IS_IN (rtld)] (memcpy): Likewise.
28619 [IS_IN (rtld)] (memmove): Likewise.
28620 [IS_IN (rtld)] (memset): Likewise.
28621 [IS_IN (rtld)] (rawmemchr): Likewise.
28622 [IS_IN (rtld)] (stpcpy): Likewise.
28623 [IS_IN (rtld)] (strchr): Likewise.
28624 [IS_IN (rtld)] (strcmp): Likewise.
28625 [IS_IN (rtld)] (strlen): Likewise.
28626 [IS_IN (rtld)] (strnlen): Likewise.
28627 [IS_IN (rtld)] (strsep): Likewise.
28628
28629 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28630 attribute_hidden.
28631 [IS_IN (rtld)] (__strtoul_internal): Likewise.
28632
28633 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28634 attribute_hidden.
28635 [IS_IN (rtld)] (__libc_sigaction): Likewise.
28636
28637 * include/setjmp.h (__longjmp): Add attribute_hidden.
28638 [IS_IN (rtld)] (__sigsetjmp): Likewise.
28639
28640 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28641 Add attribute_hidden.
28642
28643 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28644 [IS_IN (rtld)] (__open): Likewise.
28645 [IS_IN (rtld)] (__fcntl): Likewise.
28646
28647 * include/dirent.h (__opendirat): Add attribute_hidden.
28648 (__getdents): Likewise.
28649 (__getdents64): Likewise.
28650 (__alloc_dir): Likewise.
28651 [IS_IN (rtld)] (__closedir): Likewise.
28652 [IS_IN (rtld)] (__fdopendir): Likewise.
28653 [IS_IN (rtld)] (__readdir): Likewise.
28654 [IS_IN (rtld)] (__readdir64): Likewise.
28655 [IS_IN (rtld)] (__rewinddir): Likewise.
28656
28657 * include/dlfcn.h (_dl_catch_error): Moved to ...
28658 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
28659 attribute_hidden.
28660
28661 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
28662 (_itoa_word): Likewise.
28663
28664 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
28665 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28666 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28667 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
28668 (_dl_higher_prime_number): Likewise.
28669 (_dl_debug_printf_c): Likewise.
28670 (_dl_signal_cerror): Likewise.
28671 (_dl_receive_error): Likewise.
28672 (_dl_reloc_bad_type): Likewise.
28673 (_dl_resolve_conflicts): Likewise.
28674 (_dl_check_all_versions): Likewise.
28675 (_dl_check_map_versions): Likewise.
28676 (_dl_sort_fini): Likewise.
28677 (_dl_debug_initialize): Likewise.
28678 (_dl_init_paths): Likewise.
28679 (_dl_show_auxv): Likewise.
28680 (_dl_next_ld_env_entry): Likewise.
28681 (_dl_important_hwcaps): Likewise.
28682 (_dl_load_cache_lookup): Likewise.
28683 (_dl_update_slotinfo): Likewise.
28684 (_dl_show_scope): Likewise.
28685
28686 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
28687 attribute_hidden.
28688 (_wordcopy_fwd_dest_aligned): Likewise.
28689 (_wordcopy_bwd_aligned): Likewise.
28690 (_wordcopy_bwd_dest_aligned): Likewise.
28691
28692 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28693 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28694 Likewise.
28695 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28696 Likewise.
28697 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28698
28699 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
28702 GCC 5 requirement.
28703
28704 2015-10-15 Joseph Myers <joseph@codesourcery.com>
28705
28706 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
28707 test.
28708 * sysdeps/i386/configure: Regenerated.
28709 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
28710 code unconditional.
28711
28712 * configure.ac (libc_cv_asm_previous_directive): Remove configure
28713 test.
28714 (libc_cv_asm_popsection_directive): Likewise.
28715 * configure: Regenerated.
28716 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
28717 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
28718 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
28719 (__make_section_unallocated): Make definition unconditional.
28720 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
28721 Remove conditional definition.
28722 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
28723 (__make_section_unallocated): Likewise.
28724
28725 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
28726 * configure: Regenerated.
28727 * config.make.in (static-libgcc): Remove variable.
28728 * Makerules (build-shlib-helper): Use -static-libgcc instead of
28729 $(static-libgcc).
28730 (build-module-helper): Likewise.
28731
28732 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
28733 * configure: Regenerated.
28734
28735 2015-10-15 Florian Weimer <fweimer@redhat.com>
28736
28737 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
28738 (struct char_buffer): New type.
28739 (char_buffer_start, char_buffer_size, char_buffer_error)
28740 (char_buffer_rewind, char_buffer_add): New functions.
28741 (ADDW): Remove macro, replaced by the char_buffer_add function.
28742 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
28743 of extend_alloca. Make control flow more explicit.
28744
28745 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28746
28747 [BZ #19137]
28748 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
28749 Add -fomit-frame-pointer.
28750 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
28751
28752 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
28755 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
28756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28757 only if !__GNUC_PREREQ (5,0).
28758 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
28759 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28760 (INTERNAL_SYSCALL_NCS): Likewise.
28761 (LOADREGS_0): New macro for GCC 5.
28762 (ASMARGS_0): Likewise.
28763 (LOADREGS_1): Likewise.
28764 (ASMARGS_1): Likewise.
28765 (LOADREGS_2): Likewise.
28766 (ASMARGS_2): Likewise.
28767 (LOADREGS_3): Likewise.
28768 (ASMARGS_3): Likewise.
28769 (LOADREGS_4): Likewise.
28770 (ASMARGS_4): Likewise.
28771 (LOADREGS_5): Likewise.
28772 (ASMARGS_5): Likewise.
28773 (LOADREGS_6): Likewise.
28774 (ASMARGS_6): Likewise.
28775
28776 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
28777
28778 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28779 -fomit-frame-pointer.
28780 (CFLAGS-mmap64.c): Likewise.
28781 (CFLAGS-semtimedop.c): Likewise.
28782 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28783 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28784 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28785 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28786
28787 2015-10-15 Florian Weimer <fweimer@redhat.com>
28788
28789 [BZ #18928]
28790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28791 _dl_pointer_guard member.
28792 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28793 initializer.
28794 (security_init): Always set up pointer guard.
28795 (process_envvars): Do not process LD_POINTER_GUARD.
28796
28797 2015-10-14 Joseph Myers <joseph@codesourcery.com>
28798
28799 [BZ #19134]
28800 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28801 (.LC2): Likewise.
28802 (.LC3): Likewise.
28803 (__lround): Do not add 0.5 to integer or out-of-range arguments.
28804
28805 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
28806
28807 [BZ #19129]
28808 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28809 r0 and r1.
28810
28811 2015-10-14 Namhyung Kim <namhyung@gmail.com>
28812
28813 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28814
28815 2015-10-14 Carlos O'Donell <carlos@redhat.com>
28816
28817 * include/stap-probe.h: Fix macro definition formatting.
28818
28819 2015-10-14 Florian Weimer <fweimer@redhat.com>
28820
28821 [BZ #19074]
28822 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28823 load and store num_ifs.
28824
28825 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
28826
28827 [BZ #18822]
28828 * sysdeps/unix/sysv/linux/sched_getaffinity.c
28829 (__sched_getaffinity_new): Add libc_hidden_proto and
28830 libc_hidden_def.
28831
28832 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
28833
28834 [BZ #19007]
28835 * scripts/localplt.awk: Also allow GOT references.
28836 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28837 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28838 with "+ REL R_386_GLOB_DAT".
28839 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28840 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28841
28842 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
28843
28844 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28845 INLINE_SYSCALL_ERROR_RETURN_VALUE.
28846 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28847 Likewise.
28848 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28849 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28850 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28851 INTERNAL_SYSCALLINTERNAL_SYSCALL and
28852 INLINE_SYSCALL_ERROR_RETURN_VALUE.
28853 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28854 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28855 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28856 Likewise.
28857 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28858
28859 2015-10-13 Joseph Myers <joseph@codesourcery.com>
28860
28861 [BZ #19125]
28862 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28863 <math_private.h> and <stdint.h>.
28864 (__llround): Avoid conversions to and from long long int, and
28865 subtractions, where those might raise spurious exceptions.
28866 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28867 <math_private.h> and <stdint.h>.
28868 (__llroundf): Avoid conversions to and from long long int, and
28869 subtractions, where those might raise spurious exceptions.
28870
28871 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
28872
28873 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28874 INLINE_SYSCALL_ERROR_RETURN_VALUE.
28875 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28876 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28877 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28878 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28879 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28880 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28881 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28882 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28883 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28884 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28885 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28886 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28887 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28889 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28890 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28891 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28892 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28894 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28895 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28896 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28897 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28898 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28899 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28900 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28901 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28902 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28903 (__xstat64_conv): Likewise.
28904 (__xstat32_conv): Likewise.
28905
28906 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
28907
28908 * sysdeps/unix/sysv/linux/sysdep.h: New file.
28909 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28910 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28911 <sysdeps/unix/sysv/linux/sysdep.h>.
28912 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28913 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28914 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28915 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28916 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28917 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28918 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28919 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28920 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28925 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28928 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28929 (sysdep-dl-routines): Add sysdep.
28930 [$(subdir) == nptl] (libpthread-routines): Likewise.
28931 [$(subdir) == rt] (librt-routines): Likewise.
28932 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28933 PIC when branching to SYSCALL_ERROR_LABEL.
28934 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28935 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28936 <sysdeps/unix/sysv/linux/sysdep.h>.
28937 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28938 (SYSCALL_ERROR_ERRNO): Removed.
28939 (SYSCALL_ERROR_HANDLER): Changed to empty.
28940 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28941 (__syscall_error): New prototype.
28942 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28943 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28944
28945 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 [BZ #19124]
28948 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28949 (_dl_runtime_resolve_avx512): Make it a hidden alias of
28950 _dl_runtime_resolve_avx.
28951 (_dl_runtime_profile_avx512): Make it a hidden alias of
28952 _dl_runtime_profile_avx.
28953
28954 2015-10-13 Joseph Myers <joseph@codesourcery.com>
28955
28956 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28957 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28958 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28959 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28960
28961 [BZ #16422]
28962 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28963 New configure test.
28964 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28965 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28966 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28967 <math_private.h> and <stdint.h>.
28968 (__llrint): Avoid conversions to long long int where those might
28969 raise spurious exceptions.
28970 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28971 <math_private.h> and <stdint.h>.
28972 (__llrintf): Avoid conversions to long long int where those might
28973 raise spurious exceptions.
28974
28975 2015-10-12 Andreas Schwab <schwab@suse.de>
28976
28977 [BZ #18969]
28978 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
28979 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28980 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
28981 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28982 $(gen-locales).
28983 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
28984 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28985 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28986 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28987 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28988 $(gen-locales).
28989 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
28990 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28991 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28992 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28993 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28994 ($(objpfx)tst-ftell-active-handler.out)
28995 ($(objpfx)tst-ftell-append.out)
28996 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28997 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28998 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28999 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29000 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
29001 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29002 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29003 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29004 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29005 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29006 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29007 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29008 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29009 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29010 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29011 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29012 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29013 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29014 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
29015 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29016 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29017 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29018 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29019 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
29020 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29021 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29022 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29023 $(gen-locales).
29024 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
29025 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29026 $(gen-locales).
29027 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
29028 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29029 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29030 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29031 $(gen-locales).
29032 * libio/tst_wprintf2.c (main): Use explicit locale.
29033 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29034
29035 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29036
29037 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29038 __msg_sig_post.
29039 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29040
29041 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29042
29043 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29044 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29045
29046 * sysdeps/arm/libm-test-ulps: Regenerated.
29047
29048 [BZ #15470]
29049 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29050
29051 [BZ #16399]
29052 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29053 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29054 and <fix-fp-int-convert-overflow.h>.
29055 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29056 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29057 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29058 and <fix-fp-int-convert-overflow.h>.
29059 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29060 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29061 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29062 <fix-fp-int-convert-overflow.h>.
29063 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29064 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29065 * sysdeps/ieee754/dbl-64/s_lround.c: Include
29066 <fix-fp-int-convert-overflow.h>.
29067 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29068 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29069 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29070 and <fix-fp-int-convert-overflow.h>.
29071 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29072 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29073 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29074 <limits.h> and <fix-fp-int-convert-overflow.h>.
29075 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29076 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29077 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29078 and <fix-fp-int-convert-overflow.h>.
29079 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29080 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29081 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29082 and <fix-fp-int-convert-overflow.h>.
29083 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29084 FIX_DBL_LLONG_CONVERT_OVERFLOW.
29085 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29086
29087 2015-10-09 Carlos O'Donell <carlos@redhat.com>
29088
29089 [BZ #18589]
29090 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29091 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29092 $(gen-locales).
29093
29094 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29095 Phil Blundell <pb@pbcl.net>
29096
29097 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29098 * nptl/tst-cancel26.c: New file.
29099 * nptl/tst-cancel27.c: Likewise.
29100
29101 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29104 __ILP32__ isn't defined.
29105 (lrint): Likewise.
29106 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29107 (lrintf): Likewise.
29108 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29109 (lrintl): Likewise.
29110 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29111 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29112 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29113
29114 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29115
29116 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29117 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29118
29119 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29120 file.
29121 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29122 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29123
29124 2015-10-09 Joseph Myers <joseph@codesourcery.com>
29125
29126 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29127 configure test.
29128 * sysdeps/i386/configure: Regenerated.
29129 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29130 configure test.
29131 * sysdeps/x86_64/configure: Regenerated.
29132 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29133 Make code unconditional.
29134
29135 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29136 test.
29137 * sysdeps/i386/configure: Regenerated.
29138 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29139 test.
29140 * sysdeps/x86_64/configure: Regenerated.
29141 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29142 Make code unconditional.
29143 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29144 Likewise.
29145 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29146 Likewise.
29147 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29148 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29149 code unconditional.
29150 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29151 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29152 code unconditional.
29153 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29154 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29155 code unconditional.
29156 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29157 code unconditional.
29158 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29159 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29160 code unconditional.
29161 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29162 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29163 code unconditional.
29164 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29165 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29166 code unconditional.
29167 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29168 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29169 code unconditional.
29170 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29171 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29172
29173 [BZ #19095]
29174 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29175 mantissa to long int before shifting left.
29176
29177 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29178
29179 [BZ #19094]
29180 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29181 <limits.h>.
29182 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29183 when result overflows but exception would not result from cast.
29184 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29185 <limits.h>.
29186 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29187 when result overflows but exception would not result from cast.
29188 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29189 <limits.h>.
29190 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29191 when result overflows but exception would not result from cast.
29192 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29193 <limits.h>.
29194 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29195 when result overflows but exception would not result from cast.
29196 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29197 <limits.h>.
29198 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29199 when result overflows but exception would not result from cast.
29200 * math/libm-test.inc (lrint_test_data): Add more tests.
29201 (llrint_test_data): Likewise.
29202
29203 2015-10-08 Roland McGrath <roland@hack.frob.com>
29204
29205 [BZ #18872]
29206 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29207 Move out from under [$(run-built-tests) = yes] conditional.
29208 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29209 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29210
29211 2015-10-08 Carlos O'Donell <carlos@redhat.com>
29212
29213 [BZ #18589]
29214 * string/Makefile (tests): Add bug-strcoll2.
29215 (LOCALES): Add cs_CZ.UTF-8.
29216 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29217
29218 [BZ #18589]
29219 * string/bug-strcoll2.c: New file.
29220 * locale/categories.def: Revert commit
29221 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29222 * locale/langinfo.h: Likewise.
29223 * locale/localeinfo.h: Likewise.
29224 * locale/C-collate.c: Likewise.
29225 * locale/programs/ld-collate.c (collate_output): Likewise.
29226 * string/strcoll_l.c (STRDIFF): Likewise.
29227 (STRCOLL): Likewise.
29228 * wcsmbs/wcscoll_l.c: Likewise.
29229
29230 2015-10-08 Joseph Myers <joseph@codesourcery.com>
29231
29232 * math/libm-test.inc (lround_test_data): Do not expect the absence
29233 of "inexact" for some tests with non-integer arguments.
29234 (llround_test_data): Likewise.
29235
29236 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29237 test.
29238 (libc_cv_cc_sse2avx): Likewise.
29239 * sysdeps/i386/configure: Regenerated.
29240 * sysdeps/i386/i686/multiarch/Makefile
29241 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29242 [$(subdir) = math].
29243 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29244 code unconditional.
29245 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29246 Likewise.
29247 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29248 Likewise.
29249 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29250 Likewise.
29251 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29252 test.
29253 (libc_cv_cc_sse2avx): Likewise.
29254 * sysdeps/x86_64/configure: Regenerated.
29255 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29256 unconditional.
29257 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29258 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29259 unconditional.
29260 (_dl_runtime_profile)
29261 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29262 conditional code.
29263 * sysdeps/x86_64/fpu/multiarch/Makefile
29264 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29266 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29267 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29268 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29269 * sysdeps/x86_64/fpu/multiarch/e_log.c
29270 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29271 * sysdeps/x86_64/fpu/multiarch/s_atan.c
29272 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29273 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29274 Likewise.
29275 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29276 Likewise.
29277 * sysdeps/x86_64/fpu/multiarch/s_sin.c
29278 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29279 * sysdeps/x86_64/fpu/multiarch/s_tan.c
29280 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29281 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29282 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29283 (HAVE_SSE2AVX_SUPPORT): Likewise.
29284
29285 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
29286
29287 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29288 instead of #pragma optimize.
29289
29290 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29291
29292 [BZ #17195]
29293 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29294 as is similarly done in systrim and _int_free already.
29295
29296 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29297
29298 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29299
29300 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29301
29302 [BZ #19088]
29303 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29304 <limits.h>.
29305 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29306 overflows but exception would not result from cast.
29307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29308 and <limits.h>.
29309 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29310 overflows but exception would not result from cast.
29311 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29312 <limits.h>.
29313 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29314 overflows but exception would not result from cast.
29315 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29316 <limits.h>.
29317 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29318 overflows but exception would not result from cast.
29319 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29320 <limits.h>.
29321 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29322 overflows but exception would not result from cast.
29323 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29324 <limits.h>.
29325 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29326 overflows but exception would not result from cast.
29327 * math/libm-test.inc (lround_test_data): Add more tests.
29328 (llround_test_data): Likewise.
29329
29330 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
29331
29332 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29333 (CFLAGS-ialloc.c): Ditto.
29334 (CFLAGS-scheck.c): Ditto.
29335
29336 2015-10-07 Carlos O'Donell <carlos@redhat.com>
29337
29338 [BZ #19086]
29339 * manual/filesys.texi (Storage Allocation): Fix argument order for
29340 posix_fallocate64.
29341
29342 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29343
29344 [BZ #19085]
29345 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29346 exponent below 48 inside case for non-overflowing exponent.
29347 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29348
29349 2015-10-07 Florian Weimer <fweimer@redhat.com>
29350
29351 * iconvdata/cp737.h (from_idx): Add const.
29352 * iconvdata/cp775.h (from_idx): Likewise.
29353
29354 2015-10-07 Joseph Myers <joseph@codesourcery.com>
29355
29356 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29357 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29358 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29359
29360 [BZ #19079]
29361 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29362 file, conditioned on [!_LP64].
29363 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29364 [!_LP64] (__lround): Do not define as function or alias.
29365 [!_LP64] (lround): Likewise.
29366 [!_LP64] (__lroundl): Likewise.
29367 [!_LP64] (lroundl): Likewise.
29368 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29369 macro.
29370 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29371 Likewise.
29372
29373 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29374
29375 * math/libm-test.inc (lrint_test_data): Add more tests.
29376 (llrint_test_data): Likewise.
29377 (lround_test_data): Likewise.
29378 (llround_test_data): Likewise.
29379
29380 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29381 (llrint_test_data): Add tests used for lrint.
29382
29383 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29384 test.
29385 * sysdeps/i386/configure: Regenerated.
29386 * sysdeps/i386/i686/multiarch/Makefile
29387 [$(config-cflags-sse4) = yes]: Make code unconditional.
29388 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29389 Likewise.
29390 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29391 Likewise.
29392 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29393 test.
29394 * sysdeps/x86_64/configure: Regenerated.
29395 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29396 Make code unconditional.
29397 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29398 Likewise.
29399 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29400 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29401
29402 * scripts/rpm2dynsym.sh: Remove file.
29403
29404 2015-10-06 Florian Weimer <fweimer@redhat.com>
29405
29406 * configure.ac (libc_cv_cxx_thread_local): Define.
29407 * configure: Regenerate.
29408 * config.make.in (have-cxx-thread_local): Define.
29409 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29410 (LDLIBS-tst-thread_local1): Define.
29411 (tests): Add tst-thread_local1.
29412 [have-cxx-thread_local != yes] (tests-unsupported): Add
29413 tst-thread_local1.
29414 * nptl/tst-thread_local1.cc: New file.
29415
29416 2015-10-06 Joseph Myers <joseph@codesourcery.com>
29417
29418 [BZ #19078]
29419 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29420 (u_thres): Likewise.
29421 (__expl): Determine whether to call __kernel_standard_l based on
29422 value of result, not argument.
29423
29424 * math/libm-test.inc (scalb_test_data): Add more expectations for
29425 the "inexact" exception.
29426
29427 [BZ #19077]
29428 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29429 0.0L for argument 1.0L.
29430
29431 [BZ #19076]
29432 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29433 constant 0.0L when computing infinite result.
29434
29435 2015-10-06 Florian Weimer <fweimer@redhat.com>
29436
29437 [BZ #10432]
29438 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29439 malloc_usable_size.
29440
29441 2015-10-06 Florian Weimer <fweimer@redhat.com>
29442
29443 [BZ #19018]
29444 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29445 Mangle function pointer before storing it.
29446 (__call_tls_dtors): Demangle function pointer before calling it.
29447
29448 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29449
29450 [BZ #19012]
29451 * iconv/gconv_db.c (gen_steps): Check for additional errors.
29452 Clean up on failure.
29453
29454 2015-10-05 Joseph Myers <joseph@codesourcery.com>
29455
29456 [BZ #19071]
29457 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29458 long int variable to store possibly incremented high part of
29459 mantissa.
29460 * math/libm-test.inc (lround_test_data): Add tests used for
29461 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
29462 for tests requiring 64-bit long. Do not condition tests on
29463 [TEST_FLOAT] unnecessarily.
29464 (llround_test_data): Add tests used for lround. Add another
29465 expectation for the "inexact" exception. Do not condition tests
29466 on [TEST_FLOAT] unnecessarily.
29467
29468 [BZ #887]
29469 [BZ #19049]
29470 [BZ #19050]
29471 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29472 * sysdeps/ieee754/dbl-64/e_log10.c: Include
29473 <fix-int-fp-convert-zero.h>.
29474 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29475 * sysdeps/ieee754/dbl-64/e_log2.c: Include
29476 <fix-int-fp-convert-zero.h>.
29477 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29478 * sysdeps/ieee754/dbl-64/s_erf.c: Include
29479 <fix-int-fp-convert-zero.h>.
29480 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29481 * sysdeps/ieee754/dbl-64/s_logb.c: Include
29482 <fix-int-fp-convert-zero.h>.
29483 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29484 * sysdeps/ieee754/flt-32/e_log10f.c: Include
29485 <fix-int-fp-convert-zero.h>.
29486 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29487 * sysdeps/ieee754/flt-32/e_log2f.c: Include
29488 <fix-int-fp-convert-zero.h>.
29489 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29490 * sysdeps/ieee754/flt-32/s_erff.c: Include
29491 <fix-int-fp-convert-zero.h>.
29492 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29493 * sysdeps/ieee754/flt-32/s_logbf.c: Include
29494 <fix-int-fp-convert-zero.h>.
29495 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29496 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29497 <fix-int-fp-convert-zero.h>.
29498 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29500 <fix-int-fp-convert-zero.h>.
29501 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29502 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29503 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29504 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29505 file.
29506 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29507
29508 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
29509
29510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29511
29512 2015-10-02 Joseph Myers <joseph@codesourcery.com>
29513
29514 [BZ #19059]
29515 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29516 overflowing computation.
29517 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29518 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29519 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29520 Likewise.
29521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29522 Likewise.
29523 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29524 Likewise.
29525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29526 Likewise.
29527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29529 Likewise.
29530 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29531 Likewise.
29532 * math/libm-test.inc (nexttoward_test_data): Add more tests.
29533
29534 * nss/rewrite_field.c (__nss_rewrite_field): Use
29535 internal_function.
29536 * nss/valid_field.c (__nss_valid_field): Likewise.
29537 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29538
29539 2015-10-02 Florian Weimer <fweimer@redhat.com>
29540
29541 [BZ #18724]
29542 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29543 (__nss_invalid_field_characters, __nss_valid_field)
29544 (__nss_valid_list_field, __nss_rewrite_field): Declare.
29545 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29546 tst-field.c: New file.
29547 * nss/Makefile (routines): Add valid_field, rewrite_field.
29548 (tests-static): Define unconditionally.
29549 (tests): Include tests-static.
29550 [build-static-nss] (tests-static): Use append.
29551 [build-static-nss] (tests): Remove modification.
29552 * nss/getent.c (print_group): Call putgrent. Report error.
29553 (print_gshadow): Call putsgent. Report error.
29554 (print_passwd): Call putpwent. Report error.
29555 (print_shadow): Call putspent. Report error.
29556 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29557 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29558 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
29559 name, password, directory, shell fields for valid syntax. Rewrite
29560 GECOS field to match syntax.
29561 * pwd/Makefile (tests): Add tst-putpwent.
29562 * pwd/tst-putpwent.c: New file.
29563 * grp/putgrent.c (putgrent): Convert to ISO function definition.
29564 Check grName, grpasswd, gr_mem fields for valid syntax.
29565 Change loop variable i to size_t.
29566 * grp/Makefile (tests): Add tst-putgrent.
29567 * grp/tst-putgrent.c: New file.
29568 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29569 valid syntax.
29570 * shadow/Makefile (tests): Add tst-putspent.
29571 * shadow/tst-putspent.c: New file.
29572 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29573 sg_mem fields for valid syntax.
29574 * gshadow/Makefile (tests): Add tst-putsgent.
29575 * gshadow/tst-putsgent.c: New file.
29576
29577 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29578
29579 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29580 assembly instructions.
29581
29582 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29583
29584 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29585 prefix from operands.
29586
29587 2015-10-01 Joseph Myers <joseph@codesourcery.com>
29588
29589 [BZ #16347]
29590 [BZ #19046]
29591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29592 <libc-internal.h>.
29593 (MAXLGM): Do not use diagnostic control macros.
29594 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29595 threshold for ldbl-128ibm.
29596 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29597 instead of multiplying by log then subtracting.
29598 * math/auto-libm-test-in: Add more tests of lgamma.
29599 * math/auto-libm-test-out: Regenerated.
29600
29601 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29602 (TYPE_HEX_DIG): Likewise.
29603 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29604 precisions when printing floating-point numbers.
29605 (check_float_internal): Likewise.
29606
29607 2015-09-30 Joseph Myers <joseph@codesourcery.com>
29608
29609 [BZ #16620]
29610 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29611 of log (10) rounded downward to 48 bits.
29612 (log10_low): Use corresponding low part of log (10).
29613
29614 [BZ #19032]
29615 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29616 compute result as (x - x) / (x - x) not as 0 / 0.
29617 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29618 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29619
29620 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29621 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29622 and expm1.
29623 * math/auto-libm-test-out: Regenerated.
29624 * math/libm-test.inc (acos_test_data): Add more tests.
29625 (asin_test_data): Likewise.
29626 (asinh_test_data): Likewise.
29627 (atan_test_data): Likewise.
29628 (atanh_test_data): Likewise.
29629 (atan2_test_data): Likewise.
29630 (cbrt_test_data): Likewise.
29631 (ceil_test_data): Likewise.
29632 (copysign_test_data): Likewise.
29633 (cos_test_data): Likewise.
29634 (cosh_test_data): Likewise.
29635 (erf_test_data): Likewise.
29636 (erfc_test_data): Likewise.
29637 (exp_test_data): Likewise.
29638 (exp10_test_data): Likewise.
29639 (exp2_test_data): Likewise.
29640 (expm1_test_data): Likewise.
29641 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29642
29643 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
29644
29645 [BZ #19006]
29646 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29647 to ...
29648 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29649 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29650 to ...
29651 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29652 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29653 to ...
29654 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29655 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29656 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29657 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
29658 to ...
29659 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
29660 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29661 Moved to ...
29662 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
29663 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29664 Moved to ...
29665 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
29666 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
29667 to ...
29668 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
29669 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29670 Moved to ...
29671 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
29672 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
29673 to ...
29674 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
29675 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
29676 Removed.
29677 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
29678 Likewise.
29679 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
29680 Likewise.
29681 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
29682 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
29683 Likewise.
29684 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29685 Likewise.
29686 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29687 Likewise.
29688 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29689 Likewise.
29690 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29691 Likewise.
29692 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
29693 Likewise.
29694 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
29695 Likewise.
29696 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
29697 Likewise.
29698 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
29699 Likewise.
29700 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
29701 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
29702 Likewise.
29703 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29704 Likewise.
29705 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29706 Likewise.
29707 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29708 Likewise.
29709 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
29710 Likewise.
29711 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29712 Replace ../i486/pthread_cond_timedwait.S with
29713 ../pthread_cond_timedwait.S.
29714
29715 2015-09-30 Joseph Myers <joseph@codesourcery.com>
29716
29717 * math/libm-test.inc (acos_test_data): Refine expectations for
29718 errno and "inexact" exceptions.
29719 (acosh_test_data): Likewise.
29720 (asin_test_data): Likewise.
29721 (asinh_test_data): Likewise.
29722 (atan_test_data): Likewise.
29723 (atanh_test_data): Likewise.
29724 (atan2_test_data): Likewise.
29725 (cbrt_test_data): Likewise.
29726 (ceil_test_data): Likewise.
29727 (copysign_test_data): Likewise.
29728 (cosh_test_data): Likewise.
29729 (erf_test_data): Likewise.
29730 (erfc_test_data): Likewise.
29731 (exp_test_data): Likewise.
29732 (exp10_test_data): Likewise.
29733 (exp2_test_data): Likewise.
29734 (expm1_test_data): Likewise.
29735 (fabs_test_data): Likewise.
29736 (floor_test_data): Likewise.
29737 (fma_test_data): Likewise.
29738 (fmax_test_data): Likewise.
29739 (fmin_test_data): Likewise.
29740 (fmod_test_data): Likewise.
29741 (fpclassify_test_data): Likewise.
29742 (frexp_test_data): Likewise.
29743 (hypot_test_data): Likewise.
29744 (ilogb_test_data): Likewise.
29745 (isgreater_test_data): Likewise.
29746 (isgreaterequal_test_data): Likewise.
29747 (isinf_test_data): Likewise.
29748 (isless_test_data): Likewise.
29749 (islessequal_test_data): Likewise.
29750 (islessgreater_test_data): Likewise.
29751 (isnan_test_data): Likewise.
29752 (isnormal_test_data): Likewise.
29753 (issignaling_test_data): Likewise.
29754 (isunordered_test_data): Likewise.
29755 (j0_test_data): Likewise.
29756 (j1_test_data): Likewise.
29757 (jn_test_data): Likewise.
29758 (lgamma_test_data): Likewise.
29759 (lrint_test_data): Likewise.
29760 (llrint_test_data): Likewise.
29761 (log_test_data): Likewise.
29762 (log10_test_data): Likewise.
29763 (log1p_test_data): Likewise.
29764 (log2_test_data): Likewise.
29765 (logb_test_data): Likewise.
29766 (lround_test_data): Likewise.
29767 (llround_test_data): Likewise.
29768 (modf_test_data): Likewise.
29769 (nearbyint_test_data): Likewise.
29770 (nextafter_test_data): Likewise.
29771 (nexttoward_test_data): Likewise.
29772 (pow_test_data): Likewise.
29773 (remainder_test_data): Likewise.
29774 (remquo_test_data): Likewise.
29775 (rint_test_data): Likewise.
29776 (round_test_data): Likewise.
29777 (signbit_test_data): Likewise.
29778 (sinh_test_data): Likewise.
29779 (sqrt_test_data): Likewise.
29780 (tanh_test_data): Likewise.
29781 (tgamma_test_data): Likewise.
29782 (trunc_test_data): Likewise.
29783 (y0_test_data): Likewise.
29784 (y1_test_data): Likewise.
29785 (yn_test_data): Likewise.
29786 (significand_test_data): Likewise.
29787
29788 2015-09-29 Carlos O'Donell <carlos@redhat.com>
29789
29790 * manual/filesys.texi (Storage Allocation): Document that
29791 posix_fallocate emulation fails when fd is open with O_WRONLY.
29792
29793 2015-09-28 Joseph Myers <joseph@codesourcery.com>
29794
29795 [BZ #19016]
29796 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29797 allow more cases with X^2 + Y^2 >= 0.5.
29798 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
29799 normal element in sum instead of special-casing based on values of
29800 arguments.
29801 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29802 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
29803 -1 as normal element in sum instead of special-casing based on
29804 values of arguments.
29805 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29806 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29807 (__x2y2m1): Update comment.
29808 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
29809 as normal element in sum instead of special-casing based on values
29810 of arguments.
29811 * math/s_clog.c (__clog): Handle more cases using log1p without
29812 hypot.
29813 * math/s_clog10.c (__clog10): Likewise.
29814 * math/s_clog10f.c (__clog10f): Likewise.
29815 * math/s_clog10l.c (__clog10l): Likewise.
29816 * math/s_clogf.c (__clogf): Likewise.
29817 * math/s_clogl.c (__clogl): Likewise.
29818 * math/auto-libm-test-in: Add more tests of clog and clog10.
29819 * math/auto-libm-test-out: Regenerated.
29820 * sysdeps/i386/fpu/libm-test-ulps: Update.
29821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29822
29823 2015-09-28 Martin Sebor <msebor@redhat.com>
29824
29825 [BZ #18969]
29826 * string/Makefile (LOCALES): Define.
29827 (gen-locales.mk): Include.
29828 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29829 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29830 * string/tst-strxfrm2.c (do_test): Print the name of the locale
29831 on setlocale failure.
29832
29833 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
29834
29835 [BZ #18985]
29836 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29837 (__strftime_internal): Likewise.
29838 * time/tst-strftime.c (do_bz18985): New test.
29839 (do_test): Call it.
29840
29841 2015-09-26 Joseph Myers <joseph@codesourcery.com>
29842
29843 [BZ #18956]
29844 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29845 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
29846 extracting high part.
29847 * math/auto-libm-test-in: Add another test of pow.
29848 * math/auto-libm-test-out: Regenerated.
29849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29850
29851 2015-09-25 Joseph Myers <joseph@codesourcery.com>
29852
29853 [BZ #18825]
29854 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29855 New macro.
29856 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29857 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29858 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29859 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29860 DBL_NARROW_EVAL, reloading the PIC register as needed.
29861 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29862 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29863 FLT_NARROW_EVAL. Use separate return path for case when first
29864 argument is NaN.
29865 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
29866 DEFINE_LDBL_MIN.
29867 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29868 PIC register.
29869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29870 math_check_force_underflow_nonneg.
29871 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29872 underflow for subnormal result.
29873 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29875 math_check_force_underflow_nonneg.
29876 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29877 math_check_force_underflow.
29878 * sysdeps/x86_64/fpu/x86_64-math-asm.h
29879 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29880 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
29881 DEFINE_LDBL_MIN.
29882 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29883 * math/auto-libm-test-in: Add more tests of pow.
29884 * math/auto-libm-test-out: Regenerated.
29885
29886 2015-09-25 Florian Weimer <fweimer@redhat.com>
29887
29888 * nss/bug17079.c (init_test_items): Add diagnostic for
29889 inconsistent entries.
29890 (test_buffer_size): Skip inconsistent entries.
29891
29892 2015-09-25 Joseph Myers <joseph@codesourcery.com>
29893
29894 [BZ #13304]
29895 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29896 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29897 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29898
29899 [BZ #13304]
29900 * sysdeps/microblaze/s_fma.c: New file.
29901 * sysdeps/microblaze/s_fmaf.c: Likewise.
29902 * sysdeps/microblaze/sfp-machine.h: Likewise.
29903
29904 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
29905
29906 [BZ #17250]
29907 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29908 member.
29909
29910 2015-09-24 Joseph Myers <joseph@codesourcery.com>
29911
29912 [BZ #18803]
29913 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29914 (MO): New macro.
29915 (__ieee754_hypot) [PIC]: Load PIC register.
29916 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29917 DBL_NARROW_EVAL.
29918 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29919 math_check_force_underflow_nonneg in case where result might be
29920 tiny.
29921 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29922 Likewise.
29923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29924 Likewise.
29925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29926 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29927 * math/auto-libm-test-in: Add more tests of hypot.
29928 * math/auto-libm-test-out: Regenerated.
29929
29930 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
29931
29932 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29933
29934 2015-09-24 Joseph Myers <joseph@codesourcery.com>
29935
29936 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29937 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29938 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29939 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29940 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29941 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29942 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29943
29944 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29945 LOAD_PIC_REG.
29946
29947 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29948 (FLT_CHECK_FORCE_UFLOW): Likewise.
29949 (DBL_CHECK_FORCE_UFLOW): Likewise.
29950 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29951 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29952 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29953 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29954 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29955 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29956 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29957 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29958 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29959 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29960 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29961 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29962 (flt_min): Replace with use of DEFINE_FLT_MIN.
29963 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29964 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29965 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29966 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29967 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29968 (flt_min): Replace with use of DEFINE_FLT_MIN.
29969 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29970 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29971 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29972 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29973 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29974 (flt_min): Replace with use of DEFINE_FLT_MIN.
29975 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29976 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29977 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29978 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29979 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29980 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29981 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29982 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29983 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29984 (__atan): Use DBL_CHECK_FORCE_UFLOW.
29985 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29986 (flt_min): Replace with use of DEFINE_FLT_MIN.
29987 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29988 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29989 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29990 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
29991 main computation.
29992 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29993 (flt_min): Replace with use of DEFINE_FLT_MIN.
29994 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
29995 main computation.
29996 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29997 (dbl_min): Replace with use of DEFINE_DBL_MIN.
29998 (MO): New macro.
29999 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30000 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30001 (flt_min): Replace with use of DEFINE_FLT_MIN.
30002 (MO): New macro.
30003 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30004 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30005 (__log1pl): Use MO.
30006
30007 [BZ #19003]
30008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30009 $(config-cflags-nofma).
30010
30011 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
30012
30013 * sysdeps/aarch64/libm-test-ulps: Regenerated.
30014
30015 2015-09-23 Joseph Myers <joseph@codesourcery.com>
30016
30017 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30018 (TWO127): Likewise.
30019
30020 * sysdeps/generic/math_private.h (fabs_tg): New macro.
30021 (min_of_type): Likewise.
30022 (math_check_force_underflow): Likewise.
30023 (math_check_force_underflow_nonneg): Likewise.
30024 (math_check_force_underflow_complex): Likewise.
30025 * math/e_exp2l.c (__ieee754_exp2l): Use
30026 math_check_force_underflow_nonneg.
30027 * math/k_casinh.c (__kernel_casinh): Likewise.
30028 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30029 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30030 * math/s_catan.c (__catan): Use
30031 math_check_force_underflow_complex.
30032 * math/s_catanf.c (__catanf): Likewise.
30033 * math/s_catanh.c (__catanh): Likewise.
30034 * math/s_catanhf.c (__catanhf): Likewise.
30035 * math/s_catanhl.c (__catanhl): Likewise.
30036 * math/s_catanl.c (__catanl): Likewise.
30037 * math/s_ccosh.c (__ccosh): Likewise.
30038 * math/s_ccoshf.c (__ccoshf): Likewise.
30039 * math/s_ccoshl.c (__ccoshl): Likewise.
30040 * math/s_cexp.c (__cexp): Likewise.
30041 * math/s_cexpf.c (__cexpf): Likewise.
30042 * math/s_cexpl.c (__cexpl): Likewise.
30043 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30044 * math/s_clog10.c (__clog10): Likewise.
30045 * math/s_clog10f.c (__clog10f): Likewise.
30046 * math/s_clog10l.c (__clog10l): Likewise.
30047 * math/s_clogf.c (__clogf): Likewise.
30048 * math/s_clogl.c (__clogl): Likewise.
30049 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30050 * math/s_csinf.c (__csinf): Likewise.
30051 * math/s_csinh.c (__csinh): Likewise.
30052 * math/s_csinhf.c (__csinhf): Likewise.
30053 * math/s_csinhl.c (__csinhl): Likewise.
30054 * math/s_csinl.c (__csinl): Likewise.
30055 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30056 * math/s_csqrtf.c (__csqrtf): Likewise.
30057 * math/s_csqrtl.c (__csqrtl): Likewise.
30058 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30059 * math/s_ctanf.c (__ctanf): Likewise.
30060 * math/s_ctanh.c (__ctanh): Likewise.
30061 * math/s_ctanhf.c (__ctanhf): Likewise.
30062 * math/s_ctanhl.c (__ctanhl): Likewise.
30063 * math/s_ctanl.c (__ctanl): Likewise.
30064 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30065 instead of volatile.
30066 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30067 math_check_force_underflow.
30068 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30069 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30070 volatile when forcing underflow.
30071 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30072 math_check_force_underflow_nonneg.
30073 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30074 Likewise.
30075 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30076 math_check_force_underflow.
30077 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30078 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30079 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30080 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30081 math_check_force_underflow_nonneg.
30082 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30083 math_check_force_underflow.
30084 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30086 instead of volatile.
30087 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30088 math_check_force_underflow.
30089 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30091 math_check_force_underflow_nonneg.
30092 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30093 math_check_force_underflow.
30094 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30095 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30096 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30097 math_check_force_underflow_nonneg.
30098 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30099 Likewise.
30100 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30101 math_check_force_underflow.
30102 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30103 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30104 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30105 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30106 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30107 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30108 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30109 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30110 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30111 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30112 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30113 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30114 Likewise.
30115 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30116 math_check_force_underflow_nonneg.
30117 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30118 Likewise.
30119 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30120 math_check_force_underflow.
30121 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30122 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30123 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30124 Likewise.
30125 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30126 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30127 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30128 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30129 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30130 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30132 instead of volatile.
30133 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30134 math_check_force_underflow.
30135 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30137 math_check_force_underflow.
30138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30139 Likewise.
30140 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30141 Use math_check_force_underflow_nonneg.
30142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30143 math_check_force_underflow.
30144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30145 Likewise.
30146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30147 Likewise.
30148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30149 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30151 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30153 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30154 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30155 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30157 math_check_force_underflow_nonneg.
30158 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30159 math_check_force_underflow.
30160 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30161 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30162 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30163 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30164 math_check_force_underflow_nonneg.
30165 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30166 math_check_force_underflow.
30167 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30168 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30169 instead of volatile.
30170 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30171 math_check_force_underflow.
30172
30173 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30174 * stdlib/strtod_l.c: Include <math_private.h>.
30175 (overflow_value): Use math_narrow_eval.
30176 (underflow_value): Likewise.
30177 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30178 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30179 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30180 (__ieee754_gamma_r): Likewise.
30181 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30182 Likewise.
30183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30184 Likewise.
30185 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30186 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30187 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30188 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30189 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30190 (__ieee754_gammaf_r): Likewise.
30191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30192 Likewise.
30193 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30194 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30195 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30196 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30197 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30198 volatile.
30199 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30201 math_narrow_eval.
30202 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30203 Likewise.
30204 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30205 Likewise.
30206 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30207 Likewise.
30208 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30209 volatile.
30210 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30212 math_narrow_eval.
30213 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30214 Likewise.
30215 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30216 Likewise.
30217
30218 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
30219
30220 * nptl/Versions: Remove ignored symbols.
30221
30222 2015-09-22 Florian Weimer <fweimer@redhat.com>
30223
30224 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
30225 * nss/Makefile (tests): Update.
30226
30227 2015-09-22 Florian Weimer <fweimer@redhat.com>
30228
30229 * nss/bug18287.c: New file.
30230 * nss/Makefile (tests): Add bug18287.
30231
30232 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30233
30234 * mach/Versions (__mach_host_self_): Add symbol.
30235
30236 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
30237
30238 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30239 vm_page_size.
30240
30241 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
30242
30243 Really fix sysdeps/i386/fpu/s_scalbn.S build
30244
30245 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30246 (libc: GLIBC_2_22): Remove unused version set.
30247
30248 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30249
30250 * config.make.in (enable-timezone-tools): New variable.
30251 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30252 (enable_timezone_tools): Export to generated files.
30253 * configure: Regenerate.
30254 * INSTALL: Regenerate.
30255 * manual/install.texi (--disable-timezone-tools): Document new flag.
30256 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30257 ifeq ($(enable-timezone-tools),yes) check.
30258
30259 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30260
30261 * timezone/Makefile: Revert previous change.
30262
30263 [BZ #18980]
30264 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30265 (DEFINE_DBL_MIN): Likewise.
30266 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30267 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30268 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30269 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30270 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30271 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30272 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30273 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30274 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30275 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30276 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30277 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30278 (flt_min): Replace with use of DEFINE_FLT_MIN.
30279 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30280 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30281 (dbl_min): Replace with use of DEFINE_DBL_MIN.
30282 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30283 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30284 (flt_min): Replace with use of DEFINE_FLT_MIN.
30285 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30286 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30287 (flt_min): Replace with use of DEFINE_FLT_MIN.
30288 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30289 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30290 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30291 (__ieee754_hypot): Use DBL_NARROW_EVAL.
30292 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30293 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30294 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30295 (__ieee754_pow): Use DBL_NARROW_EVAL.
30296 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30297 (__ieee754_powf): Use FLT_NARROW_EVAL.
30298 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30299 (__ieee754_expf_sse2): Convert double-precision result to single
30300 precision.
30301 * sysdeps/i386/fpu/libm-test-ulps: Update.
30302
30303 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30304
30305 * timezone/Makefile: Ignore unused variable errors due to private.h
30306 (time_t_min) and (time_t_max).
30307 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
30308 Likewise.
30309
30310 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30311
30312 [BZ #18981]
30313 * sysdeps/i386/fpu/i386-math-asm.h: New file.
30314 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30315 (__ieee754_scalb): Use DBL_NARROW_EVAL.
30316 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30317 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30318 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30319 (__scalbn): Use DBL_NARROW_EVAL.
30320 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30321 (__scalbnf): Use FLT_NARROW_EVAL.
30322
30323 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30324
30325 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30326 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30327 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30328 * stdio-common/printf_fp.c (___printf_fp):
30329 Use signbit to get the sign. Use isinf macro to allow inlining.
30330 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30331 * stdio-common/printf_size.c (__printf_size): Likewise.
30332
30333 2015-09-18 Mike Frysinger <vapier@gentoo.org>
30334
30335 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30336
30337 2015-09-18 Joseph Myers <joseph@codesourcery.com>
30338
30339 [BZ #18980]
30340 * sysdeps/generic/math_private.h: Include <float.h>.
30341 (math_narrow_eval): New macro.
30342 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30343 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30344 math_narrow_eval on overflowing return value.
30345 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30346 Likewise.
30347 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30348 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30349 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30350 Likewise.
30351 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30352
30353 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30354
30355 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30356 * math/Makefile: Remove isinf_ns.c.
30357 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30358 * math/multc3.c (__multc3): Likewise.
30359 * math/s_casin.c (__casin): Likewise.
30360 * math/s_casinf.c (__casinf): Likewise.
30361 * math/s_casinl.c (__casinl): Likewise.
30362 * math/s_cproj.c (__cproj): Likewise.
30363 * math/s_cprojf.c (__cprojf): Likewise.
30364 * math/s_cprojl.c (__cprofl): Likewise.
30365 * math/s_ctan.c (__ctan): Likewise.
30366 * math/s_ctanf.c (__ctanf): Likewise.
30367 * math/s_ctanh.c (__ctanh): Likewise.
30368 * math/s_ctanhf.c (__ctanhf): Likewise.
30369 * math/s_ctanhl.c (__ctanhl): Likewise.
30370 * math/s_ctanl.c (__ctanl): Likewise.
30371 * math/w_fmod.c (__fmod): Likewise.
30372 * math/w_fmodf.c (__fmodf): Likewise.
30373 * math/w_fmodl.c (_fmodl): Likewise.
30374 * math/w_remainder.c (__remainder): Likewise.
30375 * math/w_remainderf.c (__remainderf): Likewise.
30376 * math/w_remainderl.c (__remainderl): Likewise.
30377 * math/w_scalb.c (__scalb): Likewise.
30378 * math/w_scalbf.c (__scalbf): Likewise.
30379 * math/w_scalbl.c (__scalbl): Likewise.
30380 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30381 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30382 with isinf.
30383 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30385 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30386 __isinf_nsf with isinf.
30387 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30388 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30389 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30390 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30391 with isinf.
30392 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30393 __isinf_nsl with isinf.
30394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30395 with isinf.
30396 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30397 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30398 __isinf_nsl with isinf.
30399 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30400 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30401 with isinf.
30402
30403 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30404
30405 * resolv/base64.c (rcsid): Remove unused static.
30406 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30407 static. (tqpi1): Likewise.
30408 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30409 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30410 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30411 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30412 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30413 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30414 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30415 * timezone/private.h (time_t_min): Likewise. (time_t_max):
30416 Likewise.
30417
30418 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
30419
30420 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30421 <nptl/pthreadP.h>.
30422 (_longjmp_unwind): Use __libc_ptf_call.
30423 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30424
30425 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
30426
30427 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30428 * sysdeps/arm/__longjmp.S: Likewise.
30429
30430 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30431
30432 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30433 Use __builtin_signbit.
30434 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30435 Use __builtin_signbitf.
30436 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30437 Use __builtin_signbitl.
30438 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30439 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30440
30441 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30442
30443 [BZ #15367]
30444 [BZ #17441]
30445
30446 * math/Makefile: Build test-snan.c with -fsignaling-nans.
30447 * math/math.h (fpclassify): Use __builtin_fpclassify when
30448 available. (signbit): Use __builtin_signbit(f/l).
30449 (isfinite): Use__builtin_isfinite. (isnormal): Use
30450 __builtin_isnormal. (isnan): Use __builtin_isnan.
30451 (isinf): Use __builtin_isinf_sign.
30452
30453 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
30454
30455 * benchtests/Makefile: Add bench-math-inlines, link with libm.
30456 * benchtests/bench-math-inlines.c: New benchmark.
30457 * benchtests/bench-util.h: New file.
30458 * benchtests/bench-util.c: New file.
30459 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30460
30461 2015-09-18 Carlos O'Donell <carlos@redhat.com>
30462
30463 * elf/tst-dlmopen1.c: Define TEST_SO.
30464 (do_test): Use TEST_SO.
30465
30466 * elf/dl-load.c: Include libc-internal.h.
30467 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30468
30469 2015-09-18 Vincent Bernat <vincent@bernat.im>
30470
30471 [BZ #17887]
30472 * time/strptime_l.c (__strptime_internal): Make %z accept
30473 [+-]HH:MM time zones.
30474
30475 2015-09-18 Vincent Bernat <vincent@bernat.im>
30476
30477 [BZ #17886]
30478 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30479 valid time zone.
30480
30481 2015-09-17 Mike Frysinger <vapier@gentoo.org>
30482
30483 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30484 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30485 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30486 (__ASSUME_FDATASYNC): Delete.
30487
30488 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30489
30490 * conform/linknamespace.pl: Require weak undefined symbols to be
30491 in the standard namespace.
30492 (%strong_syms): Rename to %seen_syms.
30493 (%strong_seen): Rename to %seen_where.
30494
30495 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
30496
30497 [BZ #18970]
30498 * misc/error.c (error): Replace pthread_setcancelstate with
30499 __pthread_setcancelstate.
30500 (error_at_line): Likewise.
30501 * posix/wordexp.c (parse_comm): Likewise.
30502 * stdlib/fmtmsg.c (fmtmsg): Likewise.
30503 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30504 (__pthread_setcancelstate): This.
30505 (pthread_setcancelstate): Add an alias.
30506 * nptl/nptl-init.c (pthread_functions): Replace
30507 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30508 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30509 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30510 hidden_proto.
30511 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30512 it with hidden_def.
30513 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30514 (pthread_setcancelstate): Renamed to ...
30515 (__pthread_setcancelstate): This.
30516 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30517 __libc_ptf_call with __pthread_setcancelstate.
30518
30519 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30520 Andreas Schwab <schwab@suse.de>
30521
30522 [BZ #17118]
30523 * math/s_ctan.c (__ctan): Determine sign of zero real part of
30524 result when imaginary part of argument is infinite using sine and
30525 cosine.
30526 * math/s_ctanf.c (__ctanf): Likewise.
30527 * math/s_ctanl.c (__ctanl): Likewise.
30528 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30529 of result when real part of argument is infinite using sine and
30530 cosine.
30531 * math/s_ctanhf.c (__ctanhf): Likewise.
30532 * math/s_ctanhl.c (__ctanhl): Likewise.
30533 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30534 (ctanh_test_data): Add more tests of ctanh.
30535
30536 2015-09-17 Joseph Myers <joseph@codesourcery.com>
30537
30538 [BZ #15384]
30539 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30540 bit-mask as in subtraction.
30541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30542 Likewise.
30543 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30544 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30545 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30546
30547 [BZ #18951]
30548 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30549 underflow exception for small results.
30550 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30551 Likewise.
30552 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30553 Likewise.
30554 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30555 Likewise.
30556 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30557 Likewise.
30558 * math/auto-libm-test-in: Add more tests of tgamma.
30559 * math/auto-libm-test-out: Regenerated.
30560
30561 2015-09-17 Andreas Schwab <schwab@suse.de>
30562
30563 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30564
30565 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30566
30567 [BZ #18977]
30568 * math/bits/mathcalls.h
30569 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30570 not declare.
30571 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30572 Likewise.
30573 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30574 Likewise.
30575 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30576 Likewise.
30577 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30578 Likewise.
30579 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30580 Likewise.
30581 * conform/data/math.h-data
30582 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30583 function.
30584 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30585 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30586 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30587 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30588 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30589 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30590 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30591 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30592 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30593 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30594 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30595
30596 [BZ #6803]
30597 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30598 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30599 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30600 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30601 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30602 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30603 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30604 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30605 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30607 Likewise.
30608 [NO_LONG_DOUBLE] (scalbnl): Likewise.
30609 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30612 long_double_symbol calls.
30613 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30614 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30615 strong alias of __ldexpl.
30616 (scalbnl): Define using long_double_symbol.
30617 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30618 Remove alias.
30619 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30620 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30621 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30622 (scalbln_test_data): Add more errno expectations.
30623
30624 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
30625
30626 Cache the host port like we cache the task port. This way we do not
30627 need to call the kernel just to get the port. Furthermore, we no
30628 longer increase the reference count on every invocation of
30629 `mach_host_self'.
30630
30631 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30632 Protect declarations against the macro expansion.
30633 * mach/mach_init.c (__mach_host_self_): New variable.
30634 (mach_init): Initialize `__mach_host_self_'.
30635 * mach/mach_init.h (__mach_host_self_): New declaration.
30636 (__mach_host_self, mach_host_self): New macros.
30637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30638 Release reference.
30639
30640 2015-09-16 Joseph Myers <joseph@codesourcery.com>
30641
30642 [BZ #4404]
30643 * po/de.po: Update from Translation Project.
30644
30645 [BZ #16415]
30646 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30647 (__expm1l): Remove code to handle positive infinity and overflow.
30648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30649 variable.
30650 (__expm1l): Remove code to handle positive infinity and overflow.
30651
30652 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
30653 Paul Pluzhnikov <ppluzhnikov@google.com>
30654
30655 [BZ #18872]
30656 * stdio-common/Makefile (tst-printf-bz18872): New test.
30657 (tst-printf-bz18872-mem.out): Likewise.
30658 * stdio-common/tst-printf-bz18872.sh: Generate new test.
30659 * stdio-common/vfprintf.c: Fix memory leaks.
30660
30661 2015-09-16 Andreas Schwab <schwab@suse.de>
30662
30663 [BZ #17244]
30664 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
30665 Remove extra va_start/va_end calls.
30666
30667 [BZ #17243]
30668 * posix/execl.c (execl): Add missing va_end.
30669 * posix/execle.c (execle): Likewise.
30670 * posix/execlp.c (execlp): Likewise.
30671
30672 2015-09-15 Roland McGrath <roland@hack.frob.com>
30673
30674 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
30675 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
30676
30677 2015-09-15 Joseph Myers <joseph@codesourcery.com>
30678
30679 [BZ #18967]
30680 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
30681 undefine around includes of <bits/mathcalls.h>.
30682 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
30683 not declare function.
30684 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
30685 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
30686 (scalb): Likewise.
30687 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
30688 not define macro.
30689 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
30690 variable.
30691 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30692 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30693 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30694
30695 [BZ #18857]
30696 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
30697 return non-finite argument without doing ordered comparisons on
30698 it.
30699
30700 [BZ #16296]
30701 * math/fenv.h (fegetround): Use __attribute_pure__.
30702 * include/fenv.h (__fegetround): Likewise.
30703
30704 [BZ #18595]
30705 * math/s_ctan.c (__ctan): Force underflow exception for results
30706 whose real or imaginary part has small absolute value.
30707 * math/s_ctanf.c (__ctanf): Likewise.
30708 * math/s_ctanh.c (__ctanh): Likewise.
30709 * math/s_ctanhf.c (__ctanhf): Likewise.
30710 * math/s_ctanhl.c (__ctanhl): Likewise.
30711 * math/s_ctanl.c (__ctanl): Likewise.
30712 * math/auto-libm-test-in: Do not allow missing underflow for ctan
30713 and ctanh. Add more tests of ctan and ctanh.
30714
30715 [BZ #15918]
30716 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
30717 handling of cases where one argument is an infinity.
30718
30719 [BZ #18875]
30720 [BZ #18966]
30721 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
30722 (MO): New macro.
30723 (__ieee754_exp10): For small results, force underflow exception
30724 and remove excess range and precision from return value.
30725 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
30726 (MO): New macro.
30727 (__ieee754_exp10f): For small results, force underflow exception
30728 and remove excess range and precision from return value.
30729 * math/auto-libm-test-in: Add more tests of exp10.
30730 * math/auto-libm-test-out: Regenerated.
30731
30732 2015-09-14 Joseph Myers <joseph@codesourcery.com>
30733
30734 [BZ #18875]
30735 [BZ #18961]
30736 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
30737 (MO): New macro.
30738 (__ieee754_exp): For small results, force underflow exception and
30739 remove excess range and precision from return value.
30740 (__exp_finite): Likewise.
30741 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
30742 (MO): New macro.
30743 (__ieee754_expf): For small results, force underflow exception and
30744 remove excess range and precision from return value.
30745 (__expf_finite): Likewise.
30746 * math/auto-libm-test-in: Add more tests of exp.
30747 * math/auto-libm-test-out: Regenerated.
30748
30749 [BZ #16521]
30750 [BZ #18875]
30751 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
30752 small results.
30753 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
30754 (MO): New macro.
30755 (__ieee754_exp2): For small results, force underflow exception and
30756 remove excess range and precision from return value.
30757 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
30758 (MO): New macro.
30759 (__ieee754_exp2f): For small results, force underflow exception
30760 and remove excess range and precision from return value.
30761 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
30762 (MO): New macro.
30763 (__ieee754_exp2l): Force underflow exception for small results.
30764 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30765 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30766 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
30767 (MO): New macro.
30768 (__ieee754_exp2l): Force underflow exception for small results.
30769 * math/auto-libm-test-in: Add more tests or exp2.
30770 * math/auto-libm-test-out: Regenerated.
30771
30772 2015-09-14 Carlos O'Donell <carlos@redhat.com>
30773
30774 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
30775
30776 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30777 /dev/null.
30778
30779 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
30780
30781 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30782 io fs process)): Drop spurious backslash.
30783
30784 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
30785
30786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30787 Use sysinfo system call instead of parsing /proc/meminfo.
30788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30789 Likewise.
30790
30791 2015-09-11 Mike Frysinger <vapier@gentoo.org>
30792
30793 [BZ #16985]
30794 * programs/localedef.c (main): Display argv[remaining] when
30795 output_path is NULL.
30796
30797 2015-09-11 Joseph Myers <joseph@codesourcery.com>
30798
30799 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30800 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30801 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30802 tanh.
30803 * math/auto-libm-test-out: Regenerated.
30804 * sysdeps/i386/fpu/libm-test-ulps: Update.
30805 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30806 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30808
30809 2015-09-11 Roland McGrath <roland@hack.frob.com>
30810
30811 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30812 Use 'override' keyword to freeze the value here, preventing
30813 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30814
30815 2015-09-11 Joseph Myers <joseph@codesourcery.com>
30816
30817 [BZ #14912]
30818 * sysdeps/aarch64/bits/atomic.h: Move to ...
30819 * sysdeps/aarch64/atomic-machine.h: ...here.
30820 (_AARCH64_BITS_ATOMIC_H): Rename macro to
30821 _AARCH64_ATOMIC_MACHINE_H.
30822 * sysdeps/alpha/bits/atomic.h: Move to ...
30823 * sysdeps/alpha/atomic-machine.h: ...here.
30824 * sysdeps/arm/bits/atomic.h: Move to ...
30825 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
30826 * bits/atomic.h: Move to ...
30827 * sysdeps/generic/atomic-machine.h: ...here.
30828 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30829 * sysdeps/i386/bits/atomic.h: Move to ...
30830 * sysdeps/i386/atomic-machine.h: ...here.
30831 * sysdeps/ia64/bits/atomic.h: Move to ...
30832 * sysdeps/ia64/atomic-machine.h: ...here.
30833 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30834 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30835 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30836 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30837 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30838 * sysdeps/microblaze/bits/atomic.h: Move to ...
30839 * sysdeps/microblaze/atomic-machine.h: ...here.
30840 * sysdeps/mips/bits/atomic.h: Move to ...
30841 * sysdeps/mips/atomic-machine.h: ...here.
30842 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30843 * sysdeps/powerpc/bits/atomic.h: Move to ...
30844 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
30845 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30846 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
30847 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
30848 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30849 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
30850 <atomic-machine.h> instead of <bits/atomic.h>.
30851 * sysdeps/s390/bits/atomic.h: Move to ...
30852 * sysdeps/s390/atomic-machine.h: ...here.
30853 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30854 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30855 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30856 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30857 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30858 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30859 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30860 * sysdeps/tile/bits/atomic.h: Move to ...
30861 * sysdeps/tile/atomic-machine.h: ...here.
30862 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30863 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
30864 <sysdeps/tile/atomic-machine.h> instead of
30865 <sysdeps/tile/bits/atomic.h>.
30866 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30867 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30868 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
30869 <sysdeps/tile/atomic-machine.h> instead of
30870 <sysdeps/tile/bits/atomic.h>.
30871 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30872 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30873 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
30874 <sysdeps/arm/atomic-machine.h> instead of
30875 <sysdeps/arm/bits/atomic.h>.
30876 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30877 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30878 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30879 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30880 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30881 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30882 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30883 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30884 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30885 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30886 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30887 * sysdeps/x86_64/bits/atomic.h: Move to ...
30888 * sysdeps/x86_64/atomic-machine.h: ...here.
30889 * include/atomic.h: Include <atomic-machine.h> instead of
30890 <bits/atomic.h>.
30891
30892 * sysdeps/mips/mips32/libm-test-ulps: Update.
30893 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30894
30895 [BZ #18952]
30896 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30897 not convert non-integer negative arguments to int to determine the
30898 value of signgam.
30899 * math/auto-libm-test-in: Add more tests of lgamma.
30900 * math/auto-libm-test-out: Regenerated.
30901
30902 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30903 cosh, csqrt, erfc, expm1 and lgamma.
30904 * math/auto-libm-test-out: Regenerated.
30905 * sysdeps/i386/fpu/libm-test-ulps: Update.
30906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30907
30908 2015-09-10 Joseph Myers <joseph@codesourcery.com>
30909
30910 [BZ #2542]
30911 [BZ #2543]
30912 [BZ #2558]
30913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30914 __lgamma_neg for arguments from -28.0 to -2.0.
30915 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30916 __lgamma_negf for arguments from -15.0 to -2.0.
30917 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30918 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30919 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30920 Call __lgamma_negl for arguments from -33.0 to -2.0.
30921 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30922 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30923 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30924 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30927 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30928 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30929 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30930 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30931 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30932 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30933 (__lgamma_neg): Likewise.
30934 (__lgamma_negl): Likewise.
30935 (__lgamma_product): Likewise.
30936 (__lgamma_productl): Likewise.
30937 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30938 * math/auto-libm-test-in: Add more tests of lgamma.
30939 * math/auto-libm-test-out: Regenerated.
30940 * sysdeps/i386/fpu/libm-test-ulps: Update.
30941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30942
30943 2015-09-09 Justin Maggard <jmaggard@netgear.com>
30944
30945 [BZ #18675]
30946 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30947
30948 2015-09-08 Joseph Myers <joseph@codesourcery.com>
30949
30950 [BZ #14912]
30951 * bits/libc-lock.h: Move to ...
30952 * sysdeps/generic/libc-lock.h: ...here.
30953 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30954 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30955 * sysdeps/mach/hurd/libc-lock.h: ...here.
30956 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30957 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30958 * sysdeps/mach/bits/libc-lock.h: Move to ...
30959 * sysdeps/mach/libc-lock.h: ...here.
30960 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30961 * sysdeps/nptl/bits/libc-lock.h: Move to ...
30962 * sysdeps/nptl/libc-lock.h: ...here.
30963 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30964 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30965 * sysdeps/nptl/libc-lockP.h: ...here.
30966 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30967 * crypt/crypt_util.c: Include <libc-lock.h> instead of
30968 <bits/libc-lock.h>.
30969 * dirent/scandir-tail.c: Likewise.
30970 * dlfcn/dlerror.c: Likewise.
30971 * elf/dl-close.c: Likewise.
30972 * elf/dl-iteratephdr.c: Likewise.
30973 * elf/dl-lookup.c: Likewise.
30974 * elf/dl-open.c: Likewise.
30975 * elf/dl-support.c: Likewise.
30976 * elf/dl-writev.h: Likewise.
30977 * elf/rtld.c: Likewise.
30978 * grp/fgetgrent.c: Likewise.
30979 * gshadow/fgetsgent.c: Likewise.
30980 * gshadow/sgetsgent.c: Likewise.
30981 * iconv/gconv_conf.c: Likewise.
30982 * iconv/gconv_db.c: Likewise.
30983 * iconv/gconv_dl.c: Likewise.
30984 * iconv/gconv_int.h: Likewise.
30985 * iconv/gconv_trans.c: Likewise.
30986 * include/link.h: Likewise.
30987 * inet/getnameinfo.c: Likewise.
30988 * inet/getnetgrent.c: Likewise.
30989 * inet/getnetgrent_r.c: Likewise.
30990 * intl/bindtextdom.c: Likewise.
30991 * intl/dcigettext.c: Likewise.
30992 * intl/finddomain.c: Likewise.
30993 * intl/gettextP.h: Likewise.
30994 * intl/loadmsgcat.c: Likewise.
30995 * intl/localealias.c: Likewise.
30996 * intl/textdomain.c: Likewise.
30997 * libidn/idn-stub.c: Likewise.
30998 * libio/libioP.h: Likewise.
30999 * locale/duplocale.c: Likewise.
31000 * locale/freelocale.c: Likewise.
31001 * locale/newlocale.c: Likewise.
31002 * locale/setlocale.c: Likewise.
31003 * login/getutent_r.c: Likewise.
31004 * login/getutid_r.c: Likewise.
31005 * login/getutline_r.c: Likewise.
31006 * login/utmp-private.h: Likewise.
31007 * login/utmpname.c: Likewise.
31008 * malloc/mtrace.c: Likewise.
31009 * misc/efgcvt.c: Likewise.
31010 * misc/error.c: Likewise.
31011 * misc/fstab.c: Likewise.
31012 * misc/getpass.c: Likewise.
31013 * misc/mntent.c: Likewise.
31014 * misc/syslog.c: Likewise.
31015 * nis/nis_call.c: Likewise.
31016 * nis/nis_callback.c: Likewise.
31017 * nis/nss-default.c: Likewise.
31018 * nis/nss_compat/compat-grp.c: Likewise.
31019 * nis/nss_compat/compat-initgroups.c: Likewise.
31020 * nis/nss_compat/compat-pwd.c: Likewise.
31021 * nis/nss_compat/compat-spwd.c: Likewise.
31022 * nis/nss_nis/nis-alias.c: Likewise.
31023 * nis/nss_nis/nis-ethers.c: Likewise.
31024 * nis/nss_nis/nis-grp.c: Likewise.
31025 * nis/nss_nis/nis-hosts.c: Likewise.
31026 * nis/nss_nis/nis-network.c: Likewise.
31027 * nis/nss_nis/nis-proto.c: Likewise.
31028 * nis/nss_nis/nis-pwd.c: Likewise.
31029 * nis/nss_nis/nis-rpc.c: Likewise.
31030 * nis/nss_nis/nis-service.c: Likewise.
31031 * nis/nss_nis/nis-spwd.c: Likewise.
31032 * nis/nss_nisplus/nisplus-alias.c: Likewise.
31033 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31034 * nis/nss_nisplus/nisplus-grp.c: Likewise.
31035 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31036 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31037 * nis/nss_nisplus/nisplus-network.c: Likewise.
31038 * nis/nss_nisplus/nisplus-proto.c: Likewise.
31039 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31040 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31041 * nis/nss_nisplus/nisplus-service.c: Likewise.
31042 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31043 * nis/ypclnt.c: Likewise.
31044 * nptl/libc_pthread_init.c: Likewise.
31045 * nss/getXXbyYY.c: Likewise.
31046 * nss/getXXent.c: Likewise.
31047 * nss/getXXent_r.c: Likewise.
31048 * nss/nss_db/db-XXX.c: Likewise.
31049 * nss/nss_db/db-netgrp.c: Likewise.
31050 * nss/nss_db/nss_db.h: Likewise.
31051 * nss/nss_files/files-XXX.c: Likewise.
31052 * nss/nss_files/files-alias.c: Likewise.
31053 * nss/nsswitch.c: Likewise.
31054 * posix/regex_internal.h: Likewise.
31055 * posix/wordexp.c: Likewise.
31056 * pwd/fgetpwent.c: Likewise.
31057 * resolv/res_hconf.c: Likewise.
31058 * resolv/res_libc.c: Likewise.
31059 * shadow/fgetspent.c: Likewise.
31060 * shadow/lckpwdf.c: Likewise.
31061 * shadow/sgetspent.c: Likewise.
31062 * socket/opensock.c: Likewise.
31063 * stdio-common/reg-modifier.c: Likewise.
31064 * stdio-common/reg-printf.c: Likewise.
31065 * stdio-common/reg-type.c: Likewise.
31066 * stdio-common/vfprintf.c: Likewise.
31067 * stdio-common/vfscanf.c: Likewise.
31068 * stdlib/abort.c: Likewise.
31069 * stdlib/cxa_atexit.c: Likewise.
31070 * stdlib/fmtmsg.c: Likewise.
31071 * stdlib/random.c: Likewise.
31072 * stdlib/setenv.c: Likewise.
31073 * string/strsignal.c: Likewise.
31074 * sunrpc/auth_none.c: Likewise.
31075 * sunrpc/bindrsvprt.c: Likewise.
31076 * sunrpc/create_xid.c: Likewise.
31077 * sunrpc/key_call.c: Likewise.
31078 * sunrpc/rpc_thread.c: Likewise.
31079 * sysdeps/arm/backtrace.c: Likewise.
31080 * sysdeps/generic/ldsodefs.h: Likewise.
31081 * sysdeps/generic/stdio-lock.h: Likewise.
31082 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31083 * sysdeps/i386/backtrace.c: Likewise.
31084 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31085 * sysdeps/m68k/backtrace.c: Likewise.
31086 * sysdeps/mach/hurd/cthreads.c: Likewise.
31087 * sysdeps/mach/hurd/dirstream.h: Likewise.
31088 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31089 * sysdeps/nptl/malloc-machine.h: Likewise.
31090 * sysdeps/nptl/stdio-lock.h: Likewise.
31091 * sysdeps/posix/dirstream.h: Likewise.
31092 * sysdeps/posix/getaddrinfo.c: Likewise.
31093 * sysdeps/posix/system.c: Likewise.
31094 * sysdeps/pthread/aio_suspend.c: Likewise.
31095 * sysdeps/s390/s390-32/backtrace.c: Likewise.
31096 * sysdeps/s390/s390-64/backtrace.c: Likewise.
31097 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31098 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31099 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31100 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31102 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31103 * sysdeps/unix/sysv/linux/system.c: Likewise.
31104 * sysdeps/x86_64/backtrace.c: Likewise.
31105 * time/alt_digit.c: Likewise.
31106 * time/era.c: Likewise.
31107 * time/tzset.c: Likewise.
31108 * wcsmbs/wcsmbsload.c: Likewise.
31109 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31110 instead of <bits/libc-lock.h> in comment.
31111
31112 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
31113
31114 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31115 Only use .set mips2 if the current ISA is below mips2.
31116 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31117 Likewise.
31118 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31119 mips32r2 if the current ISA is below mips32r2.
31120 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31121 (TLS_IE): Updated to use the TLD_RDHWR macro.
31122 (TLS_LE): Likewise.
31123 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31124 __ASSEMBLER__ condition.
31125
31126 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
31127
31128 Fix parallel build of before-compile targets.
31129
31130 * sysdeps/mach/Makefile ($(patsubst
31131 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31132 mach-before-compile target.
31133 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31134 io fs process)): Move rule to dedicated hurd-before-compile target.
31135
31136 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31137
31138 Fix rules generating headers in hurd/ and mach/ when initial make call
31139 has subdir= explicitly set.
31140
31141 * sysdeps/mach/Makefile ($(patsubst
31142 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31143 calling $(MAKE).
31144 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31145 io fs process)): Force subdir to hurd when calling $(MAKE).
31146 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31147 subdir to mach when calling $(MAKE).
31148
31149 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
31150
31151 Check sysheaders when looking for Mach and Hurd headers
31152
31153 * sysdeps/mach/configure.ac: Add sysheaders check.
31154 * sysdeps/mach/configure: Regenerate.
31155 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31156 * sysdeps/mach/hurd/configure: Regenerate.
31157
31158 2015-09-04 Roland McGrath <roland@hack.frob.com>
31159
31160 [BZ #18921]
31161 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31162 Fix inverted sense of test of 'o_directory_works' value.
31163 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31164 Bernhard Voelker <mail@bernhard-voelker.de>.
31165
31166 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31167
31168 [BZ #14912]
31169 * bits/linkmap.h: Move to ...
31170 * sysdeps/generic/linkmap.h: ...here.
31171 * sysdeps/aarch64/bits/linkmap.h: Move to ...
31172 * sysdeps/aarch64/linkmap.h: ...here.
31173 * sysdeps/arm/bits/linkmap.h: Move to ...
31174 * sysdeps/arm/linkmap.h: ...here.
31175 * sysdeps/hppa/bits/linkmap.h: Move to ...
31176 * sysdeps/hppa/linkmap.h: ...here.
31177 * sysdeps/ia64/bits/linkmap.h: Move to ...
31178 * sysdeps/ia64/linkmap.h: ...here.
31179 * sysdeps/mips/bits/linkmap.h: Move to ...
31180 * sysdeps/mips/linkmap.h: ...here.
31181 * sysdeps/s390/bits/linkmap.h: Move to ...
31182 * sysdeps/s390/linkmap.h: ...here.
31183 * sysdeps/sh/bits/linkmap.h: Move to ...
31184 * sysdeps/sh/linkmap.h: ...here.
31185 * sysdeps/x86/bits/linkmap.h: Move to ...
31186 * sysdeps/x86/linkmap.h: ...here.
31187 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31188
31189 2015-09-04 Andreas Schwab <schwab@suse.de>
31190
31191 [BZ #18635]
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31193 (__makecontext): Terminate FDE before return label.
31194 (__novec_makecontext): Likewise.
31195
31196 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31197
31198 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31199 first member of struct sv in syscall macro.
31200
31201 2015-09-04 Joseph Myers <joseph@codesourcery.com>
31202
31203 [BZ #14912]
31204 * bits/stdio-lock.h: Move to ...
31205 * sysdeps/generic/stdio-lock.h: ...here.
31206 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31207 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31208 * sysdeps/nptl/stdio-lock.h: ...here.
31209 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31210 * include/libio.h: Include <stdio-lock.h> instead of
31211 <bits/stdio-lock.h>.
31212 * sysdeps/nptl/fork.c: Likewise.
31213 * sysdeps/pthread/flockfile.c: Likewise.
31214 * sysdeps/pthread/ftrylockfile.c: Likewise.
31215 * sysdeps/pthread/funlockfile.c: Likewise.
31216
31217 [BZ #14912]
31218 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31219 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31220 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31221 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31222 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31223 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31224 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31225
31226 2015-09-03 Roland McGrath <roland@hack.frob.com>
31227
31228 * elf/Makefile (test-xfail-tst-protected1a): New variable.
31229 (test-xfail-tst-protected1b): New variable.
31230
31231 2015-09-03 Joseph Myers <joseph@codesourcery.com>
31232
31233 [BZ #14912]
31234 * bits/libc-tsd.h: Move to ...
31235 * sysdeps/generic/libc-tsd.h: ...here.
31236 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31237 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31238 * sysdeps/mach/hurd/libc-tsd.h: ...here.
31239 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31240 * include/ctype.h: Include <libc-tsd.h> instead of
31241 <bits/libc-tsd.h>.
31242 * include/rpc/rpc.h: Likewise.
31243 * locale/localeinfo.h: Likewise.
31244 * sunrpc/rpc_thread.c: Likewise.
31245 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31246 * sysdeps/nptl/malloc-machine.h: Likewise.
31247
31248 * Makefile (headers): Remove bits/libc-lock.h.
31249 * libio/Makefile (headers): Remove bits/stdio-lock.h.
31250
31251 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31252 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31253 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31254 <bits/stdio-lock.h>.
31255 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31256 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31257
31258 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31259
31260 [BZ #18757]
31261 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31262 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31263 BZ #18757.
31264
31265 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31266
31267 * malloc/mtrace.pl: Filter out NULL entries.
31268
31269 2015-09-01 Joseph Myers <joseph@codesourcery.com>
31270
31271 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31272 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31273 macro.
31274
31275 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31276 (TCP_CC_INFO): Likewise.
31277 (TCP_SAVE_SYN): Likewise.
31278 (TCP_SAVED_SYN): Likewise.
31279
31280 2015-08-31 Brett Neumeier <brett@neumeier.us>
31281
31282 [BZ #18870]
31283 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31284
31285 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
31286
31287 [BZ #18873]
31288 Fix broken overflow check in posix_fallocate
31289 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31290 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31291 Fix parenthesization typo.
31292
31293 2015-08-28 Mike Frysinger <vapier@gentoo.org>
31294
31295 [BZ #18887]
31296 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31297 tst-mntent-blank-passno.
31298 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31299 * misc/tst-mntent-blank-corrupt.c: New test.
31300 * misc/tst-mntent-blank-passno.c: New test ripped from ...
31301 * misc/tst-mntent.c (do_test): ... here.
31302
31303 2015-08-29 Mike Frysinger <vapier@gentoo.org>
31304
31305 [BZ #4404]
31306 * po/de.po: Fix SIGALRM typo.
31307
31308 2015-08-28 James Perkins <james@loowit.net>
31309
31310 * time/tst-strptime2.c (tests): Replace short list of test
31311 strings for strptime %z specifier with code which exhaustively
31312 tests every combination of sign and 0 to 5 digits. Tests for
31313 rejection of invalid strings.
31314
31315 2015-08-28 James Perkins <james@loowit.net>
31316
31317 [BZ #16141]
31318 * time/strptime_l.c (__strptime_internal): Fix %z minutes
31319 calculation, removing incorrect decimal time rounding, so that
31320 all minute values result in a valid seconds value.
31321 * time/strptime_l.c (__strptime_internal): Extend %z time zone
31322 offset range limits to UTC-99:59 through UTC+99:59 to parse
31323 current and historical use cases.
31324 * time/tst-strptime2.c (tests): Modify and add tests for the
31325 strptime %z input field descriptor, specifically conversion of
31326 minutes to seconds and validating an offset range of -9959 to
31327 +9959.
31328
31329 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31330 Dmitry V. Levin <ldv@altlinux.org>
31331
31332 [BZ #18877]
31333 * posix/Makefile (tests): Add tst-mmap-offset.
31334 * posix/tst-mmap.c: New file.
31335 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31336 offset calculation for negative values.
31337
31338 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31339
31340 * sysdeps/i386/init-arch.h: New file.
31341 * sysdeps/i386/i586/init-arch.h: Likewise.
31342 * sysdeps/i386/i686/init-arch.h: Likewise.
31343 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31344 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
31345 * sysdeps/x86/cpu-features.h (bit_I586): New.
31346 (bit_I686): Likewise.
31347 (bit_CX8): Likewise.
31348 (bit_CMOV): Likewise.
31349 (index_CX8): Likewise.
31350 (index_CMOV): Likewise.
31351 (index_I586): Likewise.
31352 (index_I686): Likewise.
31353 (reg_CX8): Likewise.
31354 (reg_CMOV): Likewise.
31355 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31356 available at compile-time.
31357 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31358 available at compile-time.
31359 * sysdeps/x86/init-arch.h (USE_I586): New macro.
31360 (USE_I686): Likewise.
31361
31362 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31363
31364 * sysdeps/i386/bcopy.S: New file.
31365 * sysdeps/i386/bzero.S: Likewise.
31366 * sysdeps/i386/memcpy.S: Likewise.
31367 * sysdeps/i386/memmove.S: Likewise.
31368 * sysdeps/i386/mempcpy.S: Likewise.
31369 * sysdeps/i386/memset.S: Likewise.
31370 * sysdeps/i386/bzero.c: Removed.
31371 * sysdeps/i386/memset.c: Likewise.
31372 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31373 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31374 * sysdeps/i386/i586/memset_chk.S: Likewise.
31375 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31376 * sysdeps/i386/memcpy_chk.S: Here.
31377 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31378 * sysdeps/i386/memmove_chk.S: Here.
31379 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31380 * sysdeps/i386/mempcpy_chk.S: Likewise.
31381 * sysdeps/i386/i686/memset_chk.S: Moved to ...
31382 * sysdeps/i386/memset_chk.S: Likewise.
31383
31384 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
31385
31386 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31387 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31388 file, move DIAG_POP_NEEDS_COMMENT to end of file.
31389 * soft-fp/fmadf4.c: Ditto.
31390 * soft-fp/fmatf4.c: Ditto.
31391
31392 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 * sysdeps/i386/i586/Implies: Removed.
31395 * sysdeps/i386/i686/Implies: Likewise.
31396
31397 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31398
31399 * sysdeps/i386/i486/strlen.S: Moved to ...
31400 * sysdeps/i386/strlen.S: Here.
31401
31402 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31403
31404 * sysdeps/i386/i486/strcat.S: Moved to ...
31405 * sysdeps/i386/strcat.S: Here.
31406
31407 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31408
31409 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31410 * sysdeps/i386/pthread_spin_trylock.S: Here.
31411 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31412 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31413
31414 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31415
31416 * sysdeps/i386/i486/string-inlines.c: Moved to ...
31417 * sysdeps/i386/string-inlines.c: Here.
31418
31419 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31420
31421 * sysdeps/i386/i486/htonl.S: Moved ...
31422 * sysdeps/i386/htonl.S: here.
31423
31424 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31425
31426 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31427 * sysdeps/i386/bits/atomic.h: Here.
31428
31429 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
31430
31431 * sysdeps/i386/i486/Versions: Removed.
31432
31433 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
31434
31435 [BZ #2898]
31436 * misc/mktemp.c: Add mkdtemp to the link_warning message.
31437 Based on patch by Aurelien Jarno.
31438
31439 2015-08-26 Stan Shebs <stanshebs@google.com>
31440
31441 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31442 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31443
31444 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
31445
31446 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31447 * sysdeps/powerpc/dl-procinfo.c:
31448 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31449 feature so it shows when LD_SHOW_AUXV=1.
31450
31451 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31452
31453 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31454 (__arch_compare_and_exchange_val_32_acq): Remove and use common
31455 definition. ISA 2.07B no longer requires full sync.
31456
31457 2015-08-26 Mike Frysinger <vapier@gentoo.org>
31458
31459 [BZ #18863]
31460 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31461 (si_call_addr): Define.
31462 (si_syscall): Define.
31463 (si_arch): Define.
31464
31465 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
31466
31467 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31468 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31469 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31470 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31471 (__memset_zero_constant_len_parameter): New.
31472 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31473 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31474 (__memset_zero_constant_len_parameter): Don't define if
31475 __memset_chk or USE_AS_BZERO are defined.
31476
31477 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31478 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31479 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31480
31481 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31482 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31483 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31484 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
31485 comments.
31486 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31487 -mno-mmx for $(all-rtld-routines).
31488 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31489 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
31490 i386.
31491
31492 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
31493
31494 * sysdeps/generic/unwind.h
31495 (_Unwind_Word): Use __mode__(__unwind_word__)
31496 instead of __mode__(__word__).
31497 (_Unwind_Sword): Likewise.
31498
31499 * sysdeps/s390/s390-64/utf8-utf16-z9.c
31500 (MAX_NEEDED_INPUT): New define.
31501 (MAX_NEEDED_OUTPUT): New define.
31502
31503 * NEWS: New item for IBM z13 string optimizations.
31504
31505 * sysdeps/s390/multiarch/memrchr-c.c: New File.
31506 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31507 * sysdeps/s390/multiarch/memrchr.c: Likewise.
31508 * sysdeps/s390/multiarch/Makefile
31509 (sysdep_routines): Add memrchr functions.
31510 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31511 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31512
31513 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31514 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31515 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31516 * sysdeps/s390/multiarch/Makefile
31517 (sysdep_routines): Add wmemcmp functions.
31518 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31519 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31520 * benchtests/bench-wmemcmp.c: New File.
31521 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31522
31523 * sysdeps/s390/multiarch/wmemset-c.c: New File.
31524 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31525 * sysdeps/s390/multiarch/wmemset.c: Likewise.
31526 * sysdeps/s390/multiarch/Makefile
31527 (sysdep_routines): Add wmemset functions.
31528 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31529 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31530 * wcsmbs/wmemset.c: Use WMEMSET if defined.
31531 * string/test-memset.c: Add wmemset support.
31532 * wcsmbs/test-wmemset.c: New File.
31533 * wcsmbs/Makefile (strop-tests): Add wmemset.
31534 * benchtests/bench-memset.c: Add wmemset support.
31535 * benchtests/bench-wmemset.c: New File.
31536 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31537
31538 * sysdeps/s390/multiarch/memccpy-c.c: New File.
31539 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31540 * sysdeps/s390/multiarch/memccpy.c: Likewise.
31541 * sysdeps/s390/multiarch/Makefile
31542 (sysdep_routines): Add memccpy functions.
31543 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31544 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31545 * string/memccpy.c: Use MEMCCPY if defined.
31546
31547 * sysdeps/s390/multiarch/memchr-vx.S: New File.
31548 * sysdeps/s390/multiarch/memchr.c: Likewise.
31549 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31550 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31551 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31552 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31553 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31554 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31555 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31556 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31557 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31558 and rawmemchr functions.
31559 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31560 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31561 and wmemchr.
31562 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31563 * string/test-memchr.c: Add wmemchr support.
31564 * wcsmbs/test-wmemchr.c: New File.
31565 * wcsmbs/Makefile (strop-tests): Add wmemchr.
31566 * benchtests/bench-memchr.c: Add wmemchr support.
31567 * benchtests/bench-wmemchr.c: New File.
31568 * benchtests/Makefile (wcsmbs-bench): wmemchr.
31569
31570 * sysdeps/s390/multiarch/strcspn-c.c: New File.
31571 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31572 * sysdeps/s390/multiarch/strcspn.c: Likewise.
31573 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31574 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31575 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31576 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31577 wcscspn functions.
31578 * sysdeps/s390/multiarch/ifunc-impl-list.c
31579 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31580 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31581 * string/test-strcspn.c: Add wcscspn support.
31582 * wcsmbs/test-wcscspn.c: New File.
31583 * wcsmbs/Makefile (strop-tests): Add wcscspn.
31584 * benchtests/bench-strcspn.c: Add wcscspn support.
31585 * benchtests/bench-wcscspn.c: New File.
31586 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31587
31588 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31589 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31590 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31591 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31592 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31593 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31594 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31595 wcspbrk functions.
31596 * sysdeps/s390/multiarch/ifunc-impl-list.c
31597 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31598 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31599 * string/test-strpbrk.c: Add wcspbrk support.
31600 * wcsmbs/test-wcspbrk.c: New File.
31601 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31602 * benchtests/bench-strpbrk.c: Add wcspbrk support.
31603 * benchtests/bench-wcspbrk.c: New File.
31604 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31605
31606 * sysdeps/s390/multiarch/strspn-c.c: New File.
31607 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31608 * sysdeps/s390/multiarch/strspn.c: Likewise.
31609 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31610 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31611 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31612 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31613 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31614 wcsspn functions.
31615 * sysdeps/s390/multiarch/ifunc-impl-list.c
31616 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31617 * string/test-strspn.c: Add wcsspn support.
31618 * wcsmbs/test-wcsspn.c: New File.
31619 * wcsmbs/Makefile (strop-tests): Add wcsspn.
31620 * benchtests/bench-strspn.c: Add wcsspn support.
31621 * benchtests/bench-wcsspn.c: New File.
31622 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31623
31624 * sysdeps/s390/multiarch/strrchr-c.c: New File.
31625 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31626 * sysdeps/s390/multiarch/strrchr.c: Likewise.
31627 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31628 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31629 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31630 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31631 wcsrchr functions.
31632 * sysdeps/s390/multiarch/ifunc-impl-list.c
31633 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31634 * benchtests/bench-wcsrchr.c: New File.
31635 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31636
31637 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31638 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31639 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31640 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31641 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31642 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31643 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31644 wcschrnul functions.
31645 * sysdeps/s390/multiarch/ifunc-impl-list.c
31646 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31647 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31648 * string/test-strchr.c: Add wcschrnul support.
31649 * wcsmbs/test-wcschrnul.c: New File.
31650 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31651 * benchtests/bench-strchr.c: Add wcschrnul support.
31652 * benchtests/bench-wcschrnul.c: New File.
31653 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31654
31655 * sysdeps/s390/multiarch/strchr-c.c: New File.
31656 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31657 * sysdeps/s390/multiarch/strchr.c: Likewise.
31658 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
31659 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
31660 * sysdeps/s390/multiarch/wcschr.c: Likewise.
31661 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
31662 wcschr functions.
31663 * sysdeps/s390/multiarch/ifunc-impl-list.c
31664 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
31665 * string/strchr.c (STRCHR): Define and use macro.
31666 * benchtests/bench-wcschr.c: New File.
31667 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
31668
31669 * sysdeps/s390/multiarch/strncmp-c.c: New File.
31670 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
31671 * sysdeps/s390/multiarch/strncmp.c: Likewise.
31672 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
31673 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
31674 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
31675 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
31676 wcsncmp functions.
31677 * sysdeps/s390/multiarch/ifunc-impl-list.c
31678 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
31679 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
31680 * benchtests/bench-strncmp.c: Add wcsncmp support.
31681 * benchtests/bench-wcsncmp.c: New File.
31682 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
31683
31684 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
31685 * sysdeps/s390/multiarch/strcmp.c: Likewise.
31686 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
31687 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
31688 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
31689 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
31690 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
31691 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
31692 wcscmp functions.
31693 * sysdeps/s390/multiarch/ifunc-impl-list.c
31694 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31695 * string/strcmp.c (STRCMP): Define and use macro.
31696 * benchtests/bench-wcscmp.c: New File.
31697 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
31698 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
31699 instead of _HAVE_STRING_ARCH_memchr.
31700
31701 * sysdeps/s390/multiarch/strncat-c.c: New File.
31702 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
31703 * sysdeps/s390/multiarch/strncat.c: Likewise.
31704 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
31705 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
31706 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
31707 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
31708 wcsncat functions.
31709 * sysdeps/s390/multiarch/ifunc-impl-list.c
31710 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
31711 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
31712 * string/test-strncat.c: Add wcsncat support.
31713 * wcsmbs/test-wcsncat.c: New File.
31714 * wcsmbs/Makefile (strop-tests): Add wcsncat.
31715 * benchtests/bench-strncat.c: Add wcsncat support.
31716 * benchtests/bench-wcsncat.c: New File.
31717 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
31718
31719 * sysdeps/s390/multiarch/strcat-c.c: New File.
31720 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
31721 * sysdeps/s390/multiarch/strcat.c: Likewise.
31722 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
31723 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
31724 * sysdeps/s390/multiarch/wcscat.c: Likewise.
31725 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
31726 wcscat functions.
31727 * sysdeps/s390/multiarch/ifunc-impl-list.c
31728 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
31729 * string/strcat.c (STRCAT): Define and use macro.
31730 * wcsmbs/wcscat.c: Use WCSCAT if defined.
31731 * string/test-strcat.c: Add wcscat support.
31732 * wcsmbs/test-wcscat.c: New File.
31733 * wcsmbs/Makefile (strop-tests): Add wcscat.
31734 * benchtests/bench-strcat.c: Add wcscat support.
31735 * benchtests/bench-wcscat.c: New File.
31736 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
31737
31738 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
31739 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
31740 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
31741 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
31742 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
31743 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
31744 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
31745 wcpncpy functions.
31746 * sysdeps/s390/multiarch/ifunc-impl-list.c
31747 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
31748 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
31749 * string/test-stpncpy.c: Add wcpncpy support.
31750 * wcsmbs/test-wcpncpy.c: New File.
31751 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
31752 * benchtests/bench-stpncpy.c: Add wcpncpy support.
31753 * benchtests/bench-wcpncpy.c: New File.
31754 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
31755
31756 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
31757 * sysdeps/s390/multiarch/strncpy.c: Likewise.
31758 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
31759 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
31760 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
31761 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
31762 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
31763 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
31764 wcsncpy functions.
31765 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
31766 * sysdeps/s390/multiarch/ifunc-impl-list.c
31767 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
31768 * string/test-strncpy.c: Add wcsncpy support.
31769 * wcsmbs/test-wcsncpy.c: New File.
31770 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
31771 * benchtests/bench-strncpy.c: Add wcsncpy support.
31772 * benchtests/bench-wcsncpy.c: New File.
31773 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
31774
31775 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
31776 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31777 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31778 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31779 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31780 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31781 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31782 wcpcpy functions.
31783 * string/stpcpy.c: Use STPCPY if defined.
31784 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31785 * sysdeps/s390/multiarch/ifunc-impl-list.c
31786 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31787 * string/test-stpcpy.c: Add wcpcpy support.
31788 * wcsmbs/test-wcpcpy.c: New File.
31789 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31790 * benchtests/bench-stpcpy.c: Add wcpcpy support.
31791 * benchtests/bench-wcpcpy.c: New File.
31792 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31793
31794 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31795 * sysdeps/s390/multiarch/strcpy.c: Likewise.
31796 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31797 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31798 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31799 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31800 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31801 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31802 wcscpy functions.
31803 * sysdeps/s390/multiarch/ifunc-impl-list.c
31804 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31805 * benchtests/bench-wcscpy.c: New File.
31806 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31807
31808 * sysdeps/s390/multiarch/strnlen-c.c: New File.
31809 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31810 * sysdeps/s390/multiarch/strnlen.c: Likewise.
31811 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31812 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31813 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31814 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31815 wcsnlen functions.
31816 * sysdeps/s390/multiarch/ifunc-impl-list.c
31817 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31818 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31819 * string/test-strnlen.c: Add wcsnlen support.
31820 * wcsmbs/test-wcsnlen.c: New File.
31821 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31822 * benchtests/bench-strnlen.c: Add wcsnlen support.
31823 * benchtests/bench-wcsnlen.c: New File.
31824 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31825
31826 * sysdeps/s390/multiarch/Makefile: New File.
31827 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31828 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31829 * sysdeps/s390/multiarch/strlen.c: Likewise.
31830 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31831 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31832 * sysdeps/s390/multiarch/wcslen.c: Likewise.
31833 * string/strlen.c (STRLEN): Define and use macro.
31834 * sysdeps/s390/multiarch/ifunc-impl-list.c
31835 (IFUNC_VX_IMPL): New macro function.
31836 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31837 * benchtests/Makefile (wcsmbs-bench): New variable.
31838 (string-bench-all): Added wcsmbs-bench.
31839 * benchtests/bench-wcslen.c: New File.
31840
31841 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31842 s390_vx_libc_ifunc2): New macro function.
31843
31844 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31845 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31846 assembler support.
31847 * sysdeps/s390/configure: Regenerated.
31848
31849 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31850 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31851
31852 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31853 * sysdeps/s390/dl-procinfo.h: Add vector capability.
31854 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31855
31856 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31857 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31859 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31860 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31861 (memcmp, bcmp): Use __memcmp_default as alias source.
31862 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31863 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31864 Rename to __memcmp_default.
31865 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31866 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31867 (memcpy): Use __memcpy_default as alias source.
31868 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31869 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31870 Rename to __memcpy_default.
31871 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31872 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31873 (memset): Use __memset_default as alias source.
31874 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31875 * sysdeps/s390/s390-32/memset.S (__memset_g5):
31876 Rename to __memset_default.
31877 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31878 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31880 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31881 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31882 (memcmp, bcmp): Use __memcmp_default as alias source.
31883 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31884 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31885 Rename to __memcmp_default.
31886 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31887 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31888 (memcpy): Use __memcpy_default as alias source.
31889 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31890 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31891 Rename to __memcpy_default.
31892 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31893 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31894 (memset): Use __memset_default as alias source.
31895 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31896 * sysdeps/s390/s390-64/memset.S (__memset_z900):
31897 Rename to __memset_default.
31898 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31899 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31900
31901 [BZ #18610]
31902 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31903 __ieee_instruction_pointer to __unused.
31904 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31905 __ieee_instruction_pointer.
31906 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31907 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31908 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31909 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31910 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31911 Mark dxc-field as reserved.
31912
31913 2015-08-25 Roland McGrath <roland@hack.frob.com>
31914
31915 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31916 if the weak reference is not null.
31917
31918 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
31919
31920 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31921
31922 [BZ #11214]
31923 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31924
31925 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31926
31927 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31928 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31929 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31930 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31931 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31932 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31933 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31934 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31935 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31936 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31937 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31938 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31939 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31940 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31941 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31942 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31943 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31944 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31945
31946 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
31947
31948 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31949 register other than r0 for tabort, it has special meaning.
31950 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31951 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31952 transaction before starting syscall.
31953
31954 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31955
31956 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31957
31958 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
31959
31960 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31961
31962 * sysdeps/x86_64/rtld-memcmp.c: Removed.
31963 * sysdeps/x86_64/rtld-memset.S: Likewise.
31964 * sysdeps/x86_64/rtld-strchr.S: Likewise.
31965 * sysdeps/x86_64/rtld-strlen.S: Likewise.
31966 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31967 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31968
31969 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31970
31971 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
31972
31973 * debug/strcpy_chk.c: Improve performance.
31974 * debug/stpcpy_chk.c: Likewise.
31975 * sysdeps/x86_64/strcpy_chk.S: Remove.
31976 * sysdeps/x86_64/stpcpy_chk.S: Remove.
31977
31978 [BZ #18240]
31979 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31980
31981 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
31982
31983 [BZ #15128]
31984 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31985 ifuncmain8.
31986 (modules-names): Add ifuncmod8.
31987 ($(objpfx)ifuncmain8): New rule.
31988 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31989 <cpuid.h>.
31990 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31991 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31992 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31993 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31994 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31995 * sysdeps/x86_64/dl-trampoline.h: Likewise.
31996 * sysdeps/x86_64/ifuncmain8.c: New file.
31997 * sysdeps/x86_64/ifuncmod8.c: Likewise.
31998 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31999 Removed.
32000 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32001 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32002 Change rtld_savespace_sse to __glibc_unused2.
32003 (RTLD_CHECK_FOREIGN_CALL): Removed.
32004 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32005 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32006 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32007
32008 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32009
32010 * sysdeps/aarch64/bzero.S (__bzero): Remove.
32011
32012 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
32013
32014 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32015 Unconditionally set __fpcr to avoid uninialized warning.
32016 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32017
32018 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32019
32020 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32021 is corrupt.
32022
32023 * malloc/arena.c (arena_get2): Drop unused argument.
32024 (arena_lock): Adjust.
32025 (arena_get_retry): Likewise.
32026
32027 2015-08-24 Andreas Schwab <schwab@suse.de>
32028
32029 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32030 Don't define.
32031 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32032 (__ASSUME_IPC64): Don't undef.
32033 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32034 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32035 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32036 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32037 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32038 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32039 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32040 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32041 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32042 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32043 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32044 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32045 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32046 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32047 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32048 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32050 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32051 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32052 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32053 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32054
32055 2015-08-21 Mike Frysinger <vapier@gentoo.org>
32056
32057 * manual/Makefile (install): Only build manual when perl is available.
32058
32059 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32060
32061 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32062 '#undef memcpy' by '#undef memchr'.
32063
32064 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32065
32066 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32067 memchr not point to the internal __GI_memchr implementation.
32068
32069 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32070
32071 * timezone/Makefile (CFLAGS-zdump.c): Remove
32072 -Wno-strict-prototypes.
32073 (CFLAGS-zic.c): Likewise.
32074 (CFLAGS-ialloc.c): Likewise.
32075 (CFLAGS-scheck.c): Likewise.
32076
32077 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32078 -Wno-error=undef.
32079
32080 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32081
32082 * i386/i686/multiarch/strcasestr-c.c: Removed.
32083 * x86_64/multiarch/strcasestr.c: Likewise.
32084 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32085 Remove strcasestr.
32086
32087 2015-08-20 Joseph Myers <joseph@codesourcery.com>
32088
32089 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32090
32091 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32092 variables for high and low parts before possibly modifying them.
32093
32094 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32095
32096 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32097 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32098 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32099 of "multiarch/init-arch.h".
32100 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32101 * sysdeps/x86/init-arch.h: This.
32102
32103 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
32104
32105 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32106 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32107
32108 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
32109
32110 [BZ #17787]
32111 * manual/macros.texi: Add twoexp macro.
32112 * manual/filesys.texi: Fix exponents.
32113 * manual/llio.texi: Likewise.
32114 * manual/stdio.texi: Likewise.
32115
32116 2015-08-20 Florian Weimer <fweimer@redhat.com>
32117
32118 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32119 incorrect use.
32120
32121 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32122
32123 [BZ #18370]
32124 * math/s_csqrt.c (__csqrt): Force underflow exception for results
32125 whose real or imaginary part has small absolute value.
32126 * math/s_csqrtf.c (__csqrtf): Likewise.
32127 * math/s_csqrtl.c (__csqrtl): Likewise.
32128 * math/auto-libm-test-in: Add more tests of csqrt.
32129 * math/auto-libm-test-out: Regenerated.
32130 * sysdeps/i386/fpu/libm-test-ulps: Update.
32131
32132 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32133
32134 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32135 __ppc_set_ppr_very_low): New functions.
32136 * manual/platform.texi: Add documentation about
32137 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32138
32139 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
32140
32141 * string/stpncpy.c (stpncpy): Improve performance using
32142 __strnlen/memcpy/memset.
32143
32144 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
32145
32146 [BZ #18796]
32147 * scripts/test-installation.pl: Don't add -lmvec to build options if
32148 libmvec wasn't built.
32149
32150 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32151
32152 [BZ #14341]
32153 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32154 case when there is a gap between DT_REL and DT_JMPREL sections.
32155 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32156 (LDFLAGS-tst-split-dynreloc): New.
32157 (tst-split-dynreloc-ENV): Likewise.
32158 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32159 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32160
32161 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32162
32163 [BZ #18822]
32164 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32165 attribute_hidden.
32166 (__xstat64_conv): Likewise.
32167 (__xstat32_conv): Likewise.
32168
32169 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32170
32171 [BZ #18822]
32172 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32173 Don't load %ebx when calling __setcontext. Call __setcontext
32174 with HIDDEN_JUMPTARGET.
32175 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32176 libc_hidden_def.
32177
32178 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32179
32180 * sysdeps/i386/i686/Makefile
32181 [$(subdir) == string] (sysdep_routines): Moved to ...
32182 * sysdeps/i386/Makefile: Here.
32183 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32184 * sysdeps/i386/cacheinfo.c: Here.
32185 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32186 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32187 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32188 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32189
32190 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
32191
32192 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32193 __i586__ is defined.
32194 (HAS_I686): Defined to 1 if __i686__ is defined.
32195
32196 2015-08-19 Joseph Myers <joseph@codesourcery.com>
32197
32198 * elf/Makefile [$(have-z-execstack) = yes]
32199 (CPPFLAGS-tst-execstack.c): New variable.
32200
32201 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32202 conditional to [defined UTMPX || _HAVE_UT_TYPE].
32203 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32204 UTMPX || _HAVE_UT_TV].
32205 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32206 UTMPX || _HAVE_UT_TV - 0].
32207
32208 2015-08-18 Joseph Myers <joseph@codesourcery.com>
32209
32210 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32211 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32212 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32213
32214 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
32215
32216 * sysdeps/powerpc/dl-procinfo.c:
32217 (_dl_powerpc_cap_flags): Added missing strings for some
32218 hwcap features.
32219 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32220
32221 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
32222
32223 Port the 0x7efe...feff pattern to GCC 6.
32224 See Steve Ellcey's bug report in:
32225 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32226 * string/memrchr.c (MEMRCHR):
32227 * string/rawmemchr.c (RAWMEMCHR):
32228 * string/strchr.c (strchr):
32229 * string/strchrnul.c (STRCHRNUL):
32230 Rewrite code to avoid issues with signed shift overflow.
32231
32232 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
32233
32234 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32235 whether cpuid is available only if HAS_CPUID is 0.
32236 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32237 (HAS_I586): Likewise.
32238 (HAS_I686): Likewise.
32239
32240 2015-08-18 Zack Weinberg <zackw@panix.com>
32241
32242 * misc/Versions (libc): Add GLIBC_2.23.
32243
32244 2015-08-18 Alan Modra <amodra@gmail.com>
32245
32246 [BZ #18421]
32247 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32248 .Lp__global.
32249 (_start): Load %dp via .Lp__global.
32250 [!SHARED]: Use .section .rodata.
32251
32252 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32253
32254 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32255 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32256
32257 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32258
32259 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32260 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32261
32262 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32263
32264 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32265 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32266
32267 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32268
32269 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32270 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32271
32272 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32273
32274 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32275 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32276
32277 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32278
32279 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32280 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32281
32282 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32283
32284 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32285
32286 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32287
32288 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32289 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
32290 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32291 (__ASSUME_LWS_CAS): Delete.
32292
32293 2015-08-18 Mike Frysinger <vapier@gentoo.org>
32294
32295 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32296 * sysdeps/hppa/configure: Regenerated.
32297 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32298 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32299 * sysdeps/hppa/nptl/tls.h: Likewise.
32300
32301 2015-08-17 Joseph Myers <joseph@codesourcery.com>
32302
32303 [BZ #18823]
32304 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32305 for scaling up small arguments.
32306 * math/s_csqrtf.c (__csqrtf): Likewise.
32307 * math/s_csqrtl.c (__csqrtl): Likewise.
32308 * math/auto-libm-test-in: Add more tests of csqrt.
32309 * math/auto-libm-test-out: Regenerated.
32310
32311 2015-08-17 Andreas Schwab <schwab@suse.de>
32312
32313 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32314 version set GLIBC_2.19.
32315
32316 2015-08-16 Zack Weinberg <zackw@panix.com>
32317
32318 [BZ #18681]
32319 * misc/regexp.h: This interface is no longer supported.
32320 Remove all contents, leaving only an #error directive.
32321 * misc/regexp.c (loc1, loc2, locs, step, advance):
32322 Demote to compatibility symbols.
32323
32324 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
32325
32326 [BZ #18084]
32327 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32328 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32329 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32330 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32331 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32332 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32333 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32334 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32335 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32336
32337 2015-08-15 Zack Weinberg <zackw@panix.com>
32338
32339 [BZ #18795]
32340 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32341 buffer length is known to be too large, not if it's known to be
32342 small enough.
32343 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32344 overflow at runtime, involving a length parameter, twice: once
32345 with a compile-time constant length parameter, once without.
32346
32347 2015-08-14 Joseph Myers <joseph@codesourcery.com>
32348
32349 [BZ #18824]
32350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32351 scaling x * y up instead of down.
32352 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32353 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32354 * math/auto-libm-test-in: Add more tests of fma.
32355 * math/auto-libm-test-out: Regenerated.
32356
32357 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
32358
32359 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32360
32361 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32362
32363 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32364 unnecessary movq.
32365 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32366 Likewise.
32367
32368 2015-08-13 Joseph Myers <joseph@codesourcery.com>
32369
32370 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32371 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32372 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32373 and tgamma.
32374 * math/auto-libm-test-out: Regenerated.
32375 * sysdeps/i386/fpu/libm-test-ulps: Update.
32376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32377
32378 [BZ #16520]
32379 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32380 (__tanh): Force underflow exception for arguments with small
32381 absolute value.
32382 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32383 (__tanhf): Force underflow exception for arguments with small
32384 absolute value.
32385 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32386 (__tanhl): Force underflow exception for arguments with small
32387 absolute value.
32388 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32389 (__tanhl): Force underflow exception for arguments with small
32390 absolute value.
32391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32392 (__tanhl): Force underflow exception for arguments with small
32393 absolute value.
32394 * math/auto-libm-test-in: Add more tests of tanh.
32395 * math/auto-libm-test-out: Regenerated.
32396 * sysdeps/i386/fpu/libm-test-ulps: Update.
32397
32398 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32399
32400 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32401 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32402
32403 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32404
32405 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32406 <cpuid.h>.
32407
32408 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32409
32410 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32411 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32412
32413 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32414
32415 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32416 Remove $(objpfx)init-arch.o.
32417 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32418 init-arch.
32419 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32420 (INIT_ARCH_EXT): Defined as empty.
32421 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32423 __init_cpu_features call. Replace HAS_XXX with
32424 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32425 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32427 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32428 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32429 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32430 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32431 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32432 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32433 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32434 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32435 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32436 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32437 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32438 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32439 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32440 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32441 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32442 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32443 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32444 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32445 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32446 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32447 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32448 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32449 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32450 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32451 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32452 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32453 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32454 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32455 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32456 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32457 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32458 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32459 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32460
32461 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32462
32463 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32464 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32465 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32466 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32467 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32468 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32469 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32470 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32471 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32472 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32473 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32474 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
32475 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32479 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32480 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32481 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32482 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32483 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32484 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32485 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32486 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32487 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32488 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32489 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32490 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32491 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32492 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32493 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32494 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32495 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32496 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32506
32507 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32508
32509 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32510 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32511 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32512 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32513 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32514 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32516 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32517 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32520 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32521 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32522 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32523 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32527 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32528 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32530 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32531 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32532 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32533 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32534 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32535 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32536 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
32537 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32538 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32539 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32540 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32541 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32542 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32543 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32544 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32545 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32546 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32547 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32548 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32549 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32550 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32551 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32552
32553 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
32554
32555 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32556 (dl_platform_init): Call init_cpu_features.
32557 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32558 * sysdeps/i386/i686/cacheinfo.c
32559 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32560 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32561 * sysdeps/i386/i686/multiarch/Versions: Removed.
32562 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32563 Removed.
32564 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32565 * sysdeps/unix/sysv/linux/x86/Makefile
32566 (libpthread-sysdep_routines): Remove init-arch.
32567 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32568 <sysdeps/x86_64/dl-procinfo.c> instead of
32569 sysdeps/generic/dl-procinfo.c>.
32570 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32571 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32572 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32573 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32574 [$(subdir) == elf] (tests-static): Add
32575 tst-get-cpu-features-static.
32576 * sysdeps/x86/Versions: New file.
32577 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32578 * sysdeps/x86/cpu-features.c: Likewise.
32579 * sysdeps/x86/cpu-features.h: Likewise.
32580 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32581 * sysdeps/x86/libc-start.c: Likewise.
32582 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32583 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32584 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32585 * sysdeps/x86_64/dl-procinfo.c: Likewise.
32586 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32587 Assume USE_MULTIARCH is defined and don't check it.
32588 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32589 (is_amd): Likewise.
32590 (max_cpuid): Likewise.
32591 (intel_check_word): Likewise.
32592 (__cache_sysconf): Don't call __init_cpu_features.
32593 (__x86_preferred_memory_instruction): Removed.
32594 (init_cacheinfo): Don't call __init_cpu_features. Replace
32595 __cpu_features with GLRO(dl_x86_cpu_features).
32596 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32597 (dl_platform_init): Call init_cpu_features.
32598 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32599 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32600 * sysdeps/x86_64/multiarch/Versions: Removed.
32601 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32602 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32603 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32604 Removed.
32605 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32606
32607 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32608
32609 [BZ #18820]
32610 * libio/Makefile (test-fmemopen-mem): New test.
32611 * libio/test-fmemopen.c (do_bz18820): New test.
32612 * libio/fmemopen.c (__fmemopen): Fix memory leak.
32613 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32614
32615 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
32616
32617 [BZ #16734]
32618 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32619 (FREE_BUF): Delete.
32620 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32621 * libio/genops.c (_IO_setb): Use malloc and free directly.
32622 (_IO_default_doallocate, _IO_default_finish): Likewise.
32623 ( _IO_unbuffer_all): Likewise.
32624 ( libc_freeres_fn): Likewise.
32625 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32626 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32627 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32628 (_IO_wdefault_doallocate): Likewise.
32629
32630 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
32631
32632 [BZ #18086]
32633 * sysdeps/posix/nice.c (nice): Restore old errno.
32634 * posix/tst-nice.c (do_test): Add test for BZ #18086.
32635
32636 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
32637
32638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32639
32640 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32641
32642 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32643 __bcopy and add a weak_alias to bcopy.
32644 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32645 for static build.
32646
32647 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32648 cleanup macro usage.
32649 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32650 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32651 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32652 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32653 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32654 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32655 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32656 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32657 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32658 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
32659 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32660 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
32661 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32662 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
32663 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32664 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
32665 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
32666 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
32667 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32668
32669 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
32670 libc_hidden_def.
32671 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
32672
32673 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
32674 (sysdep_routines): Add strstr-ppc64.
32675 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
32676
32677 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
32678
32679 [BZ #18778]
32680 * elf/Makefile (tests): Add Add tst-nodelete2.
32681 (modules-names): Add tst-nodelete2mod.
32682 (tst-nodelete2mod.so-no-z-defs): New.
32683 ($(objpfx)tst-nodelete2): Likewise.
32684 ($(objpfx)tst-nodelete2.out): Likewise.
32685 (LDFLAGS-tst-nodelete2): Likewise.
32686 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
32687 out of loop through all loaded libraries.
32688 * elf/tst-nodelete2.c: New file.
32689 * elf/tst-nodelete2mod.c: Likewise.
32690 * elf/tst-znodelete-zlib.cc: Delete.
32691
32692 2015-08-11 Andreas Schwab <schwab@suse.de>
32693
32694 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
32695 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
32696 (__openat64_nocancel): Likewise.
32697
32698 2015-08-11 Joseph Myers <joseph@codesourcery.com>
32699
32700 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
32701 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
32702 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
32703 * math/auto-libm-test-out: Regenerated.
32704 * sysdeps/i386/fpu/libm-test-ulps: Update.
32705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32706
32707 2015-08-10 Joseph Myers <joseph@codesourcery.com>
32708
32709 [BZ #18790]
32710 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
32711 threshold for returning +/- 1.
32712 * math/auto-libm-test-in: Add more tests of tanh.
32713 * math/auto-libm-test-out: Regenerated.
32714 * sysdeps/i386/fpu/libm-test-ulps: Update.
32715
32716 2015-08-10 Andreas Schwab <schwab@suse.de>
32717
32718 [BZ #18781]
32719 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
32720 MORE_OFLAGS to oflag.
32721 * io/test-lfs.c (do_test): Test openat64.
32722
32723 2015-08-10 Joseph Myers <joseph@codesourcery.com>
32724
32725 [BZ #18789]
32726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
32727 smaller threshold for returning the argument.
32728 * math/auto-libm-test-in: Add more tests of sinh.
32729 * math/auto-libm-test-out: Regenerated.
32730 * sysdeps/i386/fpu/libm-test-ulps: Update.
32731
32732 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
32733
32734 [BZ #18674]
32735 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
32736 break.
32737
32738 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
32739
32740 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
32741 (generated): Don't add $(addprefix z.,$(tzfiles)).
32742
32743 2015-08-09 Mike Frysinger <vapier@gentoo.org>
32744
32745 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
32746 * scripts/sysd-rules.awk: Likewise.
32747
32748 2015-08-09 Mike Frysinger <vapier@gentoo.org>
32749
32750 * iconvdata/tst-tables.sh: Change echo -n to printf.
32751 * nss/db-Makefile: Likewise.
32752 * posix/tst-getconf.sh: Likewise.
32753 * stdio-common/tst-unbputc.sh: Likewise.
32754
32755 2015-08-09 Mike Frysinger <vapier@gentoo.org>
32756
32757 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
32758 MADV_*_PAGES defines behind this feature check.
32759
32760 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
32761
32762 [BZ #18480]
32763 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
32764 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
32765 Define.
32766 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
32767 LOAD_REGS_5, LOAD_REGS_6): Update.
32768 (INTERNAL_SYSCALL): Update using new LOAD defines.
32769 (INTERNAL_SYSCALL_NCS): Likewise.
32770 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
32771
32772 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32773
32774 [BZ #16734]
32775 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32776
32777 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32778
32779 [BZ #17905]
32780 * catgets/Makefile (tst-catgets-mem): New test.
32781 * catgets/catgets.c (catopen): Don't use unbounded alloca.
32782 * catgets/open_catalog.c (__open_catalog): Likewise.
32783 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32784
32785 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
32786
32787 [BZ #18787]
32788 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32789 clobber registers.
32790 (atomic_compare_and_exchange_val_acq): Use register asms to assign
32791 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
32792 Cast return to __typeof (oldval).
32793
32794 2015-08-08 Mike Frysinger <vapier@gentoo.org>
32795
32796 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32797 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
32798 and delete sys/syscall.h include.
32799
32800 2015-08-07 Joseph Myers <joseph@codesourcery.com>
32801
32802 [BZ #16517]
32803 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32804 (tan): Force underflow exception for arguments with small absolute
32805 value.
32806 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32807 (__kernel_tanf): Force underflow exception for arguments with
32808 small absolute value.
32809 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32810 (__kernel_tanl): Force underflow exception for arguments with
32811 small absolute value.
32812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32813 (__kernel_tanl): Force underflow exception for arguments with
32814 small absolute value.
32815 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32816 (__kernel_tanl): Force underflow exception for arguments with
32817 small absolute value.
32818 * math/auto-libm-test-in: Add more tests of tan.
32819 * math/auto-libm-test-out: Regenerated.
32820
32821 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32822
32823 Fix sysdeps/i386/fpu/s_scalbn.S build
32824
32825 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32826
32827 2015-08-07 Mike Frysinger <vapier@gentoo.org>
32828
32829 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32830
32831 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
32832
32833 Fix gcrt0.o compilation
32834
32835 When static-start-installed-name is different from
32836 start-installed-name, we must not use the shared objects.
32837
32838 * csu/Makefile
32839 (extra-objs): Add gmon-start.o when building shared library and
32840 $(static-start-installed-name) is different from
32841 $(start-installed-name).
32842 $(objpfx)g$(static-start-installed-name): When building shared
32843 library and $(static-start-installed-name) is different from
32844 $(static-start-installed-name), revert to non-shared rule,
32845 i.e. using $(objpfx)% and gmon-start.o.
32846
32847 2015-08-06 Joseph Myers <joseph@codesourcery.com>
32848
32849 [BZ #16519]
32850 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32851 (__ieee754_sinh): Force underflow exception for arguments with
32852 small absolute value.
32853 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32854 (__ieee754_sinhf): Force underflow exception for arguments with
32855 small absolute value.
32856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32857 (__ieee754_sinhl): Force underflow exception for arguments with
32858 small absolute value.
32859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32860 (__ieee754_sinhl): Force underflow exception for arguments with
32861 small absolute value.
32862 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32863 (__ieee754_sinhl): Force underflow exception for arguments with
32864 small absolute value.
32865 * math/auto-libm-test-in: Add more tests of sinh.
32866 * math/auto-libm-test-out: Regenerated.
32867 * sysdeps/i386/fpu/libm-test-ulps: Update.
32868
32869 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32870
32871 * libio/oldfileops.c: Include unistd.h.
32872
32873 2015-08-06 Mike Frysinger <vapier@gentoo.org>
32874
32875 * stdlib/isomac.c: Include ctype.h.
32876
32877 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
32878
32879 * dirent/tst-seekdir.c (main): Converted to ...
32880 (do_test): ... this.
32881 (TEST_FUNCTION): New macro.
32882 Include test-skeleton.c.
32883 * elf/tst-dlmodcount.c (main): Converted to ...
32884 (do_test): ... this.
32885 (TEST_FUNCTION): New macro.
32886 Include test-skeleton.c.
32887 * elf/tst-order-main.c (main): Converted to ...
32888 (do_test): ... this.
32889 (TEST_FUNCTION): New macro.
32890 Include test-skeleton.c.
32891 * elf/tst-pie2.c (main): Converted to ...
32892 (do_test): ... this.
32893 (TEST_FUNCTION): New macro.
32894 Include test-skeleton.c.
32895 * inet/tst-ether_aton.c (main): Converted to ...
32896 (do_test): ... this.
32897 (TEST_FUNCTION): New macro.
32898 Include test-skeleton.c.
32899 * misc/tst-mntent.c (main): Converted to ...
32900 (do_test): ... this.
32901 (TEST_FUNCTION): New macro.
32902 Include test-skeleton.c.
32903 * misc/tst-tsearch.c (main): Converted to ...
32904 (do_test): ... this.
32905 (TEST_FUNCTION): New macro.
32906 Include test-skeleton.c.
32907 * posix/tst-regexloc.c (main): Converted to ...
32908 (do_test): ... this.
32909 (TEST_FUNCTION): New macro.
32910 Include test-skeleton.c.
32911 * resolv/tst-aton.c (main): Converted to ...
32912 (do_test): ... this.
32913 (TEST_FUNCTION): New macro.
32914 Include test-skeleton.c.
32915 * stdio-common/test-fwrite.c (main): Converted to ...
32916 (do_test): ... this.
32917 (TEST_FUNCTION): New macro.
32918 Include test-skeleton.c.
32919 * stdio-common/tst-ferror.c (main): Converted to ...
32920 (do_test): ... this.
32921 (TEST_FUNCTION): New macro.
32922 Include test-skeleton.c.
32923 * stdio-common/tst-printf.c (main): Converted to ...
32924 (do_test): ... this.
32925 (TEST_FUNCTION): New macro.
32926 Include test-skeleton.c.
32927 * stdio-common/tst-printfsz.c (main): Converted to ...
32928 (do_test): ... this.
32929 (TEST_FUNCTION): New macro.
32930 Include test-skeleton.c.
32931 * stdlib/tst-strtod.c (main): Converted to ...
32932 (do_test): ... this.
32933 (TEST_FUNCTION): New macro.
32934 Include test-skeleton.c.
32935 * string/tst-strlen.c (main): Converted to ...
32936 (do_test): ... this.
32937 (TEST_FUNCTION): New macro.
32938 Include test-skeleton.c.
32939 * string/tst-svc.c (main): Converted to ...
32940 (do_test): ... this.
32941 (TEST_FUNCTION): New macro.
32942 Include test-skeleton.c.
32943 * time/tst-strptime.c (main): Converted to ...
32944 (do_test): ... this.
32945 (TEST_FUNCTION): New macro.
32946 Include test-skeleton.c.
32947 * timezone/tst-timezone.c (main): Converted to ...
32948 (do_test): ... this.
32949 (TEST_FUNCTION): New macro.
32950 Include test-skeleton.c.
32951
32952 2015-08-05 Zack Weinberg <zackw@panix.com>
32953
32954 * misc/regexp.h: Update comments.
32955
32956 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
32957
32958 [BZ #18635]
32959 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32960 before return label.
32961
32962 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
32963
32964 [BZ #18661]
32965 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32966 when calling __errno_location.
32967 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32968 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32969
32970 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
32971
32972 [BZ #18661]
32973 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32974 (__lll_timedwait_tid): Align stack to 16 bytes when calling
32975 __gettimeofday.
32976
32977 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
32978
32979 [BZ #18661]
32980 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32981 (__start_context): Don't use pop to restore %rdi so that stack
32982 is aligned to 16 bytes when calling __setcontext.
32983
32984 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
32985
32986 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32987 only for libc.
32988 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32989
32990 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
32991
32992 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32993 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
32994 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32995
32996 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
32997
32998 * string/memccpy.c (memccpy):
32999 Improve performance by using memchr/memcpy/__mempcpy.
33000
33001 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33002
33003 * string/strncpy.c (strncpy):
33004 Improve performance by using __strnlen/memcpy.
33005
33006 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33007
33008 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33009 Optimize to avoid an unnecessary FPCR read.
33010
33011 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
33012
33013 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33014 Optimize to reduce FPCR/FPSR accesses.
33015
33016 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
33017
33018 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33019 dead->data[category] != NULL.
33020
33021 2015-08-05 Joseph Myers <joseph@codesourcery.com>
33022
33023 [BZ #18647]
33024 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33025 and |x| close to 1, use absolute value of x when computing log.
33026 * math/auto-libm-test-in: Add more tests of pow.
33027 * math/auto-libm-test-out: Regenerated.
33028
33029 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33030
33031 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33032 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33033 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33034
33035 2015-08-05 Marko Myllynen <myllynen@redhat.com>
33036
33037 [BZ #18525]
33038 * locales/km_KH: Remove timezone definition.
33039 * locales/lo_LA: Likewise.
33040 * locales/my_MM: Likewise.
33041 * locales/nan_TW@latin: Likewise.
33042 * locales/th_TH: Likewise.
33043 * locales/uk_UA: Likewise.
33044
33045 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
33046
33047 [BZ #18265]
33048 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33049 (wcsncat): Likewise.
33050 (wcscmp): Likewise.
33051 (wcsncmp): Likewise.
33052
33053 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33054
33055 * test-skeleton.c (usage): New function.
33056 (main): Call usage when opt is '?'.
33057
33058 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33059
33060 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33061 before first use.
33062
33063 2015-08-05 Mike Frysinger <vapier@gentoo.org>
33064
33065 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33066 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
33067 in there too.
33068
33069 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
33070
33071 * version.h (RELEASE): Set to "development".
33072 (VERSION): Set to "2.22.90"
33073
33074 * version.h (RELEASE): Set to "stable".
33075 (VERSION): Set to "2.22"
33076 * include/features.h (__GLIBC_MINOR__): Set to 22.
33077
33078 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
33079
33080 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33081 Restructure macro to avoid "value computed is not used" warning.
33082 (atomic_compare_and_exchange_val_acq): Likewise.
33083
33084 2015-08-04 Andreas Schwab <schwab@suse.de>
33085
33086 [BZ #18635]
33087 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33088 ret.
33089 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33090
33091 2015-08-01 Carlos O'Donell <carlos@redhat.com>
33092
33093 * po/pl.po: Updated translation.
33094 * po/uk.po: Likewise.
33095 * po/fi.po: Likewise.
33096 * po/ko.po: Likewise.
33097 * po/ru.po: Likewise.
33098 * po/vi.po: Likewise.
33099
33100 2015-07-31 Zack Weinberg <zackw@panix.com>
33101
33102 [BZ #18681]
33103 * regexp.h: Add unconditional #warning stating that this header
33104 will be removed soon. Revise banner comment to match.
33105 (compile): Consistently use ERROR instead of RETURN to report
33106 errors (partial fix for BZ #18681).
33107 * regexp.c: Don't include regexp.h. Remove some unnecessary
33108 declarations.
33109
33110 2015-07-31 Carlos O'Donell <carlos@redhat.com>
33111
33112 * po/libc.pot: Regenerated.
33113
33114 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
33115
33116 [BZ #18740]
33117 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33118 float-vlen4-arch-ext-cflags): Removed.
33119 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33120 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33121
33122 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33123
33124 [BZ #14113]
33125 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33126 aligned to __aligned__.
33127 (pthread_cond_t, pthread_rwlock_t): Likewise.
33128
33129 2015-07-30 Torvald Riegel <triegel@redhat.com>
33130
33131 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33132
33133 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33134
33135 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33136 (struct sigaction): Change sa_flags from a long to an int, and add
33137 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33138
33139 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33140
33141 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33142 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33143 sysdeps/generic/sysdep.h include.
33144 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33145 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
33146 sysdeps/hppa/sysdep.h.
33147 (ENTRY, PSEUDO): Undefine before defining.
33148
33149 2015-07-30 Mike Frysinger <vapier@gentoo.org>
33150
33151 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33152 from scratch to use INTERNAL_SYSCALL.
33153
33154 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
33155
33156 [BZ #18078]
33157 * scripts/check-localplt.awk: Support alternate relocations.
33158 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33159 sections.
33160 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33161 malloc entries with + REL R_386_GLOB_DAT.
33162 * sysdeps/x86_64/localplt.data: New file.
33163
33164 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
33165
33166 [BZ #18731]
33167 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33168 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33169 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33170
33171 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33172
33173 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33174
33175 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33176
33177 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33178 directly in terms of __sync_fetch_and_add and delete (int) cast.
33179
33180 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33181
33182 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33183 the -D_ASM_IA64_CURRENT_H flag.
33184
33185 2015-07-27 Mike Frysinger <vapier@gentoo.org>
33186
33187 [BZ #18641]
33188 * pwd/pwd.h (putpwent): Delete __nonnull markings.
33189
33190 2015-07-27 Andreas Schwab <schwab@suse.de>
33191
33192 * conform/conformtest.pl (checknamespace): Filter out string
33193 literals while tokenizing.
33194
33195 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33196
33197 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33198 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33199 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33200
33201 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33202
33203 * nptl/tst-join7mod.c: Add #include <string.h>.
33204
33205 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33206
33207 * sysdeps/nios2/libm-test-ulps: Update.
33208
33209 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33210
33211 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33212 Fix order of arguments to the rt_sigprocmask syscall.
33213 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33214 Likewise.
33215
33216 2015-07-24 Roland McGrath <roland@hack.frob.com>
33217
33218 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33219
33220 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33221
33222 [BZ #18457]
33223 * nptl/Makefile (tests): New test case tst-join7.
33224 (modules-names): New test case module tst-join7mod.
33225 * nptl/tst-join7.c: New file.
33226 * nptl/tst-join7mod.c: New file.
33227 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33228 all translation units in libc.so, libpthread.so and rtld.
33229
33230 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33231
33232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33233
33234 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
33235
33236 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33237 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33238 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33239 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33240 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33241 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33242 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33243 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33244 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33245 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33246 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33247 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33248 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33249 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33250 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33251 implementation.
33252
33253 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33254
33255 [BZ #17711]
33256 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33257 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33258 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33259 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33260 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33261 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33262
33263 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33264
33265 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33266 instead of just saying load lock in the comments.
33267
33268 2015-07-23 Roland McGrath <roland@hack.frob.com>
33269
33270 * sysdeps/unix/Subdirs: Moved ...
33271 * sysdeps/posix/Subdirs: ... here.
33272 * login/pty.h (struct termios, struct winsize): Add forward decls.
33273 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33274 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33275 * sysdeps/arm/nacl/libc.abilist: Updated.
33276 * sysdeps/nacl/libutil.abilist: New file.
33277
33278 * bits/signum.h: Update comments to mention 1003.1-2013 too.
33279 (SIGWINCH): New macro.
33280
33281 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33282 * sysdeps/arm/nacl/libc.abilist: Add it.
33283
33284 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33285
33286 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33287
33288 2015-07-23 Mike Frysinger <vapier@gentoo.org>
33289
33290 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33291 Swap __glibc_reserved0 and sa_flags order.
33292
33293 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33294
33295 [BZ #18657]
33296 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33297 are pending TLS destructor calls.
33298 * include/link.h (struct link_map): Add concurrency note for
33299 L_TLS_DTOR_COUNT.
33300 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33301 Don't touch the link map flag. Atomically increment
33302 l_tls_dtor_count.
33303 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33304 Avoid taking the load lock and don't touch the link map flag.
33305 * stdlib/tst-tls-atexit-nodelete.c: New test case.
33306 * stdlib/Makefile (tests): Use it.
33307 * stdlib/tst-tls-atexit.c (do_test): dlopen
33308 tst-tls-atexit-lib.so again before dlclose. Add conditionals
33309 to allow tst-tls-atexit-nodelete test case to use it.
33310
33311 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33312
33313 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33314 to bits/types.h.
33315 (msgqnum_t): New typedef.
33316 (msglen_t): Likewise.
33317 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
33318 and msg_qbytes type to msglen_t.
33319
33320 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33321
33322 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33323 pad0 to __glibc_reserved0.
33324 (struct stat64): Likewise.
33325
33326 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33327
33328 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33329 Change sa_flags from a long to an int and add __glibc_reserved0 before
33330 it for padding.
33331
33332 2015-07-22 Mike Frysinger <vapier@gentoo.org>
33333
33334 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33335 anonymous by deleting "siginfo" name.
33336
33337 2015-07-21 Roland McGrath <roland@hack.frob.com>
33338
33339 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33340 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33341 rather than __nacl_irt_filename.
33342 * sysdeps/nacl/xstat.c (__xstat): Likewise.
33343
33344 * NEWS: New item for arm-nacl port.
33345 * sysdeps/arm/nacl/libc.abilist: New file.
33346 * sysdeps/nacl/ld.abilist: New file.
33347 * sysdeps/nacl/libBrokenLocale.abilist: New file.
33348 * sysdeps/nacl/libanl.abilist: New file.
33349 * sysdeps/nacl/libcrypt.abilist: New file.
33350 * sysdeps/nacl/libdl.abilist: New file.
33351 * sysdeps/nacl/libm.abilist: New file.
33352 * sysdeps/nacl/libpthread.abilist: New file.
33353 * sysdeps/nacl/libresolv.abilist: New file.
33354 * sysdeps/nacl/librt.abilist: New file.
33355
33356 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
33357
33358 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33359 __startcontext to initialize the new context.
33360 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33361 up CFI directive to forbid further backtracing.
33362
33363 2015-07-21 Marko Myllynen <myllynen@redhat.com>
33364
33365 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33366 reference.
33367 * charmaps/ANSI_X3.4-1968: Likewise.
33368 * charmaps/BS_4730: Likewise.
33369 * charmaps/BS_VIEWDATA: Likewise.
33370 * charmaps/CP1250: Likewise.
33371 * charmaps/CP1251: Likewise.
33372 * charmaps/CP1252: Likewise.
33373 * charmaps/CP1253: Likewise.
33374 * charmaps/CP1254: Likewise.
33375 * charmaps/CP1255: Likewise.
33376 * charmaps/CP1256: Likewise.
33377 * charmaps/CSN_369103: Likewise.
33378 * charmaps/EBCDIC-DK-NO: Likewise.
33379 * charmaps/GB_1988-80: Likewise.
33380 * charmaps/GREEK-CCITT: Likewise.
33381 * charmaps/GREEK7: Likewise.
33382 * charmaps/INIS-8: Likewise.
33383 * charmaps/ISIRI-3342: Likewise.
33384 * charmaps/ISO_2033-1983: Likewise.
33385 * charmaps/ISO_5427-EXT: Likewise.
33386 * locales/POSIX: Likewise.
33387 * locales/ar_SA: Likewise.
33388 * locales/be_BY: Likewise.
33389 * locales/be_BY@latin: Likewise.
33390 * locales/ca_ES: Likewise.
33391 * locales/cs_CZ: Likewise.
33392 * locales/da_DK: Likewise.
33393 * locales/de_BE: Likewise.
33394 * locales/de_CH: Likewise.
33395 * locales/de_LU: Likewise.
33396 * locales/en_AU: Likewise.
33397 * locales/en_BW: Likewise.
33398 * locales/en_CA: Likewise.
33399 * locales/en_DK: Likewise.
33400 * locales/en_GB: Likewise.
33401 * locales/en_IE: Likewise.
33402 * locales/en_NZ: Likewise.
33403 * locales/en_ZA: Likewise.
33404 * locales/en_ZW: Likewise.
33405 * locales/es_AR: Likewise.
33406 * locales/es_BO: Likewise.
33407 * locales/es_CL: Likewise.
33408 * locales/es_CO: Likewise.
33409 * locales/es_DO: Likewise.
33410 * locales/es_EC: Likewise.
33411 * locales/es_ES: Likewise.
33412 * locales/es_HN: Likewise.
33413 * locales/es_MX: Likewise.
33414 * locales/es_PA: Likewise.
33415 * locales/es_PE: Likewise.
33416 * locales/es_PY: Likewise.
33417 * locales/es_SV: Likewise.
33418 * locales/es_US: Likewise.
33419 * locales/es_UY: Likewise.
33420 * locales/es_VE: Likewise.
33421 * locales/et_EE: Likewise.
33422 * locales/fa_IR: Likewise.
33423 * locales/fo_FO: Likewise.
33424 * locales/fr_CA: Likewise.
33425 * locales/fr_CH: Likewise.
33426 * locales/gv_GB: Likewise.
33427 * locales/he_IL: Likewise.
33428 * locales/hr_HR: Likewise.
33429 * locales/id_ID: Likewise.
33430 * locales/is_IS: Likewise.
33431 * locales/it_CH: Likewise.
33432 * locales/iw_IL: Likewise.
33433 * locales/kl_GL: Likewise.
33434 * locales/ko_KR: Likewise.
33435 * locales/kw_GB: Likewise.
33436 * locales/lg_UG: Likewise.
33437 * locales/lt_LT: Likewise.
33438 * locales/lv_LV: Likewise.
33439 * locales/mi_NZ: Likewise.
33440 * locales/nhn_MX: Likewise.
33441 * locales/nl_BE: Likewise.
33442 * locales/pl_PL: Likewise.
33443 * locales/sk_SK: Likewise.
33444 * locales/sl_SI: Likewise.
33445 * locales/sv_FI: Likewise.
33446 * locales/tl_PH: Likewise.
33447 * locales/tr_TR: Likewise.
33448 * locales/vi_VN: Likewise.
33449
33450 2015-07-21 Khem Raj <raj.khem@gmail.com>
33451
33452 [BZ #17475]
33453 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33454 of tu_IN and bh_IN.
33455
33456 2015-07-21 Mike Frysinger <vapier@gentoo.org>
33457
33458 [BZ #18694]
33459 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33460 bits/wordsize.h.
33461 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33462
33463 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33464
33465 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33466 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33467 (spawn_thread): New function.
33468 (load): Rename to reg_dtor_and_close. Move dlopen to...
33469 (do_test): ... here. Use IS_LOADED to test for its
33470 availability.
33471
33472 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
33473
33474 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33475
33476 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
33477
33478 [BZ #18696]
33479 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33480 si_addr_bnd.
33481 (si_lower): New.
33482 (si_upper): Likewise.
33483
33484 2015-07-16 David S. Miller <davem@davemloft.net>
33485
33486 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33487
33488 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33489
33490 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33491 buffer.
33492 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33493 fail output information.
33494
33495 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33496
33497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33498 and strstr-ppc64..
33499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33500 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33501 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33502 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33503 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33504
33505 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33506
33507 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33508 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33509 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33510 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33511
33512 2015-07-16 Mike Frysinger <vapier@gentoo.org>
33513
33514 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33515 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33516 rtld_hidden_proto.
33517 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33518
33519 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33520
33521 * tst-nodelete-opened.c (do_test): Add comment to clarify how
33522 the test can fail.
33523
33524 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33525
33526 [BZ #18676]
33527 * elf/tst-nodelete-opened.c: New test case.
33528 * elf/tst-nodelete-opened-lib.c: New test case module.
33529 * elf/Makefile (tests, modules-names): Use them.
33530 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33531 early.
33532
33533 2015-07-15 David S. Miller <davem@davemloft.net>
33534
33535 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33536 futex-intenal.h
33537 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33538 * sysdeps/sparc/sparc64/Makefile: Likewise.
33539 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33540 Remove space from macro define.
33541 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33542
33543 2015-07-15 Pravin Satpute <psatpute@redhat.com>
33544
33545 [BZ #17475]
33546 * locale/iso-639.def: Update Bhili and Tulu language codes as
33547 per iso639-3.
33548
33549 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
33550
33551 * elf/tst-leaks1.c (main): Converted to ...
33552 (do_test): ... this.
33553 (TEST_FUNCTION): New macro.
33554 Include test-skeleton.c.
33555 * localedata/tst-langinfo.c (main): Converted to ...
33556 (do_test): ... this.
33557 (TEST_FUNCTION): New macro.
33558 Include test-skeleton.c.
33559 * math/test-fpucw.c (main): Converted to ...
33560 (do_test): ... this.
33561 (TEST_FUNCTION): New macro.
33562 Include test-skeleton.c.
33563 * math/test-tgmath.c (main): Converted to ...
33564 (do_test): ... this.
33565 (TEST_FUNCTION): New macro.
33566 Include test-skeleton.c.
33567 * math/test-tgmath2.c (main): Converted to ...
33568 (do_test): ... this.
33569 (TEST_FUNCTION): New macro.
33570 Include test-skeleton.c.
33571 * setjmp/tst-setjmp.c (main): Converted to ...
33572 (do_test): ... this.
33573 (TEST_FUNCTION): New macro.
33574 Include test-skeleton.c.
33575 * stdio-common/tst-sscanf.c (main): Converted to ...
33576 (do_test): ... this.
33577 (TEST_FUNCTION): New macro.
33578 Include test-skeleton.c.
33579 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33580 (do_test): ... this.
33581 (TEST_FUNCTION): New macro.
33582 Include test-skeleton.c.
33583
33584 * elf/tst-audit9.c (main): Converted to ...
33585 (do_test): ... this.
33586 (TEST_FUNCTION): New macro.
33587 Include test-skeleton.c.
33588
33589 2015-07-15 Mike Frysinger <vapier@gentoo.org>
33590
33591 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33592
33593 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33594
33595 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33596 New variable.
33597
33598 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33599
33600 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33601
33602 2015-07-14 Roland McGrath <roland@hack.frob.com>
33603
33604 * sysdeps/generic/dl-fileid.h: New file.
33605 * sysdeps/posix/dl-fileid.h: New file.
33606 * sysdeps/nacl/dl-fileid.h: New file.
33607 * include/link.h: Include <dl-fileid.h>.
33608 (struct link_map): Replace l_dev and l_ino with l_file_id.
33609 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33610 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
33611 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
33612
33613 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33614
33615 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33616
33617 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33618
33619 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33620 Add iff $CXX is set.
33621 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33622 Likewise.
33623 (tst-nodelete-zmodiff): Likewise.
33624 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33625
33626 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33627
33628 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33629
33630 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33631
33632 * sysdeps/aarch64/fpu/math_private.h
33633 (define math_opt_barrier): Add AArch64 version.
33634 (math_force_eval): Likewise.
33635
33636 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
33637
33638 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33639
33640 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
33641
33642 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33643 %ld with %jd and cast to intmax_t.
33644 (do_test_length_zero): Likewise.
33645
33646 2015-07-10 Roland McGrath <roland@hack.frob.com>
33647
33648 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33649
33650 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
33651
33652 * sysdeps/tile/libm-test-ulps: Regenerated.
33653
33654 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33655 Comment out the whole function, not just its body.
33656
33657 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33658
33659 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
33660 locks.
33661
33662 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
33663
33664 2015-07-10 Torvald Riegel <triegel@redhat.com>
33665
33666 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
33667 (sem_assume_only_signals_cause_futex_EINTR): Remove.
33668
33669 2015-07-10 Torvald Riegel <triegel@redhat.com>
33670
33671 * sysdeps/nptl/futex-internal.h: New file.
33672 * sysdeps/nacl/futex-internal.h: New file.
33673 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
33674 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
33675 error checking.
33676 (setxid_unmark_thread): Likewise.
33677 (__nptl_setxid): Likewise.
33678 (__wait_lookup_done): Likewise.
33679 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33680 * nptl/nptl-init.c (sighandler_setxid): Likewise.
33681 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33682 * nptl/pthread_once.c (clear_once_control): Likewise.
33683 (__pthread_once_slow): Likewise.
33684 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
33685 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
33686 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
33687 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
33688 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
33689 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
33690 Likewise.
33691 (__pthread_rwlock_rdlock): Likewise.
33692 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33693 Likewise.
33694 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33695 Likewise.
33696 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33697 Likewise.
33698 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
33699 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33700 Likewise.
33701 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
33702 __ASSUME_PRIVATE_FUTEX check.
33703 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
33704 Check that shared futexes are supported.
33705 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
33706 wrappers with error checking.
33707 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
33708 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
33709 * nptl/pthread_barrierattr_setpshared.c
33710 (pthread_barrierattr_setpshared): Check that shared futexes are
33711 supported.
33712 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
33713 Likewise.
33714 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
33715 Likewise.
33716 * nptl/sem_init.c (futex_private_if_supported): Remove.
33717 (__new_sem_init): Adapt and check that shared futexes are supported.
33718 * nptl/sem_open.c (sem_open): Likewise.
33719 * nptl/sem_post.c (futex_wake): Remove.
33720 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
33721 (do_futex_wait): Use futex wrappers with error checking.
33722 * nptl/sem_wait.c: Include lowlevellock.h.
33723 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
33724 Use futex_supports_pshared.
33725 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
33726 Use futex wrappers with error checking.
33727 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
33728 Likewise.
33729 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
33730 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
33731 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
33732 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
33733 (futex_wake): Likewise.
33734 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
33735 (do_futex_wait): Use futex wrappers with error checking.
33736 (__new_sem_wait_slow): Update EINTR handling.
33737 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
33738
33739 2015-07-09 Martin Sebor <msebor@redhat.com>
33740
33741 [BZ #18435]
33742 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33743 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
33744 * nptl/Makefile (test-xfail-tst-once5): Define.
33745
33746 2015-07-09 Roland McGrath <roland@hack.frob.com>
33747
33748 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
33749 * elf/dl-minimal.c: For readability, reorder some definitions and
33750 introduce more page breaks. Include <stdio.h>.
33751 (__libc_fatal): New function.
33752
33753 * include/unistd.h: Add rtld_hidden_proto for _exit.
33754 * posix/_exit.c: Add rtld_hidden_def.
33755 * sysdeps/mach/hurd/_exit.c: Likewise.
33756 * sysdeps/nacl/_exit.c: Likewise.
33757 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
33758 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
33759
33760 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
33761
33762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
33763 bndmov encoding with zero displacement.
33764
33765 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
33766 H.J. Lu <hongjiu.lu@intel.com>
33767
33768 [BZ #18134]
33769 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
33770 * sysdeps/i386/configure: Regenerated.
33771 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33772 (_dl_runtime_profile): Save and restore Intel MPX return bound
33773 registers when calling _dl_call_pltexit. Add
33774 PRESERVE_BND_REGS_PREFIX before return.
33775 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
33776 (LRV_BND1_OFFSET): Likewise.
33777 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33778 lrv_bnd1.
33779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33780 typo in bndmov encoding.
33781 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33782 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
33783 branch instructions to preserve bounds.
33784
33785 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33786
33787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33788 [GLIBC_2.22]: Add fmemopen.
33789
33790 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
33791
33792 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33793 returns an error, also try to use host port from __mach_host_self for
33794 the __vm_wire call.
33795 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33796
33797 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
33798
33799 [BZ #18400]
33800 [BZ #18648]
33801 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33802 Fix pr_uid and pr_gid members.
33803 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33804 definition to elf_greg_t.
33805
33806 2015-07-08 Roland McGrath <roland@hack.frob.com>
33807
33808 [BZ #18383]
33809 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33810 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33811 * sysdeps/arm/configure: Regenerated.
33812 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33813 (test-xfail-tst-tlsalign-static): Variable removed.
33814
33815 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33816 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33817 rather than explicit 'ln -s'.
33818
33819 * resolv/rpc/netdb.h: New file.
33820 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33821
33822 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33823
33824 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33825 length buffers.
33826 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33827 test-skeleton.c.
33828
33829 [BZ #6544]
33830 [BZ #11216]
33831 [BZ #12836]
33832 [BZ #13151]
33833 [BZ #13152]
33834 [BZ #14292]
33835 * include/stdio.h (fmemopen): Remove hidden prototype.
33836 (__fmemopen): Add new hidden prototype.
33837 * libio/Makefile: Add oldfmemopen object.
33838 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33839 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33840 compliance.
33841 * libio/oldfmemopen.c: New file: old fmemopen implementation for
33842 symbol compatibility.
33843 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33844 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33845 fmemopen.
33846 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33847 on append and read mode.
33848 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33849 fmemopen.
33850 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33851 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33852 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33853 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33854 Likewise.
33855 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33856 [GLIBC_2.22]: Likewise.
33857 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33858 Likewise.
33859 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33860 Likewise.
33861 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33862 [GLIBC_2.22]: Likewise.
33863 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33864 [GLIBC_2.22]: Likewise.
33865 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33866 [GLIBC_2.22]: Likewise.
33867 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33868 [GLIBC_2.22]: Likewise.
33869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33870 [GLIBC_2.22]: Likewise.
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33872 [GLIBC_2.22]: Likewise.
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33874 [GLIBC_2.22]: Likewise.
33875 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33876 Likewise.
33877 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33878 Likewise.
33879 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33880 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33881 [GLIBC_2.22]: Likewise.
33882 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33883 [GLIBC_2.22]: Likewise.
33884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33885 [GLIBC_2.22]: Likewise.
33886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33887 [GLIBC_2.22]: Likewise.
33888 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33889 Likewise.
33890 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33891 Likewise.
33892 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33893 Likewise.
33894 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33895 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33896
33897 2015-07-08 Carlos O'Donell <carlos@redhat.com>
33898
33899 [BZ #18643]
33900 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33901 IPV6_PATHMTU, and IPV6_DONTFRAG.
33902
33903 2015-07-08 Feng Gao <gfree.wind@gmail.com>
33904
33905 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33906 and _IO_UNBUFFERED.
33907 * libio/oldfileops.c: Likewise.
33908 * libio/wfileops.c: Likewise.
33909
33910 2015-07-08 Mike Frysinger <vapier@gentoo.org>
33911
33912 * nscd/selinux.c: Delete selinux/flask.h include.
33913
33914 2015-07-08 Mike Frysinger <vapier@gentoo.org>
33915
33916 [BZ #18641]
33917 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33918 (putpwent): Likewise.
33919 (getpwnam): Likewise.
33920 (getpwent_r): Likewise.
33921 (getpwuid_r): Likewise.
33922 (getpwnam_r): Likewise.
33923 (fgetpwent_r): Likewise.
33924
33925 2015-07-08 Carlos O'Donell <carlos@redhat.com>
33926
33927 [BZ #18557]
33928 * inet/rcmd.c (__validuser2_sa): Check user first to
33929 short-circuit host check.
33930
33931 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
33932 Mikhail Ilin <m.ilin@samsung.com>
33933
33934 [BZ #17833]
33935 * elf/Makefile (tests): Add tst-nodelete.
33936 (modules-names): Add tst-nodelete-uniquemod.
33937 (tst-nodelete-uniquemod.so-no-z-defs): New.
33938 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33939 (tst-nodelete-zmod.so-no-z-defs): Likewise.
33940 ($(objpfx)tst-nodelete): Likewise.
33941 ($(objpfx)tst-nodelete.out): Likewise.
33942 (LDFLAGS-tst-nodelete): Likewise.
33943 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33944 * elf/dl-close.c (_dl_close_worker): Add a parameter to
33945 implement forced object deletion.
33946 (_dl_close): Pass false to _dl_close_worker.
33947 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33948 * elf/tst-nodelete.cc: New file.
33949 * elf/tst-nodeletelib.cc: Likewise.
33950 * elf/tst-znodeletelib.cc: Likewise.
33951 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33952
33953 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
33954
33955 [BZ #18508]
33956 * stdlib/Makefile ($(objpfx)tst-makecontext3):
33957 Depend on $(libdl).
33958 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33959 is not called infinitely times.
33960 (backtrace_helper): New function.
33961 (trace_arg): New struct.
33962 (st1): Enlarge stack size.
33963 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33964 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33965 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33966 Likewise.
33967
33968 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
33969
33970 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33971
33972 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
33973
33974 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33975 Include sys/types.h instead of bits/types.h.
33976 Remove inclusion of bits/wordsize.h.
33977
33978 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
33979
33980 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33981 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33982 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33983 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33984 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33985 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33986
33987 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
33988
33989 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33990 link-defines.sym.
33991 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33992 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33993 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33994 and LR_SIZE.
33995 * sysdeps/i386/link-defines.sym: New file.
33996
33997 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
33998
33999 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34000 (modules-names): Add tst-auditmod3a tst-auditmod3b.
34001 ($(objpfx)tst-audit3): New rule.
34002 ($(objpfx)tst-audit3.out): Likewise.
34003 * sysdeps/i386/tst-audit3.c: New file.
34004 * sysdeps/i386/tst-audit3.h: Likewise.
34005 * sysdeps/i386/tst-auditmod3a.c: Likewise.
34006 * sysdeps/i386/tst-auditmod3b.c: Likewise.
34007
34008 2015-07-07 Torvald Riegel <triegel@redhat.com>
34009
34010 [BZ #18633]
34011 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34012 pointer in C code.
34013 (__strcat_c): Likewise.
34014 (__strcat_g): Likewise.
34015
34016 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
34017
34018 [BZ #18592]
34019 * misc/sbrk.c: Set errno to ENOMEM on overflow.
34020
34021 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34022
34023 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34024 New function. (__ieee754_sqrtf): New function.
34025 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34026 New function.
34027 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34028 New function.
34029
34030 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
34031
34032 * sysdeps/ieee754/support.c: Remove unused file.
34033
34034 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
34035
34036 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34037 registers instead of d ones so the layout is kernel abi compatible.
34038 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34039 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34040 Likewise.
34041
34042 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
34043
34044 * sysdeps/aarch64/libm-test-ulps: Regenerated.
34045
34046 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34047
34048 [BZ #18619]
34049 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34050 and return argument in case of subnormal argument.
34051
34052 2015-07-01 Martin Sebor <msebor@redhat.com>
34053
34054 [BZ #18435]
34055 * nptl/Makefile: Add tst-once5.cc.
34056 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34057 Remove macro redefinitions.
34058 * nptl/tst-once5.cc: New test.
34059
34060 2015-07-01 Joseph Myers <joseph@codesourcery.com>
34061
34062 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34063
34064 * sysdeps/arm/libm-test-ulps: Regenerated.
34065
34066 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34067 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34068
34069 2015-06-30 Torvald Riegel <triegel@redhat.com>
34070
34071 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34072 lll_lock_wait_private and lll_futex_wake probes.
34073
34074 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34075 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34076 Likewise.
34077 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34078 atomic_spin_nop.
34079 * sysdeps/x86_64/bits/atomic.h: Likewise.
34080 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34081 to atomic_spin_nop and move ...
34082 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34083 ... here and ...
34084 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34085 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34086 atomic_spin_nop instead of BUSY_WAIT_NOP.
34087 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34088 Likewise.
34089 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34090 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34091 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34092 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34093 instead of atomic_delay.
34094
34095 2015-06-29 Joseph Myers <joseph@codesourcery.com>
34096
34097 [BZ #18613]
34098 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34099 X_ADJ not X when adjusting exponent.
34100 (__ieee754_gamma_r): Do intermediate computations in
34101 round-to-nearest then adjust overflowing and underflowing results
34102 as needed.
34103 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34104 of X_ADJ not X when adjusting exponent.
34105 (__ieee754_gammaf_r): Do intermediate computations in
34106 round-to-nearest then adjust overflowing and underflowing results
34107 as needed.
34108 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34109 log of X_ADJ not X when adjusting exponent.
34110 (__ieee754_gammal_r): Do intermediate computations in
34111 round-to-nearest then adjust overflowing and underflowing results
34112 as needed. Use 1.0L not 1.0f as numerator of division.
34113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34114 log of X_ADJ not X when adjusting exponent.
34115 (__ieee754_gammal_r): Do intermediate computations in
34116 round-to-nearest then adjust overflowing and underflowing results
34117 as needed. Use 1.0L not 1.0f as numerator of division.
34118 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34119 of X_ADJ not X when adjusting exponent.
34120 (__ieee754_gammal_r): Do intermediate computations in
34121 round-to-nearest then adjust overflowing and underflowing results
34122 as needed. Use 1.0L not 1.0f as numerator of division.
34123 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
34124 to auto-libm-test-in.
34125 (tgamma_test): Use ALL_RM_TEST.
34126 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
34127 tests of tgamma with spurious-overflow.
34128 * math/auto-libm-test-out: Regenerated.
34129 * math/gen-libm-have-vector-test.sh: Do not check for START.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34132
34133 [BZ #18612]
34134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34135 arguments, just return 0.5 times the argument, with underflow
34136 forced as needed.
34137 * math/auto-libm-test-in: Add more tests of j1.
34138 * math/auto-libm-test-out: Regenerated.
34139
34140 [BZ #16559]
34141 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34142 (__ieee754_j1): Force underflow exception for small results.
34143 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34144 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34145 (__ieee754_j1f): Force underflow exception for small results.
34146 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34147 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34149 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34150 (__ieee754_j1l): Force underflow exception for small results.
34151 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34152 * math/auto-libm-test-in: Add more tests of j1 and jn.
34153 * math/auto-libm-test-out: Regenerated.
34154
34155 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34156 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34157 (PF_MPLS): Likewise.
34158 (AF_IB): Likewise.
34159 (AF_MPLS): Likewise.
34160 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34161 value and macro.
34162 (MS_RMT_MASK): Include MS_LAZYTIME.
34163
34164 2015-06-26 Mel Gorman <mgorman@suse.de>
34165
34166 [BZ #18502]
34167 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34168 already minimal.
34169
34170 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
34171
34172 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34173 (DT_MIPS_NUM): Update.
34174 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34175 DT_MIPS_RLD_MAP_REL.
34176
34177 2015-06-25 Joseph Myers <joseph@codesourcery.com>
34178
34179 [BZ #16559]
34180 [BZ #18602]
34181 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34182 round-to-nearest internally then recompute results that
34183 underflowed to zero in the original rounding mode.
34184 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34185 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34188 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34189 * sysdeps/i386/fpu/libm-test-ulps: Update.
34190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34191
34192 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
34193
34194 * NEWS: Fixed description of link with vector math library.
34195
34196 2015-06-25 Andreas Schwab <schwab@suse.de>
34197
34198 [BZ #18549]
34199 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34200 * libio/test-fmemopen.c (do_test): Add test for it.
34201
34202 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
34203
34204 [BZ #17841]
34205 * Makeconfig (no-pie-ldflag): New.
34206 (+link): Set to $(+link-pie) if default to PIE.
34207 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34208 * config.make.in (build-pie-default): New.
34209 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
34210 is default. AC_SUBST.
34211 * configure: Regenerated.
34212 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34213
34214 2015-06-24 Roland McGrath <roland@hack.frob.com>
34215
34216 * nptl/descr.h (struct pthread): Change type of field setxid_futex
34217 to 'unsigned int'.
34218
34219 * resolv/gai_misc.h (struct waitlist): Change type of field
34220 counterp to 'volatile unsigned int *'.
34221 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34222 FUTEXADDR and OLDVAL.
34223 * resolv/getaddrinfo_a.c (getaddrinfo_a):
34224 Give local variable TOTAL type 'volatile unsigned int'.
34225 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34226 * resolv/gai_suspend.c (gai_suspend):
34227 Give local variable CNTR type 'unsigned int'.
34228
34229 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34230 counterp to 'volatile unsigned int *'.
34231 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34232 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34233 (aio_suspend): Give local variable CNTR type 'unsigned int'.
34234 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34235 Give local variable TOTAL type 'volatile unsigned int'.
34236 (struct async_waitlist): Change type of field counter to 'unsigned int'.
34237
34238 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34239
34240 [BZ #18383]
34241 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34242 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
34243 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34244 comment for i386/x86-64.
34245 (test-xfail-tst-tlsalign-extern-static): Removed.
34246
34247 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34248
34249 * math/test-double.h: New file.
34250 * math/test-float.h: Likewise.
34251 * math/test-ldouble.h: Likewise.
34252 * math/test-math-inline.h: Likewise.
34253 * math/test-math-no-inline.h: Likewise.
34254 * math/test-math-scalar.h: Likewise.
34255 * math/test-math-vector.h: Likewise.
34256 * math/test-vec-loop.h: Remove file. Contents moved into
34257 test-math-vector.h.
34258 * math/libm-test.inc (MATHCONST): Do not document macro.
34259 * math/test-double.c: Include test-double.h, test-math-no-inline.h
34260 and test-math-scalar.h.
34261 (FUNC): Remove macro.
34262 (FUNC_TEST): Likewise.
34263 (FLOAT): Likewise.
34264 (MATHCONST): Likewise.
34265 (PRINTF_EXPR): Likewise.
34266 (PRINTF_XEXPR): Likewise.
34267 (PRINTF_NEXPR): Likewise.
34268 (TEST_DOUBLE): Likewise.
34269 (TEST_MATHVEC): Likewise.
34270 (__NO_MATH_INLINES): Likewise.
34271 * math/test-float.c: Include test-float.h, test-math-no-inline.h
34272 and test-math-scalar.h.
34273 (FUNC): Remove macro.
34274 (FUNC_TEST): Likewise.
34275 (FLOAT): Likewise.
34276 (MATHCONST): Likewise.
34277 (PRINTF_EXPR): Likewise.
34278 (PRINTF_XEXPR): Likewise.
34279 (PRINTF_NEXPR): Likewise.
34280 (TEST_FLOAT): Likewise.
34281 (TEST_MATHVEC): Likewise.
34282 (__NO_MATH_INLINES): Likewise.
34283 * math/test-idouble.c: Include test-double.h, test-math-inline.h
34284 and test-math-scalar.h.
34285 (FUNC): Remove macro.
34286 (FUNC_TEST): Likewise.
34287 (FLOAT): Likewise.
34288 (MATHCONST): Likewise.
34289 (PRINTF_EXPR): Likewise.
34290 (PRINTF_XEXPR): Likewise.
34291 (PRINTF_NEXPR): Likewise.
34292 (TEST_DOUBLE): Likewise.
34293 (TEST_MATHVEC): Likewise.
34294 (TEST_INLINE): Likewise.
34295 (__NO_MATH_INLINES): Likewise.
34296 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34297 test-math-scalar.h.
34298 (FUNC): Remove macro.
34299 (FUNC_TEST): Likewise.
34300 (FLOAT): Likewise.
34301 (MATHCONST): Likewise.
34302 (PRINTF_EXPR): Likewise.
34303 (PRINTF_XEXPR): Likewise.
34304 (PRINTF_NEXPR): Likewise.
34305 (TEST_FLOAT): Likewise.
34306 (TEST_MATHVEC): Likewise.
34307 (TEST_INLINE): Likewise.
34308 (__NO_MATH_INLINES): Likewise.
34309 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34310 and test-math-scalar.h.
34311 (FUNC): Remove macro.
34312 (FUNC_TEST): Likewise.
34313 (FLOAT): Likewise.
34314 (MATHCONST): Likewise.
34315 (PRINTF_EXPR): Likewise.
34316 (PRINTF_XEXPR): Likewise.
34317 (PRINTF_NEXPR): Likewise.
34318 (TEST_LDOUBLE): Likewise.
34319 (TEST_MATHVEC): Likewise.
34320 (TEST_INLINE): Likewise.
34321 (__NO_MATH_INLINES): Likewise.
34322 * math/test-ldouble.c: Include test-ldouble.h,
34323 test-math-no-inline.h and test-math-scalar.h.
34324 (FUNC): Remove macro.
34325 (FUNC_TEST): Likewise.
34326 (FLOAT): Likewise.
34327 (MATHCONST): Likewise.
34328 (PRINTF_EXPR): Likewise.
34329 (PRINTF_XEXPR): Likewise.
34330 (PRINTF_NEXPR): Likewise.
34331 (TEST_LDOUBLE): Likewise.
34332 (TEST_MATHVEC): Likewise.
34333 (__NO_MATH_INLINES): Likewise.
34334 * math/test-double-vlen2.h: Include test-double.h,
34335 test-math-no-inline.h and test-math-vector.h.
34336 (FLOAT): Remove macro.
34337 (FUNC): Likewise.
34338 (MATHCONST): Likewise.
34339 (PRINTF_EXPR): Likewise.
34340 (PRINTF_XEXPR): Likewise.
34341 (PRINTF_NEXPR): Likewise.
34342 (TEST_DOUBLE): Likewise.
34343 (TEST_MATHVEC): Likewise.
34344 (__NO_MATH_INLINES): Likewise.
34345 (CNCT): Likewise.
34346 (CONCAT): Likewise.
34347 (WRAPPER_NAME): Likewise.
34348 (WRAPPER_DECL): Likewise.
34349 (WRAPPER_DECL_ff): Likewise.
34350 (WRAPPER_DECL_fFF): Likewise.
34351 (VECTOR_WRAPPER): Likewise.
34352 (VECTOR_WRAPPER_ff): Likewise.
34353 (VECTOR_WRAPPER_fFF): Likewise.
34354 (VEC_LEN): New macro.
34355 * math/test-double-vlen4.h: Include test-double.h,
34356 test-math-no-inline.h and test-math-vector.h.
34357 (FLOAT): Remove macro.
34358 (FUNC): Likewise.
34359 (MATHCONST): Likewise.
34360 (PRINTF_EXPR): Likewise.
34361 (PRINTF_XEXPR): Likewise.
34362 (PRINTF_NEXPR): Likewise.
34363 (TEST_DOUBLE): Likewise.
34364 (TEST_MATHVEC): Likewise.
34365 (__NO_MATH_INLINES): Likewise.
34366 (CNCT): Likewise.
34367 (CONCAT): Likewise.
34368 (WRAPPER_NAME): Likewise.
34369 (WRAPPER_DECL): Likewise.
34370 (WRAPPER_DECL_ff): Likewise.
34371 (WRAPPER_DECL_fFF): Likewise.
34372 (VECTOR_WRAPPER): Likewise.
34373 (VECTOR_WRAPPER_ff): Likewise.
34374 (VECTOR_WRAPPER_fFF): Likewise.
34375 (VEC_LEN): New macro.
34376 * math/test-double-vlen8.h: Include test-double.h,
34377 test-math-no-inline.h and test-math-vector.h.
34378 (FLOAT): Remove macro.
34379 (FUNC): Likewise.
34380 (MATHCONST): Likewise.
34381 (PRINTF_EXPR): Likewise.
34382 (PRINTF_XEXPR): Likewise.
34383 (PRINTF_NEXPR): Likewise.
34384 (TEST_DOUBLE): Likewise.
34385 (TEST_MATHVEC): Likewise.
34386 (__NO_MATH_INLINES): Likewise.
34387 (CNCT): Likewise.
34388 (CONCAT): Likewise.
34389 (WRAPPER_NAME): Likewise.
34390 (WRAPPER_DECL): Likewise.
34391 (WRAPPER_DECL_ff): Likewise.
34392 (WRAPPER_DECL_fFF): Likewise.
34393 (VECTOR_WRAPPER): Likewise.
34394 (VECTOR_WRAPPER_ff): Likewise.
34395 (VECTOR_WRAPPER_fFF): Likewise.
34396 (VEC_LEN): New macro.
34397 * math/test-float-vlen4.h: Include test-float.h,
34398 test-math-no-inline.h and test-math-vector.h.
34399 (FLOAT): Remove macro.
34400 (FUNC): Likewise.
34401 (MATHCONST): Likewise.
34402 (PRINTF_EXPR): Likewise.
34403 (PRINTF_XEXPR): Likewise.
34404 (PRINTF_NEXPR): Likewise.
34405 (TEST_FLOAT): Likewise.
34406 (TEST_MATHVEC): Likewise.
34407 (__NO_MATH_INLINES): Likewise.
34408 (CNCT): Likewise.
34409 (CONCAT): Likewise.
34410 (WRAPPER_NAME): Likewise.
34411 (WRAPPER_DECL): Likewise.
34412 (WRAPPER_DECL_ff): Likewise.
34413 (WRAPPER_DECL_fFF): Likewise.
34414 (VECTOR_WRAPPER): Likewise.
34415 (VECTOR_WRAPPER_ff): Likewise.
34416 (VECTOR_WRAPPER_fFF): Likewise.
34417 (VEC_LEN): New macro.
34418 * math/test-float-vlen8.h: Include test-float.h,
34419 test-math-no-inline.h and test-math-vector.h.
34420 (FLOAT): Remove macro.
34421 (FUNC): Likewise.
34422 (MATHCONST): Likewise.
34423 (PRINTF_EXPR): Likewise.
34424 (PRINTF_XEXPR): Likewise.
34425 (PRINTF_NEXPR): Likewise.
34426 (TEST_FLOAT): Likewise.
34427 (TEST_MATHVEC): Likewise.
34428 (__NO_MATH_INLINES): Likewise.
34429 (CNCT): Likewise.
34430 (CONCAT): Likewise.
34431 (WRAPPER_NAME): Likewise.
34432 (WRAPPER_DECL): Likewise.
34433 (WRAPPER_DECL_ff): Likewise.
34434 (WRAPPER_DECL_fFF): Likewise.
34435 (VECTOR_WRAPPER): Likewise.
34436 (VECTOR_WRAPPER_ff): Likewise.
34437 (VECTOR_WRAPPER_fFF): Likewise.
34438 (VEC_LEN): New macro.
34439 * math/test-float-vlen16.h: Include test-float.h,
34440 test-math-no-inline.h and test-math-vector.h.
34441 (FLOAT): Remove macro.
34442 (FUNC): Likewise.
34443 (MATHCONST): Likewise.
34444 (PRINTF_EXPR): Likewise.
34445 (PRINTF_XEXPR): Likewise.
34446 (PRINTF_NEXPR): Likewise.
34447 (TEST_FLOAT): Likewise.
34448 (TEST_MATHVEC): Likewise.
34449 (__NO_MATH_INLINES): Likewise.
34450 (CNCT): Likewise.
34451 (CONCAT): Likewise.
34452 (WRAPPER_NAME): Likewise.
34453 (WRAPPER_DECL): Likewise.
34454 (WRAPPER_DECL_ff): Likewise.
34455 (WRAPPER_DECL_fFF): Likewise.
34456 (VECTOR_WRAPPER): Likewise.
34457 (VECTOR_WRAPPER_ff): Likewise.
34458 (VECTOR_WRAPPER_fFF): Likewise.
34459 (VEC_LEN): New macro.
34460 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34461 test-vec-loop.h.
34462 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34463 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34464 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34465 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34466 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34467 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34468 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34469
34470 2015-06-24 Roland McGrath <roland@hack.frob.com>
34471
34472 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34473 (__getlogin_r): ... this.
34474
34475 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34476
34477 [BZ #18594]
34478 * math/s_ccosh.c (__ccosh): Compare with least normal value
34479 instead of comparing class with FP_SUBNORMAL.
34480 * math/s_ccoshf.c (__ccoshf): Likewise.
34481 * math/s_ccoshl.c (__ccoshl): Likewise.
34482 * math/s_cexp.c (__cexp): Likewise.
34483 * math/s_cexpf.c (__cexpf): Likewise.
34484 * math/s_cexpl.c (__cexpl): Likewise.
34485 * math/s_csin.c (__csin): Likewise.
34486 * math/s_csinf.c (__csinf): Likewise.
34487 * math/s_csinh.c (__csinh): Likewise.
34488 * math/s_csinhf.c (__csinhf): Likewise.
34489 * math/s_csinhl.c (__csinhl): Likewise.
34490 * math/s_csinl.c (__csinl): Likewise.
34491 * math/s_ctan.c (__ctan): Likewise.
34492 * math/s_ctanf.c (__ctanf): Likewise.
34493 * math/s_ctanh.c (__ctanh): Likewise.
34494 * math/s_ctanhf.c (__ctanhf): Likewise.
34495 * math/s_ctanhl.c (__ctanhl): Likewise.
34496 * math/s_ctanl.c (__ctanl): Likewise.
34497 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34498 csin, csinh, ctan and ctanh.
34499 * math/auto-libm-test-out: Regenerated.
34500 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34501 * sysdeps/i386/fpu/libm-test-ulps: Update.
34502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34503
34504 2015-06-24 Roland McGrath <roland@hack.frob.com>
34505
34506 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34507 return value is wrong, print the expected value too.
34508
34509 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
34510
34511 [BZ #18585]
34512 * elf/readlib.c (is_gdb_python_file): New.
34513 (process_file): Don't issue errors on filenames with -gdb.py
34514 suffix.
34515
34516 2015-06-24 Joseph Myers <joseph@codesourcery.com>
34517
34518 * math/auto-libm-test-in: Add more tests of csin and csinh.
34519 * math/auto-libm-test-out: Regenerated.
34520 * math/libm-test.inc (csin_test_data): Remove tests moved to
34521 auto-libm-test-in.
34522 (csinh_test_data): Likewise.
34523
34524 [BZ #18593]
34525 * math/s_csin.c (__csin): Negate before rather than after possibly
34526 overflowing multiplication.
34527 * math/s_csinf.c (__csinf): Likewise.
34528 * math/s_csinh.c (__csinh): Likewise.
34529 * math/s_csinhf.c (__csinhf): Likewise.
34530 * math/s_csinhl.c (__csinhl): Likewise.
34531 * math/s_csinl.c (__csinl): Likewise.
34532 * math/auto-libm-test-in: Add some tests of csin and csinh.
34533 * math/auto-libm-test-out: Regenerated.
34534 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34535 (csinh_test_data): Likewise.
34536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34537
34538 [BZ #18586]
34539 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34540 underflow exception for small results.
34541
34542 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
34543
34544 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34545 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34546 variable and included header.
34547 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34548 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34549 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34550 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34551 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34552 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34553 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34554 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34555 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34556 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34557 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34558 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34559 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34560 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34561 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34562 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34563
34564 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34565
34566 [BZ #16526]
34567 [BZ #16538]
34568 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34569 (__sin): Force underflow exception for arguments with small
34570 absolute value.
34571 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34572 (__kernel_sinf): Force underflow exception for arguments with
34573 small absolute value.
34574 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34575 (__kernel_sincosl): Force underflow exception for arguments with
34576 small absolute value.
34577 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34578 (__kernel_sinl): Force underflow exception for arguments with
34579 small absolute value.
34580 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34581 (__kernel_sincosl): Force underflow exception for arguments with
34582 small absolute value.
34583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34584 (__kernel_sinl): Force underflow exception for arguments with
34585 small absolute value.
34586 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34587 (__kernel_sinl): Force underflow exception for arguments with
34588 small absolute value.
34589 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34590 (__kernel_sinf): Force underflow exception for arguments with
34591 small absolute value.
34592 * math/auto-libm-test-in: Add more tests of sin and sincos.
34593 * math/auto-libm-test-out: Regenerated.
34594
34595 [BZ #18245]
34596 [BZ #18583]
34597 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34598 (__kernel_standard_l): Use feholdexcept and fesetenv around
34599 conversion to double instead of special-casing overflow and
34600 underflow.
34601 * math/libm-test.inc (fmod_test_data): Add more tests.
34602 (remainder_test_data): Likewise.
34603 (sqrt_test_data): Likewise.
34604
34605 2015-06-23 Torvald Riegel <triegel@redhat.com>
34606
34607 [BZ #17403]
34608 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34609 atomic_read_barrier, atomic_write_barrier): Define.
34610 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34611 atomic_read_barrier, atomic_write_barrier): Define.
34612
34613 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34614
34615 * math/Makefile [$(PERL) != no]
34616 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34617 dependency on libm-test.stmp below the inclusion of Rules.
34618
34619 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
34620
34621 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34622 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34623 and included header.
34624 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34625 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34626 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34627 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34628 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34629 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34630 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34631 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34632 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34633 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34634 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34635 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34636 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34637 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34638 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34639 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34640 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34641 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34642 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34643
34644 2015-06-23 Joseph Myers <joseph@codesourcery.com>
34645
34646 [BZ #18371]
34647 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34648 intermediate but not final result might underflow.
34649 * math/s_csqrtf.c (__csqrtf): Likewise.
34650 * math/s_csqrtl.c (__csqrtl): Likewise.
34651 * math/auto-libm-test-in: Add more tests of csqrt.
34652 * math/auto-libm-test-out: Regenerated.
34653 * sysdeps/i386/fpu/libm-test-ulps: Update.
34654
34655 [BZ #18219]
34656 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34657 threshold on absolute value of exponent for which scaling is used.
34658 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34659 * math/auto-libm-test-in: Add more tests of exp2.
34660 * math/auto-libm-test-out: Regenerated.
34661
34662 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
34663
34664 [BZ #17977]
34665 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
34666 when initializing interface list, based on the bug analysis
34667 and the patch proposed by Eric Newton.
34668 * resolv/tst-res_hconf_reorder.c: New test.
34669 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
34670 tst-res_hconf_reorder.
34671 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
34672 and $(shared-thread-library).
34673 (tst-res_hconf_reorder-ENV): New variable.
34674
34675 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
34676 in comment.
34677
34678 2015-06-22 Joseph Myers <joseph@codesourcery.com>
34679
34680 [BZ #16353]
34681 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
34682 (__expm1): Force underflow exception for arguments with small
34683 absolute value.
34684 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
34685 (__expm1f): Force underflow exception for arguments with small
34686 absolute value.
34687 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
34688 (__expm1): Force underflow exception for arguments with small
34689 absolute value.
34690 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
34691 (__expm1f): Force underflow exception for arguments with small
34692 absolute value.
34693 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34694 Check for small arguments before calling __expm1.
34695 * math/auto-libm-test-in: Do not mark underflow exceptions as
34696 possibly missing for bug 16353.
34697 * math/auto-libm-test-out: Regenerated.
34698
34699 2015-06-22 Andreas Schwab <schwab@suse.de>
34700
34701 [BZ #18513]
34702 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
34703 PTR queries.
34704
34705 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
34706
34707 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
34708
34709 * string/strcoll_l.c: Remove unused struct element idxnow.
34710
34711 2015-06-21 Joseph Myers <joseph@codesourcery.com>
34712
34713 [BZ #18569]
34714 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
34715 underflow and return argument in case of subnormal argument.
34716 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34717 Likewise.
34718 * math/auto-libm-test-in: Add more tests of expm1.
34719 * math/auto-libm-test-out: Regenerated.
34720
34721 [BZ #16361]
34722 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34723 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34724 tiny results.
34725 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34726 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34727 tiny results.
34728 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
34729 mark underflow exceptions as possibly missing for bug 16361.
34730 * math/auto-libm-test-out: Regenerated.
34731
34732 2015-06-19 Joseph Myers <joseph@codesourcery.com>
34733
34734 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
34735 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
34736 Remove variable.
34737 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34738 (test-xfail-XOPEN2K8/utmpx.h/conform).
34739
34740 * conform/conformtest.pl ($xerrors): New variable.
34741 (note_error): New function.
34742 (compiletest): New argument $xfail. Use not_error.
34743 (runtest): Likewise.
34744 (top level): Handle xfail- lines. Update calls to compiletest and
34745 runtest. Handle xfail- and optional- in headers listed with
34746 allow-header.
34747 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
34748 (O_EXEC): Likewise.
34749 (O_SEARCH): Likewise.
34750 * conform/data/stropts.h-data (ioctl): Likewise.
34751 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34752 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
34753 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
34754 (msghdr.msg_controllen): Likewise.
34755 (cmsghdr.cmsg_len): Likewise.
34756 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
34757 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
34758 variable.
34759 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34760 (test-xfail-XPG4/stropts.h/conform): Likewise.
34761 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34762 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34763 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34764 (test-xfail-UNIX98/stropts.h/conform): Likewise.
34765 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34766 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34767 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34768 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34769 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34770 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34771 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34772 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34773 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34774 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34775 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34776 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34777 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34778 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34779 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34780
34781 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
34782
34783 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34784 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34785 definitions for proper unfolding of __MATHDECL_VEC.
34786
34787 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
34788
34789 * benchtests/bench-strcoll.c:
34790 Include string.h.
34791 (main): Remove unused variable res.
34792
34793 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
34794
34795 * timezone/Makefile (%/UTC %/Universal):
34796 Generate test-result files for UTC and Universal.
34797
34798 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
34799
34800 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34801
34802 2015-06-18 Joseph Myers <joseph@codesourcery.com>
34803
34804 [BZ #16350]
34805 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34806 for arguments with small absolute value.
34807 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34808 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34809 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34810 (__asinh): Force underflow exception for arguments with small
34811 absolute value.
34812 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34813 (__asinhf): Force underflow exception for arguments with small
34814 absolute value.
34815 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34816 (__asinhl): Force underflow exception for arguments with small
34817 absolute value.
34818 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34819 (__asinhl): Force underflow exception for arguments with small
34820 absolute value.
34821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34822 (__asinhl): Force underflow exception for arguments with small
34823 absolute value.
34824 * math/auto-libm-test-in: Do not mark underflow exceptions as
34825 possibly missing for bug 16350.
34826 * math/auto-libm-test-out: Regenerated.
34827
34828 * include/bits/ipc.h: Remove file.
34829 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34830 variable.
34831 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34832 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34833 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34834 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34835 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34836 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34837 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34838 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34839 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34840
34841 * math/auto-libm-test-in: Remove spurious underflow allowance for
34842 tests of cexp.
34843 * math/auto-libm-test-out: Regenerated.
34844
34845 [BZ #18558]
34846 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34847 unconditional definition.
34848 (MCAST_BLOCK_SOURCE): Likewise.
34849 (MCAST_UNBLOCK_SOURCE): Likewise.
34850 (MCAST_LEAVE_GROUP): Likewise.
34851 (MCAST_JOIN_SOURCE_GROUP): Likewise.
34852 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34853 (MCAST_MSFILTER): Likewise.
34854 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34855 Remove variable.
34856 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34857 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34858 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34859 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34860 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34861
34862 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
34863
34864 * NEWS: Mention addition of x86_64 vector sincosf.
34865 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34866 * math/test-float-vlen4.h: Likewise.
34867 * math/test-float-vlen8.h: Likewise.
34868 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34869 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34870 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34871 * sysdeps/x86_64/fpu/Versions: New versions added.
34872 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34873 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34874 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34875 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34876 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34877 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34878 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34879 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34880 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34881 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34882 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34883 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34884 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34885 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34886 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34887 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34888 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34889 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34890 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34891 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34892 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34893 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34894 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34895 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34896
34897 * NEWS: Mention addition of x86_64 vector sincos.
34898 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34899 * math/math.h (__MATHDECL_VEC): New macro.
34900 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34901 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34902 declaration under condition.
34903 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34904 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34905 TEST_VEC_LOOP change.
34906 * math/test-double-vlen4.h: Likewise.
34907 * math/test-double-vlen8.h: Likewise.
34908 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34909 * math/test-float-vlen4.h: Likewise.
34910 * math/test-float-vlen8.h: Likewise.
34911 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34912 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34913 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34914 * sysdeps/x86_64/fpu/Versions: New versions added.
34915 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34916 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34917 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34918 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34919 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34920 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34921 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34922 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34923 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34924 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34925 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34926 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34927 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34928 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34929 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34930 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34931 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34932 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34933 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34934 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34935 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34936 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34937 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34938 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34939
34940 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34941 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34942 redirections for powf.
34943 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34944 * sysdeps/x86_64/fpu/Versions: New versions added.
34945 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34946 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34947 Added build of SSE, AVX2 and AVX512 IFUNC versions.
34948 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34949 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34950 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34951 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34952 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34953 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34954 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34955 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34956 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34957 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34958 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34959 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34960 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34961 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34962 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34963 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34964 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34965 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34966 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34967 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34968 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34969 * math/test-float-vlen16.h: Fixed 2 argument macro.
34970 * math/test-float-vlen4.h: Likewise.
34971 * math/test-float-vlen8.h: Likewise.
34972 * NEWS: Mention addition of x86_64 vector powf.
34973
34974 2015-06-17 Joseph Myers <joseph@codesourcery.com>
34975
34976 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34977 and redefine.
34978 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34979 and redefine.
34980 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34981 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34982 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34983
34984 [BZ #18553]
34985 * resource/getpriority.c (getpriority): Rename to __getpriority
34986 and define as weak alias of __getpriority.
34987 * resource/setpriority.c (setpriority): Rename to __setpriority
34988 and define as weak alias of __setpriority.
34989 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34990 __getpriority and define as weak alias of __getpriority.
34991 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34992 __setpriority and define as weak alias of __setpriority.
34993 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34994 strong name.
34995 (setpriority): Use __setpriority as strong name.
34996 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34997 __getpriority and define as weak alias of __getpriority.
34998 * include/sys/resource.h (__getpriority): Declare. Use
34999 libc_hidden_proto.
35000 (__setpriority): Likewise.
35001 (getpriority): Don't use libc_hidden_proto.
35002 (setpriority): Likewise.
35003 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35004 getpriority. Call __setpriority instead of setpriority.
35005 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35006 Remove variable.
35007
35008 [BZ #18547]
35009 * misc/getttyent.c (getttynam): Rename to __getttynam and define
35010 as weak alias of __getttynam. Use prototype function definition.
35011 Call __setttyent, __getttyent and __endttyent instead of
35012 setttyent, getttyent and endttyent.
35013 (getttyent): Rename to __getttyent and define as weak alias of
35014 __getttyent. Call __setttyent instead of setttyent. Call
35015 __fgets_unlocked instead of fgets_unlocked.
35016 (setttyent): Rename to __setttyent and define as weak alias of
35017 __setttyent.
35018 (endttyent): Rename to __endttyent and define as weak alias of
35019 __endttyent.
35020 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
35021 (__setttyent): Likewise.
35022 (__endttyent): Likewise.
35023 (getttyent): Don't use libc_hidden_proto.
35024 (setttyent): Likewise.
35025 (endttyent): Likewise.
35026 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35027 __endttyent instead of setttyent, getttyent and endttyent.
35028 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35029 Remove variable.
35030
35031 [BZ #18546]
35032 * socket/recv.c (__recv): Use libc_hidden_def.
35033 * socket/socket.c (__socket): Likewise.
35034 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35035 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35036 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35037 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35038 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35039 libc_hidden_def.
35040 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35041 libc_hidden_weak.
35042 * include/sys/socket.h (__socket): Do not use attribute_hidden.
35043 Use libc_hidden_proto.
35044 (__recv): Likewise.
35045 * socket/Versions (libc): Export __recv and __socket at version
35046 GLIBC_PRIVATE.
35047 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35048 instead of recv.
35049 (init_mq_netlink): Call __socket instead of socket.
35050 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35051 Remove variable.
35052
35053 [BZ #18545]
35054 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35055 __mq_timedreceive and define as alias of __mq_timedreceive. Use
35056 hidden_weak.
35057 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35058 define as alias of __mq_timedsend. Use hidden_weak.
35059 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35060 __mq_timedsend as strong name.
35061 (mq_timedreceive): Use __mq_timedreceive as strong name.
35062 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
35063 (__mq_timedreceive): Likewise.
35064 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35065 __mq_timedreceive instead of mq_timedreceive.
35066 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35067 instead of mq_timedsend.
35068 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35069 Remove variable.
35070
35071 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35072 hidden_def and hidden_weak instead of libc_hidden_def and
35073 libc_hidden_weak.
35074 (top level): Refer to hidden_def in comment.
35075 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35076 macro. Use it instead of libc_hidden_def.
35077 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35078 specify __GI_* name explicitly.
35079 (mq_timedreceive): Likewise.
35080 (mq_setattr): Likewise.
35081
35082 [BZ #18544]
35083 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35084 __pthread_barrier_init and define as weak alias of
35085 __pthread_barrier_init.
35086 * sysdeps/sparc/nptl/pthread_barrier_init.c
35087 (pthread_barrier_init): Likewise.
35088 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35089 __pthread_barrier_wait and define as weak alias of
35090 __pthread_barrier_wait.
35091 * sysdeps/sparc/nptl/pthread_barrier_wait.c
35092 (pthread_barrier_wait): Likewise.
35093 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35094 (pthread_barrier_wait): Likewise.
35095 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35096 (pthread_barrier_wait): Likewise.
35097 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35098 (pthread_barrier_wait): Likewise.
35099 * nptl/Versions (libpthread): Export __pthread_barrier_init and
35100 __pthread_barrier_wait at version GLIBC_PRIVATE.
35101 * include/pthread.h (__pthread_barrier_init): Declare.
35102 (__pthread_barrier_wait): Likewise.
35103 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35104 Call __pthread_barrier_wait instead of pthread_barrier_wait.
35105 (helper_thread): Likewise.
35106 (init_mq_netlink): Call __pthread_barrier_init instead of
35107 pthread_barrier_init.
35108
35109 [BZ #18542]
35110 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35111 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35112 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
35113 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35114 vswscanf.
35115 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35116 Remove variable.
35117
35118 [BZ #18540]
35119 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35120 strong alias of _IO_fflush. Use libc_hidden_def.
35121 * libio/iofflush_u.c (fflush_unlocked): Rename to
35122 __fflush_unlocked and define as weak alias of __fflush_unlocked.
35123 Use libc_hidden_weak.
35124 * include/stdio.h (__fflush_unlocked): Declare. Use
35125 libc_hidden_proto.
35126 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35127 fflush_unlocked.
35128 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35129 Remove variable.
35130
35131 [BZ #18539]
35132 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35133 define as weak alias of __addseverity.
35134 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35135 Remove variable.
35136 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35137 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35138 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35139
35140 [BZ #18536]
35141 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35142 (__tfind): Likewise.
35143 (__tdelete): Likewise.
35144 (__twalk): Likewise.
35145 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35146 __twalk to GLIBC_PRIVATE.
35147 * include/search.h (__tsearch): Use libc_hidden_proto.
35148 (__tfind): Likewise.
35149 (__tdelete): Likewise.
35150 (__twalk): Likewise.
35151 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35152 Call __tdelete instead of tdelete.
35153 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35154 tfind. Call __tsearch instead of tsearch.
35155 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35156 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35157 Remove variable.
35158 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35159
35160 [BZ #18534]
35161 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35162 (dprintf): Define as a weak alias of __dprintf, not a strong
35163 alias.
35164 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
35165 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35166 dprintf.
35167 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35168 Remove variable.
35169 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35170 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35171
35172 [BZ #18533]
35173 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35174 not a strong alias.
35175 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35176 Remove variable.
35177
35178 [BZ #18532]
35179 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35180 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
35181 (in6addr_loopback): Rename to __in6addr_loopback and define as
35182 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
35183 * include/netinet/in.h (__in6addr_loopback): Declare. Use
35184 libc_hidden_proto.
35185 (__in6addr_any): Likewise.
35186 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35187 in6addr_any.
35188 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35189 variable.
35190 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35191
35192 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
35193
35194 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35195 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35196 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35197 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35198 redirections for pow.
35199 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35200 * sysdeps/x86_64/fpu/Versions: New versions added.
35201 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35202 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35203 build of SSE, AVX2 and AVX512 IFUNC versions.
35204 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35205 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35206 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35207 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35208 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35209 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35210 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35211 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35212 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35213 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35214 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35215 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35216 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35217 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35218 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35219 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35220 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35221 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35222 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35223 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35224 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35225 * NEWS: Mention addition of x86_64 vector pow.
35226
35227 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35228 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35229 redirections for expf.
35230 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35231 * sysdeps/x86_64/fpu/Versions: New versions added.
35232 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35233 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35234 build of SSE, AVX2 and AVX512 IFUNC versions.
35235 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35236 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35237 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35238 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35239 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35240 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35241 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35242 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35243 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35244 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35245 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35246 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35247 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35248 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35249 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35250 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35251 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35252 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35253 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35254 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35255 * NEWS: Mention addition of x86_64 vector expf.
35256
35257 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35258 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35259 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35260 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35261 redirections for exp.
35262 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35263 * sysdeps/x86_64/fpu/Versions: New versions added.
35264 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35265 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35266 build of SSE, AVX2 and AVX512 IFUNC versions.
35267 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35268 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35269 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35270 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35271 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35272 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35273 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35274 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35275 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35276 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35277 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35278 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35279 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35280 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35281 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35282 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35283 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35284 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35285 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35286 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35287 * NEWS: Mention addition of x86_64 vector exp.
35288
35289 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35290 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35291 redirections for logf.
35292 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35293 * sysdeps/x86_64/fpu/Versions: New versions added.
35294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35295 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35296 build of SSE, AVX2 and AVX512 IFUNC versions.
35297 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35298 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35299 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35300 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35301 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35302 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35303 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35304 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35305 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35306 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35307 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35308 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35309 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35310 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35311 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35312 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35313 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35314 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35315 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35316 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35317 * NEWS: Mention addition of x86_64 vector logf.
35318
35319 * bits/libm-simd-decl-stubs.h: Added stubs for log.
35320 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35321 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35322 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35323 redirections for log.
35324 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35325 * sysdeps/x86_64/fpu/Versions: New versions added.
35326 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35327 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35328 build of SSE, AVX2 and AVX512 IFUNC versions.
35329 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35330 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35331 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35332 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35333 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35334 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35335 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35336 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35337 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35338 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35339 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35340 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35341 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35342 test.
35343 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35344 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35345 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35346 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35347 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35348 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35349 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35350 * NEWS: Mention addition of x86_64 vector log.
35351
35352 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
35353
35354 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35355 cfi_adjust_cfa_offset argument.
35356 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35357 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35358
35359 [BZ #18034]
35360 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35361 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35362 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35363 ordering using ldar.
35364 (_dl_tlsdesc_dynamic): Likewise.
35365 (_dl_tlsdesc_return_lazy): Likewise.
35366 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35367 relaxed atomics instead of volatile and synchronize with release store.
35368 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35369 volatile.
35370 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35371
35372 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
35373
35374 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35375 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35376 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35377 * sysdeps/x86_64/fpu/Versions: New versions added.
35378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35379 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35380 build of SSE, AVX2 and AVX512 IFUNC versions.
35381 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35382 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35383 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35384 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35385 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35386 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35387 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35388 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35389 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35390 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35391 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35392 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35393 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35394 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35395 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35396 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35397 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35398 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35399 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35400 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35401 * NEWS: Mention addition of x86_64 vector sinf.
35402
35403 2015-06-14 Joseph Myers <joseph@codesourcery.com>
35404
35405 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35406 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35407 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35408 Remove variable.
35409 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35410 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35411
35412 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35413
35414 [BZ #18530]
35415 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35416 strong alias of _IO_fputs. Use libc_hidden_def.
35417 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35418 and define as weak alias of __fputs_unlocked. Use
35419 libc_hidden_weak.
35420 * include/stdio.h (__fputs_unlocked): Declare. Use
35421 libc_hidden_proto.
35422 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35423 fputs_unlocked.
35424
35425 [BZ #18529]
35426 * resolv/netdb.h [__USE_POSIX]: Change condition to
35427 [__USE_XOPEN2K].
35428 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35429 not expect.
35430 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35431 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35432 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35433 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35434 [XPG4 || UNIX98] (AI_ALL): Likewise.
35435 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35436 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35437 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35438 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35439 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35440 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35441 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35442 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35443 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35444 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35445 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35446 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35447 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35448 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35449 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35450 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35451 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35452 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35453 [XPG4 || UNIX98] (gai_strerror): Likewise.
35454 [XPG4 || UNIX98] (getaddrinfo): Likewise.
35455 [XPG4 || UNIX98] (getnameinfo): Likewise.
35456
35457 [BZ #18528]
35458 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35459 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35460 __USE_XOPEN2K8].
35461 (getgrent): Likewise.
35462 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35463 expect.
35464 [XPG3 || POSIX2008] (endgrent): Likewise.
35465 [XPG3] (setgrent): Likewise.
35466 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35467 variable.
35468 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35469
35470 [BZ #18527]
35471 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35472 define as weak alias of __getlogin_r. Use libc_hidden_weak.
35473 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35474 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35475 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35476 * include/unistd.h (__getlogin_r): Declare. Use
35477 libc_hidden_proto.
35478 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35479 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35480 variable.
35481 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35482 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35483 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35484
35485 2015-06-12 Martin Sebor <msebor@redhat.com>
35486
35487 [BZ #18512]
35488 * Makerules (check-install-supported): New target.
35489 (install): Add check-install-supported as a dependency.
35490 * manual/install.texi (Installing the C Library): Document
35491 that overriding prefix and exec_prefix is not supported.
35492 Mention DESTDIR.
35493 * INSTALL: Regenerate from the above.
35494
35495 2015-06-12 Joseph Myers <joseph@codesourcery.com>
35496
35497 [BZ #18519]
35498 * posix/Versions (libc): Export __libc_pread at version
35499 GLIBC_PRIVATE.
35500 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35501 instead of pread.
35502 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35503 variable.
35504
35505 [BZ #18522]
35506 * misc/efgcvt_r.c
35507 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35508 (cvt_symbol): Use weak_alias instead of strong_alias.
35509 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35510 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35511 Remove variable.
35512 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35513 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35514
35515 [BZ #18520]
35516 * inet/herrno.c (h_errno): Rename to __h_errno.
35517 (__libc_h_errno): Define as alias of __h_errno not h_errno.
35518 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35519 to __h_errno instead of h_errno.
35520 * nptl/herrno.c (h_errno): Rename to __h_errno.
35521 (__h_errno_location): Refer to __h_errno not h_errno.
35522 * resolv/Versions (h_errno): Rename to __h_errno.
35523 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35524 Remove variable.
35525 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35526
35527 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
35528
35529 * configure.ac: More strict check for AVX512 assembler support.
35530 * configure: Regenerated.
35531
35532 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35533 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35534 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35535 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35536 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35537 * sysdeps/x86_64/fpu/Versions: New versions added.
35538 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35539 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35540 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35541 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35542 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35543 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35544 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35545 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35546 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35547 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35548 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35549 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35550 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35551 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35552 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35553 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35554 test.
35555 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35556 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35557 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35558 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35559 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35560 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35561 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35562 * NEWS: Mention addition of x86_64 vector sin.
35563
35564 2015-06-11 Florian Weimer <fweimer@redhat.com>
35565
35566 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35567 comment.
35568
35569 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
35570
35571 [BZ #18479]
35572 * nptl/pt-interp.c: New file.
35573 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35574 Add pt-interp.
35575 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35576 $(common-objpfx)runtime-linker.h.
35577
35578 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
35579
35580 * Makeconfig (+interp): Remove unused variable.
35581 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35582 only. Depend on $(common-objpfx)runtime-linker.h instead of
35583 $(elf-objpfx)runtime-linker.h.
35584 ($(elf-objpfx)runtime-linker.h): Rename to
35585 $(common-objpfx)runtime-linker.h and move ...
35586 * Makerules [$(build-shared) = yes]: ... here.
35587 * elf/interp.c: Include <runtime-linker.h> instead of
35588 <elf/runtime-linker.h>.
35589
35590 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35591
35592 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35593 (__gettimeofday_syscall): Remove vsyscall fallback.
35594 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35595 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35596 Add syscall fallback function.
35597 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35598 if vDSO is not present.
35599 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35600 fallback function.
35601 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35602 present.
35603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35604 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35605
35606 2015-06-09 Joseph Myers <joseph@codesourcery.com>
35607
35608 [BZ #18497]
35609 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35610 of wcscmp.
35611 (wcscmp): Define as weak alias of WCSCMP.
35612 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35613 wcscoll.
35614 (USE_HIDDEN_DEF): Define.
35615 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35616 __wcscoll. Don't use libc_hidden_weak.
35617 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35618 wcscmp.
35619 * sysdeps/i386/i686/multiarch/wcscmp-c.c
35620 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35621 __GI_wcscmp.
35622 (weak_alias): Undefine and redefine.
35623 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35624 __wcscmp and define as weak alias of __wcscmp.
35625 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35626 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
35627 (__wcscoll): Likewise.
35628 (wcscmp): Don't use libc_hidden_proto.
35629 (wcscoll): Likewise.
35630 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35631 wcscoll.
35632 * posix/regexec.c (check_node_accept_bytes): Likewise.
35633 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35634 variable.
35635 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35636 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35637
35638 [BZ #18507]
35639 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35640 __fstatvfs and define as weak alias of __fstatvfs. Use
35641 libc_hidden_weak.
35642 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35643 and define as weak alias of __statvfs. Use libc_hidden_weak.
35644 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35645 Define as alias of __fstatvfs, not fstatvfs.
35646 (fstatvfs64): Likewise.
35647 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35648 Define as alias of __statvfs, not statvfs.
35649 (statvfs64): Likewise.
35650 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35651 Remove variable.
35652
35653 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35654
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35656 (HAVE_GETCPU_VSYSCALL): Define.
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35658 (HAVE_GETCPU_VSYSCALL): Likewise.
35659 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
35660 * sysdeps/unix/sysv/linux/sched_getcpu.c
35661 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
35662 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
35663 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
35664 prototype.
35665 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35666 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
35667 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
35668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
35669 Define.
35670 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
35671 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35672 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
35673 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35674
35675 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
35676
35677 * sysdeps/x86_64/fpu/Makefile: New file.
35678 * sysdeps/x86_64/fpu/Versions: New file.
35679 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
35680 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
35681 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
35682 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
35683 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
35684 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
35685 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
35686 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
35687 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
35688 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
35689 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
35690 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
35691 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
35692 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35693 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35694 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
35695 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
35696 * sysdeps/x86_64/configure.ac: Options for libmvec build.
35697 * sysdeps/x86_64/configure: Regenerated.
35698 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
35699 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
35700 * manual/install.texi (Configuring and compiling): Document
35701 --disable-mathvec.
35702 * INSTALL: Regenerated.
35703 * NEWS: Mention addition of libmvec and x86_64 vector cos.
35704
35705 * math/Makefile: Added rules for vector tests.
35706 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
35707 declaration under condition.
35708 * math/test-double-vlen2.h: New file.
35709 * math/test-double-vlen4.h: New file.
35710 * math/test-double-vlen8.h: New file.
35711 * math/test-vec-loop.h: Added initialization macro.
35712 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
35713 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
35714 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
35715 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
35716 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
35717 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
35718 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
35719 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
35720 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
35721 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
35722 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
35723
35724 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35725 * sysdeps/x86_64/fpu/Versions: New versions added.
35726 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
35727 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
35728 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
35729 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
35730 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
35731 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
35732 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
35733 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
35734 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
35735 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
35736 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
35737 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
35738 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
35739 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35740 Added build of SSE, AVX2 and AVX512 IFUNC versions.
35741 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35742 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
35743 * NEWS: Mention addition of x86_64 vector cosf.
35744
35745 * math/Makefile: Added CFLAGS for new tests.
35746 * math/test-float-vlen16.h: New file.
35747 * math/test-float-vlen4.h: New file.
35748 * math/test-float-vlen8.h: New file.
35749 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
35750 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
35751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35752 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
35753 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
35754 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
35755 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
35756 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
35757 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
35758 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
35759 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
35760
35761 2015-06-09 Marko Myllynen <myllynen@redhat.com>
35762
35763 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
35764 * locale/programs/ld-ctype.c: Likewise.
35765
35766 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
35767
35768 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
35769 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
35770 bit_ZMM16_31_state): New macro.
35771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35772 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
35773
35774 2015-06-08 Joseph Myers <joseph@codesourcery.com>
35775
35776 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35777
35778 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
35779
35780 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35781
35782 2015-06-05 Joseph Myers <joseph@codesourcery.com>
35783
35784 [BZ #18498]
35785 * libio/memstream.c (open_memstream): Rename to __open_memstream
35786 and define as weak alias of __open_memstream.
35787 * include/stdio.h (__open_memstream): Declare. Use
35788 libc_hidden_proto.
35789 (open_memstream): Don't use libc_hidden_proto.
35790 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35791 open_memstream.
35792 * posix/getopt.c (_getopt_internal_r): Likewise.
35793 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35794 variable.
35795 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35796 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35797 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35798
35799 [BZ #18496]
35800 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35801 instead of wcrtomb.
35802
35803 [BZ #18483]
35804 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35805 [__USE_XOPEN2K8]. Remove redundant #endif.
35806 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35807 Remove redundant #if.
35808 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35809 Remove variable.
35810 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35811 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35812
35813 [BZ #18495]
35814 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35815 (__iswlower): Likewise.
35816 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
35817 (__iswlower): Likewise.
35818 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35819 instead of towlower.
35820 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35821 instead of iswlower. Call __towupper instead of towupper.
35822 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35823 instead of iswalnum.
35824
35825 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35826
35827 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35828 errors to stderr.
35829
35830 2015-06-05 Florian Weimer <fweimer@redhat.com>
35831
35832 [BZ #15661]
35833 [BZ #17322]
35834 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35835 Check for overflow properly. Check for O_APPEND. Ignore large
35836 file system block sizes. Add comments about problems.
35837 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35838 * manual/filesys.texi (Storage Allocation): New node.
35839
35840 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35841
35842 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35843 cancellable syscalls.
35844 (SYS_ify): Add guard to no redefine it.
35845 (INLINE_SYSCALL): Likewise.
35846 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35847 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35848 SYSCALL_CANCEL instead.
35849 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35850 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35851 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35852 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35853 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35854 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35855 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35856 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35857 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35858 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35859 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35860 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35861 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35862 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35863 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35865 Likewise.
35866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35867 (__libc_pread64): Likewise.
35868 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35869 (__libc_preadv): Likewise.
35870 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35871 (__libc_readv64): Likewise.
35872 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35873 (__libc_pwrite): Likewise.
35874 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35875 (__libc_pwrite64): Likewise.
35876 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35877 (__libc_pwritev): Likewise.
35878 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35879 (__libc_pwritev64): Likewise.
35880 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35881 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35882 (sync_file_range): Likewise.
35883 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35884 Likewise.
35885 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35886 Likewise.
35887 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35888 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35889 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35890 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35891 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35892 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35893 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35894 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35896 Likewise.
35897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35898 (__libc_read64): Likewise.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35900 Likewise.
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35902 Likewise.
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35904 Likewise.
35905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35906 Likewise.
35907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35908 (__libc_pread64): Likewise.
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35910 Likewise.
35911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35912 (__libc_pwrite64): Likewise.
35913 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35914 (sync_file_range): Likewise.
35915 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35916 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35917 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35918 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35919 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35920 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35921 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35922 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35923 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35924 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35925 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35926 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35927 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35928 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35929 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35930 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35931 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35932 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35933 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35934 Likewise.
35935 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35936 Likewise.
35937 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35938 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35939 Likewise.
35940 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35941 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35942 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35943 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35944 Likewise.
35945 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35946 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35947 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35948 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35949 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35950
35951 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
35952
35953 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35954 Include dl-vdso.
35955 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35956 Use VDSO routines for gettimeofday, clock_gettime if
35957 available.
35958 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35959 Declare VDSO symbols.
35960 * sysdeps/unix/sysv/linux/arm/sysdep.h:
35961 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35962 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35963 * sysdeps/unix/sysv/linux/arm/Versions: Add
35964 __vdso_clock_gettime.
35965
35966 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
35967
35968 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35969 be an inline implementation regardless of library is built within.
35970 (open_not_cancel_2): Likewise.
35971 (__read_nocancel): Likewise.
35972 (__write_nocancel): Likewise.
35973 (openat_not_cancel): Likewise.
35974 (openat_not_cancel_3): Likewise.
35975 (openat64_not_cancel): Likewise.
35976 (openat64_not_cancel_3): Likewise.
35977 (__close_nocancel): Likewise.
35978 (pause_not_cancel): Likewise.
35979 (nanosleep_not_cancel): Likewise.
35980 (sigsuspend_not_cancel): Likewise.
35981
35982 2015-06-04 Torvald Riegel <triegel@redhat.com>
35983
35984 [BZ #14958]
35985 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35986 wake-up.
35987 (__pthread_rwlock_rdlock_slow): Likewise.
35988 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35989 Likewise.
35990 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35991 Likewise.
35992 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35993 * nptl/tst-rwlock16.c: New file.
35994 * nptl/Makefile (tests): Add new test.
35995
35996 2015-06-04 Torvald Riegel <triegel@redhat.com>
35997
35998 [BZ #18324]
35999 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36000 missing wake-up of readers.
36001 * nptl/tst-rwlock15.c: New file.
36002 * nptl/Makefile (tests): Add new test.
36003
36004 2015-06-03 Roland McGrath <roland@hack.frob.com>
36005
36006 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36007 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36008 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36009 and __nacl_supply_interface_rtld.
36010 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36011 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36012 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36013 Add __nacl_supply_interface_rtld.
36014 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36015
36016 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36017
36018 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36019 isfinite.
36020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36021 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36022
36023 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
36024
36025 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36026 __signbit* with standard C99 macros.
36027 * math/e_exp10l.c: Likewise.
36028 * math/e_exp2l.c: Likewise.
36029 * math/e_scalb.c: Likewise.
36030 * math/e_scalbf.c: Likewise.
36031 * math/e_scalbl.c: Likewise.
36032 * math/s_ldexp.c: Likewise.
36033 * math/s_ldexpf.c: Likewise.
36034 * math/s_ldexpl.c: Likewise.
36035 * math/w_atan2.c: Likewise.
36036 * math/w_atan2f.c: Likewise.
36037 * math/w_atan2l.c: Likewise.
36038 * math/w_cosh.c: Likewise.
36039 * math/w_coshf.c: Likewise.
36040 * math/w_coshl.c: Likewise.
36041 * math/w_exp10.c: Likewise.
36042 * math/w_exp10f.c: Likewise.
36043 * math/w_exp10l.c: Likewise.
36044 * math/w_exp2.c: Likewise.
36045 * math/w_exp2f.c: Likewise.
36046 * math/w_exp2l.c: Likewise.
36047 * math/w_fmod.c: Likewise.
36048 * math/w_fmodf.c: Likewise.
36049 * math/w_fmodl.c: Likewise.
36050 * math/w_hypot.c: Likewise.
36051 * math/w_hypotf.c: Likewise.
36052 * math/w_hypotl.c: Likewise.
36053 * math/w_jnl.c: Likewise.
36054 * math/w_lgamma.c: Likewise.
36055 * math/w_lgamma_r.c: Likewise.
36056 * math/w_lgammaf.c: Likewise.
36057 * math/w_lgammaf_r.c: Likewise.
36058 * math/w_lgammal.c: Likewise.
36059 * math/w_lgammal_r.c: Likewise.
36060 * math/w_pow.c: Likewise.
36061 * math/w_powf.c: Likewise.
36062 * math/w_powl.c: Likewise.
36063 * math/w_remainder.c: Likewise.
36064 * math/w_remainderf.c: Likewise.
36065 * math/w_remainderl.c: Likewise.
36066 * math/w_scalb.c: Likewise.
36067 * math/w_scalbf.c: Likewise.
36068 * math/w_scalbl.c: Likewise.
36069 * math/w_scalbln.c: Likewise.
36070 * math/w_scalblnf.c: Likewise.
36071 * math/w_scalblnl.c: Likewise.
36072 * math/w_sinh.c: Likewise.
36073 * math/w_sinhf.c: Likewise.
36074 * math/w_sinhl.c: Likewise.
36075 * math/w_tgamma.c: Likewise.
36076 * math/w_tgammaf.c: Likewise.
36077 * math/w_tgammal.c: Likewise.
36078 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36079 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36080 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36081 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36082 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36084 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36085 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36086 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36087 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36088 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36106 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36108 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36109 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36110 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36111 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36112 * stdio-common/printf_fp.c: Likewise.
36113 * stdio-common/printf_fphex.c: Likewise.
36114 * stdio-common/printf_size.c: Likewise.
36115
36116 2015-06-03 Joseph Myers <joseph@codesourcery.com>
36117
36118 [BZ #18470]
36119 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36120 strnlen.
36121 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36122 Remove variable.
36123 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36124 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36125 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36126 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36127 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36128 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36129 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36130 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36131 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36132 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36133
36134 [BZ #18468]
36135 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36136 weak alias of __wmemchr. Use libc_hidden_weak.
36137 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
36138 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36139 instead of wmemchr.
36140
36141 2015-06-02 Roland McGrath <roland@hack.frob.com>
36142
36143 [BZ #18383]
36144 * elf/tst-tlsalign-extern.c: New file.
36145 * elf/tst-tlsalign-extern-static.c: New file.
36146 * elf/tst-tlsalign-vars.c: New file.
36147 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36148 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36149 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36150 ($(objpfx)tst-tlsalign-extern-static): Likewise.
36151 (test-xfail-tst-tlsalign-extern-static): New variable.
36152
36153 2015-06-02 Joseph Myers <joseph@codesourcery.com>
36154
36155 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36156 Use variable name _sc_err instead of err.
36157 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36158 instead of ret.
36159 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36160 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36161 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36162 (INLINE_SYSCALL): Likewise.
36163
36164 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36165 * include/string.h (__strnlen): Use libc_hidden_proto.
36166 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36167 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36168 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36169 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36170 (libc_hidden_def): Undefine and redefine.
36171 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36172 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36173 __GI_strnlen.
36174 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36175 libc_hidden_def.
36176 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36177
36178 [BZ #18469]
36179 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36180 weak alias of __towlower. Use libc_hidden_weak.
36181 (towupper): Rename to __towupper and define as weak alias of
36182 __towupper. Use libc_hidden_weak.
36183 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
36184 (__towupper): Likewise.
36185 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36186 __towlower instead of towlower.
36187
36188 2015-06-02 Roland McGrath <roland@hack.frob.com>
36189
36190 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36191 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36192
36193 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
36194
36195 * sysdeps/aarch64/libm-test-ulps: Update.
36196
36197 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36198
36199 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36200 Define.
36201 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36203 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36204 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36205 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36206 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36207 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36208
36209 2015-06-01 Martin Sebor <msebor@redhat.com>
36210
36211 [BZ #18116]
36212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36213 (__setcontext): Use extended four-operand version of mtsf whenever
36214 possible.
36215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36216 (__novec_swapcontext): Likewise.
36217
36218 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36219
36220 * benchtests/scripts/compare_bench.py: New file.
36221 * benchtests/scripts/import_bench.py (mean): New function.
36222 (split_list): Likewise.
36223 (do_for_all_timings): Likewise.
36224 (compress_timings): Likewise.
36225
36226 * benchtests/scripts/import_bench.py: New file.
36227 * benchtests/scripts/validate_benchout.py: Import import_bench
36228 instead of jsonschema.
36229 (validate_bench): Remove function.
36230 (main): Use import_bench.
36231
36232 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
36233
36234 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36235 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36236
36237 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36238
36239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36240
36241 2015-05-28 Roland McGrath <roland@hack.frob.com>
36242
36243 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36244 set THREAD_SELF->tid to a magic value and futex-wake it.
36245 Pass its address to the thread_exit system call.
36246 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36247 bit is clear.
36248 * sysdeps/nacl/lowlevellock.h: New file.
36249 * sysdeps/nacl/lll_timedwait_tid.c: New file.
36250
36251 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36252 Add TIMEOUT to current time, don't subtract it.
36253
36254 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
36255
36256 [BZ #2981]
36257 [BZ #18422]
36258 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36259 ($(objpfx)tst-audit2.out): Also depend on
36260 $(objpfx)tst-auditmod9b.so.
36261 * elf/tst-audit2.c: Include <dlfcn.h>.
36262 (calloc_called): New.
36263 (calloc): Allow to be called more than once.
36264 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36265
36266 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
36267
36268 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36269 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36270
36271 2015-05-27 Marko Myllynen <myllynen@redhat.com>
36272
36273 * stdlib/monetary.h: Fix comment.
36274
36275 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
36276
36277 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36278 Avoid using variables in #defines that might cause shadowing.
36279 (INTERNAL_VSYSCALL_CALL): Likewise.
36280
36281 2015-05-26 Roland McGrath <roland@hack.frob.com>
36282
36283 * sysdeps/nacl/lll_timedlock_wait.c: New file.
36284
36285 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36286 * nptl/lll_timedlock_wait.c: ... to this new file.
36287 * nptl/Makefile (libpthread-routines): Add it.
36288 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36289 * nptl/lll_timedwait_tid.c: ... to this new file.
36290 * nptl/Makefile (libpthread-routines): Add it.
36291 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36292 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36293 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36294 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36295 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36296 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36297 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36298 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36299 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36300 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36301
36302 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36303
36304 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36305 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36306 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36307 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36308 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36310 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36312 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36313 * sysdeps/unix/sysv/linux/tile/sysdep.h
36314 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36315 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36316 using vDSO syscall macro.
36317
36318 2015-05-26 Andriy Rysin <arysin@gmail.com>
36319
36320 [BZ #17293]
36321 * uk_UA: Fix sorting order for Ukrainian locale
36322
36323 2015-05-26 Marko Myllynen <myllynen@redhat.com>
36324
36325 * stdlib/monetary.h: Fix comment.
36326
36327 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
36328
36329 [BZ #18234]
36330 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36331 st_mtim and st_ctim members.
36332 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36333 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36334 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36335 (struct stat64): Likewise.
36336 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36337 (struct stat64): Likewise.
36338 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36339 (struct stat64): Likewise.
36340
36341 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36342
36343 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36344 Define and include sysdep-vdso.h.
36345 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36346 Likewise.
36347 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36348 Likewise.
36349 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36350 Define with VDSO_SYMBOL and use PTR_MANGLE.
36351 (__vdso_clock_gettime): Likewise.
36352 (__vdso_clock_getres): Likewise.
36353 (_libc_vdso_platform_setup): Likewise.
36354 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36355 Likewise.
36356 (_libc_vdso_platform_setup): Likewise.
36357 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36358 Likewise.
36359 (__vdso_clock_gettime): Likewise.
36360 (__vdso_clock_getres): Likewise.
36361 (__vdso_get_tbfreq): Likewise.
36362 (__vdso_getcpu): Likewise.
36363 (__vdso_time): Likewise.
36364 (__vdso_sigtramp_rt64): Likewise.
36365 (__vdso_signtramp32): Likewise.
36366 (__vdso_sigtramp_rt32): Likewise.
36367 (_libc_vdso_platform_setup): Likewise.
36368 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36369 Likewise.
36370 (__vdso_clock_gettime): Likewise.
36371 (__vdso_clock_getres): Likewise.
36372 (_libc_vdso_platform_setup): Likewise.
36373 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36374 Likewise.
36375 (__vdso_clock_gettime): Likewise.
36376 (_libc_vdso_platform_setup): Likewise.
36377 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36378 Likewise.
36379 (__vdso_getcpu): Likewise.
36380 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36381 Use VDSO_SYMBOL macro to define.
36382 (__vdso_clock_gettime): Likewise.
36383 (__vdso_clock_getres): Likewise.
36384 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__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 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36395 Likewise.
36396 (__vdso_clock_gettime): Likewise.
36397 (__vdso_clock_getres): Likewise.
36398 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36399 Likewise.
36400 (__vdso_clock_gettime): Likewise.
36401 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36402 Likewise.
36403 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
36404 macro.
36405 (INTERNAL_VSYSCALL): Likewise.
36406 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36407 Remove macro.
36408 (INTERNAL_VSYSCALL): Likewise.
36409 (INTERNAL_VSYSCALL_NCS): Likewise.
36410 (INTERNAL_VSYSCALL_CALL): New macro.
36411 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36413 Likewise.
36414 (INTERNAL_VSYSCALL): Likewise.
36415 (INTERNAL_VSYSCALL_NCS): Likewise.
36416 (INTERNAL_VSYSCALL_CALL): New macro.
36417 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36419 (INLINE_VSYSCALL): Remove macro.
36420 (INTERNAL_VSYSCALL): Remove macro.
36421 (INTERNAL_VSYSCALL_NCS): Remove macro.
36422 (INTERNAL_VSYSCALL_CALL): New macro.
36423 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36424 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36425 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36426 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36427 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36429 (INLINE_VSYSCALL): Remove macro.
36430 (INTERNAL_VSYSCALL): Likewise.
36431 (INTERNAL_VSYSCALL_NCS): Likewise.
36432 (INTERNAL_VSYSCALL_CALL): New macro.
36433 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36434 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36435 PTR_DEMANGLE on vDSO pointer.
36436 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36437 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36438 macro.
36439 (INTERNAL_SYSCALL): Likewise.
36440 (INTERNAL_VSYSCALL_NCS): Remove macro.
36441 (INTERNAL_VSYSCALL_CALL): New macro.
36442 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36443 Remove macro.
36444 (INTERNAL_VSYSCALL): Likewise.
36445 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36446 sysdep-vdso.h instead of libc-vdso.h.
36447 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36448 definition.
36449 (INLINE_VSYSCALL): Likewise.
36450 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36451 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36452 definition.
36453 (INLINE_VSYSCALL): Likewise.
36454 (INTERNAL_VSYSCALL): Likewise.
36455 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36456 * sysdeps/unix/sysv/linux/timespec_get.c
36457 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36458 (timespec_get): Use ANSI prototype.
36459 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36460 and definition for Linux.
36461
36462 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
36463
36464 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36465 * include/libc-symbols.h: libmvec_hidden_* macro series added.
36466
36467 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
36468
36469 [BZ #2981]
36470 [BZ #18410]
36471 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36472 for missing DT_PLTRELSZ.
36473
36474 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
36475
36476 Remove obsolete aliases that broke 'locale -a'
36477 [BZ #18412]
36478 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36479 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36480 breaking some applications that use 'locale -a' output.
36481 Change the encoding of this file from Latin-1 to ASCII to avoid
36482 other potential problems with people grepping this file.
36483
36484 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36485
36486 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36487 -fasynchronous-unwind-tables.
36488 (CFLAGS-sendto.c): Likewise.
36489 (CFLAGS-sendmsg.c): Likewise.
36490 (CFLAGS-connect.c): Likewise.
36491 (CFLAGS-recvmsg.c): Likewise.
36492 (CFLAGS-recvfrom.c): Likewise.
36493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36494 (SOCKETCALL): New macro: non-cancellable socketcall.
36495 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36496 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36497 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36498 * sysdeps/unix/sysv/linux/accept.c: New file.
36499 * sysdeps/unix/sysv/linux/bind.c: Likewise.
36500 * sysdeps/unix/sysv/linux/connect.c: Likewise.
36501 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36502 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36503 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36504 * sysdeps/unix/sysv/linux/listen.c: Likewise.
36505 * sysdeps/unix/sysv/linux/recv.c: Likewise.
36506 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36507 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36508 * sysdeps/unix/sysv/linux/send.c: Likewise.
36509 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36510 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36511 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36512 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36513 * sysdeps/unix/sysv/linux/socket.c: Likewise.
36514 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36515 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36516 prototype.
36517 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36518 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36519 instead of __internal_xxx function.
36520 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36521 prototype.
36522 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36523 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36524 instead of __internal_xxx function.
36525 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36526 prototype.
36527 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36528 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36529 instead of __internal_xxx function.
36530 * sysdeps/unix/sysv/linux/accept.S: Remove file.
36531 * sysdeps/unix/sysv/linux/bind.S: Likewise.
36532 * sysdeps/unix/sysv/linux/connect.S: Likewise.
36533 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36534 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36535 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36536 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36537 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36538 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36539 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36540 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36541 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36542 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36543 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36544 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36545 * sysdeps/unix/sysv/linux/listen.S: Likewise.
36546 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36547 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36548 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36549 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36552 * sysdeps/unix/sysv/linux/recv.S: Likewise.
36553 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36554 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36555 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36556 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36557 * sysdeps/unix/sysv/linux/send.S: Likewise.
36558 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36559 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36560 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36561 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36562 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36563 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36564 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36565 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36566 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36567 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36568 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36569 socketcall is implemented in GLIBC.
36570
36571 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36572
36573 * soft-fp/fmadf4.c: Include <libc-internal.h>.
36574 (__fma): Ignore uninitialized warnings around packing.
36575 * soft-fp/fmasf4.c: Include <libc-internal.h>.
36576 (__fmaf): Ignore uninitialized warnings around packing.
36577 * soft-fp/fmatf4.c: Include <libc-internal.h>.
36578 (__fmal): Ignore uninitialized warnings around packing.
36579
36580 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36581 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36582 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36583 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36584
36585 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36586 switch statement into default case.
36587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36588
36589 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36590 a conditional in forcing "inexact".
36591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36592 Likewise.
36593
36594 2015-05-22 Roland McGrath <roland@hack.frob.com>
36595
36596 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36597 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36598 for each INTERNAL_SYSCALL use.
36599
36600 2015-05-22 Joseph Myers <joseph@codesourcery.com>
36601
36602 [BZ #438]
36603 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36604 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36605 variable.
36606
36607 [BZ #18444]
36608 * string/basename.c (basename): Rename to __basename and define as
36609 weak alias of __basename. Use libc_hidden_weak.
36610 * include/string.h (__basename): Declare. Use libc_hidden_proto.
36611 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36612 __basename instead of basename.
36613 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36614 Remove variable.
36615 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36616
36617 2015-05-18 Florian Weimer <fweimer@redhat.com>
36618
36619 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36620 (_IO_JUMPS_FILE_plus): New.
36621 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36622 _IO_CAST_FIELD_ACCESS.
36623 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36624 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36625 * libio/freopen.c (freopen): Likewise.
36626 * libio/freopen64.c (freopen64): Likewise.
36627 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36628 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36629 * libio/iofwide.c (_IO_fwide): Likewise.
36630 * libio/memstream.c (open_memstream): Likewise.
36631 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36632 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36633 * libio/oldiopopen.c (_IO_old_popen): Likewise.
36634
36635 2015-05-21 Joseph Myers <joseph@codesourcery.com>
36636
36637 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36638 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36639 NADJ.
36640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36641 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36642 NADJ.
36643 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36644 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36645 NADJ.
36646
36647 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36648 (p == 4) case.
36649
36650 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36651 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36652 Remove variable.
36653 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36654 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36655 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36656
36657 2015-05-21 Florian Weimer <fweimer@redhat.com>
36658
36659 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
36660 Adjust jump table label generation macros.
36661
36662 2015-05-21 Florian Weimer <fweimer@redhat.com>
36663
36664 * stdio-common/vfprintf.c (vfprintf): Move local variables
36665 args_malloced, specs, specs_malloced, and the code after
36666 do_positional to the printf_positional function.
36667 (printf_positional): New function.
36668
36669 2015-05-21 Florian Weimer <fweimer@redhat.com>
36670
36671 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
36672 function.
36673 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
36674 STEP4_TABLE, process_arg): Move macro definitions
36675 out of the vfprintf function. (Cosmetic change only.)
36676
36677 2015-05-21 Carlos O'Donell <carlos@redhat.com>
36678
36679 * benchtests/Makefile (stdio-common-bench): Define.
36680 (benchset): Add stdio-common-bench.
36681 * sprintf-inputs: New file.
36682 * sprintf-source.c: New file.
36683
36684 2015-05-21 Andreas Schwab <schwab@suse.de>
36685
36686 [BZ #13028]
36687 [BZ #17053]
36688 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
36689 of struct __res_state.
36690 * resolv/res_send.c (__libc_res_nsend): Likewise.
36691 (get_nsaddr): New function.
36692 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
36693 statp directly.
36694
36695 2015-05-20 Joseph Myers <joseph@codesourcery.com>
36696
36697 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
36698 -D_POSIX_C_SOURCE=199506L.
36699
36700 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
36701
36702 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
36703 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
36704 Do not mention otherwise.
36705 [POSIX] (_XOPEN_VERSION): Do not expect.
36706 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
36707 [POSIX] (_POSIX2_C_BIND): Likewise.
36708 [POSIX] (_POSIX2_VERSION): Likewise.
36709 [POSIX] (_XOPEN_XPG2): Likewise.
36710 [POSIX] (_XOPEN_XPG3): Likewise.
36711 [POSIX] (_XOPEN_XPG4): Likewise.
36712 [POSIX] (_XOPEN_UNIX): Likewise.
36713 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
36714 [POSIX] (_POSIX_BARRIERS): Likewise.
36715 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
36716 [POSIX] (_POSIX_CPUTIME): Likewise.
36717 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
36718 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36719 [POSIX] (_POSIX_SHELL): Likewise.
36720 [POSIX] (_POSIX_SPAWN): Likewise.
36721 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
36722 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
36723 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
36724 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
36725 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
36726 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
36727 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
36728 [POSIX] (_XBS5_LP64_OFF64): Likewise.
36729 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36730 [POSIX] (_POSIX_TIMEOUTS): Likewise.
36731 [POSIX] (_POSIX2_PBS): Likewise.
36732 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
36733 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
36734 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36735 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
36736 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
36737 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
36738 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
36739 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
36740 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
36741 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
36742 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
36743 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
36744 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
36745 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
36746 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
36747 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
36748 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
36749 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
36750 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
36751 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
36752 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
36753 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
36754 [POSIX] (_SC_2_C_BIND): Likewise.
36755 [POSIX] (_SC_2_C_VERSION): Likewise.
36756 [POSIX] (_SC_2_PBS): Likewise.
36757 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
36758 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
36759 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
36760 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
36761 [POSIX] (_SC_2_PBS_TRACK): Likewise.
36762 [POSIX] (_SC_ATEXIT_MAX): Likewise.
36763 [POSIX] (_SC_BARRIERS): Likewise.
36764 [POSIX] (_SC_BASE): Likewise.
36765 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
36766 [POSIX] (_SC_DEVICE_IO): Likewise.
36767 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
36768 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
36769 [POSIX] (_SC_FD_MGMT): Likewise.
36770 [POSIX] (_SC_FIFO): Likewise.
36771 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
36772 [POSIX] (_SC_FILE_LOCKING): Likewise.
36773 [POSIX] (_SC_FILE_SYSTEM): Likewise.
36774 [POSIX] (_SC_IOV_MAX): Likewise.
36775 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
36776 [POSIX] (_SC_NETWORKING): Likewise.
36777 [POSIX] (_SC_PAGE_SIZE): Likewise.
36778 [POSIX] (_SC_PASS_MAX): Likewise.
36779 [POSIX] (_SC_PIPE): Likewise.
36780 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36781 [POSIX] (_SC_REGEXP): Likewise.
36782 [POSIX] (_SC_SHELL): Likewise.
36783 [POSIX] (_SC_SIGNALS): Likewise.
36784 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36785 [POSIX] (_SC_SPIN_LOCKS): Likewise.
36786 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36787 [POSIX] (_SC_USER_GROUPS): Likewise.
36788 [POSIX] (_SC_USER_GROUPS_R): Likewise.
36789 [POSIX] (_SC_STREAMS): Likewise.
36790 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36791 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36792 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36793 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36794 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36795 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36796 [POSIX] (_PC_FILESIZEBITS): Likewise.
36797 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36798 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36799 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36800 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36801 [POSIX] (uid_t): Likewise.
36802 [POSIX] (gid_t): Likewise.
36803 [POSIX] (off_t): Likewise.
36804 [POSIX] (pid_t): Likewise.
36805 [POSIX] (cuserid): Allow.
36806 (_SC_2_CHAR_TERM): Require constant.
36807 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36808 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36809 variable.
36810
36811 2015-05-20 Roland McGrath <roland@hack.frob.com>
36812
36813 * sysdeps/nacl/pthread-pids.h: New file.
36814 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36815 (create_thread): Use __nacl_get_tid to initialize PD->tid.
36816
36817 * nptl/pthread-pids.h: New file.
36818 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36819 * nptl/nptl-init.c: Include <pthread-pids.h>.
36820 (__pthread_initialize_minimal_internal):
36821 Call __pthread_initialize_pids instead of set_tid_address syscall.
36822
36823 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36824 * sysdeps/posix/usleep.c: ... here.
36825
36826 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36827
36828 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36829 call_pselect6 object.
36830 [$(subdir) = io]: Remove call_sync_file_range object.
36831 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36832 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36833 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36834 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36835
36836 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
36837
36838 * math/s_cproj.c: Add include "math_private.h".
36839 * math/s_cprojf.c: Likewise.
36840 * math/s_cprojl.c: Likewise.
36841
36842 2015-05-19 Joseph Myers <joseph@codesourcery.com>
36843
36844 [BZ #18244]
36845 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36846 high mantissa bit when testing whether P is a NaN.
36847 * math/libm-test.inc (remainder_test_data): Add more tests.
36848 (remquo_test_data): Likewise.
36849
36850 [BZ #18049]
36851 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36852 below -32, return the argument, with underflow if subnormal.
36853 * math/auto-libm-test-in: Add more tests of atanh.
36854 * math/auto-libm-test-out: Regenerated.
36855
36856 2015-05-19 Roland McGrath <roland@hack.frob.com>
36857
36858 [BZ #18434]
36859 * nptl/tst-sem15.c: New file.
36860 * nptl/Makefile (tests): Add it.
36861 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36862 s/<</>>/ to fix typo in EOVERFLOW check.
36863 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36864
36865 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36866
36867 * manual/strings.texi (envz_remove): Fix typo in safety
36868 annotations.
36869
36870 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
36871 Steve Ellcey <sellcey@imgtec.com>
36872
36873 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36874 in order to avoid strict alias warnings.
36875 (iruserok_af): Ditto for ra.
36876
36877 2015-05-19 James Lemke <jwlemke@codesourcery.com>
36878
36879 [BZ #17581]
36880 * malloc/hooks.c
36881 (magicbyte): Convert to a function and avoid returning 0x01.
36882 (mem2mem_check): Avoid using a length byte equal to the magic byte.
36883 (mem2chunk_check): Fix unsigned comparisons to zero.
36884 Hoist defs of sz and magic.
36885
36886 2015-05-19 Richard Henderson <rth@redhat.com>
36887
36888 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36889
36890 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36891
36892 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36893
36894 [BZ #16159]
36895 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36896 * malloc/arena.c (arena_lock): Check if arena is corrupt.
36897 (reused_arena): Find a non-corrupt arena.
36898 (heap_trim): Pass arena to unlink.
36899 * malloc/hooks.c (malloc_check_get_size): Pass arena to
36900 malloc_printerr.
36901 (top_check): Likewise.
36902 (free_check): Likewise.
36903 (realloc_check): Likewise.
36904 * malloc/malloc.c (malloc_printerr): Add arena argument.
36905 (unlink): Likewise.
36906 (munmap_chunk): Adjust.
36907 (ARENA_CORRUPTION_BIT): New macro.
36908 (arena_is_corrupt): Likewise.
36909 (set_arena_corrupt): Likewise.
36910 (sysmalloc): Use mmap if there are no usable arenas.
36911 (_int_malloc): Likewise.
36912 (__libc_malloc): Don't fail if arena_get returns NULL.
36913 (_mid_memalign): Likewise.
36914 (__libc_calloc): Likewise.
36915 (__libc_realloc): Adjust for additional argument to
36916 malloc_printerr.
36917 (_int_free): Likewise.
36918 (malloc_consolidate): Likewise.
36919 (_int_realloc): Likewise.
36920 (_int_memalign): Don't touch corrupt arenas.
36921 * malloc/tst-malloc-backtrace.c: New test case.
36922
36923 * Makefile (summarize-tests): Fix return value on success.
36924
36925 * manual/string.texi (Envz Functions): Add envz_remove.
36926
36927 2015-05-18 Roland McGrath <roland@hack.frob.com>
36928
36929 * sysdeps/posix/opendir.c: Include <stdbool.h>.
36930 (invalid_name): New function, broken out of ...
36931 (__opendirat): ... here. Call it.
36932 (need_isdir_precheck): New function, broken out of ...
36933 (__opendirat): ... here. Call it.
36934 Use __fxstatat64, not __xstatat64.
36935 (opendir_oflags): New function, broken out of ...
36936 (__opendirat): ... here. Call it.
36937 (opendir_tail): New function, broken out of ...
36938 (__opendirat): ... here. Call it.
36939 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36940 opendir_tail, rather than punting to __opendirat.
36941 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36942
36943 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36944
36945 * .gitignore: Ignore generated *.pyc.
36946
36947 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
36948
36949 * include/stdio.h: Define __need_wint_t.
36950 * test-skeleton.c: Avoid `for' loop initial declaration.
36951 * nptl/tst-initializers1.c: Use test-skeleton.c.
36952
36953 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
36954
36955 [BZ #18418]
36956 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36957
36958 2015-05-15 Joseph Myers <joseph@codesourcery.com>
36959
36960 [BZ #16352]
36961 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36962 (__ieee754_atanh): Force underflow exception for results with
36963 small absolute value.
36964 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36965 (__ieee754_atanhf): Force underflow exception for results with
36966 small absolute value.
36967 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36968 (__ieee754_atanh): Force underflow exception for results with
36969 small absolute value.
36970 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36971 (__ieee754_atanhf): Force underflow exception for results with
36972 small absolute value.
36973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36974 (__ieee754_atanhl): Force underflow exception for results with
36975 small absolute value.
36976 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36977 (__ieee754_atanhl): Force underflow exception for results with
36978 small absolute value.
36979 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36980 (__ieee754_atanhl): Force underflow exception for results with
36981 small absolute value.
36982 * math/auto-libm-test-in: Do not allow missing underflow
36983 exceptions from atanh.
36984 * math/auto-libm-test-out: Regenerated.
36985
36986 [BZ #18221]
36987 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36988 2**-28 as threshold for returning x or +/- 1/x.
36989 * math/auto-libm-test-in: Add more tests of tan.
36990 * math/auto-libm-test-out: Regenerated.
36991
36992 [BZ #18220]
36993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36994 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36995 * math/auto-libm-test-in: Add another test of lgamma.
36996 * math/auto-libm-test-out: Regenerated.
36997
36998 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
36999
37000 * stdio-common/printf_fp.c (___printf_fp): Use abs.
37001 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
37002 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37003 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37004 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
37005 (ADD2A): Use fabs. (SUB2A): Use fabs.
37006 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37007 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37009 (log1): Use fabs. (my_log2): Use fabs.
37010 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37011 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37013 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37014 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37015 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
37016 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
37017 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
37018 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
37019 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37020 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37021
37022 2015-05-15 Joseph Myers <joseph@codesourcery.com>
37023
37024 [BZ #18217]
37025 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37026 as threshold for returning 1 - x.
37027 * math/auto-libm-test-in: Add more tests of erfc.
37028 * math/auto-libm-test-out: Regenerated.
37029
37030 2015-05-14 Joseph Myers <joseph@codesourcery.com>
37031
37032 [BZ #18196]
37033 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37034 threshold for large arguments.
37035 * math/auto-libm-test-in: Add another test of atan.
37036 * math/auto-libm-test-out: Regenerated.
37037
37038 [BZ #16339]
37039 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37040 (__log1p): Force underflow exception for results with small
37041 absolute value.
37042 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37043 (__log1pf): Force underflow exception for results with small
37044 absolute value.
37045 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37046 (__log1p): Force underflow exception for results with small
37047 absolute value.
37048 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37049 (__log1pf): Force underflow exception for results with small
37050 absolute value.
37051 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37052 (__log1pl): Force underflow exception for results with small
37053 absolute value.
37054 * math/auto-libm-test-in: Do not allow missing underflow
37055 exceptions from log1p.
37056 * math/auto-libm-test-out: Regenerated.
37057
37058 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
37059 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37060
37061 [BZ #16704]
37062 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37063
37064 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
37065
37066 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37067 (libmvec): New variable.
37068 * configure.ac: Added option for mathvec build.
37069 * configure: Regenerated.
37070 * mathvec/Depend: New file.
37071 * mathvec/Makefile: New file.
37072 * shlib-versions: Added libmvec.
37073 * math/Makefile: Added rule for libm.so installation.
37074
37075 * bits/math-vector.h: New file.
37076 * bits/libm-simd-decl-stubs.h: New header.
37077 * math/Makefile (headers): Added new header
37078 libm-simd-decl-stubs.h.
37079 * math/math.h (__MATHCALL_VEC): New macro.
37080
37081 * math/gen-libm-have-vector-test.sh: Script generates series of macros
37082 for conditions in testing functions.
37083 * math/Makefile: Added call of libm-have-vector-test.sh.
37084 * math/libm-test.inc (HAVE_VECTOR): New macros.
37085
37086 * math/libm-test.inc: START refactored.
37087 * math/test-double.c (TEST_MATHVEC): Add define.
37088 * math/test-float.c: Likewise.
37089 * math/test-idouble.c: Likewise.
37090 * math/test-ifloat.c: Likewise.
37091 * math/test-ildoubl.c: Likewise.
37092 * math/test-ldouble.c: Likewise.
37093 * sysdeps/generic/math-tests-arch.h
37094 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37095 architecture check.
37096
37097 * math/test-double.c (FUNC_TEST): New macro.
37098 * math/test-float.c: Likewise.
37099 * math/test-idouble.c: Likewise.
37100 * math/test-ifloat.c: Likewise.
37101 * math/test-ildoubl.c: Likewise.
37102 * math/test-ldouble.c: Likewise.
37103 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37104
37105 2015-05-13 Roland McGrath <roland@hack.frob.com>
37106
37107 * sysdeps/nacl/fdopendir.c: New file.
37108
37109 * dirent/scandir-tail.c: New file.
37110 * dirent/scandir64-tail.c: New file.
37111 * dirent/Makefile (routines): Add them.
37112 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37113 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37114 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37115 [!SCANDIR] (SCANDIR_TAIL): New macro.
37116 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37117 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37118 (SCANDIRAT): Macro removed.
37119 (SCANDIR_TAIL): New macro.
37120 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37121 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37122 (SCANDIRAT): Just call __opendirat and __scandir_tail.
37123 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37124 (READDIR): Macro removed.
37125 (SCANDIR_TAIL): New macro.
37126 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37127 (SCANDIR_TAIL): New macro.
37128
37129 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37130 * dirent/scandir-cancel.c: ... to this new file.
37131 * dirent/Makefile (routines): Add it.
37132 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37133 * sysdeps/unix/sysv/linux/i386/scandir64.c
37134 (SKIP_SCANDIR_CANCEL): Macro removed.
37135 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37136
37137 * dirent/tst-scandir.c: New file.
37138 * dirent/tst-scandir64.c: New file.
37139 * dirent/Makefile (tests): Add them.
37140
37141 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
37142
37143 [BZ #18409]
37144 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37145
37146 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
37147
37148 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37149 list.
37150
37151 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
37152
37153 * benchtests/bench-strcoll.c: New benchmark.
37154 * benchtests/Makefile: Generate locales and run benchmark.
37155 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37156 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37157 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37158 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37159 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37160 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37161 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37162 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37163 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37164 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37165 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37166 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37167 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37168 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37169 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37170 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37171 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37172 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37173 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37174 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37175 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37176 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37177 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37178 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37179
37180 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
37181
37182 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37183 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37184
37185 2015-05-12 Roland McGrath <roland@hack.frob.com>
37186
37187 * posix/uname-values.h: New file.
37188 * posix/uname.c: Include that instead of <config-name.h>.
37189 * sysdeps/nacl/uname-values.h: New file.
37190 * sysdeps/arm/nacl/uname-values.h: New file.
37191
37192 2015-05-12 Joseph Myers <joseph@codesourcery.com>
37193
37194 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37195 splitting into fields.
37196
37197 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
37198
37199 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37200 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37201 * locale/localeinfo.h: Add enum collation_encoding_type.
37202 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37203 * programs/ld-collate.c (collate_output): Add encoding type info.
37204 * string/strcoll_l.c (STRDIFF): New function.
37205 * (STRCOLL): Use STRDIFF to skip over equal prefix.
37206 * wcsmbs/wcscoll_l.c: Define STRDIFF.
37207
37208 2015-05-11 Joseph Myers <joseph@codesourcery.com>
37209
37210 [BZ #18397]
37211 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37212 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
37213 <fpu_control.h> instead of <math/fpu_control.c>.
37214 * sysdeps/mips/mips32/fpu/Makefile: New file.
37215
37216 2015-05-11 Andreas Schwab <schwab@suse.de>
37217
37218 [BZ #18007]
37219 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37220 nss_endgrent.
37221 (_nss_compat_endgrent): Call nss_endgrent.
37222 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37223 nss_endpwent.
37224 (_nss_compat_endpwent): Call nss_endpwent.
37225 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37226 needent, call nss_setspent only if non-zero.
37227 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37228 (internal_endspent): Don't call nss_endspent.
37229 (_nss_compat_endspent): Call nss_endspent.
37230 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37231 Remove. All uses removed.
37232 (internal_setent): Remove parameter stayopen, add parameter
37233 stream. Use it instead of global variable.
37234 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37235 (internal_endent, internal_getent): Add parameter stream. Use it
37236 instead of global variable.
37237 (CONCAT(_nss_files_end,ENTNAME))
37238 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37239 (_nss_files_get##name##_r): Pass local stream. Remove locking.
37240 * nss/nss_files/files-alias.c (position, last_use): Remove. All
37241 uses removed.
37242 (internal_setent, internal_endent): Add parameter stream. Use it
37243 instead of global variable.
37244 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37245 stream.
37246 (get_next_alias): Add parameter stream.
37247 (_nss_files_getaliasent_r): Pass global stream.
37248 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
37249 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37250 (_nss_files_gethostbyname4_r): Pass local stream to
37251 internal_setent, internal_getent and internal_endent. Remove
37252 locking.
37253
37254 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37255
37256 * tst-strfmon1.c (tests): Update expected currency symbol.
37257
37258 2015-05-08 Roland McGrath <roland@hack.frob.com>
37259
37260 * sysdeps/nacl/gethostname.c: New file.
37261
37262 2015-05-08 Joseph Myers <joseph@codesourcery.com>
37263
37264 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37265 and sinh.
37266 * math/auto-libm-test-out: Regenerated.
37267 * sysdeps/i386/fpu/libm-test-ulps: Update.
37268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37269
37270 2015-05-08 Carlos O'Donell <carlos@redhat.com>
37271
37272 [BZ #18125]
37273 * stdlib/tst-setcontext3.c: New file.
37274 * stdlib/tst-setcontext3.sh: New file.
37275 * stdlib/Makefile (tests): Add tst-setcontext3.
37276 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37277 to verify test program created output file.
37278 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37279 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37280 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37281 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37282
37283 2015-05-06 Roland McGrath <roland@hack.frob.com>
37284
37285 [BZ #18383]
37286 * elf/tst-tlsalign.c: New file.
37287 * elf/tst-tlsalign-static.c: New file.
37288 * elf/tst-tlsalign-lib.c: New file.
37289 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37290 (tests-static): Add tst-tlsalign-static.
37291 (modules-names): Add tst-tlsalign-lib.
37292 (test-xfail-tst-tlsalign): New variable.
37293 (test-xfail-tst-tlsalign-static): New variable.
37294
37295 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37296 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37297
37298 2015-05-06 Joseph Myers <joseph@codesourcery.com>
37299
37300 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37301 csqrt, erfc, sin and sincos.
37302 * math/auto-libm-test-out: Regenerated.
37303 * sysdeps/i386/fpu/libm-test-ulps: Update.
37304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37305
37306 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
37307
37308 * sysdeps/aarch64/libm-test-ulps: Update.
37309
37310 2015-05-05 Joseph Myers <joseph@codesourcery.com>
37311
37312 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37313 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37314 * math/auto-libm-test-out: Regenerated.
37315 * sysdeps/i386/fpu/libm-test-ulps: Update.
37316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37317
37318 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
37319
37320 [BZ #18265]
37321 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37322 (wcsncpy): Likewise.
37323
37324 2015-05-05 Florian Weimer <fweimer@redhat.com>
37325
37326 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37327 Assume __ASSUME_FALLOCATE is always true.
37328 * sysdeps/unix/sysv/linux/posix_fallocate64.c
37329 (__posix_fallocate64_l64): Likewise.
37330 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37331 (posix_fallocate): Likewise.
37332 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37333 (__posix_fallocate64_l64): Likewise.
37334 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37335 [!__ASSUME_FALLOCATE]: Add comment.
37336
37337 2015-05-05 Florian Weimer <fweimer@redhat.com>
37338
37339 * sysdeps/unix/sysv/linux/i386/Makefile
37340 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37341 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37342 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37343 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37344 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37345 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37346 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37347
37348 2015-05-02 Joseph Myers <joseph@codesourcery.com>
37349
37350 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37351 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37352 tgamma.
37353 * math/auto-libm-test-out: Regenerated.
37354 * sysdeps/i386/fpu/libm-test-ulps: Update.
37355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37356
37357 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37358
37359 * math/auto-libm-test-in: Add more tests of tgamma.
37360 * math/auto-libm-test-out: Regenerated.
37361 * sysdeps/i386/fpu/libm-test-ulps: Update.
37362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37363
37364 * math/auto-libm-test-in: Add more tests of tanh.
37365 * math/auto-libm-test-out: Regenerated.
37366 * sysdeps/i386/fpu/libm-test-ulps: Update.
37367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37368
37369 * math/auto-libm-test-in: Add more tests of tan.
37370 * math/auto-libm-test-out: Regenerated.
37371 * sysdeps/i386/fpu/libm-test-ulps: Update.
37372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37373
37374 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37375 * math/auto-libm-test-out: Regenerated.
37376 * sysdeps/i386/fpu/libm-test-ulps: Update.
37377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37378
37379 * math/auto-libm-test-in: Add another test of pow.
37380 * math/auto-libm-test-out: Regenerated.
37381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37382
37383 * math/auto-libm-test-in: Add more tests of lgamma.
37384 * math/auto-libm-test-out: Regenerated.
37385 * sysdeps/i386/fpu/libm-test-ulps: Update.
37386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37387
37388 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37389 log1p.
37390 * math/auto-libm-test-out: Regenerated.
37391 * sysdeps/i386/fpu/libm-test-ulps: Update.
37392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37393
37394 2015-05-01 Mark Wielaard <mjw@redhat.com>
37395
37396 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37397 Elf64_Chdr structs and ELFCOMPRESS constants.
37398
37399 2015-05-01 Joseph Myers <joseph@codesourcery.com>
37400
37401 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37402 expm1.
37403 * math/auto-libm-test-out: Regenerated.
37404 * sysdeps/i386/fpu/libm-test-ulps: Update.
37405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37406
37407 * math/auto-libm-test-in: Add more tests of erf and erfc.
37408 * math/auto-libm-test-out: Regenerated.
37409 * sysdeps/i386/fpu/libm-test-ulps: Update.
37410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37411
37412 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
37413
37414 * config.h.in (HAVE_AARCH64_BE): Add.
37415
37416 2015-04-30 Joseph Myers <joseph@codesourcery.com>
37417
37418 * math/auto-libm-test-in: Add more tests of csqrt.
37419 * math/auto-libm-test-out: Regenerated.
37420 * sysdeps/i386/fpu/libm-test-ulps: Update.
37421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37422
37423 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37424 * math/auto-libm-test-out: Regenerated.
37425 * sysdeps/i386/fpu/libm-test-ulps: Update.
37426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37427
37428 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37429
37430 2015-04-29 Roland McGrath <roland@hack.frob.com>
37431
37432 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37433 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37434
37435 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37436 (euidaccess, eaccess): Define as weak aliases.
37437
37438 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37439 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
37440 but __suseconds_t is often 'long int' so some sources assume that
37441 type is being used (e.g. they use %ld to print tv_usec).
37442
37443 2015-04-29 Florian Weimer <fweimer@redhat.com>
37444
37445 [BZ #18007]
37446 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37447 (CVE-2014-8121)
37448 * nss/tst-nss-getpwent.c: New file.
37449 * nss/Makefile (tests): Add new test.
37450
37451 2015-04-28 Joseph Myers <joseph@codesourcery.com>
37452
37453 [BZ #18346]
37454 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37455 exponents less than 48 as cases where high part of mantissa needs
37456 examining to determine whether argument is integral.
37457 * math/libm-test.inc (round_test_data): Add more tests.
37458
37459 2015-04-28 Mark Wielaard <mjw@redhat.com>
37460
37461 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37462
37463 2015-04-27 David S. Miller <davem@davemloft.net>
37464
37465 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37466 __tls_get_addr.
37467 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37468
37469 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
37470
37471 [BZ #18333]
37472 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37473
37474 2015-04-27 Florian Weimer <fweimer@redhat.com>
37475
37476 [BZ #18333]
37477 * time/tzset.c (parse_tzname): Return error on memory allocation
37478 failure.
37479 * test-skeleton.c (struct temp_name_list): Change type of name
37480 member to non-const.
37481 (add_temp_file): Create a copy of the file name.
37482 (delete_temp_files): Deallocate memory.
37483 (create_temp_file): Add comment.
37484
37485 2015-04-24 Florian Weimer <fweimer@redhat.com>
37486
37487 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37488 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37489
37490 2015-04-24 Roland McGrath <roland@hack.frob.com>
37491
37492 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37493 * sysdeps/arm/configure: Regenerated.
37494
37495 2015-04-24 Florian Weimer <fweimer@redhat.com>
37496
37497 [BZ #17715]
37498 * time/tzfile.c (__tzfile_read): Check for large values of
37499 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
37500 * time/tzset.c (__tzstring_len): New function, based on the old
37501 __tzstring function.
37502 (__tzstring): Call __tzstring_len.
37503 (parse_tzname): New helper function extracted from
37504 __tzset_parse_tz. Call __tzstring_len, without making a copy of
37505 the input string.
37506 (parse_offset): New helper function extracted from
37507 __tzset_parse_tz. Replace switch with fallthrough with
37508 initialization before sscanf.
37509 (parse_rule): Likewise.
37510 (__tzset_parse_tz): Rewrite using the new helper functions. Use
37511 new-style function definition.
37512 * timezone/Makefile (tests): Add tst-tzset.
37513 (tst-tzset.out): Dependencies on time zone files.
37514 (tst-tzset-ENV): Set TZDIR.
37515 (testdata/XT%): Copy crafted time zone files.
37516 * timezone/README: Mention crafted time zone files.
37517 * timezone/testdata/XT1, timezone/testdata/XT2,
37518 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37519 files.
37520 * timezone/tst-tzset.c: New test.
37521
37522 2015-04-24 Florian Weimer <fweimer@redhat.com>
37523
37524 * Makeconfig (+gccwarn): Remove -Winline.
37525
37526 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37527
37528 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37529
37530 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37531
37532 * NEWS: Mention sysconf() cache information support for s390.
37533 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37534
37535 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
37536
37537 * math/k_casinh.c (__kernel_casinh): Use __copysign.
37538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37539 (__nearbyint): Likewise.
37540 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37541 (copysignl): Likewise.
37542
37543 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
37544
37545 [BZ #18287]
37546 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37547 based on padding. (CVE-2015-1781)
37548
37549 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37550
37551 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37552 libc-vdso.h.
37553 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37554 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37555 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37556 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37557 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37558 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37560 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37561 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37562 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37563 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37564 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37565 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37566 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37567 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37568 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37569 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37570 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37571 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37572 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37573 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37574 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37575 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37576
37577 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
37578
37579 * stdlib/setenv.c (__add_to_environ):
37580 Dump core quickly if setenv (..., NULL, ...) is called.
37581 This time, do it the right way, and pacify GCC with a pragma.
37582
37583 2015-04-17 Roland McGrath <roland@hack.frob.com>
37584
37585 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37586 IMAP->l_prev cannot be null, and #if out the code for the contrary
37587 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37588 believe that NS (&_dl_ns[NSID]) could point outside the array.
37589
37590 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37591 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37592 before using NSID as an index.
37593
37594 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
37595
37596 [BZ #17825]
37597 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37598 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37599 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37600
37601 2015-04-17 Roland McGrath <roland@hack.frob.com>
37602
37603 Add preliminary port to Google Native Client on ARM.
37604 * abi-tags (.*-.*-nacl.*): New entry.
37605 * sysdeps/arm/nacl: New directory.
37606 * sysdeps/nacl: New directory.
37607
37608 2015-04-16 David S. Miller <davem@davemloft.net>
37609
37610 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37611 lowlevellock-futex.h
37612
37613 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
37614
37615 * sysdeps/tile/configure.ac: New file.
37616 * sysdeps/tile/configure: Regenerated.
37617
37618 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
37619
37620 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
37621 conditionals for weak_alias and libc_hidden_weak.
37622 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37623 libc_hidden_weak and weak_alias.
37624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37625 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37626 and weak_alias for static one.
37627
37628 2015-04-15 David S. Miller <davem@davemloft.net>
37629
37630 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37631
37632 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37633
37634 [BZ #18206]
37635 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37636 Use signed comparision instead of substraction to avoid
37637 overflow bug.
37638 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37639 Take the sign of ret.
37640 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37641 Do not expect precise return values. Only the sign matters.
37642 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37643 * wcsmbs/test-wcsncmp.c: New File.
37644 * string/test-strncmp.c: Add wcsncmp support.
37645
37646 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
37647
37648 [BZ #6792]
37649 * math/w_log1p.c: New file.
37650 * math/w_log1pf.c: Likewise.
37651 * math/w_log1pl.c: Likewise.
37652 * math/Makefile (libm-calls): Add w_log1p.
37653 * math/s_log1pl.c (log1pl): Remove weak_alias.
37654 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37655 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37656 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37657 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
37658 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
37659 [NO_LONG_DOUBLE] (log1pl): Likewise.
37660 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
37661 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
37662 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
37663 (log1p): Remove long_double_symbol.
37664 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
37665 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
37666 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
37667 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
37668 remove weak_alias for corresponding log1p function.
37669 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
37670 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
37671 * sysdeps/ia64/fpu/w_log1p.c: New file.
37672 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
37673 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
37674 * math/libm-test.inc (log1p_test_data): Add errno expectations.
37675
37676 2015-04-10 Joseph Myers <joseph@codesourcery.com>
37677
37678 [BZ #18247]
37679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
37680 decimal exponent by 1.
37681 * stdlib/tst-strtod-round-data: Add more tests.
37682 * stdlib/tst-strtod-round.c (tests): Regenerated.
37683
37684 2015-04-09 Joseph Myers <joseph@codesourcery.com>
37685
37686 * math/auto-libm-test-in: Add more tests of clog and clog10.
37687 * math/auto-libm-test-out: Regenerated.
37688 * sysdeps/i386/fpu/libm-test-ulps: Update.
37689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37690
37691 2015-04-09 Roland McGrath <roland@hack.frob.com>
37692
37693 * Makeconfig (module-cppflags): Exclude all .v.i files.
37694 (skip-module-cppflags): Variable removed.
37695
37696 * configure.ac (libc_config_ok): Initialize before reading
37697 preconfigure scripts, not after.
37698 * configure: Regenerated.
37699
37700 * test-skeleton.c (TIMEOUT): Move #define to top level.
37701 (main): Grok environment variable TEST_DIRECT. If set, print
37702 test expectation details into that file and then behave as if
37703 given --direct.
37704
37705 2015-04-09 Florian Weimer <fweimer@redhat.com>
37706
37707 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
37708 warning on 32-bit.
37709
37710 2015-04-08 David S. Miller <davem@davemloft.net>
37711
37712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37713
37714 2015-04-08 Joseph Myers <joseph@codesourcery.com>
37715
37716 * math/auto-libm-test-in: Add more tests of atanh.
37717 * math/auto-libm-test-out: Regenerated.
37718 * sysdeps/i386/fpu/libm-test-ulps: Update.
37719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37720
37721 * math/auto-libm-test-in: Add more tests of atan.
37722 * math/auto-libm-test-out: Regenerated.
37723 * sysdeps/i386/fpu/libm-test-ulps: Update.
37724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37725
37726 2015-04-08 Florian Weimer <fweimer@redhat.com>
37727
37728 * elf/pldd.c (main): Rewrite to use struct
37729 scratch_buffer instead of extend_alloca.
37730 * elf/pldd-xx.c (find_maps): Likewise.
37731 * grp/initgroups.c: Include <scratch_buffer.h> instead of
37732 <alloca.h>.
37733 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37734 scratch_buffer instead of extend_alloca.
37735 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
37736 grp/compat-initgroups.c.
37737 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
37738 Rewrite to use struct scratch_buffer instead of extend_alloca.
37739 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
37740 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37741
37742 2015-04-08 Joseph Myers <joseph@codesourcery.com>
37743
37744 * math/auto-libm-test-in: Add more tests of cbrt.
37745 * math/auto-libm-test-out: Regenerated.
37746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37747
37748 * math/auto-libm-test-in: Add more tests of cabs.
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 [BZ #18210]
37754 [BZ #18211]
37755 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
37756 (__ieee754_atan2): Set FE_TONEAREST mode for internal
37757 computations.
37758 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
37759 clog10.
37760 * math/auto-libm-test-out: Regenerated.
37761 * sysdeps/i386/fpu/libm-test-ulps: Update.
37762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37763
37764 [BZ #18197]
37765 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
37766 (atan): Set FE_TONEAREST mode for internal computations.
37767 * math/auto-libm-test-in: Add more tests of atan.
37768 * math/auto-libm-test-out: Regenerated.
37769
37770 2015-04-07 James Cowgill <james410@cowgill.org.uk>
37771
37772 [BZ #17930]
37773 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
37774
37775 2015-04-07 Florian Weimer <fweimer@redhat.com>
37776
37777 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37778
37779 2015-04-07 Florian Weimer <fweimer@redhat.com>
37780
37781 * include/scratch_buffer.h: New file.
37782 * malloc/scratch_buffer_grow.c: Likewise.
37783 * malloc/scratch_buffer_grow_preserve.c: Likewise.
37784 * malloc/scratch_buffer_set_array_size.c: Likewise.
37785 * malloc/tst-scratch_buffer.c: Likewise.
37786 * malloc/Makefile (routines): Add scratch_buffer_grow.
37787 (tests): Add test case.
37788 * malloc/Versions (GLIBC_PRIVATE): Export
37789 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37790 __libc_scratch_buffer_set_array_size.
37791
37792 2015-04-06 Richard Henderson <rth@redhat.com>
37793
37794 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37795 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37796
37797 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37798 unsigned int before printing.
37799
37800 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37801
37802 [BZ #17596]
37803 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37804 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37805
37806 2015-04-02 Florian Weimer <fweimer@redhat.com>
37807
37808 * include/libc-internal.h (libc_max_align_t): Define.
37809
37810 2015-04-02 Andreas Schwab <schwab@suse.de>
37811
37812 [BZ #16850]
37813 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37814
37815 2015-04-02 Mel Gorman <mgorman@suse.de>
37816
37817 [BZ #17195]
37818 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37819 as well as the main arena.
37820
37821 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
37822
37823 [BZ #18185]
37824 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37825 sharing L2 cache to 2 for Silvermont/Knights Landing.
37826
37827 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
37828
37829 [BZ #17711]
37830 * config.make.in (have-protected-data): New.
37831 * configure.ac: Check linker support for protected data symbol.
37832 * configure: Regenerated.
37833 * elf/Makefile (modules-names): Add tst-protected1moda and
37834 tst-protected1modb if $(have-protected-data) is yes.
37835 (tests): Add tst-protected1a and tst-protected1b if
37836 $(have-protected-data) is yes.
37837 ($(objpfx)tst-protected1a): New.
37838 ($(objpfx)tst-protected1b): Likewise.
37839 (tst-protected1modb.so-no-z-defs): Likewise.
37840 * elf/tst-protected1a.c: New file.
37841 * elf/tst-protected1b.c: Likewise.
37842 * elf/tst-protected1mod.h: Likewise.
37843 * elf/tst-protected1moda.c: Likewise.
37844 * elf/tst-protected1modb.c: Likewise.
37845
37846 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
37847
37848 [BZ #17711]
37849 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37850 indicates it is called from do_lookup_x on relocation against
37851 protected data, skip the data definion in the executable from
37852 copy reloc.
37853 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37854 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37855 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37856 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37857 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37858 otherwise to 0.
37859 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37860 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37861 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37862 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37863 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37864 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37865
37866 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
37867
37868 * sysdeps/nptl/pthread.h: Remove duplicate definition of
37869 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37870
37871 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
37872
37873 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37874 THREAD_SETMEM_NC.
37875 * sysdeps/x86_64/nptl/tls.h: Ditto.
37876
37877 2015-03-27 Roland McGrath <roland@hack.frob.com>
37878
37879 * dlfcn/tststatic.c (main): Converted to ...
37880 (do_test): ... this.
37881 (TEST_FUNCTION): New macro.
37882 Include test-skeleton.c.
37883
37884 2015-03-26 Alan Modra <amodra@gmail.com>
37885
37886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37887 Don't segfault if ifunc resolver returns a NULL. Do set plt to
37888 zero for undefined weak.
37889 (elf_machine_plt_conflict): Similarly.
37890
37891 2015-03-25 Joseph Myers <joseph@codesourcery.com>
37892
37893 * math/auto-libm-test-in: Add more tests of acosh, asinh and
37894 atanh.
37895 * math/auto-libm-test-out: Regenerated.
37896 * sysdeps/i386/fpu/libm-test-ulps: Update.
37897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37898
37899 * math/auto-libm-test-in: Add another test of asin.
37900 * math/auto-libm-test-out: Regenerated.
37901 * sysdeps/i386/fpu/libm-test-ulps: Update.
37902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37903
37904 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37905 Remove macro.
37906 (LLL_EBX_REG): Likewise.
37907 (LLL_ENTER_KERNEL): Likewise.
37908
37909 * math/auto-libm-test-in: Add more tests of asin.
37910 * math/auto-libm-test-out: Regenerated.
37911 * sysdeps/i386/fpu/libm-test-ulps: Update.
37912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37913
37914 [BZ #18138]
37915 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37916 libc_do_syscall_args): New structure.
37917 (INTERNAL_SYSCALL_MAIN_0): New macro.
37918 (INTERNAL_SYSCALL_MAIN_1): Likewise.
37919 (INTERNAL_SYSCALL_MAIN_2): Likewise.
37920 (INTERNAL_SYSCALL_MAIN_3): Likewise.
37921 (INTERNAL_SYSCALL_MAIN_4): Likewise.
37922 (INTERNAL_SYSCALL_MAIN_5): Likewise.
37923 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
37924 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37925 Replace conditional definitions by conditional definitions of ....
37926 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
37927 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37928 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37929 (libpthread-sysdep_routines): Add libc-do-syscall.
37930 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37932 to __NR_futex not 240.
37933
37934 2015-03-25 Alan Modra <amodra@gmail.com>
37935
37936 * NEWS: Advertise TLS optimization.
37937 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37938 (DT_PPC_NUM): Increment.
37939 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37940 (CHECK_STATIC_TLS): Use here.
37941 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37942 TLS descriptors.
37943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37944 * sysdeps/powerpc/dl-tls.c: New file.
37945 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37946 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37947 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37948 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37952
37953 2015-03-25 Alan Modra <amodra@gmail.com>
37954
37955 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37956 for overlapping .opd entries" to "support...".
37957 * sysdeps/powerpc/powerpc64/configure: Regenerate
37958
37959 2015-03-25 Joseph Myers <joseph@codesourcery.com>
37960
37961 * math/auto-libm-test-in: Add more tests of acos.
37962 * math/auto-libm-test-out: Regenerated.
37963 * sysdeps/i386/fpu/libm-test-ulps: Update.
37964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37965
37966 * math/auto-libm-test-in: Add more tests of expm1.
37967 * math/auto-libm-test-out: Regenerated.
37968 * sysdeps/i386/fpu/libm-test-ulps: Update.
37969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37970
37971 2015-03-24 Joseph Myers <joseph@codesourcery.com>
37972
37973 * math/auto-libm-test-in: Add more tests of cosh and sinh.
37974 * math/auto-libm-test-out: Regenerated.
37975 * sysdeps/i386/fpu/libm-test-ulps: Update.
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37977
37978 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37980
37981 * math/auto-libm-test-in: Add more tests of log2.
37982 * math/auto-libm-test-out: Regenerated.
37983 * sysdeps/i386/fpu/libm-test-ulps: Update.
37984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37985
37986 2015-03-23 Roland McGrath <roland@hack.frob.com>
37987
37988 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37989 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
37990 _IO_IS_APPENDING bit in READ_WRITE instead.
37991
37992 2015-03-23 Florian Weimer <fweimer@redhat.com>
37993
37994 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37995 (__determine_cpumask_size): Replace extend_alloca with a
37996 variable-length array. Do not treat res == 0 as an error.
37997
37998 2015-03-23 Florian Weimer <fweimer@redhat.com>
37999
38000 [BZ #18100]
38001 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38002 and integer overflow.
38003 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38004 (main): Add integer overflow tests.
38005 * manual/pattern.texi (Calling Wordexp): Document additional use
38006 for WRDE_SYNTAX.
38007
38008 2015-03-23 Alan Modra <amodra@gmail.com>
38009
38010 * config.h.in: Remove HAVE_ASM_PPC_REL16.
38011 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38012 and false branch of conditional.
38013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38014 Likewise.
38015
38016 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
38017
38018 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38019 libc-modules.h
38020 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38021 unused declaration of _hurd_intr_rpc_msg_in_trap.
38022 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38023 defined instead of whether it is non-zero.
38024 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38025 input constraint instead of both input and output constraint. Use ecx
38026 clobber instead of %ecx.
38027 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38028 mutex_unlock): Use a statement expression instead of an expression list.
38029 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38030 type to vm_size_t instead of vm_address_t.
38031 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38032 defined instead of whether it is non-zero.
38033 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38034 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38035 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38036 comparisons with mapaddr.
38037 * nscd/nscd-client.h: Include <time.h>.
38038 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38039 9th parameter to __vm_region instead of int.
38040 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38041 * scripts/check-local-headers.sh (exclude): Add device/,
38042 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38043 cthreads.h.
38044
38045 2015-03-19 Roland McGrath <roland@hack.frob.com>
38046
38047 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38048 to account for alignment padding.
38049 * sysdeps/arm/memmove.S: Likewise.
38050
38051 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
38052
38053 * sysdeps/unix/sysv/linux/generic/README: New file.
38054
38055 2015-03-18 Joseph Myers <joseph@codesourcery.com>
38056
38057 [BZ #18138]
38058 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38059 (futex_abstimed_wait)
38060 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38061 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38062 of lll_futex_timed_wait.
38063
38064 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
38065
38066 [BZ #17542]
38067 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38068
38069 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
38070
38071 [BZ #17090]
38072 [BZ #17620]
38073 [BZ #17621]
38074 [BZ #17628]
38075 * NEWS: Update.
38076 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38077 entries with Static TLS too. Skip entries past the end of the
38078 allocated DTV, from Alan Modra.
38079 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
38080 Static TLS DTV entry set up from...
38081 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38082 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38083 * nptl/allocatestack.c (init_one_static_tls): ... and here...
38084 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38085 for Static TLS.
38086 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
38087 that the slot we find is associated with the given map before
38088 using its generation count.
38089 * nptl_db/db_info.c: Include ldsodefs.h.
38090 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38091 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38092 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38093 (link_map::l_tls_offset): New struct field.
38094 (dtv_t::counter): Likewise.
38095 (rtld_global): New struct.
38096 (_rtld_global): New rtld variable.
38097 (dl_tls_dtv_slotinfo_list): New rtld global field.
38098 (dtv_slotinfo_list): New struct.
38099 (dtv_slotinfo): Likewise.
38100 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38101 (td_lookup): Rename to...
38102 (td_mod_lookup): ... this. Use new mod parameter instead of
38103 LIBPTHREAD_SO.
38104 * nptl_db/td_thr_tlsbase.c: Include link.h.
38105 (dtv_slotinfo_list, dtv_slotinfo): New functions.
38106 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
38107 addresses even if the DTV is out of date or missing them.
38108 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38109 index zero-length arrays.
38110 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38111 (td_lookup): Make it a macro implemented in terms of...
38112 (td_mod_lookup): ... this declaration.
38113 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38114 (DB_MAIN_VARIABLE): Likewise.
38115
38116 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
38117
38118 [BZ #18134]
38119 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38120
38121 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
38122
38123 * stdlib/setenv.c (__add_to_environ): Revert previous change.
38124
38125 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
38126
38127 [BZ #18128]
38128 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38129 (atomic_add, atomic_increment_and_test)
38130 (atomic_decrement_and_test): Fix 64-bit arithmetic.
38131
38132 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
38133
38134 * stdlib/setenv.c (__add_to_environ):
38135 Dump core quickly if setenv (..., NULL, ...) is called.
38136
38137 2015-03-13 Roland McGrath <roland@hack.frob.com>
38138
38139 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38140 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38141 all the necessary asm magic in one place.
38142 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38143 using those.
38144
38145 2015-03-13 Carlos O'Donell <carlos@redhat.com>
38146
38147 [BZ #14906]
38148 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38149 traced file mtime. Use consistent log message.
38150 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38151 (register_traced_file): Call install_watches. Always set mtime.
38152 (invalidate_cache): Iterate over all trace files. Call install_watches.
38153 (inotify_check_files): Don't inline. Handle watching parent
38154 directories and configuration file movement in and out.
38155 (handle_inotify_events): New function.
38156 (main_loop_poll): Call handle_inotify_events.
38157 (main_loop_epoll): Likewise.
38158 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38159 (struct traced_file): Use array of inotify fds. Add parent directory,
38160 and basename.
38161 (struct database_dyn): Remove unused file_mtime.
38162 (init_traced_file): New inline function.
38163 (define_traced_file): New macro.
38164 * nss/nss_db/db-init.c: Use define_traced_file.
38165 (_nss_db_init): Use init_traced_file.
38166 * nss/nss_files/files-init.c: Use define_traced_file.
38167 (_nss_files_init): Use init_traced_file.
38168
38169 2015-03-12 Joseph Myers <joseph@codesourcery.com>
38170
38171 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38172 [_LIBC]: Do not include <stdlib.h>.
38173 [!_LIBC] (abort): Remove declaration.
38174 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38175 _FP_STATIC_ASSERT instead of conditionally calling abort.
38176 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38177 (_FP_EXTEND_CNAN): Likewise.
38178 (FP_TRUNC): Likewise.
38179 (__FP_CLZ): Likewise.
38180 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38181
38182 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
38183
38184 * manual/string.texi (XPG basename): Fix prototype.
38185
38186 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38187
38188 [BZ #18080]
38189 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38190 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38191 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38192 (__setcontext): Likewise.
38193 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38194 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38195 Call rt_sigprocmask syscall one time to set new signal mask
38196 and retrieve the current signal mask instead of two calls.
38197 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38198 (__swapcontext): Likewise.
38199 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38200 * stdlib/tst-setcontext2.c: New file.
38201
38202 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
38203
38204 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38205
38206 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
38207
38208 [BZ #18093]
38209 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38210 the wrong size.
38211
38212 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
38213
38214 [BZ #18043]
38215 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38216
38217 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38218
38219 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38220 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38221 Remove define.
38222 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38223 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38224 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38225 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38226 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38227 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38228 define.
38229 * nptl_db/td_symbol_list.c (td_lookup): Remove
38230 HAVE_ASM_GLOBAL_DOT_NAME code.
38231 * sysdeps/powerpc/powerpc64/configure.ac: Remove
38232 HAVE_ASM_GLOBAL_DOT_NAME check.
38233 * sysdeps/powerpc/powerpc64/configure: Regenerate.
38234 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38235 (DOT_LABEL): Remove define.
38236 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38237 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38238 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38239 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38240 (__TLS_GET_ADDR): Likewise.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38242 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38243
38244 2015-03-11 Carlos O'Donell <carlos@redhat.com>
38245
38246 [BZ #18111]
38247 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38248 (_FPU_SETCW): Initialize cw from fpsr before storing.
38249 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38250 (fesetexceptflag): Rewrite using fpu_control.h.
38251 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38252
38253 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
38254
38255 [BZ #18110]
38256 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38257 asms.
38258 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38259
38260 2015-03-11 Joseph Myers <joseph@codesourcery.com>
38261
38262 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38263 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38264 abort.
38265 (_FP_FMA): Likewise.
38266 (_FP_DIV): Likewise.
38267
38268 2015-03-10 Roland McGrath <roland@hack.frob.com>
38269
38270 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38271 with 0 in that case.
38272 * Makefile (summarize-tests): New canned sequence, factored out of
38273 commands for targets tests and xtests. Display summary lines that
38274 don't start with PASS: or XFAIL: rather than ones that do start with
38275 ERROR: or FAIL:. Make the commands fail if any summary lines fail
38276 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38277 do start with ERROR: or FAIL:.
38278 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38279 (except for [$(build-shared) = yes]).
38280 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38281 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38282 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38283 * nptl/Makefile: Revert 2015-03-04 changes.
38284 [$(CXX) empty] (tests-unsupported): New variable.
38285 * debug/Makefile: Likewise.
38286
38287 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38288 gnulib file. Replace __attribute with __attribute__ throughout.
38289
38290 2015-03-10 Carlos O'Donell <carlos@redhat.com>
38291
38292 * sysdeps/hppa/fpu/libm-test-ulps: Update.
38293
38294 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38295
38296 [BZ #18104]
38297 * math/auto-libm-test-in: Add another test of pow.
38298 * math/auto-libm-test-out: Regenerated.
38299
38300 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38301
38302 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38303 $(config-cflags-nofma).
38304
38305 2015-03-10 Joseph Myers <joseph@codesourcery.com>
38306
38307 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38308 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38309 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38310 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38311 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38312 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38313 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38314 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38315 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38316 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38317 Add comment on closing #endif.
38318
38319 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38320
38321 * posix/wordexp.c (CHAR_IN_SET): New macro.
38322 (parse_param): Use it.
38323
38324 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38325
38326 * sysdeps/powerpc/fpu/libm-test-ulps: update.
38327
38328 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38329
38330 [BZ #18043]
38331 * posix/wordexp.c (parse_param): Fix buffer overflow.
38332 * posix/wordexp-test.c (test_case): Add test case.
38333
38334 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38335
38336 [BZ #18042]
38337 * posix/wordexp.c (parse_backtick): Fix off-by-one.
38338 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38339
38340 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
38341
38342 [BZ #18043]
38343 * posix/wordexp-test.c (test_case): Add test for BZ #18043
38344 (do_bz18043): Delete.
38345 (at_page_end): New.
38346 (testit): Refactor to have words at the edge of unreadable page.
38347
38348 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38349
38350 [BZ #16734]
38351 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38352 Cleanup read-only streams as well.
38353 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38354
38355 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
38356
38357 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38358 <bits/libc-lockP.h>
38359
38360 2015-03-07 Joseph Myers <joseph@codesourcery.com>
38361
38362 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
38363 on [__KERNEL__].
38364 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38365 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38366 * soft-fp/op-common.h (_FP_DECL): Likewise.
38367
38368 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * elf/ifuncdep2.c (global): Replace
38371 __attribute__((visibility("protected"))) with
38372 asm (".protected global").
38373 * elf/ifuncmod1.c (global): Likewise.
38374 * elf/ifuncmod5.c (global): Likewise.
38375
38376 2015-03-06 Joseph Myers <joseph@codesourcery.com>
38377
38378 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38379 <asm/sfp-machine.h> instead of <sfp-machine.h>.
38380
38381 2015-03-06 Roland McGrath <roland@hack.frob.com>
38382
38383 * manual/install.texi (Configuring and compiling):
38384 Document test-wrapper-env-only.
38385 * INSTALL: Regenerated.
38386
38387 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38388
38389 [BZ #18043]
38390 * posix/wordexp.c (parse_param): Fix buffer overflow.
38391 * posix/wordexp-test.c (do_bz18043): Add test case.
38392
38393 2015-03-06 Vincent Bernat <vincent@bernat.im>
38394
38395 * time/tst-strptime2.c (do_test): Ensure failing tests are
38396 reported correctly.
38397 * time/tst-strptime3.c (do_test): Likewise.
38398
38399 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
38400
38401 Fix aio_error thread-safety.
38402 * sysdeps/pthread/aio_error.c: New file
38403 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38404 synchronization.
38405
38406 2015-03-06 Florian Weimer <fweimer@redhat.com>
38407
38408 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38409 (group_number, vfprintf): Use it.
38410 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38411 (JUMP, REF): Use it.
38412 (WORK_BUFFER_SIZE): New enum constant.
38413 (process_arg, vfprintf): Use it.
38414
38415 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
38416
38417 * manual/errno.texi (Error Messages): Complete example function
38418 by adding missing #define.
38419 (program_invocation_name): Add statement indicating GNU
38420 extension and reference which header file declares the variable.
38421 (program_invocation_short_name): Likewise.
38422
38423 2015-03-06 Mike Frysinger <vapier@gentoo.org>
38424
38425 * manual/errno.texi (Error Messages): Delete strerror ISO C89
38426 compatibility note.
38427
38428 2015-03-05 Roland McGrath <roland@hack.frob.com>
38429
38430 * Makeconfig (test-wrapper-env-only): New variable.
38431 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38432 then use that with $(test-wrapper-env-only) rather than using
38433 $(test-wrapper-env) $(run-program-env) $($*-ENV).
38434
38435 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
38436
38437 [BZ #18082]
38438 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38439 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38440 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38441 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38442 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38443 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38444 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38445 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38446 Likewise.
38447 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38448 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38449 Likewise.
38450 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38451 Likewise.
38452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38453 Likewise.
38454 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38455 Likewise.
38456 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38457 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38458 Likewise.
38459 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38460 Likewise.
38461 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38462 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38463
38464 2015-03-04 Roland McGrath <roland@hack.frob.com>
38465
38466 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38467 (ETH_ALEN): New macro.
38468 (struct ether_addr): Use it for length of ether_addr_octet.
38469
38470 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38471 (setdb): Don't call __nss_configure_lookup for "rpc".
38472 (do_test): Don't call test_rpc.
38473 (output_rpcent, test_rpc): Functions moved ...
38474 * sunrpc/test-rpcent.c: ... to this new file.
38475 * sunrpc/Makefile (tests): Add it.
38476
38477 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38478 __xpg_sigpause.
38479 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38480 * nptl/tst-signal6.c: Likewise.
38481 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38482 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38483
38484 * configure.ac (libc_cv_cxx_link_ok): New check.
38485 Reset CXX to empty if it fails to link.
38486 * configure: Regenerated.
38487 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38488 bug-atexit3-lib only if $(CXX) is nonempty.
38489 * nptl/Makefile (tests): Likewise for tst-cancel24.
38490 (tests, tests-static): Likewise for tst-cancel24-static.
38491 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38492 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38493 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38494 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38495
38496 2015-03-04 Andreas Schwab <schwab@suse.de>
38497
38498 [BZ #17631]
38499 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38500 for non-GCC compilers.
38501 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38502 Likewise.
38503
38504 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
38505
38506 [BZ #17776]
38507 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38508 integer before bitwise and assembly operations.
38509 (feclearexcept): Likewise.
38510 * math/test-fenvinline.c: New file.
38511 * math/Makefile: Add test-fenvinline test.
38512
38513 2015-03-03 Alan Modra <amodra@gmail.com>
38514
38515 [BZ #16512]
38516 * scripts/localplt.awk: Strip off symbol version.
38517 * NEWS: Mention bug fix.
38518
38519 2015-03-02 Roland McGrath <roland@hack.frob.com>
38520
38521 * sysdeps/pthread/timer_routines.c
38522 (timer_free_list, thread_free_list, thread_active_list): Make static.
38523
38524 2015-03-02 Joseph Myers <joseph@codesourcery.com>
38525
38526 [BZ #17779]
38527 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38528 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38529 Undefine.
38530 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38531 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38532 Likewise.
38533 * sysdeps/unix/sysv/linux/sh/kernel-features.h
38534 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38535 Likewise.
38536
38537 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38538
38539 [BZ #18036]
38540 * posix/fnmatch_loop.c (END): Detect invalid pattern.
38541 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38542
38543 2015-03-02 Andreas Schwab <schwab@suse.de>
38544
38545 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38546 variable name.
38547
38548 2015-03-02 Florian Weimer <fweimer@redhat.com>
38549
38550 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38551 Return error status.
38552
38553 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
38554
38555 [BZ #15969]
38556 * locale/findlocale.c (_nl_find_locale): Introduce const
38557 version of loc_name and drop unsafe type casts.
38558
38559 2015-02-27 Roland McGrath <roland@hack.frob.com>
38560
38561 * dlfcn/tststatic2.c (main): Converted to ...
38562 (do_test): ... this.
38563 (TEST_FUNCTION): New macro.
38564 Include test-skeleton.c.
38565
38566 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
38567
38568 [BZ #17711]
38569 * elf/Makefile (tests): Add vismain only if PIE is enabled.
38570 (tests-pie): Add vismain.
38571 (CFLAGS-vismain.c): New.
38572 * elf/vismain.c: Add comments for PIE requirement.
38573
38574 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38575
38576 [BZ #18046]
38577 [BZ #18047]
38578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38579 0x1p-56L as threshold for just returning the argument.
38580 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38581 0x1p-32L as threshold for just returning the argument.
38582 * math/auto-libm-test-in: Add more tests of atanh.
38583 * math/auto-libm-test-out: Regenerated.
38584 * sysdeps/i386/fpu/libm-test-ulps: Update.
38585 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38586
38587 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38588
38589 * string/bcopy.c (bcopy): Call memmove for performance.
38590
38591 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
38592
38593 * string/bzero.c (__bzero): Call memset for performance.
38594
38595 2015-02-27 John David Anglin <dave.anglin@bell.net>
38596
38597 [BZ #18068]
38598 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38599 to 00100000.
38600
38601 2015-02-27 Joseph Myers <joseph@codesourcery.com>
38602
38603 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38604
38605 2015-02-26 Joseph Myers <joseph@codesourcery.com>
38606
38607 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38608 (__kernel_standard): Use CSTR macro when setting exc.name.
38609 * sysdeps/ieee754/Makefile [$(subdir) = math]
38610 (CFLAGS-k_standard.c): Remove variable.
38611
38612 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38613 setting p and q from "else if" to "else".
38614 (qzero): Likewise.
38615 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38616 (qone): Likewise.
38617 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38618 (qzerof): Likewise.
38619 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38620 (qonef): Likewise.
38621 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38622 (qzero): Likewise.
38623 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38624 (qone): Likewise.
38625
38626 [BZ #18038]
38627 [BZ #18039]
38628 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38629 return pi/2 for arguments below 0x1p-113L.
38630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38631 return pi/2 for arguments below 0x1p-106L.
38632 * math/auto-libm-test-in: Add more tests of acos.
38633 * math/auto-libm-test-out: Regenerated.
38634
38635 [BZ #16351]
38636 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38637 (MO): New macro.
38638 (__ieee754_asin): Force underflow exception for results with small
38639 absolute value.
38640 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38641 (MO): New macro.
38642 (__ieee754_asinf): Force underflow exception for results with
38643 small absolute value.
38644 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38645 (__ieee754_asin): Force underflow exception for results with small
38646 absolute value.
38647 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38648 (__ieee754_asinf): Force underflow exception for results with
38649 small absolute value.
38650 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38651 (__ieee754_asinl): Force underflow exception for results with
38652 small absolute value.
38653 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38654 (__ieee754_asinl): Force underflow exception for results with
38655 small absolute value.
38656 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38657 (__ieee754_asinl): Force underflow exception for results with
38658 small absolute value.
38659 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
38660 Include <math.h>.
38661 * math/auto-libm-test-in: Do not mark underflow exceptions as
38662 possibly missing for bug 16351.
38663 * math/auto-libm-test-out: Regenerated.
38664
38665 [BZ #18030]
38666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
38667 of power of 2 down when low part has opposite sign.
38668 * math/libm-test.inc (logb_test_data): Add more tests.
38669
38670 2015-02-26 Andreas Schwab <schwab@suse.de>
38671
38672 [BZ #18032]
38673 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
38674 over collating symbol inside a bracket expression. Minor cleanup.
38675 * posix/tst-fnmatch3.c (do_test): Add test case.
38676
38677 2015-02-26 Joseph Myers <joseph@codesourcery.com>
38678
38679 [BZ #18029]
38680 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
38681 Adjust exponent of power of 2 down when low part has opposite
38682 sign.
38683 * math/libm-test.inc (ilogb_test_data): Add more tests.
38684
38685 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
38686
38687 [BZ #15969]
38688 * locale/findlocale.c (_nl_find_locale): Fix constness error in
38689 the previous change.
38690
38691 [BZ #15969]
38692 * locale/findlocale.c (_nl_find_locale): Retry archive search
38693 after alias expansion.
38694
38695 2015-02-25 Roland McGrath <roland@hack.frob.com>
38696
38697 * iconv/tst-iconv3.c (main): Converted to ...
38698 (do_test): ... this.
38699 (TEST_FUNCTION): New macro.
38700 Include test-skeleton.c.
38701
38702 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
38703 (convert): Make function static.
38704 (test_unalign): Likewise. Add const to argument pointee types.
38705 (main): Replace with static function do_test.
38706 Print "Succeeded." only if RET is zero.
38707 (TEST_FUNCTION): New macro.
38708 Include test-skeleton.c.
38709
38710 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
38711 returns a null pointer.
38712
38713 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38714
38715 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
38716 to __memcpy_ppc only for static builds.
38717
38718 2015-02-25 Joseph Myers <joseph@codesourcery.com>
38719
38720 [BZ #18020]
38721 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
38722 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
38723 * math/auto-libm-test-in: Add more tests of asinh.
38724 * math/auto-libm-test-out: Regenerated.
38725 * sysdeps/i386/fpu/libm-test-ulps: Update.
38726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38727
38728 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
38729
38730 [BZ #15850]
38731 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
38732 and ip6_mtuinfo definitions here.
38733 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
38734 in this define too. Update comment.
38735
38736 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
38737
38738 * elf/sprof.c (load_shobj): Tweak error message to match others.
38739
38740 2015-02-24 Kevin Easton <kevin@guarana.org>
38741
38742 [BZ #16145] (partial fix)
38743 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
38744 to reduce lock contention.
38745
38746 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
38747
38748 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
38749 (struct timex): Update time comment.
38750 (ADJ_SETOFFSET): Define.
38751
38752 2015-02-24 Joseph Myers <joseph@codesourcery.com>
38753
38754 [BZ #18019]
38755 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38756 2**56 not 2**28 as threshold for log (2x) formula.
38757 * math/auto-libm-test-in: Add more tests of acosh.
38758 * math/auto-libm-test-out: Regenerated.
38759 * sysdeps/i386/fpu/libm-test-ulps: Update.
38760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38761
38762 2015-02-24 Mike Frysinger <vapier@gentoo.org>
38763
38764 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
38765 parenthesis around the buf assignment.
38766 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
38767
38768 2015-02-24 Joseph Myers <joseph@codesourcery.com>
38769
38770 [BZ #16783]
38771 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
38772 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
38773 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
38774 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38775 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38776 * math/libm-test.inc (scalb_test_data): Add more tests.
38777
38778 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
38779
38780 [BZ #17916]
38781 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38782 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38783
38784 2015-02-24 Eric Rannaud <e@nanocritical.com>
38785
38786 [BZ #17523]
38787 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38788 * io/bits/fcntl2.h (open): Use it.
38789 (openat): Likewise.
38790 * io/open.c (__libc_open): Likewise.
38791 * io/open64.c (__libc_open64): Likewise.
38792 * io/open64_2.c (__open64_2): Likewise.
38793 * io/open_2.c (__open_2): Likewise.
38794 * io/openat.c (__openat): Likewise.
38795 * io/openat64.c (__openat64): Likewise.
38796 * io/openat64_2.c (__openat64_2): Likewise.
38797 * io/openat_2.c (__openat_2): Likewise.
38798 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38799 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38800 * sysdeps/posix/open64.c (__libc_open64): Likewise.
38801 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38802 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38803 (__open_nocancel): Likewise.
38804 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38805 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38806 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38807
38808 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38809
38810 [BZ #14841]
38811 * resolv/gethnamaddr.c (getanswer): Skip logging if
38812 RES_USE_DNSSEC is set.
38813 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38814
38815 2015-02-24 Mike Frysinger <vapier@gentoo.org>
38816
38817 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38818
38819 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
38820
38821 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38822 201304L, for Unicode 7.
38823
38824 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
38825
38826 [BZ #17836]
38827 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38828 shared library. Add gmon-start.os otherwise.
38829 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38830 $(objpfx)gmon-start.os if builing shared library.
38831 ($(objpfx)g$(static-start-installed-name)): Likewise.
38832
38833 2015-02-23 Andreas Schwab <schwab@suse.de>
38834
38835 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38836
38837 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38838
38839 [BZ #17269]
38840 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38841 (enlarge_userbuf): Likewise.
38842
38843 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
38844
38845 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38846 * math/atest-exp.c (TIMEOUT): Adjust to 200.
38847 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38848 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38849
38850 2015-02-20 Joseph Myers <joseph@codesourcery.com>
38851
38852 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38853 expression inside statement expression.
38854
38855 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38856
38857 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38858 <sysdeps/nptl/lowlevellock.h> and remove macros and
38859 functions that are now defined there.
38860 (SYS_futex): Remove.
38861 (lll_compare_and_swap): Remove.
38862 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38863
38864 2015-02-19 Joseph Myers <joseph@codesourcery.com>
38865
38866 [BZ #17999]
38867 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38868 instead of scandirat.
38869 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38870 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38871 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38872 __scandirat.
38873 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38874 (__scandirat): Declare. Use libc_hidden_proto.
38875 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38876 Remove variable.
38877 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38878
38879 2015-02-18 Joseph Myers <joseph@codesourcery.com>
38880
38881 [BZ #15319]
38882 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38883 (MO): New macro.
38884 (__ieee754_atan2): For results with small absolute value, force
38885 underflow exception and remove excess range and precision from
38886 return value.
38887 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38888 (MO): New macro.
38889 (__ieee754_atan2f): For results with small absolute value, force
38890 underflow exception and remove excess range and precision from
38891 return value.
38892 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38893 (MO): New macro.
38894 (__atan): For results with small absolute value, force underflow
38895 exception and remove excess range and precision from return value.
38896 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38897 (MO): New macro.
38898 (__atanf): For results with small absolute value, force underflow
38899 exception and remove excess range and precision from return value.
38900 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38901 <math.h>.
38902 (__ieee754_atan2): Force underflow exception for results with
38903 small absolute value.
38904 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38905 <math_private.h>.
38906 (atan): Force underflow exception for results with small absolute
38907 value.
38908 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38909 (__atanf): Force underflow exception for results with small
38910 absolute value.
38911 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38912 <math.h>.
38913 (__atanl): Force underflow exception for results with small
38914 absolute value.
38915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38916 (__atanl): Force underflow exception for results with small
38917 absolute value.
38918 * sysdeps/x86/fpu/bits/mathinline.h
38919 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38920 (__ieee754_atan2): Only define inline for long double.
38921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38922 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38923 * math/auto-libm-test-in: Do not mark underflow exceptions as
38924 possibly missing for bug 15319. Add more tests of atan2.
38925 * math/auto-libm-test-out: Regenerated.
38926 * math/libm-test.inc (casin_test_data): Do not mark underflow
38927 exceptions as possibly missing for bug 15319.
38928 (casinh_test_data): Likewise.
38929 * sysdeps/i386/fpu/libm-test-ulps: Update.
38930
38931 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
38932
38933 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38934 * sysdeps/mips/bits/endian.h: Fix comments.
38935
38936 2015-02-18 Joseph Myers <joseph@codesourcery.com>
38937
38938 [BZ #17996]
38939 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38940 (hdestroy_r): Likewise.
38941 (hsearch_r): Likewise.
38942 (__hcreate_r): Declare and use libc_hidden_proto.
38943 (__hdestroy_r): Likewise.
38944 (__hsearch_r): Likewise.
38945 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38946 (hcreate): Call __hcreate_r instead of hcreate_r.
38947 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38948 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38949 as weak alias of __hcreate_r.
38950 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38951 __hdestroy_r.
38952 (hsearch_r): Rename to __hsearch_r and define as weak alias of
38953 __hsearch_r.
38954 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38955 Remove variable.
38956 (test-xfail-XPG4/search.h/linknamespace): Likewise.
38957 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38958 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38959 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38960
38961 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38962
38963 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38964 arena_lock into a single arena_get.
38965
38966 2015-02-17 Carlos O'Donell <carlos@redhat.com>
38967
38968 * dl-reloc.c: Inlucde libc-internal.h.
38969 (_dl_try_allocate_static_tls): Call ALIGN_UP.
38970 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38971 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38972 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38973 (grow_heap): Likewise.
38974 * malloc/malloc.c: Include libc-internal.h.
38975 (do_check_malloc): Call powerof2.
38976 (sysmalloc): Use pagesize. Call ALIGN_UP.
38977 (systrim): Use pagesize.
38978 (mremap_chunk): Use pagesize. Call ALIGN_UP.
38979 (__libc_valloc): Use pagesize.
38980 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38981
38982 2015-02-17 Joseph Myers <joseph@codesourcery.com>
38983
38984 [BZ #17991]
38985 * include/sys/resource.h (__getrlimit64): Declare. Use
38986 libc_hidden_proto.
38987 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38988 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
38989 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38990 getrlimit64.
38991 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38992 __getrlimit64.
38993 [!getrlimit64] (getrlimit64): Define as weak alias of
38994 __getrlimit64. Use libc_hidden_weak.
38995 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38996 using __getrlimit64 not __new_getrlimit64.
38997 (__GI_getrlimit64): Likewise.
38998 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38999 Likewise.
39000 (__GI_getrlimit64): Likewise.
39001 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39003 (getrlimit): Add __getrlimit64 alias.
39004 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39005 Likewise.
39006 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39007 Remove variable.
39008 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39009 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39010
39011 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
39012
39013 * libio/fileops.c: Add missing sys/mman.h
39014 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39015
39016 2015-02-17 Joseph Myers <joseph@codesourcery.com>
39017
39018 * manual/math.texi (Errors in Math Functions): Clarify goals
39019 regarding inexact and underflow exceptions.
39020
39021 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39022
39023 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39024 * sysdeps/mips/memset.S: Ditto.
39025
39026 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
39027
39028 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39029
39030 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
39031
39032 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39033 (__v1longjmp): Remove versioned symbol.
39034 (__v1siglongjmp): Remove alias and versioned symbol.
39035 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39036 (__v2siglongjmp): Likewise.
39037
39038 2015-02-16 Torvald Riegel <triegel@redhat.com>
39039
39040 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39041
39042 2015-02-16 Mike Frysinger <vapier@gentoo.org>
39043
39044 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39045
39046 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39047
39048 [BZ #17987]
39049 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39050 zero result does not depend on the sign resulting from
39051 subtraction.
39052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39053 Likewise.
39054 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39055 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39057 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39058 * math/libm-test.inc (remquo_test_data): Add more tests.
39059
39060 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
39061
39062 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39063 Problem reported by J William Piggott.
39064
39065 2015-02-16 Joseph Myers <joseph@codesourcery.com>
39066
39067 [BZ #17978]
39068 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39069 products 4 * y and 2 * y where those would overflow.
39070 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39071 Likewise.
39072 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39073 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39074 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39075 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39076 * math/libm-test.inc (remquo_test_data): Add more tests.
39077
39078 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39079
39080 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39081 [defined _COMPILING_NEWLIB].
39082 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39083 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39084
39085 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39086 [!defined __mips_isa_rev || __mips_isa_rev < 6].
39087
39088 2015-02-16 Torvald Riegel <triegel@redhat.com>
39089
39090 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39091 acquired.
39092
39093 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
39094
39095 [BZ #17792]
39096 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39097 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39098 HOST_STACK_END_ADDR): Likewise.
39099
39100 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
39101
39102 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39103 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39104 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39105
39106 2015-02-13 Roland McGrath <roland@hack.frob.com>
39107
39108 * sysdeps/generic/c++-types.data: New file.
39109 * sysdeps/generic/ld.abilist: New file.
39110 * sysdeps/generic/libBrokenLocale.abilist: New file.
39111 * sysdeps/generic/libanl.abilist: New file.
39112 * sysdeps/generic/libc.abilist: New file.
39113 * sysdeps/generic/libcrypt.abilist: New file.
39114 * sysdeps/generic/libdl.abilist: New file.
39115 * sysdeps/generic/libm.abilist: New file.
39116 * sysdeps/generic/libpthread.abilist: New file.
39117 * sysdeps/generic/libresolv.abilist: New file.
39118 * sysdeps/generic/librt.abilist: New file.
39119
39120 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39121
39122 [BZ #17569]
39123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39124 Compute absolute value of x as modified by fmod, not original
39125 value of x.
39126 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39127 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
39128 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
39129 RUN_TEST_ffI_f1_mod8.
39130 (remquo_test_data): Add more tests.
39131
39132 2015-02-13 Roland McGrath <roland@hack.frob.com>
39133
39134 * sysdeps/init_array/pt-crti.S: New file.
39135
39136 2015-02-13 Joseph Myers <joseph@codesourcery.com>
39137
39138 [BZ #17967]
39139 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39140 __builtin_fmaf instead of relying on contraction of a * b + c.
39141
39142 2015-02-12 J William Piggott <elseifthen@gmx.com>
39143
39144 [BZ #17969]
39145 * manual/time.texi: correct the zoneinfo path in the TZ Variable
39146 node.
39147
39148 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39149
39150 [BZ #17964]
39151 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39152 __builtin_fma instead of relying on contraction of a * b + c.
39153
39154 2015-02-12 Roland McGrath <roland@hack.frob.com>
39155
39156 * Makeconfig (ASFLAGS): Add -Werror=undef.
39157 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39158 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39159 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39160
39161 * Makeconfig (after-link): New variable.
39162 (+link-pie, +link-pie-tests): Use it.
39163 (+link-static, +link-static-tests): Likewise.
39164 (+link, +link-tests): Likewise.
39165 * Makerules (build-module, build-module-asneeded): Likewise.
39166 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39167 Likewise.
39168 * elf/Makefile ($(objpfx)ld.so): Likewise.
39169
39170 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
39171
39172 [BZ #17965]
39173 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39174 both struct timeval and struct timespec.
39175
39176 2015-02-12 Joseph Myers <joseph@codesourcery.com>
39177
39178 [BZ #16560]
39179 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39180 and redefine.
39181 (__ieee754_exp2l): Do not multiply small fractional parts by
39182 M_LN2l.
39183 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39184 small argument.
39185 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39186 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39187 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39188 * math/auto-libm-test-in: Add more tests of exp2.
39189 * math/auto-libm-test-out: Regenerated.
39190
39191 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39192
39193 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39194 unaligned path.
39195
39196 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39197
39198 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39199 little endian.
39200
39201 2015-02-12 Andreas Schwab <schwab@suse.de>
39202
39203 [BZ #15790]
39204 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39205 Filter out elision flags from value returned in kind.
39206 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39207 * nptl/tst-pthread-mutexattr.c: New file.
39208
39209 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
39210
39211 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39212 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39213 into gnu-gnu, and update comment to refer to abi-tags.
39214
39215 2015-02-11 Joseph Myers <joseph@codesourcery.com>
39216
39217 [BZ #15467]
39218 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39219 (__sincos): Set errno to EDOM for infinite argument.
39220 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39221 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39222 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39223 (__sincosl): Set errno to EDOM for infinite argument.
39224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39225 (__sincosl): Set errno to EDOM for infinite argument.
39226 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39227 (__sincosl): Set errno to EDOM for infinite argument.
39228 * math/libm-test.inc (sincos_test_data): Test errno setting.
39229
39230 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
39231
39232 * string/strxfrm_l.c: Remove #define STRCMP.
39233 * string/strcoll_l.c: Remove #define STRLEN.
39234 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39235 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39236
39237 2015-02-10 Joseph Myers <joseph@codesourcery.com>
39238
39239 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39240 * sysdeps/mips/mips32/sfp-machine.h: ... here.
39241 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39242 * sysdeps/mips/mips64/Makefile: ... here.
39243 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39244 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39245 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39246 * sysdeps/mips/mips64/sfp-machine.h: ... here.
39247 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39248 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39249 * sysdeps/mips/mips64/n64/Implies: Likewise.
39250
39251 2015-02-10 Roland McGrath <roland@hack.frob.com>
39252
39253 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39254 <sys/time.h>, <string.h>, and <errno.h>.
39255 (dest_offset, dest_address, value, zero): Remove unused variables.
39256 (ldouble): Remove typedef.
39257 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39258 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
39259 1). Fix code style.
39260 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39261 (check): Function removed.
39262 (CHECK): New macro.
39263 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
39264 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39265 Don't call set_sigaction_FP and remove_sigaction_FP here.
39266 (ldouble_test): Just use 'long double' as macro argument, no need for
39267 the 'ldouble' typedef.
39268 (do_test): Set up SIGFPE handler at start, using plain signal rather
39269 than sigaction. Fix code style.
39270
39271 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
39272
39273 [BZ #17949]
39274 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39275 jump label.
39276
39277 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39278
39279 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39280 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39281
39282 * sysdeps/powerpc/configure.ac: Remove file.
39283 * sysdeps/powerpc/configure: Likewise.
39284
39285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39286 [sysdep_routines]: Remove wordcopy-power6 object.
39287 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39288 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39289 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39290 (__memmove_ppc32): Likewise.
39291 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39292 file.
39293 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39294 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39295 Remove preprocessor.
39296
39297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39298 [sysdep_routines]: Remove wide chars objects.
39299 [wcsmbs]: New rule for wide char objects.
39300
39301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39302 Remove wordcopy-power6 obejct.
39303 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39304 Use local call for wordcopy and memcpy symbols.
39305 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39306 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39307 implementation for loader.
39308 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39309
39310 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39311 Remove wordcopy-power7 object.
39312 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39313 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39314 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39315 (_wordcopy_fwd_dest_aligned): Likewise.
39316 (_wordcopy_bwd_aligned): Likewise.
39317 (_wordcopy_bwd_dest_aligned): Likewise.
39318
39319 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39320 Rewrite to call __memmove_ppc instead of include default
39321 implementation.
39322
39323 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39324 Remove wide chars objects.
39325 [wcsmbs]: New rule for wide char objects.
39326
39327 2015-02-09 Andreas Schwab <schwab@suse.de>
39328
39329 [BZ #17912]
39330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39331 in terms of __O_DIRECTORY.
39332
39333 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39334
39335 * time/getdate.c: Include <stdbool.h>.
39336 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39337 call PTR_MANGLE.
39338 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39339 PTR_DEMANGLE.
39340
39341 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
39342
39343 Add ersatz _Static_assert on older C hosts
39344 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39345 pre-C11 C platform that is not known to support _Static_assert.
39346
39347 2015-02-07 Richard Braun <rbraun@sceen.net>
39348
39349 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39350 sigstate.
39351 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39352
39353 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
39354
39355 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39356 priority against unexistent AIO_PRIO_DELTA_MAX.
39357 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39358 instead of int.
39359 * misc/fchflags.c (fchflags): Likewise.
39360 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39361 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39362 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39363 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39364 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39365 Declare macros.
39366 [__USE_MISC] (chflags, fchflags): Declare functions.
39367 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39368 EINVAL when nfds is greater than FD_SETSIZE.
39369 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39370 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39371 45.
39372 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39373 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39374 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39375 MACH_RCV_TIMED_OUT.
39376 * hurd/hurd/signal.h (_hurd_self_sigstate,
39377 _hurd_critical_section_lock, _hurd_critical_section_unlock):
39378 Explicit casts from void *.
39379 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39380 * abi-tags: Rename gnu-gnu os into gnu.
39381
39382 [BZ #4719]
39383 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39384 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39385 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39386 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39387 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39388 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39389
39390 [BZ #17944]
39391 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39392 duplicates ADDR->sun_path with sockaddr LEN limitation.
39393 * sysdeps/mach/hurd/connect.c: Include <string.h>
39394 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39395 * sysdeps/mach/hurd/sendmsg.c: Likewise.
39396 * sysdeps/mach/hurd/sendto.c: Likewise.
39397 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39398 implementing it by hand.
39399
39400 2015-02-06 Roland McGrath <roland@hack.frob.com>
39401
39402 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39403 Use sfi_breg on ldr.
39404 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39405 Likewise.
39406
39407 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39408 it's defined.
39409 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39410 Test SIGSETXID only if it's defined.
39411
39412 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39413
39414 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39415 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
39416
39417 * nptl/tst-align2.c: Moved ...
39418 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39419 * nptl/Makefile (tests): Remove tst-align2.
39420 * sysdeps/unix/sysv/linux/Makefile
39421 [$(subdir) = nptl] (tests): Add tst-align-clone.
39422 * nptl/tst-getpid1.c: Moved ...
39423 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39424 * nptl/tst-getpid2.c: Moved ...
39425 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39426 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39427 * sysdeps/unix/sysv/linux/Makefile
39428 [$(subdir) = nptl] (tests): ... here.
39429 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39430 * sysdeps/unix/sysv/linux/Makefile
39431 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39432
39433 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39434 Drop trailing \n from perror argument. Use return rather than exit.
39435
39436 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39437 on [SA_SIGINFO].
39438 * nptl/tst-cancel21.c (do_test): Likewise.
39439 * debug/tst-backtrace6.c: Include <signal.h> first thing.
39440 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39441 [!SA_SIGINFO]: Make it a stub test.
39442
39443 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39444 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39445
39446 * posix/tst-getlogin.c: Move to ...
39447 * login/tst-getlogin.c: ... here.
39448 * posix/Makefile (tests): Move tst-getlogin to ...
39449 * login/Makefile (tests): ... here.
39450
39451 * libio/tst-atime.c (do_test): Move local variables SV and E
39452 inside [ST_NOATIME] conditional.
39453
39454 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39455
39456 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39457
39458 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39459 (wait_code): New function replaces macro.
39460 Call nanosleep rather than syscall.
39461
39462 * nptl/pt-system.c: Rewritten. Put everything under
39463 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39464 Use IFUNC to redirect when possible.
39465
39466 * nptl/pt-longjmp.c: Rewritten. Put everything under
39467 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39468 Use IFUNC to redirect when possible.
39469
39470 * nptl/pt-fork.c: Rewritten. Put everything under
39471 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39472 Use IFUNC to redirect when possible.
39473 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39474
39475 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39476 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39477 unconditionally nowadays. This included the only reference to
39478 __vdso_clock_gettime that appears outside libc proper.
39479 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39480 Remove version set (containing only __vdso_clock_gettime).
39481 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39482 Add attribute_hidden.
39483 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39484 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39485 libc_hidden_data_def.
39486 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39487 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39488
39489 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39490 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39491 setrpcent, and getrpcport to ...
39492 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39493 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39494 getrpcbynumber_r, and getrpcent_r to ...
39495 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39496 * inet/getrpcbyname.c: Moved ...
39497 * sunrpc/getrpcbyname.c: ... here.
39498 * inet/getrpcbyname_r.c: Moved ...
39499 * sunrpc/getrpcbyname_r.c: ... here.
39500 * inet/getrpcbynumber.c: Moved ...
39501 * sunrpc/getrpcbynumber.c: ... here.
39502 * inet/getrpcbynumber_r.c: Moved ...
39503 * sunrpc/getrpcbynumber_r.c: ... here.
39504 * inet/getrpcent.c: Moved ...
39505 * sunrpc/getrpcent.c: ... here.
39506 * inet/getrpcent_r.c: Moved ...
39507 * sunrpc/getrpcent_r.c: ... here.
39508 * inet/Makefile (routines): Move those to ...
39509 * sunrpc/Makefile (routines): ... here.
39510 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39511 the $(subdirs) list.
39512 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
39513 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39514 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39515 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39516
39517 * elf/Makefile (routines): Include $(all-dl-routines), not just
39518 $(dl-routines).
39519 (rtld-routines): Likewise. Use = rather than :=.
39520 * sysdeps/aarch64/Makefile [$(subdir) = elf]
39521 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39522 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39523 * sysdeps/arm/Makefile: Likewise.
39524 * sysdeps/i386/Makefile: Likewise.
39525 * sysdeps/x86_64/Makefile: Likewise.
39526 * sysdeps/hppa/Makefile [$(subdir) = elf]
39527 (sysdep_routines, sysdep-rtld-routines): Don't add
39528 $(sysdep-dl-routines) to these.
39529 * sysdeps/ia64/Makefile: Likewise.
39530 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39531 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39532 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39533 Don't add dl-static to these; sysdep-dl-routines alone is enough.
39534 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39535 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39536 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39537 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39538 * sysdeps/powerpc/Makefile [$(subdir) = elf]
39539 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39540 these; sysdep-dl-routines alone is enough.
39541
39542 2015-02-06 Joseph Myers <joseph@codesourcery.com>
39543
39544 [BZ #17932]
39545 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39546 where multiplication results in zero and third argument is finite
39547 and nonzero.
39548 * math/auto-libm-test-in: Add more tests of fma.
39549 * math/auto-libm-test-out: Regenerated.
39550
39551 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39552 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39553 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39554 (_FP_CMP_EQ): Likewise.
39555 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39556
39557 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39558 extra argument CHECK_NAN. Redefine as wrapper around
39559 _FP_EXTEND_CNAN.
39560
39561 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
39562
39563 * version.h (RELEASE): Set to "stable".
39564 (VERSION): Set to "2.21"
39565 * include/features.h (__GLIBC_MINOR__): Set to 21.
39566
39567 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39568
39569 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39570 Paul Eggert <eggert@cs.ucla.edu>
39571
39572 [BZ #16618]
39573 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39574 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39575 size in bytes. Store needed elements in wpmax. Use needed size
39576 in bytes for extend_alloca.
39577
39578 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
39579
39580 * manual/install.texi: Latest tested versions are GCC 4.9.2,
39581 binutls 2.25, and texinfo 5.2.
39582 * INSTALL: Regenerate.
39583 * sysdeps/nios2/configure: Regenerate.
39584 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39585 * manual/contrib.texi: Update.
39586 * po/be.po: Update.
39587 * po/bg.po: Update.
39588 * po/ca.po: Update.
39589 * po/cs.po: Update.
39590 * po/da.po: Update.
39591 * po/de.po: Update.
39592 * po/el.po: Update.
39593 * po/eo.po: Update.
39594 * po/es.po: Update.
39595 * po/fi.po: Update.
39596 * po/fr.po: Update.
39597 * po/gl.po: Update.
39598 * po/hr.po: Update.
39599 * po/hu.po: Update.
39600 * po/ia.po: Update.
39601 * po/id.po: Update.
39602 * po/it.po: Update.
39603 * po/ja.po: Update.
39604 * po/ko.po: Update.
39605 * po/lt.po: Update.
39606 * po/nb.po: Update.
39607 * po/nl.po: Update.
39608 * po/pl.po: Update.
39609 * po/pt_BR.po: Update.
39610 * po/ru.po: Update.
39611 * po/rw.po: Update.
39612 * po/sk.po: Update.
39613 * po/sl.po: Update.
39614 * po/sv.po: Update.
39615 * po/tr.po: Update.
39616 * po/uk.po: Update.
39617 * po/vi.po: Update.
39618 * po/zh_CN.po: Update.
39619 * po/zh_TW.po: Update.
39620
39621 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39622 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39623 * sysdeps/hppa/dl-irel.h: Remove #warning.
39624 * sysdeps/hppa/entry.h: Provide prototype for
39625 __canonicalize_funcptr_for_compare and cast argument.
39626 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39627 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39628 * sysdeps/hppa/sotruss-lib.c: New file.
39629 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39630 (atomic_compare_and_exchange_val_acq): Use __typeof__.
39631 (atomic_compare_and_exchange_bool_acq): Likewise.
39632 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39633 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39634
39635 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39636 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39637 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39638
39639 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
39640
39641 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39642 called function in non-PIC case.
39643
39644 2015-01-31 David S. Miller <davem@davemloft.net>
39645
39646 * sysdeps/sparc/sparc32/bits/atomic.h
39647 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39648 unlock not after it.
39649 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39650 volatile register usage warnings from the compiler.
39651
39652 * sysdeps/sparc/nptl/sem_init.c: Delete.
39653 * sysdeps/sparc/nptl/sem_post.c: Delete.
39654 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39655 * sysdeps/sparc/nptl/sem_wait.c: Delete.
39656 * sysdeps/sparc/sparc32/sem_init.c: New file.
39657 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
39658 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
39659 padding explicitly initialized.
39660 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
39661 padding for in-semaphore spinlock.
39662 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
39663 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
39664 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
39665 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
39666 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
39667 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
39668 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
39669 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
39670 version.
39671 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
39672 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
39673
39674 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
39675
39676 [BZ #17801]
39677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39678 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
39679 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
39680 New.
39681 (index_AVX_Fast_Unaligned_Load): Likewise.
39682 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
39683 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
39684 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
39685 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
39686 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
39687 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
39688 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
39689 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
39690 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
39691
39692 2015-01-29 Andreas Schwab <schwab@suse.de>
39693
39694 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
39695
39696 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39697
39698 [BZ #17892]
39699 * nscd/nscd_stat.c (send_stats): Initialize DATA.
39700
39701 2015-01-28 Martin Sebor <msebor@redhat.com>
39702
39703 * math/README.libm-test: Clarify. Add "How to read the test output."
39704
39705 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
39706
39707 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
39708 Define to 0.
39709
39710 2015-01-28 Joseph Myers <joseph@codesourcery.com>
39711
39712 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
39713 (__HAVE_64B_ATOMICS): Define to 0.
39714
39715 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39716
39717 [BZ #17885]
39718 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
39719 value to set as new flag.
39720
39721 [BZ #16576]
39722 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
39723 and use _ARCH_PPCSQ instead.
39724 (__ieee754_sqrt): Likewise.
39725 (__ieee754_sqrtf): Likewise.
39726 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
39727 _ARCH_PPCSQ is defined.
39728 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
39729 fsqrt instruction.
39730 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
39731 _ARCH_PPCSQ is defined.
39732 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
39733 fsqrts instruction.
39734 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
39735
39736 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39737
39738 * iconv/loop.c: Suppress array out of bound warning caused by GCC
39739 bug (GCC BZ #64739).
39740
39741 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
39742
39743 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
39744 Mark _retval as used.
39745 (lll_futex_wake_unlock): Likewise.
39746 (lll_futex_timed_wait_requeue_pi): Likewise.
39747
39748 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39749 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
39750 register variables.
39751
39752 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39753 libm_hidden_def.
39754
39755 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
39756 (__bswap_64): Mark as __always_inline.
39757
39758 2015-01-25 Bram <bug_rh@spam.wizbit.be>
39759
39760 [BZ #15378]
39761 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
39762 when none of the search directories exist.
39763
39764 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
39765
39766 [BZ #17869]
39767 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
39768 power8 in .machine directive.
39769
39770 [BZ #17868]
39771 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
39772 set dependency from opd value.
39773
39774 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
39775
39776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39777 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39778 architecture.
39779
39780 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
39781
39782 [BZ #17870]
39783 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39784 with uint64_t.
39785 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39786 (uint64_t) 1.
39787 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39788 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39789 Replace 1UL with (uint64_t) 1.
39790 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39791 int with uint64_t.
39792
39793 2015-01-23 Roland McGrath <roland@hack.frob.com>
39794
39795 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39796 (if_freenameindex): Likewise.
39797
39798 * resource/getrlimit64.c: Add missing libc_hidden_def.
39799
39800 2015-01-22 Joseph Myers <joseph@codesourcery.com>
39801
39802 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39803 __label__.
39804 (_FP_FMA): Likewise.
39805 (_FP_TO_INT_ROUND): Likewise.
39806 (_FP_FROM_INT): Likewise.
39807
39808 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39809
39810 [BZ #16418]
39811 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39812 Make code racy and cancel safe.
39813
39814 2015-01-21 Carlos O'Donell <carlos@redhat.com>
39815
39816 * sysdeps/arm/unwind-resume.h: Fix copyright year.
39817 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39818 attribution.
39819
39820 * pwd/tst-getpw.c: Rewrite.
39821
39822 [BZ #17702]
39823 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39824 (modules-names): Add moddummy1 and moddummy2.
39825 ($(objpfx)tst-rec-dlopen): Define.
39826 * dlfcn/moddummy1.c: New file.
39827 * dlfcn/moddummy2.c: New file.
39828 * dlfcn/tst-rec-dlopen.c: New file.
39829 * elf/dl-cache.c (_dl_load_cache_lookup):
39830 Return char*. Copy result with alloca/strcpy/strdup.
39831 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39832 returns char*. Free cached. If not saving realname
39833 free cached.
39834 * elf/dl-open.c (dl_open_worker): Do not assert that
39835 _r_debug->r_state is RT_CONSISTENT.
39836 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39837 returns char*.
39838
39839 2015-01-21 Torvald Riegel <triegel@redhat.com>
39840 Carlos O'Donell <carlos@redhat.com>
39841
39842 [BZ #12674]
39843 * nptl/sem_waitcommon.c: New file.
39844 * nptl/sem_wait.c: Include sem_waitcommon.c.
39845 (__sem_wait_cleanup, do_futex_wait): Remove.
39846 (__new_sem_wait): Adapt.
39847 (__new_sem_trywait): New function.
39848 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39849 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39850 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39851 (sem_timedwait): Adapt.
39852 * nptl/sem_post.c (__new_sem_post): Adapt.
39853 (futex_wake): New function.
39854 (__old_sem_post): Add release MO fence.
39855 * nptl/sem_open.c (sem_open): Adapt.
39856 * nptl/sem_init.c (__new_sem_init): Adapt.
39857 (futex_private_if_supported): New function.
39858 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39859 (__old_sem_getvalue): Add using previous code.
39860 * sysdeps/nptl/internaltypes.h: Adapt.
39861 * nptl/tst-sem13.c (do_test): Adapt.
39862 * nptl/tst-sem11.c (main): Adapt.
39863 * nptl/sem_trywait.c: Remove.
39864 * nptl/DESIGN-sem.txt: Remove.
39865 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39866 (gen-as-const-headers): Remove structsem.sym.
39867 * nptl/structsem.sym: Remove.
39868 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39869 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39870 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39871 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39872 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39873 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39874 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39875 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39876 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39877 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39878 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39879 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39880 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39881 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39882 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39883 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39884 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39885 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39886 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39887 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39888 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39889 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39890
39891 2015-01-20 Carlos O'Donell <carlos@redhat.com>
39892
39893 * INSTALL: Regenerated.
39894
39895 * po/libc.pot: Regenerated.
39896
39897 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
39898 Sandra Loosemore <sandra@codesourcery.com>
39899 Andrew Jenner <andrew@codesourcery.com>
39900 Joseph Myers <joseph@codesourcery.com>
39901 Nathan Sidwell <nathan@codesourcery.com>
39902
39903 * NEWS: Mention new Nios II port.
39904 * sysdeps/nios2/Implies: New file.
39905 * sysdeps/nios2/Makefile: New file.
39906 * sysdeps/nios2/Subdirs: New file.
39907 * sysdeps/nios2/Versions: New file.
39908 * sysdeps/nios2/__longjmp.S: New file.
39909 * sysdeps/nios2/abort-instr.h: New file.
39910 * sysdeps/nios2/backtrace.c: New file.
39911 * sysdeps/nios2/bits/endian.h: New file.
39912 * sysdeps/nios2/bits/fenv.h: New file.
39913 * sysdeps/nios2/bits/link.h: New file.
39914 * sysdeps/nios2/bits/setjmp.h: New file.
39915 * sysdeps/nios2/bsd-_setjmp.S: New file.
39916 * sysdeps/nios2/bsd-setjmp.S: New file.
39917 * sysdeps/nios2/configure: New generated file.
39918 * sysdeps/nios2/configure.ac: New file.
39919 * sysdeps/nios2/crti.S: New file.
39920 * sysdeps/nios2/crtn.S: New file.
39921 * sysdeps/nios2/dl-init.c: New file.
39922 * sysdeps/nios2/dl-machine.h: New file.
39923 * sysdeps/nios2/dl-sysdep.h: New file.
39924 * sysdeps/nios2/dl-tls.h: New file.
39925 * sysdeps/nios2/dl-trampoline.S: New file.
39926 * sysdeps/nios2/gccframe.h: New file.
39927 * sysdeps/nios2/gmp-mparam.h: New file.
39928 * sysdeps/nios2/jmpbuf-offsets.h: New file.
39929 * sysdeps/nios2/jmpbuf-unwind.h: New file.
39930 * sysdeps/nios2/ldsodefs.h: New file.
39931 * sysdeps/nios2/libc-tls.c: New file.
39932 * sysdeps/nios2/libm-test-ulps: New file.
39933 * sysdeps/nios2/machine-gmon.h: New file.
39934 * sysdeps/nios2/math-tests.h: New file.
39935 * sysdeps/nios2/math_private.h: New file.
39936 * sysdeps/nios2/memusage.h: New file.
39937 * sysdeps/nios2/nptl/Makefile: New file.
39938 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39939 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39940 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39941 * sysdeps/nios2/nptl/pthreaddef.h: New file.
39942 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39943 * sysdeps/nios2/nptl/tls.h: New file.
39944 * sysdeps/nios2/preconfigure: New file.
39945 * sysdeps/nios2/s_fma.c: New file.
39946 * sysdeps/nios2/s_fmaf.c: New file.
39947 * sysdeps/nios2/setjmp.S: New file.
39948 * sysdeps/nios2/sfp-machine.h: New file.
39949 * sysdeps/nios2/sotruss-lib.c: New file.
39950 * sysdeps/nios2/stackguard-macros.h: New file.
39951 * sysdeps/nios2/stackinfo.h: New file.
39952 * sysdeps/nios2/start.S: New file.
39953 * sysdeps/nios2/sysdep.h: New file.
39954 * sysdeps/nios2/tls-macros.h: New file.
39955 * sysdeps/nios2/tst-audit.h: New file.
39956 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39957 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39958 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39959 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39960 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39961 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39962 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39963 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39964 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39965 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39966 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39967 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39968 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39969 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39970 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39971 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39972 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39973 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39974 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39975 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39976 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39977 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39978 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39979 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39980 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39981 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39982 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39983 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39984 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39985 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39986 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39987 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39988 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39989 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39990 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39991 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39992 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39993 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39994 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39995 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39996 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39997 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39998 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39999 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40000
40001 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40002
40003 [BZ #17844]
40004 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40005 (getutent): Use weak_alias in non SHARED case
40006 and default_symbol_version in SHARED case.
40007 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40008 (getutent_r, pututline): Likewise.
40009 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40010 (getutid): Likewise.
40011 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40012 (getutid_r): Likewise.
40013 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40014 (getutline): Likewise.
40015 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40016 (getutline_r): Likewise.
40017 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40018 (updwtmp): Likewise.
40019
40020 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
40021
40022 [BZ #17848]
40023 * sysdeps/s390/s390-32/memcmp.S
40024 (memcmp_g5): Rename to __memcmp_g5.
40025 * sysdeps/s390/s390-32/memcpy.S
40026 (memcpy_g5): Rename to __memcpy_g5.
40027 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40028 (memcpy_mvcle) Rename to __memcpy_mvcle.
40029 * sysdeps/s390/s390-32/memset.S
40030 (memset_g5): Rename to __memset_g5.
40031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40032 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40033 and use prefixed functions.
40034 * sysdeps/s390/s390-32/multiarch/memcmp.S
40035 (memcmp_z196): Rename to __memcmp_z196.
40036 (memcmp_z10): Rename to __memcmp_z10.
40037 (memcmp): Set alias to __memcmp_g5.
40038 (bcmp): Set alias to __memcmp_g5.
40039 * sysdeps/s390/s390-32/multiarch/memcpy.S
40040 (memcpy_z196): Rename to __memcpy_z196.
40041 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40042 (memcpy_z10): Rename to __memcpy_z10.
40043 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40044 (memcpy): Set alias to __memcpy_g5.
40045 * sysdeps/s390/s390-32/multiarch/memset.S
40046 (memset_z196): Rename to __memset_z196.
40047 Jump to __memset_mvcle instead of memset_mvcle.
40048 (memset_z10): Rename to __memset_z10.
40049 Jump to __memset_mvcle instead of memset_mvcle.
40050 (memset_mvcle) Rename to __memset_mvcle.
40051 (memset): Set alias to __memset_g5.
40052 * sysdeps/s390/s390-64/memcmp.S
40053 (memcmp_z900): Rename to __memcmp_z900.
40054 * sysdeps/s390/s390-64/memcpy.S
40055 (memcpy_z900): Rename to __memcpy_z900.
40056 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40057 (memcpy_mvcle) Rename to __memcpy_mvcle.
40058 * sysdeps/s390/s390-64/memset.S
40059 (memset_z900): Rename to __memset_z900.
40060 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40061 (IFUNC_RESOLVE): Prefix ifunc-resolve function
40062 and use prefixed functions.
40063 * sysdeps/s390/s390-64/multiarch/memcmp.S
40064 (memcmp_z196): Rename to __memcmp_z196.
40065 (memcmp_z10): Rename to __memcmp_z10.
40066 (memcmp): Set alias to __memcmp_z900.
40067 (bcmp): Set alias to __memcmp_z900.
40068 * sysdeps/s390/s390-64/multiarch/memcpy.S
40069 (memcpy_z196): Rename to __memcpy_z196.
40070 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40071 (memcpy_z10): Rename to __memcpy_z10.
40072 Jump to __memcpy_mvcle instead of memcpy_mvcle.
40073 (memcpy): Set alias to __memcpy_z900.
40074 * sysdeps/s390/s390-64/multiarch/memset.S
40075 (memset_z196): Rename to __memset_z196.
40076 Jump to __memset_mvcle instead of memset_mvcle.
40077 (memset_z10): Rename to __memset_z10.
40078 Jump to __memset_mvcle instead of memset_mvcle.
40079 (memset_mvcle) Rename to __memset_mvcle.
40080 (memset): Set alias to __memset_z900.
40081
40082 2015-01-14 Joseph Myers <joseph@codesourcery.com>
40083
40084 [BZ #17748]
40085 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40086 __fesetenv instead of fesetenv.
40087
40088 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40089
40090 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40091 macro.
40092
40093 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40094
40095 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40096 regression on LE.
40097
40098 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40099 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40100 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40101 strncmp-power8 object.
40102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40103 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40104 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40105 * NEWS: Update.
40106
40107 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40108 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40109
40110 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40111 trailing byte check.
40112
40113 2015-01-13 David S. Miller <davem@davemloft.net>
40114
40115 * include/signal.h (__sigreturn): Guard with __USE_MISC.
40116
40117 2015-01-13 Roland McGrath <roland@hack.frob.com>
40118
40119 * login/logout.c (logout): Use memset rather than bzero.
40120 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40121 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40122 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40123 (_gethtbyaddr): Likewise.
40124 * locale/programs/simple-hash.c (bcopy): Macro removed.
40125
40126 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40127
40128 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40129 Add strcmp-power8 object.
40130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40131 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40132 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40133 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40134 __strcmp_power8 implementation.
40135 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40136 * NEWS: Update.
40137
40138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40139 Add strncpy-power8 and stpncpy-power8 objects.
40140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40141 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40142 implementations.
40143 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40144 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40145 __stpncpy_power8 implementation.
40146 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40147 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40148 __strncpy_power8 implementation.
40149 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40150 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40151 * NEWS: Update.
40152
40153 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40154 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40155 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40156
40157 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40158 strncat-power8 object.
40159 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40160 __strcat_power8 implementation.
40161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40162 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40163 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40164 optimized strcat for power8.
40165
40166 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40167 strcpy-power8 and stpcpy-power8 objects.
40168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40169 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40170 implementations.
40171 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40172 multiarch stpcpy implementation for POWER8.
40173 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40174 multiarch strcpy implementation for POWER8.
40175 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40176 __strcpy_power8 function.
40177 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40178 stpcpy for POWER8.
40179 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40180 strcpy for POWER8.
40181 * NEWS: Update.
40182
40183 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
40184
40185 [BZ #16009]
40186 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40187 weights and rules. Use do_xfrm_cached if data fits in cache,
40188 do_xfrm otherwise. Moved former main loop to...
40189 * (do_xfrm_cached): New function.
40190 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40191 find_idx, find_position and stack_push.
40192 * (find_idx): New function.
40193 * (find_position): Likewise.
40194 * localedata/sort-test.sh: Added test run for do_xfrm.
40195 * localedata/xfrm-test.c (main): Added command line option
40196 -nocache to run the test with strings that are too large for
40197 the STRXFRM cache.
40198
40199 2015-01-13 Torvald Riegel <triegel@redhat.com>
40200
40201 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40202 variable to lll_futex_wake call, not the value itself.
40203
40204 2015-01-12 Joseph Myers <joseph@codesourcery.com>
40205
40206 [BZ #17803]
40207 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40208 twom64. Adjust value to 0x1p-64L.
40209 (__scalblnl): Only return standard underflowing result for K <=
40210 -64 not K <= -63; adjust exponent for underflowing result by 64
40211 not 63.
40212 * math/libm-test.inc (scalbn_test_data): Add more tests.
40213 (scalbln_test_data): Likewise.
40214
40215 [BZ #17834]
40216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40217 0x1p63L.
40218 (__scalblnl): Get new exponent of adjusted subnormal value from ES
40219 not HX.
40220 * math/libm-test.inc (scalbn_test_data): Add more tests.
40221 (scalbln_test_data): Likewise.
40222
40223 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40224 Stefani Seibold <stefani@seibold.net>
40225
40226 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40227 (sysdep_routines): Add dl-vdso here, ...
40228 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40229 (sysdep_routines): ... not here.
40230 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40231 fallback when vDSO is not presented.
40232 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40233 Define with libc_hidden_proto/libc_hidden_data_def definitions.
40234 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40235 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40236 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40237 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40238 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40239 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40240 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40241 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40242 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40243 fallback configurable symbol when vDSO is not available.
40244 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40245 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
40246 be able to redefine fallback symbol when vDSO is not available.
40247 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40248 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40249
40250 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40251
40252 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40253 (TLS_INIT_TP): Add tm_capable initialization.
40254 (TLS_DEFINE_INIT_TP): Likewise.
40255 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40256 TCB.
40257 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40258 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40259 calculation.
40260 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40261 transactoion is lock elision is built and TCB tm_capable is set.
40262 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40264 (INTERNAL_SYSCALL_NCS): Likewise.
40265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40266 (INTERNAL_SYSCALL_NCS): Likewise.
40267 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40268
40269 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40270 for powerpc.
40271 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40272 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40273 and remove it for 32 bits case.
40274 [pthread_rwlock_t] (__rwelision): New field for lock elision.
40275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40276 initialization.
40277 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40278 Disable lock elision with rdlocks if elision is not available.
40279
40280 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40281 (sysdep_routines): Add lock elision objects.
40282 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40283 [pthread_mutex_t] (__spins): Rework to add lock elision field.
40284 [pthread_mutex_t] (__elision): Add field.
40285 [__PTHREAD_SPINS]: Adjust to init lock elision field.
40286 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40287 elision definitions for powerpc.
40288 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40289 implementation of lock elision for powerpc.
40290 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40291 implementation of timed lock elision for powerpc.
40292 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40293 implementation of trylock with lock elision for powerpc.
40294 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40295 implementaion of unlock for lock elision for powerpc.
40296 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40297 automatic enable lock elision for mutexes.
40298 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40299 transaction execution definitions for powerpc.
40300 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40301 definitions.
40302 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40303 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40304 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40305 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40306 * NEWS: Update.
40307
40308 2015-01-09 Roland McGrath <roland@hack.frob.com>
40309
40310 * sysdeps/posix/shm-directory.c: Use <> rather than ""
40311 for #include of <shm-directory.h>.
40312
40313 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
40314
40315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40316 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40317
40318 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
40319
40320 [BZ #17791]
40321 * NEWS: Mention bug fix.
40322 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40323 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40324 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40325
40326 2015-01-09 Torvald Riegel <triegel@redhat.com>
40327
40328 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40329
40330 2015-01-09 Torvald Riegel <triegel@redhat.com>
40331
40332 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40333
40334 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40335
40336 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40337 pointer and cast to uintptr_t.
40338
40339 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40340
40341 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40342 removed.
40343 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40344
40345 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
40346
40347 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40348 of 0.
40349
40350 2015-01-08 Roland McGrath <roland@hack.frob.com>
40351
40352 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40353 <nptl/pthreadP.h> instead.
40354 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40355
40356 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40357 already defined.
40358 [__SIGRTMIN] (init): Function removed.
40359 [__SIGRTMIN] (initialized): Variable removed.
40360 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40361 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40362 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40363 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40364 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40365 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40366 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40367 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40368 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40369 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40370 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40371 * sysdeps/nptl/allocrtsig.c: New file.
40372 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40373 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40374 * sysdeps/generic/testrtsig.h: File removed.
40375
40376 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40377 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40378
40379 * nptl/nptl-init.c (pthread_functions): Conditionalize
40380 .ptr__nptl_setxid initialization on [SIGSETXID].
40381
40382 * sysdeps/nptl/sys/procfs.h: New file.
40383 * nptl_db/Makefile (headers): Add it.
40384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40385
40386 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40387 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40388 * nptl/pthread_attr_setaffinity.c: Include it.
40389 * nptl/pthread_setattr_default_np.c: Likewise.
40390 * nptl/check-cpuset.h: New file.
40391
40392 2015-01-08 Richard Henderson <rth@redhat.com>
40393
40394 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40395 (CFLAGS-tst-execstack-prog.c): Likewise.
40396 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40397
40398 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
40399 Sandra Loosemore <sandra@codesourcery.com>
40400 Andrew Jenner <andrew@codesourcery.com>
40401 Joseph Myers <joseph@codesourcery.com>
40402 Nathan Sidwell <nathan@codesourcery.com>
40403
40404 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40405 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40406 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40407 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40408 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40409 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40410 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40411 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40412 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40413 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40414 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40415 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40416 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40417 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40418 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40419 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40420 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40421
40422 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40423
40424 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40425 timespec struct member in syscall macro.
40426 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40427 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40428 first timeval struct member in syscall macro.
40429 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40430
40431 2015-01-07 Joseph Myers <joseph@codesourcery.com>
40432
40433 [BZ #17748]
40434 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40435 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40436 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40437 __feupdateenv and define as weak alias of __feupdateenv. Use
40438 libm_hidden_weak.
40439 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40440 libm_hidden_def.
40441 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40442 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
40443 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40444 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40445 libm_hidden_def.
40446 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40447 __feupdateenv and define as weak alias of __feupdateenv. Use
40448 libm_hidden_weak.
40449 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40450 libm_hidden_def.
40451 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40452 __feupdateenv and define as weak alias of __feupdateenv. Use
40453 libm_hidden_weak.
40454 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40455 libm_hidden_def.
40456 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40457 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40458 (__feupdateenv): Likewise.
40459 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40460 __feupdateenv and define as weak alias of __feupdateenv. Use
40461 libm_hidden_weak.
40462 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40463 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40464 libm_hidden_def.
40465 * sysdeps/tile/math_private.h (__feupdateenv): New inline
40466 function.
40467 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40468 libm_hidden_def.
40469 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40470 __feupdateenv instead of feupdateenv.
40471 (default_libc_feupdateenv_test): Likewise.
40472 (libc_feresetround_ctx): Likewise.
40473
40474 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40475
40476 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40477 prototype.
40478
40479 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
40480
40481 * posix/regcomp.c (parse_bracket_exp): Initialize type to
40482 COLL_SYM in a couple of places to avoid uninitialized variable
40483 wanings on tilegx gcc 4.8.2.
40484
40485 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40486
40487 * sysdeps/aarch64/strcpy.S: New file.
40488 * sysdeps/aarch64/stpcpy.S: New file.
40489 * NEWS: Updated.
40490
40491 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
40492
40493 * sysdeps/aarch64/strrchr.S: New file.
40494 * NEWS: Updated.
40495
40496 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
40497
40498 [BZ #17658]
40499 * stdlib/setenv.c: Fix memory leak when setting large,
40500 duplicate string.
40501
40502 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
40503
40504 [BZ #17273]
40505 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40506 and tabs from buffer before parsing fstab entry.
40507 * misc/tst-mntent.c (main): Add test for mount entry with
40508 trailing spaces and tabs.
40509
40510 2015-01-06 Joseph Myers <joseph@codesourcery.com>
40511
40512 [BZ #17748]
40513 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
40514 * math/fesetround.c (fesetround): Rename to __fesetround and
40515 define as weak alias of __fesetround. Use libm_hidden_weak.
40516 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40517 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40518 * sysdeps/arm/fesetround.c (fesetround): Likewise.
40519 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40520 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40521 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40522 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40523 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40524 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40525 __fesetround_inline.
40526 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40527 __fesetround_inline instead of __fesetround.
40528 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40529 __fesetround and define as weak alias of __fesetround. Use
40530 libm_hidden_weak. Call __fesetround_inline instead of
40531 __fesetround.
40532 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40533 __fesetround and define as weak alias of __fesetround. Use
40534 libm_hidden_weak.
40535 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40536 Likewise.
40537 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40538 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40539 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40540 * sysdeps/tile/math_private.h (__fesetround): New inline function.
40541 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40542 __fesetround and define as weak alias of __fesetround. Use
40543 libm_hidden_weak.
40544 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40545 __fesetround instead of fesetround.
40546 (default_libc_feholdexcept_setround): Likewise.
40547 (libc_feholdsetround_ctx): Likewise.
40548 (libc_feholdsetround_noex_ctx): Likewise.
40549
40550 [BZ #17748]
40551 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40552 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40553 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40554 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40555 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40556 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40557 define as weak alias of __fesetenv. Use libm_hidden_weak.
40558 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40559 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40560 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40561 define as weak alias of __fesetenv. Use libm_hidden_weak.
40562 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40563 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40564 define as weak alias of __fesetenv. Use libm_hidden_weak.
40565 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40566 libm_hidden_def.
40567 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40568 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40569 Likewise.
40570 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40571 define as weak alias of __fesetenv. Use libm_hidden_weak.
40572 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40573 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40574 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40575 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40576 and define as weak alias of __fesetenv. Use libm_hidden_weak.
40577 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40578 __fesetenv instead of fesetenv.
40579 (libc_feresetround_noex_ctx): Likewise.
40580 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40581 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40583 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40584 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40585 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40586 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40587 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40588 (__feupdateenv): Likewise.
40589 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40590 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40591 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40592 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40593
40594 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40595
40596 [BZ #17806]
40597 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40598 addresses have been freed.
40599
40600 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
40601
40602 * resolv/res_init.c (__res_vinit): Improve comments about nserv
40603 and nservall.
40604
40605 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
40606
40607 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40608 Clean up check_pf allocation pattern. addresses
40609
40610 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40611
40612 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40613 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40614 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40615 * nptl/pthread_exit.c (__pthread_exit): Likewise.
40616 * nptl/pthread_join.c (pthread_join): Likewise.
40617 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40618 * sysdeps/posix/waitid.c (__waitid): Likewise.
40619 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40620 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40621 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40622 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40623 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40624 Likewise.
40625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40626 (__libc_pread64): Likewise.
40627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40628 (__libc_pwrite): Likewise.
40629 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40630 (__libc_pwrite64): Likewsie.
40631 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40632 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40633 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40634 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40635 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40636 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40637 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40639 Likewise.
40640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40641 (__libc_pread64): Likewise.
40642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40643 Likewise.
40644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40645 (__libc_pwrite64): Likewise.
40646 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40647 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40648 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40649 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40650 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40651 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40652 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40653 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40654 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40655 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40656 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40657 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
40658 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
40659 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
40660 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
40661 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
40662 Likewise.
40663
40664 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
40665
40666 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
40667 (CFLAGS-test-double.c): Likewise.
40668 (CFLAGS-test-ldouble.c): Likewise.
40669 (CPPFLAGS-test-ifloat.c): Likewise.
40670 (CPPFLAGS-test-idouble.c): Likewise.
40671 (CPPFLAGS-test-ildoubl.c): Likewise.
40672 (CFLAGS-test-test-fenv.c): Remove variable.
40673 (CFLAGS-test-misc.c): Likewise.
40674
40675 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
40676
40677 [BZ #17797]
40678 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
40679 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
40680 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
40681 CLOCKS_PER_SEC == 1000000.
40682 * time/clocktest.c (main): Replace %ld with %jd and cast to
40683 intmax_t.
40684
40685 2015-01-05 Roland McGrath <roland@hack.frob.com>
40686
40687 * sysdeps/generic/unwind-resume.h: New file.
40688 * sysdeps/gnu/unwind-resume.c: Include it.
40689 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
40690 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
40691 argument list.
40692 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
40693 global rather than static.
40694 (_Unwind_Resume): Update user.
40695 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
40696 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
40697 rather than static. Add __attribute__ ((cold)).
40698 (_Unwind_Resume, __gcc_personality_v0): Update callers.
40699 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
40700 * sysdeps/arm/arm-unwind-resume.S: New file.
40701 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
40702 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
40703 * sysdeps/arm/Makefile [$(subdir) = csu]
40704 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
40705 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40706 Add rt-arm-unwind-resume.
40707 [$(subdir) = nptl]
40708 (libpthread-sysdep_routines, libpthread-shared-only-routines):
40709 Add pt-arm-unwind-resume.
40710 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
40711 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
40712
40713 2015-01-05 Joseph Myers <joseph@codesourcery.com>
40714
40715 [BZ #17748]
40716 * include/fenv.h (__feholdexcept): Declare. Use
40717 libm_hidden_proto.
40718 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
40719 define as weak alias of __feholdexcept. Use libm_hidden_weak.
40720 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40721 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
40722 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
40723 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40724 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
40725 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40726 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
40727 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
40728 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40729 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
40730 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
40731 (feholdexcept): Likewise.
40732 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40733 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40734 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40735 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40736 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
40737 __feholdexcept instead of feholdexcept.
40738 (default_libc_feholdexcept_setround): Likewise.
40739
40740 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
40741
40742 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
40743 to avoid using stl/str to align destination.
40744
40745 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
40746
40747 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
40748
40749 2015-01-05 Joseph Myers <joseph@codesourcery.com>
40750
40751 [BZ #17796]
40752 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
40753 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
40754 Define as weak alias not strong alias.
40755
40756 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
40757
40758 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
40759 bltzal with addiupc.
40760 (RTLD_START): Ditto.
40761
40762 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
40763
40764 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
40765 for __vdso_* functions in declarations.
40766 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
40767 definitions.
40768 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
40769 INTERNAL_VSYSCALL): Use struct return types to check for error.
40770
40771 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
40772 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
40773 function with cast from llround().
40774 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
40775 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
40776 Define.
40777
40778 2015-01-05 Joseph Myers <joseph@codesourcery.com>
40779
40780 [BZ #17793]
40781 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40782 Define as weak alias not strong alias.
40783
40784 [BZ #17635]
40785 * ctype/ctype-c99.c: New file. isblank implementation moved from
40786 ...
40787 * ctype/ctype-extn.c: ... here.
40788 (__isblank_l): Move to ...
40789 * ctype/ctype-c99_l.c: ... here. New file.
40790 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40791 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40792 Remove variable.
40793 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40794 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40795 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40796 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40797 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40798
40799 [BZ #17777]
40800 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40801 (posix_fadvise64): Define as weak alias not strong alias.
40802 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40803 (posix_fallocate64): Likewise.
40804 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40805 Remove variable.
40806 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40807 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40808 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40809 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40810 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40811
40812 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
40813
40814 [BZ #16191]
40815 * NEWS: Mention bug fix.
40816 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40817 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40818 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40819 (HOST_STACK_END_ADDR): Likewise.
40820
40821 2015-01-02 Joseph Myers <joseph@codesourcery.com>
40822
40823 [BZ #17748]
40824 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
40825 * math/fegetround.c (fegetround): Rename to __fegetround and
40826 define as weak alias of __fegetround. Use libm_hidden_weak.
40827 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40828 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40829 * sysdeps/arm/fegetround.c (fegetround): Likewise.
40830 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40831 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40832 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40833 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40834 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40835 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40836 Undefine after rather than before function definition; use
40837 parentheses around function name in definition.
40838 (__fegetround): Also undefine macro after function definition.
40839 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40840 __fegetround and define as weak alias of __fegetround. Use
40841 libm_hidden_weak. Do not undefine as macro.
40842 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40843 Likewise.
40844 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40845 __fegetround and define as weak alias of __fegetround. Use
40846 libm_hidden_weak.
40847 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40848 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40849 * sysdeps/tile/math_private.h (__fegetround): New inline function.
40850 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40851 __fegetround and define as weak alias of __fegetround. Use
40852 libm_hidden_weak.
40853 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40854 __fegetround instead of fegetround.
40855
40856 [BZ #17782]
40857 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40858 Condition macro definition on [__USE_MISC].
40859
40860 [BZ #17781]
40861 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40862 (struct sigaction): Change type of sa_flags field to int.
40863
40864 [BZ #17780]
40865 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40866 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40867 __glibc_reserved0.
40868
40869 * nptl/version.c (banner): Use single year in copyright notice.
40870
40871 * NEWS: Update copyright dates.
40872 * catgets/gencat.c (print_version): Likewise.
40873 * csu/version.c (banner): Likewise.
40874 * debug/catchsegv.sh: Likewise.
40875 * debug/pcprofiledump.c (print_version): Likewise.
40876 * debug/xtrace.sh (do_version): Likewise.
40877 * elf/ldconfig.c (print_version): Likewise.
40878 * elf/ldd.bash.in: Likewise.
40879 * elf/pldd.c (print_version): Likewise.
40880 * elf/sotruss.sh: Likewise.
40881 * elf/sprof.c (print_version): Likewise.
40882 * iconv/iconv_prog.c (print_version): Likewise.
40883 * iconv/iconvconfig.c (print_version): Likewise.
40884 * locale/programs/locale.c (print_version): Likewise.
40885 * locale/programs/localedef.c (print_version): Likewise.
40886 * login/programs/pt_chown.c (print_version): Likewise.
40887 * malloc/memusage.sh (do_version): Likewise.
40888 * malloc/memusagestat.c (print_version): Likewise.
40889 * malloc/mtrace.pl: Likewise.
40890 * manual/libc.texinfo: Likewise.
40891 * nptl/version.c (banner): Likewise.
40892 * nscd/nscd.c (print_version): Likewise.
40893 * nss/getent.c (print_version): Likewise.
40894 * nss/makedb.c (print_version): Likewise.
40895 * posix/getconf.c (main): Likewise.
40896 * scripts/test-installation.pl: Likewise.
40897 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40898
40899 2015-01-02 Will Newton <will.newton@linaro.org>
40900
40901 * sysdeps/arm/armv7/configure: Removed.
40902 * sysdeps/arm/armv7/configure.ac: Likewise.
40903
40904 2015-01-02 Joseph Myers <joseph@codesourcery.com>
40905
40906 * All files with FSF copyright notices: Update copyright dates
40907 using scripts/update-copyrights.
40908 * intl/plural.c: Regenerated.
40909 * locale/programs/charmap-kw.h: Likewise.
40910 * locale/programs/locfile-kw.h: Likewise.
40911
40912 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40913
40914 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40915
40916 2014-12-31 Joseph Myers <joseph@codesourcery.com>
40917
40918 [BZ #17748]
40919 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40920 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40921 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40922 and define as weak alias of __fegetenv. Use libm_hidden_weak.
40923 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40924 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40925 define as weak alias of __fegetenv. Use libm_hidden_weak.
40926 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40927 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40928 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40929 define as weak alias of __fegetenv. Use libm_hidden_weak.
40930 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40931 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40932 define as weak alias of __fegetenv. Use libm_hidden_weak.
40933 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40934 libm_hidden_def.
40935 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40937 Likewise.
40938 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40939 define as weak alias of __fegetenv. Use libm_hidden_weak.
40940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40941 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40942 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40943 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40944 and define as weak alias of __fegetenv. Use libm_hidden_weak.
40945 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40946 __fegetenv instead of fegetenv.
40947 (libc_feholdsetround_noex_ctx): Likewise.
40948
40949 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
40950
40951 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40952 (Elf_MIPS_ABIFlags_v0): New structure.
40953 (EF_MIPS_FP64): Define.
40954 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40955 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40956 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40957 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40958 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40959 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40960 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40961 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40962 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40963 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40964 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40965 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40966 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40967 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40968 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40969 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40970 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40971 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40972 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40973 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40974 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40975 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40976 field.
40977 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40978 EF_MIPS_FP64.
40979 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40980 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40981 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40982 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40983 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40984 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40985 * sysdeps/mips/tst-abi-interlink.c: Likewise.
40986 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40987 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40988 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40989 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40990 record the current FP ABI extension.
40991 (mips-mode-switch): Define to show if kernel headers support mode
40992 switching.
40993 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40994 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40995 supported SYSV ABI version to 3.
40996 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40997 feature.
40998
40999 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41000 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41001
41002 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41003 path.
41004 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41005
41006 2014-12-31 Joseph Myers <joseph@codesourcery.com>
41007
41008 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41009 __fegetround and redefine to call __fegetround. Remove condition
41010 on [!__NO_MATH_INLINES].
41011 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41012 function.
41013 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41015 Remove macro.
41016 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41017 instead of <fenv_libc.h>.
41018 (__llrintl): Call fegetround instead of __fegetround.
41019 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41020 instead of <fenv_libc.h>.
41021 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41022 (__lrintl): Call fegetround instead of __fegetround.
41023 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41024 instead of <fenv_libc.h>.
41025 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41026 (__rintl): Call fegetround instead of __fegetround.
41027
41028 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41029
41030 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41031 arrays.
41032
41033 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41034
41035 [BZ #17775]
41036 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41037 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41038 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41039
41040 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41041
41042 * sysdeps/i386/tls-macros.h: Include <features.h>.
41043 (TLS_LE): Use non-PIC version for GCC >= 5.0.
41044 (TLS_IE): Likewise.
41045 (TLS_LD): Likewise.
41046 (TLS_GD): Likewise.
41047 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41048 define for GCC >= 5.0.
41049
41050 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
41051
41052 * math/test-fenv.c (test_single_exception, set_single_exc,
41053 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41054 feexcp_mask_test, feenable_test, fe_single_test): Add
41055 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41056 case where they are not used.
41057 * math/libm-test.inc: Likewise.
41058 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41059 unused in the absence of FP rounding/exception support.
41060 * stdio-common/tst-printf-round.c: Likewise.
41061 * stdlib/tst-strtod-round.c: Likewise.
41062 * stdlib/tst-strtod-underflow.c: Likewise.
41063
41064 2014-12-30 Joseph Myers <joseph@codesourcery.com>
41065
41066 [BZ #17723]
41067 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41068 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41069 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41070 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41071 libm_hidden_weak.
41072 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41073 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41074 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41075 libm_hidden_def.
41076 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41077 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41078 libm_hidden_weak.
41079 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41080 Likewise.
41081 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41082 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41083 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41084 libm_hidden_weak.
41085 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41086 libm_hidden_def.
41087 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41088 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41089 (__feraiseexcept): Likewise.
41090 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41091 __feraiseexcept and define as weak alias of __feraiseexcept. Use
41092 libm_hidden_weak.
41093 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41094 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41095 libm_hidden_def.
41096 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41097 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41098 Use libm_hidden_def.
41099 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41100 libm_hidden_def.
41101 (feraiseexcept): Define as weak not strong alias. Use
41102 libm_hidden_weak.
41103 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41104 New inline function. Factored out of ...
41105 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
41106 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41107 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41108 feraiseexcept.
41109 * math/w_acos.c (__acos): Likewise.
41110 * math/w_asin.c (__asin): Likewise.
41111 * math/w_ilogb.c (__ilogb): Likewise.
41112 * math/w_j0.c (y0): Likewise.
41113 * math/w_j1.c (y1): Likewise.
41114 * math/w_jn.c (yn): Likewise.
41115 * math/w_log.c (__log): Likewise.
41116 * math/w_log10.c (__log10): Likewise.
41117 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41118 * sysdeps/aarch64/fpu/math_private.h
41119 (libc_feupdateenv_test_aarch64): Likewise.
41120 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41121 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41122 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41123 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41124 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41125 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41126 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41127 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41128 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41129 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41130
41131 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
41132
41133 [BZ #17732]
41134 * io/test-utime.c (main): Replace %ld with %jd and cast to
41135 intmax_t.
41136 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41137 * nptl/tst-mutex5.c: Include <stdint.h>.
41138 (do_test): Replace %ld with %jd and cast to intmax_t.
41139 * posix/tst-regex.c (run_test): Likewise.
41140 (run_test_backwards): Likewise.
41141 * rt/tst-clock.c: Include <stdint.h>.
41142 (clock_test): Replace %ld with %jd and cast to intmax_t.
41143 * rt/tst-cpuclock1.c: Include <stdint.h>.
41144 (do_test): Replace %lu with %ju and cast to uintmax_t.
41145 * rt/tst-cpuclock2.c: Include <stdint.h>.
41146 (do_test): Replace %lu with %ju and cast to uintmax_t.
41147 * rt/tst-mqueue1.c: Include <stdint.h>.
41148 (check_attrs): Replace %ld with %jd and cast to intmax_t.
41149 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41150 intmax_t.
41151 * rt/tst-mqueue4.c (do_test): Likewise.
41152 * rt/tst-timer4.c: Include <stdint.h>.
41153 (check_ts): Replace %ld with %jd and cast to intmax_t.
41154 (do_test): Likewise.
41155 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41156 and cast to intmax_t.
41157 * sysdeps/pthread/tst-timer.c (main): Likewise.
41158 * time/clocktest.c (main): Likewise.
41159 * time/tst-posixtz.c (do_test): Likewise.
41160 * timezone/tst-timezone.c (main): Likewise.
41161
41162 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
41163 H.J. Lu <hongjiu.lu@intel.com>
41164
41165 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41166 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41167 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41168 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41169 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41170 version if bit_Fast_Unaligned_Load is set.
41171 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41172 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41173 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41174 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41175 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41176 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41178 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41179 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41180 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41181 to 4.
41182 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41183 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41184 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41185 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41186
41187 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
41188
41189 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41190 instead of #if to avoid a Wundef warning.
41191 * stdlib/tst-limits.c (do_test): Likewise.
41192
41193 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41194 parallel other exception macros.
41195 (fegetenv): Convert from macro to extern inline so that it applies
41196 retroactively to inline functions already seen by the compiler.
41197 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41198
41199 * posix/Makefile (before-compile): Use $(objpfx) for
41200 posix-conf-vars-def.h.
41201
41202 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41203
41204 * posix/getconf.c (main): Use size_t for type of I.
41205 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41206 NSPEC.
41207
41208 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41209 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41210 * posix/posix-envs.def: Likewise.
41211 * sysdeps/posix/sysconf.c: Likewise.
41212 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41213 (specs): Remove array.
41214 * scripts/gen-posix-conf-vars.awk: Support generation of specs
41215 array.
41216
41217 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41218 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41219 (__sysconf): Use CONF_IS_* macros.
41220
41221 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41222 ($(objpfx)posix-conf-vars-def.h): New target.
41223 * posix/posix-conf-vars.list: New file.
41224 * posix/posix-conf-vars.h: New file.
41225 * posix/confstr.c: Include posix-conf-vars.h.
41226 (confstr): Use CONF_IS_* macros.
41227 * posix/posix-envs.def: Include posix-conf-vars.h. Use
41228 CONF_IS_* macros.
41229 * scripts/gen-posix-conf-vars.awk: New file.
41230
41231 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
41232
41233 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41234 fegetround): Add no-op macros to avoid linknamespace issues.
41235
41236 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41237 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41238
41239 * sysdeps/unix/sysv/linux/tile/sysdep.h
41240 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41241 assembly-specific section to avoid a redefinition warning.
41242
41243 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41244 long before casting to pointer to avoid a cast warning.
41245
41246 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
41247
41248 * sysdeps/tile/tilegx/Implies: New file.
41249
41250 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
41251
41252 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41253
41254 2014-12-23 Florian Weimer <fweimer@redhat.com>
41255
41256 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41257
41258 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41259
41260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41261 not define.
41262 * sysdeps/unix/sysv/linux/utimes.c: Do not include
41263 <kernel-features.h>.
41264 (__utimes) [__NR_utimes]: Make code unconditional.
41265 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41267 (__ASSUME_UTIMES): Do not undefine.
41268 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41269 (__ASSUME_UTIMES): Likewise.
41270 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41271 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41272 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41273 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41274
41275 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41276
41277 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41278
41279 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
41280
41281 [BZ #17747]
41282 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41283 alias to weak alias for j0l, y0l.
41284 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41285 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41286
41287 [BZ #17746]
41288 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41289 conversion.
41290
41291 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
41292
41293 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41294 to zero if not already defined.
41295
41296 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41297
41298 [BZ #17724]
41299 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41300 (__kernel_standard_f): Remove. Moved to k_standardf.c.
41301 (__kernel_standard_l): Remove. Moved to k_standardl.c with
41302 (char *) casts added.
41303 * sysdeps/ieee754/k_standardf.c: New file.
41304 * sysdeps/ieee754/k_standardl.c: Likewise.
41305 * math/Makefile (libm-support): Remove k_standard.
41306 (libm-calls): Add k_standard.
41307
41308 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41309
41310 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41311 Optimize to avoid an unnecessary FPCR read.
41312
41313 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41314
41315 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41316 Optimize to reduce FPCR/FPSR accesses.
41317
41318 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41319
41320 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41321 Call libc_fetestexcept_aarch64.
41322
41323 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
41324
41325 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41326 Call libc_fesetround_aarch64.
41327
41328 2014-12-22 Joseph Myers <joseph@codesourcery.com>
41329
41330 [BZ #17733]
41331 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41332 (__bind): Do not define as weak alias.
41333 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41334 define.
41335 (__getsockname): Do not define as weak alias.
41336
41337 2014-12-22 Will Newton <will.newton@linaro.org>
41338
41339 * manual/install.texi: Document that we require bison 2.7
41340 or above.
41341 * INSTALL: Regenerate.
41342 * configure.ac: Use AC_CHECK_PROG_VER instead of
41343 AC_PATH_PROG when checking for bison and check for
41344 version 2.7 or above.
41345 * configure: Regenerate.
41346
41347 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
41348
41349 [BZ #17745]
41350 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41351 * sysdeps/tile/ffsll.c (ffsll): To here.
41352
41353 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41354
41355 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41356
41357 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41358 if not defined.
41359 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41360 definition.
41361 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41362 hidden ___tls_get_addr.
41363 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41364 hidden __tls_get_addr.
41365 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41366 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41367 Likewise.
41368
41369 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
41370
41371 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41372 _dl_init call.
41373
41374 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
41375
41376 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41377 from "call _dl_init@PLT".
41378 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41379
41380 2014-12-21 Anders Kaseorg <andersk@mit.edu>
41381
41382 * manual/search.texi: (Array Sort Function): Clarify stable sorting
41383 guarantees.
41384
41385 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
41386
41387 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41388
41389 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41390
41391 [BZ #17744]
41392 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41393 strnlen.
41394
41395 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41396
41397 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41398 of multu on MIPSr6.
41399 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41400 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41401 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41402 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41403 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41404
41405 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
41406
41407 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41408 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41409 (PTR_SUBU): Use subu for mips32r6/mips64r6.
41410 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41411 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41412 mips32r6/mips64r6.
41413 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41414
41415 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
41416
41417 * string/strncat.c (STRNCAT): Simplify implementation.
41418
41419 2014-12-19 David S. Miller <davem@davemloft.net>
41420
41421 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41422 access the quad as both a long double and as a series of 4 words.
41423
41424 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41425 link_map->l_info array access.
41426
41427 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
41428
41429 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41430
41431 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41432 * math/atest-exp2.c (TIMEOUT): Likewise.
41433 * math/atest-sincos.c (TIMEOUT): Likewise.
41434
41435 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41436
41437 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41438 -Wno-error with -fno-builtin-lround.
41439
41440 2014-12-19 Torvald Riegel <triegel@redhat.com>
41441
41442 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41443 Contains futex constants and functions moved over from ...
41444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
41445 <lowlevellock-futex.h>.
41446 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41447 (lll_timedwait_tid): Add comments and parentheses around macro
41448 arguments.
41449
41450 2014-12-19 Torvald Riegel <triegel@redhat.com>
41451
41452 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41453 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
41454 (__lll_private_flag): Remove.
41455 (lll_futex_wait): Likewise.
41456 (lll_futex_timed_wait): Likewise.
41457 (lll_futex_wake): Likewise.
41458 (lll_futex_requeue): Likewise.
41459 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41460 (__lll_timedwait_tid): Spell out argument names.
41461 (lll_timedwait_tid): Add comments and parentheses around macro
41462 arguments.
41463 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41464 LLL_SHARED and LLL_PRIVATE usable from assembly code.
41465
41466 2014-12-19 Torvald Riegel <triegel@redhat.com>
41467
41468 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41469 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41470 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41471 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41472 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41473 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41474 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41475 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41476 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41477 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41478 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41479 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41480 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41481 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41482 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41483 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41484 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41485 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41486 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41487
41488 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41489
41490 * sysdeps/x86_64/x32/Makefile: New file.
41491
41492 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
41493
41494 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41495 1L with (mp_limb_t) 1.
41496
41497 2014-12-17 Roland McGrath <roland@hack.frob.com>
41498
41499 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41500 * nptl/libc_pthread_init.c: ... here.
41501 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41502 * nptl/register-atfork.c: ... here.
41503
41504 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41505 Use pthread_sigmask rather than INTERNAL_SYSCALL.
41506 Use assert_perror to check its return value.
41507 (__gai_create_helper_thread): Likewise.
41508
41509 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41510
41511 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41512
41513 2014-12-17 Joseph Myers <joseph@codesourcery.com>
41514
41515 [BZ #17725]
41516 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41517 __profil_counter.
41518 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41519 Likewise.
41520 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41521 Likewise.
41522 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41523 Likewise.
41524 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41525 (profil_counter): Likewise.
41526 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41527 (profil_counter): Likewise.
41528 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41529 Likewise.
41530 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41531 Likewise.
41532 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41533 (profil_counter): Likewise.
41534 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41535 Likewise.
41536 [!__profil_counter] (profil_counter): Define as weak alias of
41537 __profil_counter.
41538 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41539 (profil_counter): Rename to __profil_counter.
41540 [!__profil_counter] (profil_counter): Define as weak alias of
41541 __profil_counter.
41542 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41543 (profil_counter): Rename to __profil_counter.
41544 [!__profil_counter] (profil_counter): Define as weak alias of
41545 __profil_counter.
41546 * sysdeps/posix/profil.c: Update comment referring to
41547 profil_counter.
41548 (__profil): Use __profil_counter instead of profil_counter.
41549 * sysdeps/posix/sprofil.c (profil_counter): Rename to
41550 __profil_counter. Use __profil_counter_ushort and
41551 __profil_counter_uint in definitions.
41552 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41553 instead of profil_counter_uint and profil_counter_ushort.
41554
41555 [BZ #17722]
41556 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41557 define as weak alias of __inet_makeaddr.
41558 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41559 as weak alias of __inet_addr.
41560 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41561 as weak alias of __inet_pton. Use libc_hidden_weak.
41562 * include/arpa/inet.h (__inet_pton): Declare. Use
41563 libc_hidden_proto.
41564 (inet_makeaddr): Don't use libc_hidden_proto.
41565 (__inet_makeaddr): Declare. Use libc_hidden_proto.
41566 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41567 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
41568 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41569 Remove variable.
41570 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41571 (test-xfail-POSIX/time.h/linknamespace): Likewise.
41572
41573 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
41574
41575 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41576
41577 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41578
41579 * stdio-common/bug-vfprintf-nargs.c (do_test):
41580 Cast value to intptr_t to avoid format warning
41581 for usage with PRIdPTR printing macro.
41582
41583 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
41584
41585 * libio/tst-widetext.c (do_test):
41586 Use format type %td instead of %Zd for ptrdiff_t
41587 in order to avoid format warning.
41588
41589 2014-12-17 Andreas Schwab <schwab@suse.de>
41590
41591 * nscd/mem.c (gc): Add size_t cast to match printf format.
41592
41593 2014-12-16 Roland McGrath <roland@hack.frob.com>
41594
41595 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41596 (init): Apply PTR_MANGLE to pointers before storing them.
41597 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41598 before using them.
41599
41600 2014-12-16 Joseph Myers <joseph@codesourcery.com>
41601
41602 [BZ #17719]
41603 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41604 define as weak alias of __memrchr.
41605 (__memrchr): Do not define as strong alias of memrchr.
41606 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41607 Remove variable.
41608 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41609 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41610 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41611
41612 [BZ #17717]
41613 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41614 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
41615 (if_indextoname): Rename to __if_indextoname and define as weak
41616 alias of __if_indextoname. Use libc_hidden_weak.
41617 (if_freenameindex): Rename to __if_freenameindex and define as
41618 weak alias of __if_freenameindex.
41619 (if_nameindex): Rename to __if_nameindex and define as weak alias
41620 of __if_nameindex.
41621 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41622 __if_nametoindex and define as weak alias of __if_nametoindex.
41623 Use libc_hidden_weak.
41624 (if_freenameindex): Rename to __if_freenameindex and define as
41625 weak alias of __if_freenameindex.
41626 (if_nameindex): Rename to __if_nameindex and define as weak alias
41627 of __if_nameindex.
41628 (if_indextoname): Rename to __if_indextoname and define as weak
41629 alias of __if_indextoname. Use libc_hidden_weak.
41630 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41631 __if_nametoindex and define as weak alias of __if_nametoindex.
41632 Use libc_hidden_weak.
41633 (if_freenameindex): Rename to __if_freenameindex and define as
41634 weak alias of __if_freenameindex. Use libc_hidden_weak.
41635 (if_nameindex_netlink): Use __if_freenameindex instead of
41636 if_freenameindex.
41637 (if_nameindex): Rename to __if_nameindex and define as weak alias
41638 of __if_nameindex. Use libc_hidden_weak.
41639 (if_indextoname): Rename to __if_indextoname and define as weak
41640 alias of __if_indextoname. Use libc_hidden_weak.
41641 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41642 libc_hidden_proto.
41643 [!_ISOMAC] (__if_freenameindex): Likewise.
41644 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41645 if_nametoindex.
41646 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41647 variable.
41648 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41649 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41650 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41651 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41652 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41653 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41654 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41655
41656 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41657 Remove variable.
41658 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41659 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41660
41661 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41662
41663 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
41664 subscript above bounds'
41665
41666 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
41667 bounds.
41668
41669 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
41670
41671 * libio/tst-fopenloc.c: Use test-skeleton.c.
41672
41673 * stdlib/tst-bsearch.c: Use test-skeleton.c.
41674 (entry): Rename to ITEM.
41675 (do_test, comp): Adjust.
41676
41677 * stdio-common/tst-fseek.c: Use test-skeleton.c.
41678
41679 2014-12-16 Torvald Riegel <triegel@redhat.com>
41680
41681 * string/tester.c: Include <libc-internal.h>.
41682 (test_memset): Ignore -Wmemset-transposed-args.
41683
41684 2014-12-16 Torvald Riegel <triegel@redhat.com>
41685
41686 * misc/tst-mntent2.c (do_test): Fix warning.
41687
41688 2014-12-16 Torvald Riegel <triegel@redhat.com>
41689
41690 * elf/tst-unique4lib.cc(a): Mark as used.
41691
41692 2014-12-16 Florian Weimer <fweimer@redhat.com>
41693
41694 [BZ #17630]
41695 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
41696 names.
41697
41698 2014-12-16 Allan McRae <allan@archlinux.org>
41699
41700 * stdio-common/Makefile (tests): Re-add bug26.
41701
41702 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
41703
41704 [BZ #17657]
41705 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
41706 static array.
41707
41708 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
41709
41710 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
41711 (__lll_lock_wait): Likewise.
41712 (__lll_timedlock_wait): Likewise.
41713 (__lll_timedwait_tid): Likewise.
41714 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
41715 (__lll_robust_timedlock_wait): Likewise.
41716 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
41717 (lll_cond_trylock): Likewise.
41718 (__lll_lock): Likewise.
41719 (__lll_robust_lock): Likewise.
41720 (__lll_cond_lock): Likewise.
41721 (lll_robust_cond_lock): Likewise.
41722 (__lll_timedlock): Likewise.
41723 (__lll_robust_timedlock): Likewise.
41724 (__lll_unlock): Likewise.
41725 (__lll_robust_unlock): Likewise.
41726 (lll_wait_tid): Likewise.
41727 (lll_timedwait_tid): Likewise.
41728
41729 2014-12-15 Torvald Riegel <triegel@redhat.com>
41730
41731 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
41732
41733 2014-12-15 Torvald Riegel <triegel@redhat.com>
41734
41735 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
41736
41737 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
41738
41739 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
41740 * stdio-common/tst-sprintf.c: Likewise.
41741
41742 2014-12-15 Torvald Riegel <triegel@redhat.com>
41743
41744 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
41745
41746 2014-12-15 Jeff Law <law@redhat.com>
41747
41748 [BZ #16617]
41749 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
41750 on the heap. (CVE-2012-3406)
41751 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
41752 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
41753 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
41754
41755 2014-12-15 Will Newton <will.newton@linaro.org>
41756
41757 * manual/install.texi: Bump required version of texinfo
41758 to 4.7 from 4.5.
41759 * INSTALL: Regenerated.
41760 * configure.ac: Check for makeinfo version 4.7 and above.
41761 * configure: Regenerated.
41762
41763 2014-12-12 Roland McGrath <roland@hack.frob.com>
41764
41765 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
41766 PREFIX, string constant to insert between directory and name.
41767 * sysdeps/posix/shm_open.c: Update caller.
41768 * sysdeps/posix/shm_unlink.c: Likewise.
41769 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
41770 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
41771 (SEM_SHM_PREFIX): New macro.
41772 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41773 [$(have-thread-library) = no].
41774 * nptl/Makefile (libpthread-routines): Add shm-directory.
41775 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
41776 * sysdeps/nptl/shm-directory.h: New file.
41777 * sysdeps/posix/shm-directory.c
41778 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41779 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41780 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41781 INTERNAL_SYSCALL.
41782 (__where_is_shmfs): Function removed.
41783 (mountpoint, defaultmount, defaultdir, __namedsem_once):
41784 Variables removed.
41785 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41786 Use SHM_GET_NAME.
41787 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
41788
41789 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41790 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41791 unconditional for use inside libpthread.
41792 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41793
41794 2014-12-12 Roland McGrath <roland@hack.frob.com>
41795
41796 * nptl/pthread_getaffinity.c: New file.
41797 * nptl/pthread_setaffinity.c: New file.
41798 * nptl/pthread_getname.c: New file.
41799 * nptl/pthread_setname.c: New file.
41800
41801 * nptl/pthread_create.c (START_THREAD_DEFN)
41802 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41803
41804 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
41805 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41806
41807 * resolv/res_send.c (send_vc): Disable warning resplen may
41808 be used uninitialized.
41809
41810 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
41811
41812 * nptl/tst-mutex6.c
41813 (ATTR_NULL): New define checks ATTR against NULL.
41814 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41815 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41816
41817 2014-12-11 James Lemke <jwlemke@codesourcery.com>
41818
41819 [BZ #17581]
41820 * malloc/hooks.c
41821 (mem2mem_check): Revert my previous change.
41822 (malloc_check_get_size): Revert my previous change.
41823 (mem2chunk_check): Revert my previous change.
41824
41825 2014-12-11 Roland McGrath <roland@hack.frob.com>
41826
41827 * sysdeps/posix/shm-directory.c: New file.
41828 * sysdeps/posix/shm-directory.h: New file.
41829 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41830 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41831 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
41832 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41833 Transmute EPERM to EACCES.
41834 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41835 from ...
41836 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
41837 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41838
41839 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41840
41841 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41842 pointer and cast to uintptr_t.
41843 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41844 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41845 Add cast to avoid warning.
41846 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41847
41848 2014-12-11 Joseph Myers <joseph@codesourcery.com>
41849
41850 * nptl/semaphore.h: Move to ...
41851 * sysdeps/pthread/semaphore.h: ... here.
41852 * Makefile (installed-headers): Change nptl/semaphore.h to
41853 sysdeps/pthread/semaphore.h.
41854
41855 2014-12-11 Roland McGrath <roland@hack.frob.com>
41856
41857 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41858 generated error format strings.
41859
41860 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41861 -Wformat-extra-args warnings for scanf formats.
41862 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41863 test of zero-length format (duh).
41864 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41865 corner-case scanf format test.
41866 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41867 generated fprintf format string.
41868 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41869 corner-case sprintf format tests.
41870 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41871 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41872 -Wformat-extra-args warnings throughout.
41873 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41874 (CFLAGS-scanf4.c): Likewise.
41875 (CFLAGS-scanf7.c): Likewise.
41876 (CFLAGS-tst-sprintf.c): Likewise.
41877 (CFLAGS-tst-printf.c): Likewise.
41878 (CFLAGS-tst-printfsz.c): Likewise.
41879
41880 2014-12-11 Joseph Myers <joseph@codesourcery.com>
41881
41882 * include/cpio.h: New file.
41883 * include/fmtmsg.h: Likewise.
41884
41885 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
41886 corresponding format argument to size_t.
41887 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
41888 arguments.
41889 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
41890 corresponding format argument to size_t.
41891 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
41892 arguments.
41893 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
41894 corresponding format argument to size_t.
41895 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41896 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41897 (CFLAGS-tst-mbswcs2.c): Likewise.
41898 (CFLAGS-tst-mbswcs3.c): Likewise.
41899 (CFLAGS-tst-mbswcs4.c): Likewise.
41900 (CFLAGS-tst-mbswcs5.c): Likewise.
41901 (CFLAGS-tst-trans.c): Likewise.
41902
41903 2014-12-11 Roland McGrath <roland@hack.frob.com>
41904
41905 * posix/regexbug1.c (main): Use "%s" format with regerror results,
41906 rather than assuming they won't contain any '%'s.
41907
41908 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
41909
41910 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41911 inhibit_loop_to_libcall to avoid recursive calls.
41912 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41913 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41914
41915 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
41916
41917 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41918 prototype.
41919
41920 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
41921
41922 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41923 integer value instead of boolean.
41924
41925 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
41926
41927 * malloc/malloc.c: Fix powerof2 check.
41928
41929 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41930
41931 * locale/programs/locfile.h (maybe_swap_uint32):
41932 Remove inline and add unused attribute.
41933
41934 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41935
41936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41937 Truncating assembler expression to a .long expression.
41938
41939 2014-12-11 Andreas Schwab <schwab@suse.de>
41940
41941 * elf/rtld.c (struct map_args): Constify str member.
41942 (do_preload): Constify fname argument.
41943
41944 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41945
41946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41947 constants definition.
41948
41949 2014-12-11 Andreas Schwab <schwab@suse.de>
41950
41951 [BZ #16657]
41952 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41953 FORCE_ELISION instead of DO_ELISION.
41954 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41955 Remove.
41956 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41957 Likewise.
41958
41959 * iconvdata/gconv-modules: Remove duplicate entry.
41960
41961 2014-12-11 Will Newton <will.newton@linaro.org>
41962
41963 Merge gettext 0.19.3 into intl/.
41964
41965 This involves a number of cosmetic changes to comments
41966 and ANSI function definitions and prototypes throughout
41967 all the files. The gettext copyright header is used but
41968 with the date ranges taken from the glibc copy.
41969
41970 * NEWS: Add gettext merge to 2.21.
41971 * intl/bindtextdom.c: Switch to gettext copyright.
41972 Use ANSI definitions and prototypes.
41973 Use gl_* locking primitives rather than __libc_* ones.
41974 Use __builtin_expect rather than __glibc_likely/unlikely.
41975 * intl/dcgettext.c: Switch to gettext copyright.
41976 Use ANSI definitions and prototypes.
41977 * intl/dcigettext.c: Switch to gettext copyright.
41978 Use ANSI definitions and prototypes.
41979 (INTDIV0_RAISES_SIGFPE): New define.
41980 Use gl_* locking primitives rather than __libc_* ones.
41981 Include eval-plural.h instead of plural-eval.c.
41982 Use __builtin_expect rather than __glibc_likely/unlikely.
41983 * intl/dcngettext.c: Switch to gettext copyright.
41984 Use ANSI definitions and prototypes.
41985 * intl/dgettext.c: Likewise.
41986 * intl/dngettext.c: Likewise.
41987 * intl/plural-eval.c: Renamed to...
41988 * intl/eval-plural.h: ...this.
41989 * intl/explodename.c: Switch to gettext copyright.
41990 Use ANSI definitions and prototypes.
41991 (_nl_explode_name): Use strchr instead of __rawmemchr.
41992 * intl/finddomain.c: Switch to gettext copyright.
41993 Use ANSI definitions and prototypes.
41994 Use gl_* locking primitives rather than __libc_* ones.
41995 (_nl_find_domain): Use malloc rather than alloca for
41996 allocation of temporary locale name.
41997 * intl/gettext.c: Switch to gettext copyright.
41998 Use ANSI definitions and prototypes.
41999 * intl/gettextP.h: Switch to gettext copyright.
42000 Use ANSI definitions and prototypes.
42001 Use gl_* locking primitives rather than __libc_* ones.
42002 * intl/gmo.h: Switch to gettext copyright.
42003 (struct sysdep_string): Move struct segment_pair outside of
42004 struct definition.
42005 * intl/hash-string.c: Use ANSI definitions and prototypes.
42006 * intl/hash-string.h: Switch to gettext copyright.
42007 Use ANSI definitions and prototypes.
42008 * intl/l10nflist.c: Switch to gettext copyright.
42009 Use ANSI definitions and prototypes.
42010 (_nl_normalize_codeset): Avoid integer overflow.
42011 * intl/loadinfo.h: Switch to gettext copyright.
42012 Use ANSI definitions and prototypes.
42013 (LIBINTL_DLL_EXPORTED): New define.
42014 (PATH_SEPARATOR): New define.
42015 * intl/loadmsgcat.c: Switch to gettext copyright.
42016 * intl/localealias.c: Switch to gettext copyright.
42017 Use ANSI definitions and prototypes.
42018 (_nl_expand_alias): Use PATH_SEPARATOR.
42019 * intl/ngettext.c: Switch to gettext copyright.
42020 Use ANSI definitions and prototypes.
42021 * intl/plural-exp.c: Likewise.
42022 * intl/plural-exp.h: Switch to gettext copyright.
42023 Use ANSI definitions and prototypes.
42024 (struct expression): Move definition of enum operator outside
42025 of struct definition.
42026 * intl/plural.c: Regenerate.
42027 * intl/plural.y: Switch to gettext copyright.
42028 Use ANSI definitions and prototypes.
42029 Port to bison 3.0.
42030 * intl/textdomain.c: Switch to gettext copyright.
42031 Use ANSI definitions and prototypes.
42032 Use gl_* locking primitives rather than __libc_* ones.
42033
42034 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
42035
42036 * debug/warning-nop.c: Add used atrribute.
42037
42038 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42039
42040 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42041
42042 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42043 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42044 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42045
42046 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42047 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42048
42049 [BZ #17634]
42050 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42051 Undefine after defining function. Define as weak alias of
42052 __wcschr. Use libc_hidden_weak.
42053 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
42054 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42055 (libc_hidden_def): Also define __GI___wcschr alias.
42056 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42057 __wcschr and define as weak alias of __wcschr.
42058 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42059 __wcschr.
42060 [!WCSCHR] (DEFAULT_WCSCHR): Define.
42061 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42062 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
42063 libc_hidden_weak. Do not use libc_hidden_def.
42064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42065 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42066 __GI___wcschr alias.
42067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42068 [IS_IN (libc)] (wcschr): Define as macro expanding to
42069 __redirect_wcschr.
42070 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42071 [IS_IN (libc)] (__wcschr_power6): Likewise.
42072 [IS_IN (libc)] (__wcschr_power7): Likewise.
42073 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
42074 instead of wcschr.
42075 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42076 __libc_wcschr.
42077 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42078 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42079 __wcschr and define as weak alias of __wcschr. Use
42080 libc_hidden_builtin_def.
42081 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42082 as weak alias of __wcschr. Use libc_hidden_weak.
42083 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42084 wcschr.
42085 * time/era.c (_nl_init_era_entries): Likewise.
42086 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42087 variable.
42088 (test-xfail-XPG3/time.h/linknamespace): Likewise.
42089 (test-xfail-XPG4/time.h/linknamespace): Likewise.
42090
42091 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42092
42093 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42094 format for long int variable.
42095
42096 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
42097
42098 [BZ #10672]
42099 * manual/search.texi: (Array Sort Function): Remove claim how to make
42100 qsort stable.
42101
42102 2014-12-10 Andreas Schwab <schwab@suse.de>
42103
42104 [BZ #12847]
42105 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42106 user-controlled locks.
42107
42108 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
42109
42110 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42111 register.
42112
42113 2014-12-10 Joseph Myers <joseph@codesourcery.com>
42114
42115 * configure.ac (--disable-werror): New configure option.
42116 (enable_werror): New AC_SUBST.
42117 * configure: Regenerated.
42118 * config.make.in (enable-werror): New variable.
42119 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42120 -Wno-error=undef.
42121 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42122 * manual/install.texi (Configuring and compiling): Document
42123 --disable-werror.
42124 * INSTALL: Regenerated.
42125 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42126 (CFLAGS-tst-chk2.c): Likewise.
42127 (CFLAGS-tst-chk3.c): Likewise.
42128 (CFLAGS-tst-chk4.cc): Likewise.
42129 (CFLAGS-tst-chk5.cc): Likewise.
42130 (CFLAGS-tst-chk6.cc): Likewise.
42131 (CFLAGS-tst-lfschk1.c): Likewise.
42132 (CFLAGS-tst-lfschk2.c): Likewise.
42133 (CFLAGS-tst-lfschk3.c): Likewise.
42134 (CFLAGS-tst-lfschk4.cc): Likewise.
42135 (CFLAGS-tst-lfschk5.cc): Likewise.
42136 (CFLAGS-tst-lfschk6.cc): Likewise.
42137
42138 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42139 (main): Disable -Wdeprecated-declarations around calls to
42140 register_printf_function.
42141
42142 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42143 (do_test): Disable -Wdiv-by-zero around some calls to
42144 fwrite_unlocked and fread_unlocked.
42145
42146 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42147 (DIAG_POP_NEEDS_COMMENT): Likewise.
42148 (_DIAG_STR1): Likewise.
42149 (_DIAG_STR): Likewise.
42150 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42151 * stdio-common/bug21.c: Include <libc-internal.h>.
42152 (do_test): Disable -Wformat around call to sscanf.
42153 * stdio-common/scanf14.c: Include <libc-internal.h>.
42154 (main): Disable -Wformat around some calls to scanf functions.
42155
42156 2014-12-09 Torvald Riegel <triegel@redhat.com>
42157
42158 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42159
42160 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42161
42162 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42163 stack variable alignment.
42164
42165 2014-12-06 Joseph Myers <joseph@codesourcery.com>
42166
42167 [BZ #17682]
42168 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42169 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42170 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42171 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42172 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42173 __getrlimit instead of getrlimit.
42174 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42175 __gettimeofday instead of gettimeofday.
42176 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42177 Likewise.
42178 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42179 Likewise.
42180 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42181 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42182 Remove variable.
42183 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42184 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42185
42186 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42187
42188 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42189 for wide-character tests.
42190
42191 2014-12-04 Roland McGrath <roland@hack.frob.com>
42192
42193 * io/openat64.c: #include <libc-internal.h>
42194 (__openat64): Prototypify. Use ignore_value on MODE.
42195 * io/openat.c: Likewise.
42196 * misc/reboot.c: #include <libc-internal.h>
42197 (reboot): Prototypify. Use ignore_value on HOWTO.
42198 * misc/ptrace.c: #include <libc-internal.h>
42199 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
42200
42201 2014-12-04 Joseph Myers <joseph@codesourcery.com>
42202
42203 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42204 XPG4, UNIX98 and XOPEN2K.
42205 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42206 Remove variable.
42207 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42208
42209 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42210
42211 * libio/fileops.c: Use ISO C style for function definitions.
42212 * libio/iofopen.c: Likewise.
42213 * libio/wfileops.c: Likewise.
42214
42215 [BZ #17653]
42216 * libio/fileops.c (_IO_new_file_underflow): Unset cached
42217 offset on EOF.
42218 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42219 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42220 (fgets_func): Function pointer to fgets and fgetws.
42221 (do_ftell_test): Add test to verify ftell value after read
42222 EOF.
42223 (do_test): Set fgets_func.
42224
42225 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42226 O_TRUNC flag for w and w+ modes.
42227 (do_rewind_test): Likewise.
42228 (do_ftell_test): Likewise.
42229 (do_write_test): Likewise.
42230
42231 [BZ #17647]
42232 * libio/fileops.c (do_ftell): Seek only when there are
42233 unflushed writes.
42234 * libio/wfileops.c (do_ftell_wide): Likewise.
42235 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42236 test case.
42237 (do_one_test): Call it.
42238
42239 2014-12-03 Joseph Myers <joseph@codesourcery.com>
42240
42241 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42242 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42243 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42244 Remove variable.
42245 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42246 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42247 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42248
42249 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42250
42251 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42252 Remove variable.
42253 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42254
42255 [BZ #17668]
42256 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42257 as weak alias of __getifaddrs. Use libc_hidden_weak.
42258 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42259 __freeifaddrs. Use libc_hidden_weak.
42260 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42261 define as weak alias of __getifaddrs. Use libc_hidden_weak.
42262 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42263 __freeifaddrs. Use libc_hidden_weak.
42264 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42265 __getifaddrs and define as weak alias of __getifaddrs. Use
42266 libc_hidden_weak.
42267 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42268 __freeifaddrs. Use libc_hidden_weak.
42269 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42270 Remove variable.
42271 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42272 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42273
42274 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
42275
42276 [BZ #17601]
42277 * sysdeps/mips/start.S (__start): Use indirect jump to call
42278 __libc_start_main.
42279
42280 2014-12-02 Joseph Myers <joseph@codesourcery.com>
42281
42282 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42283
42284 * nptl/tst-mutex1.c: Include <stdbool.h>.
42285 [!ATTR] (ATTR_NULL): New macro.
42286 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42287 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42288 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42289
42290 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42291 to char *.
42292
42293 [BZ #17665]
42294 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42295 Change conditional to [__USE_MISC].
42296
42297 [BZ #17664]
42298 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42299 fgets_unlocked.
42300 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42301 __fgets_unlocked.
42302 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42303 fgets_unlocked.
42304 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42305 Remove variable.
42306 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42307 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42308 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42309 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42310 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42311 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42312 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42313 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42314 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42315
42316 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42317
42318 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42319
42320 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42321 Remove strpbrk objects.
42322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42323 (__libc_ifunc_impl_list): Remove strpbrk implementation.
42324 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42326 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42327 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42328
42329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42330 Remove strcspn objects.
42331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42332 (__libc_ifunc_impl_list): Remove strcspn implementation.
42333 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42334 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42335 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42336 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42337
42338 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42339 Remove strspn objetcs.
42340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42341 (__libc_ifunc_impl_list): Remove strspn implementation.
42342 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42343 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42344 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42345 * sysdeps/powerpc/powerpc64/strspn.S: New file.
42346
42347 2014-12-01 James Lemke <jwlemke@codesourcery.com>
42348
42349 [BZ #17581]
42350 * malloc/hooks.c
42351 (mem2mem_check): Add a terminator to the chain of checking blocks.
42352 (malloc_check_get_size): Use it here.
42353 (mem2chunk_check): Ditto.
42354
42355 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42356
42357 * sysdeps/powerpc/powerpc64/strtok.S: New file.
42358 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42359
42360 2014-11-29 Carlos O'Donell <carlos@redhat.com>
42361
42362 * bits/ioctl-types.h: Indent preprocessor directives correctly.
42363
42364 * nptl/nptl-init.c: Include libc-internal.h.
42365 (__pthread_initialize_minimal_internal): Use ROUND_UP.
42366
42367 * elf/ldconfig.c (search_dir): Expand comment.
42368
42369 2014-11-29 Joseph Myers <joseph@codesourcery.com>
42370
42371 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42372 variable.
42373 (linknamespace-symlist-stdlibs-tests): Likewise.
42374 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42375 instead of $(objpfx)symlist-stdlibs.
42376 (linknamespace-libs-isoc): New variable.
42377 (linknamespace-libs): Use $(linknamespace-libs-isoc).
42378 (linknamespace-libs-ISO): New variable.
42379 (linknamespace-libs-ISO99): Likewise.
42380 (linknamespace-libs-ISO11): Likewise.
42381 (linknamespace-libs-XPG3): Likewise.
42382 (linknamespace-libs-XPG4): Likewise.
42383 (linknamespace-libs-POSIX): Likewise.
42384 (linknamespace-libs-UNIX98): Likewise.
42385 (linknamespace-libs-XOPEN2K): Likewise.
42386 (linknamespace-libs-POSIX2008): Likewise.
42387 (linknamespace-libs-XOPEN2K8): Likewise.
42388 ($(objpfx)symlist-stdlibs): Replace by
42389 $(linknamespace-symlist-stdlibs-tests). Use
42390 $(linknamespace-libs-$*) as set of libraries.
42391 ($(linknamespace-header-tests)): Update dependencies. Use
42392 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42393 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42394 * conform/linknamespace.pl: Remove comment about considering
42395 definitions of symbols from irrelevant libraries.
42396
42397 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
42398
42399 [BZ #13862]
42400 * elf/dl-tls.c: Include <atomic.h>.
42401 (oom): Remove #ifdef SHARED/#endif.
42402 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42403 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
42404 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42405 big enough.
42406 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42407 * nptl/Makefile (tests): Add tst-stack4.
42408 (modules-names): Add tst-stack4mod.
42409 ($(objpfx)tst-stack4): New.
42410 (tst-stack4mod.sos): Likewise.
42411 ($(objpfx)tst-stack4.out): Likewise.
42412 ($(tst-stack4mod.sos)): Likewise.
42413 (clean): Likewise.
42414 * nptl/tst-stack4.c: New file.
42415 * nptl/tst-stack4mod.c: Likewise.
42416
42417 2014-11-27 J. Brown <jb999@gmx.de>
42418
42419 * sysdeps/x86/bits/string.h: Add recent CPUs.
42420
42421 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42422
42423 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42424 sigblock.
42425
42426 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42427 feof.
42428
42429 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42430 variable.
42431
42432 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
42433
42434 * nscd/connections.c: Include libc-internal.h because of macro
42435 usage ignore_value.
42436
42437 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42438
42439 * string/bits/string3.h (__warn_memset_zero_len): Don't
42440 declare for gcc newer than 5.0.
42441 (memset): Don't test for zero-length __LEN for gcc newer than
42442 5.0.
42443
42444 2014-11-27 Joseph Myers <joseph@codesourcery.com>
42445
42446 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42447 size_t for %zu format.
42448
42449 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42450 difference, not %ju.
42451
42452 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42453
42454 * include/libc-internal.h (ignore_value): New macro.
42455 * nscd/connections.c (restart): Wrap calls to setuid and setgid
42456 with ignore_value.
42457
42458 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42459 definition.
42460
42461 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42462 pthread_cleanup_push to void *.
42463
42464 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42465 Undefine.
42466
42467 [BZ #16619]
42468 [BZ #16740]
42469 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42470 instead of 1L << 52.
42471
42472 * libio/bug-rewind.c (do_test): Check fwscanf return values.
42473 * libio/bug-rewind2.c (do_test): Likewise.
42474
42475 * debug/test-stpcpy_chk-ifunc.c: Remove file.
42476 * debug/test-strcpy_chk-ifunc.c: Likewise.
42477 * wcsmbs/test-wcschr-ifunc.c: Likewise.
42478 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42479 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42480 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42481 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42482 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42483 * Rules [$(multi-arch) = no] (tests): Do not filter out
42484 $(tests-ifunc).
42485 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42486 * debug/Makefile (tests-ifunc): Remove variable.
42487 (tests): Do not add $(tests-ifunc).
42488 * wcsmbs/Makefile (tests-ifunc): Remove variable.
42489 (tests): Do not add $(tests-ifunc).
42490 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42491 [TEST_IFUNC]: Remove conditionals.
42492 * string/test-string.h (TEST_IFUNC): Remove macro.
42493 [TEST_IFUNC]: Remove conditionals.
42494
42495 * string/test-strchr.c [!WIDE] (L): New macro.
42496 [WIDE] (L): Likewise.
42497 (check1): Use CHAR instead of char. Use L on string and character
42498 constants.
42499
42500 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
42501
42502 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42503 tests.
42504 * sysdeps/powerpc/bits/atomic.h
42505 (__arch_atomic_exchange_and_add_32_acq): Add definition.
42506 (__arch_atomic_exchange_and_add_32_rel): Likewise.
42507 (atomic_exchange_and_add_acq): Likewise.
42508 (atomic_exchange_and_add_rel): Likewise.
42509 * sysdeps/powerpc/powerpc32/bits/atomic.h
42510 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42511 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42512 * sysdeps/powerpc/powerpc64/bits/atomic.h
42513 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42514 (__arch_atomic_exchange_and_add_64_rel): Likewise.
42515
42516 2014-11-26 Torvald Riegel <triegel@redhat.com>
42517
42518 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42519 Change synchronization of __sched_fifo_min_prio and
42520 __sched_fifo_max_prio.
42521 * nptl/pthread_mutexattr_getprioceiling.c
42522 (pthread_mutexattr_getprioceiling): Likewise.
42523 * nptl/pthread_mutexattr_setprioceiling.c
42524 (pthread_mutexattr_setprioceiling): Likewise.
42525 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42526 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42527 Likewise.
42528
42529 2014-11-26 Joseph Myers <joseph@codesourcery.com>
42530
42531 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42532 void.
42533
42534 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42535
42536 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42537 third argument const.
42538
42539 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
42540
42541 fnmatch: work around GCC compiler warning bug with uninit var
42542 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42543 This works around a bug with x86-64 GCC 4.9.2 and earlier
42544 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42545 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42546 used uninitialized in this function [-Wmaybe-uninitialized]".
42547
42548 2014-11-25 Joseph Myers <joseph@codesourcery.com>
42549
42550 * posix/bug-regex31.c (main): Return RES not 0.
42551
42552 2014-11-25 Anton Blanchard <anton@samba.org>
42553
42554 * sysdeps/powerpc/bits/atomic.h
42555 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42556
42557 2014-11-24 Sterling Augustine <saugustine@google.com>
42558
42559 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42560
42561 2014-11-24 Ryan Cumming <etaoins@gmail.com>
42562
42563 [BZ #17608]
42564 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42565
42566 2014-11-24 Joseph Myers <joseph@codesourcery.com>
42567
42568 [BZ #17633]
42569 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42570 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42571 variable.
42572 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42573 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42574
42575 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42576
42577 * string/strncpy.c (strncpy): Improve performance by using memset.
42578
42579 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
42580
42581 * string/strcpy.c (strcpy):
42582 Improve performance by using strlen and memcpy.
42583
42584 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
42585
42586 * string/strcoll_l.c (get_next_seq): __always_inline.
42587 * string/strcoll_l.c (do_compare): __always_inline.
42588
42589 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42590
42591 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42592 defined.
42593 * include/mqueue.h: Likewise.
42594 * include/stdlib.h: Likewise.
42595
42596 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42597 (get_null_defines): Adjust.
42598 * sunrpc/Makefile: Adjust comment.
42599 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42600 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42601 (CFLAGS-interp.c): Likewise.
42602 (CFLAGS-ldconfig.c): Likewise.
42603 (CPPFLAGS-.os): Likewise.
42604 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42605 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42606 * extra-modules.mk (extra-modules.mk): Likewise.
42607 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42608 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42609 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42610 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42611 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42612 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42613 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42614 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42615 * iconvdata/Makefile (CPPFLAGS): Likewise.
42616 (cpp-srcs-left): Add libof for all iconvdata routines.
42617 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42618 * include/assert.h: Likewise.
42619 * include/ctype.h: Likewise.
42620 * include/errno.h: Likewise.
42621 * include/libc-symbols.h: Likewise.
42622 * include/math.h: Likewise.
42623 * include/netdb.h: Likewise.
42624 * include/resolv.h: Likewise.
42625 * include/stdio.h: Likewise.
42626 * include/stdlib.h: Likewise.
42627 * include/string.h: Likewise.
42628 * include/sys/stat.h: Likewise.
42629 * include/wctype.h: Likewise.
42630 * intl/l10nflist.c: Likewise.
42631 * libidn/idn-stub.c: Likewise.
42632 * libio/libioP.h: Likewise.
42633 * nptl/libc_multiple_threads.c: Likewise.
42634 * nptl/pthreadP.h: Likewise.
42635 * posix/regex_internal.h: Likewise.
42636 * resolv/res_hconf.c: Likewise.
42637 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42638 * sysdeps/arm/memmove.S: Likewise.
42639 * sysdeps/arm/sysdep.h: Likewise.
42640 * sysdeps/generic/_itoa.h: Likewise.
42641 * sysdeps/generic/symbol-hacks.h: Likewise.
42642 * sysdeps/gnu/errlist.awk: Likewise.
42643 * sysdeps/gnu/errlist.c: Likewise.
42644 * sysdeps/i386/i586/memcpy.S: Likewise.
42645 * sysdeps/i386/i586/memset.S: Likewise.
42646 * sysdeps/i386/i686/memcpy.S: Likewise.
42647 * sysdeps/i386/i686/memmove.S: Likewise.
42648 * sysdeps/i386/i686/mempcpy.S: Likewise.
42649 * sysdeps/i386/i686/memset.S: Likewise.
42650 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42651 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42652 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42653 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42654 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42656 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42657 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42658 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42659 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42660 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42661 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42662 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42663 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42664 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42665 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42666 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
42667 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
42668 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
42669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42672 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42673 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42674 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42676 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
42677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42678 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
42679 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42680 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42681 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42682 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42683 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42684 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42685 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42686 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42687 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42688 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42689 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42690 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42691 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42693 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42694 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42695 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42696 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
42697 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
42698 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42699 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42700 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42701 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
42702 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
42703 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42704 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42705 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
42706 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42707 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
42708 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
42709 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42710 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42711 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42712 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
42713 * sysdeps/nptl/bits/libc-lock.h: Likewise.
42714 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42715 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
42716 * sysdeps/posix/closedir.c: Likewise.
42717 * sysdeps/posix/opendir.c: Likewise.
42718 * sysdeps/posix/readdir.c: Likewise.
42719 * sysdeps/posix/rewinddir.c: Likewise.
42720 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
42721 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
42722 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42723 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42724 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42725 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
42726 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
42727 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
42728 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
42729 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
42730 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
42731 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
42732 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
42733 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
42734 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
42735 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
42736 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
42737 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
42738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
42739 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
42740 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
42741 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
42742 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
42743 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
42744 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
42745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
42746 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
42747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
42748 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
42749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
42750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
42751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
42752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
42753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
42754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
42755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
42756 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42757 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42758 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
42759 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
42760 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
42761 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
42762 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
42763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
42764 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
42765 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
42766 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
42767 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
42768 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
42769 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
42770 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
42771 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
42772 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
42773 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
42774 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
42775 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
42776 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42777 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42778 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42779 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42780 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42781 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42782 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42783 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42784 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42785 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42786 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42787 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42788 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42789 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42790 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42791 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42792 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42793 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42794 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42795 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42796 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42797 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42798 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42799 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42800 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42801 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42802 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42803 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42804 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42805 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42806 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42807 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42808 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42809 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42810 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42811 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42812 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42813 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42815 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42816 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42818 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42819 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42821 * sysdeps/unix/alpha/sysdep.S: Likewise.
42822 * sysdeps/unix/alpha/sysdep.h: Likewise.
42823 * sysdeps/unix/make-syscalls.sh: Likewise.
42824 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42826 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42827 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42828 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42829 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42830 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42831 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42832 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42833 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42834 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42835 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42838 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42839 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42840 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42841 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42842 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42843 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42844 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42845 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42846 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42847 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42848 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42849 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42850 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42853 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42854 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42858 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42862 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42863 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42864 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42865 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42866 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42867 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42868 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42871 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42874 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42875 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42876 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42877 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42878 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42879 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42880 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42882 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42883 * sysdeps/x86_64/memcpy.S: Likewise.
42884 * sysdeps/x86_64/memmove.c: Likewise.
42885 * sysdeps/x86_64/memset.S: Likewise.
42886 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42887 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42888 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42889 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42890 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42891 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42892 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42893 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42894 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42895 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42896 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42897 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42898 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42899 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42900 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42901 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42902 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42903 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42904 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42905 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42906 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42907 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42908 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42909 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42910 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42911 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42912 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42913 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42914 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42915 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42916 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42917 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42918 * sysdeps/x86_64/strcmp.S: Likewise.
42919
42920 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42921
42922 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42923 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42924 * elf/rtld-Rules: Likewise.
42925 * elf/setup-vdso.h: Likewise.
42926 * include/assert.h: Likewise.
42927 * include/bits/stdlib-float.h: Likewise.
42928 * include/errno.h: Likewise.
42929 * include/sys/stat.h: Likewise.
42930 * include/unistd.h: Likewise.
42931 * sysdeps/aarch64/setjmp.S: Likewise.
42932 * sysdeps/alpha/setjmp.S: Likewise.
42933 * sysdeps/arm/__longjmp.S: Likewise.
42934 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42935 * sysdeps/arm/setjmp.S: Likewise.
42936 * sysdeps/arm/sysdep.h: Likewise.
42937 * sysdeps/generic/_itoa.h: Likewise.
42938 * sysdeps/generic/dl-sysdep.h: Likewise.
42939 * sysdeps/generic/ldsodefs.h: Likewise.
42940 * sysdeps/i386/dl-tls.h: Likewise.
42941 * sysdeps/i386/setjmp.S: Likewise.
42942 * sysdeps/m68k/setjmp.c: Likewise.
42943 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42944 * sysdeps/mach/hurd/opendir.c: Likewise.
42945 * sysdeps/posix/getcwd.c: Likewise.
42946 * sysdeps/posix/opendir.c: Likewise.
42947 * sysdeps/posix/profil.c: Likewise.
42948 * sysdeps/powerpc/dl-procinfo.h: Likewise.
42949 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42950 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42951 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42952 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42953 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42954 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42955 * sysdeps/s390/dl-tls.h: Likewise.
42956 * sysdeps/s390/s390-32/setjmp.S: Likewise.
42957 * sysdeps/s390/s390-64/setjmp.S: Likewise.
42958 * sysdeps/sh/sh3/setjmp.S: Likewise.
42959 * sysdeps/sh/sh4/setjmp.S: Likewise.
42960 * sysdeps/unix/alpha/sysdep.h: Likewise.
42961 * sysdeps/unix/arm/sysdep.S: Likewise.
42962 * sysdeps/unix/i386/sysdep.S: Likewise.
42963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42964 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42965 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42967 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42968 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42969 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42970 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42971 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42972 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42973 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42974 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42975 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42978 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42981 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42982 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42983 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42986 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42987 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42988 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42991 * sysdeps/x86_64/setjmp.S: Likewise.
42992
42993 * include/math.h: Use IS_IN instead of IS_IN_libm.
42994 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43004 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43005 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43006 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43009 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43014 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43015 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43016 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43017 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43018 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43019 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43021 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43022 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43023 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43024 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43025 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43026 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43028 Likewise.
43029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43030 Likewise.
43031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43032 Likewise.
43033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43034 Likewise.
43035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43036 Likewise.
43037 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43039 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43040 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43041 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43042 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43048 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43049 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43050 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43051 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43052 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43053 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43054 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43055 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43056 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43057 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43058 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43059 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43061 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43063 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43064
43065 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43066 * nptl/pthreadP.h: Likewise.
43067 * nptl_db/structs.def: Likewise.
43068 * sysdeps/arm/sysdep.h: Likewise.
43069 * sysdeps/nptl/bits/libc-lock.h: Likewise.
43070 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43071 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43072 * sysdeps/unix/alpha/sysdep.h: Likewise.
43073 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43074 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43075 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43076 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43077 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43078 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43079 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43080 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43081 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43082 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43083 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43084 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43085 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43086 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43091 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43094 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43095 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43096 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43097 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43098 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43099
43100 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43101 * nptl/pthreadP.h: Likewise.
43102 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43103 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43104 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43105 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43106 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.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:
43115 Likewise.
43116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43117 Likewise.
43118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43119 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43120 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43121 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43123 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43124 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43125 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43126
43127 * dlfcn/dladdr.c: Use IS_IN.
43128 * dlfcn/dladdr1.c: Likewise.
43129 * dlfcn/dlclose.c: Likewise.
43130 * dlfcn/dlerror.c: Likewise.
43131 * dlfcn/dlinfo.c: Likewise.
43132 * dlfcn/dlmopen.c: Likewise.
43133 * dlfcn/dlopen.c: Likewise.
43134 * dlfcn/dlsym.c: Likewise.
43135 * dlfcn/dlvsym.c: Likewise.
43136
43137 * include/ifaddrs.h: Use IS_IN.
43138 * inet/check_pf.c: Likewise.
43139 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43140 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43141
43142 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43143 IS_IN_ldconfig.
43144 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43145 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43146
43147 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43148 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43149 IS_IN (libc).
43150
43151 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43152
43153 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43154 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43155 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43156 * include/libc-symbols.h (IS_IN_LIB): New macro.
43157 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43158 * include/netdb.h: Likewise.
43159 * include/stap-probe.h: Remove all uses of IN_LIB.
43160
43161 * Makeconfig (module-cppflags-real): Define MODULE_NAME
43162 instead of IN_MODULE.
43163 * include/libc-symbols.h (IN_MODULE): Define using
43164 MODULE_NAME.
43165 (PASTE_NAME, PASTE_NAME1): New macros.
43166 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43167 of IN_LIB.
43168 (STAP_PROBE_ASM): Likewise.
43169
43170 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
43171
43172 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43173 __mach_init in dlopened libc.
43174
43175 2014-11-22 Mike Frysinger <vapier@gentoo.org>
43176
43177 * sysdeps/arm/preconfigure.ac: Delete EABI check.
43178 * sysdeps/arm/preconfigure: Regenerate.
43179
43180 2014-11-21 Roland McGrath <roland@hack.frob.com>
43181
43182 * nptl/pthread_create.c (__pthread_create_2_1): Set
43183 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43184 when copying values from IATTR into PD.
43185
43186 2014-11-21 Will Newton <will.newton@linaro.org>
43187 Andrew Pinski <andrew.pinski@caviumnetworks.com>
43188
43189 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43190 Refactor inline-asm. Also add comment.
43191
43192 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43193 ElfW macro instead of hardcoded Elf64 types.
43194 (la_aarch64_gnu_pltenter): Likewise.
43195 * sysdeps/aarch64/dl-machine.h
43196 (elf_machine_runtime_setup): Use ElfW(Addr).
43197
43198 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43199 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43200 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43201 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43202 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43203 (R_AARCH64_TLS_DTPMOD64): Rename to ..
43204 (R_AARCH64_TLS_DTPMOD): This.
43205 (R_AARCH64_TLS_DTPREL64): Rename to ...
43206 (R_AARCH64_TLS_DTPREL): This.
43207 (R_AARCH64_TLS_TPREL64): Rename to ...
43208 (R_AARCH64_TLS_TPREL): This.
43209 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43210 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43211 R_AARCH64_TLS_TPREL64.
43212 (elf_machine_rela): Likewise.
43213
43214 2014-11-21 Torvald Riegel <triegel@redhat.com>
43215
43216 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43217 by setting it to 0. 64b atomics are not supported currently.
43218
43219 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43220
43221 [BZ #16469]
43222 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43223 search domain names.
43224
43225 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43226
43227 [BZ #16469]
43228 * NEWS: Update.
43229 * resolv/res_query.c (__libc_res_nquerydomain): Retain
43230 trailing dot.
43231 * posix/tst-getaddrinfo5.c: New.
43232 * posix/Makefile (tests): Add it.
43233
43234 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43235
43236 [BZ #14498]
43237 * NEWS: Fixed.
43238 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43239 after parsing line but before break_if_match.
43240 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43241 if there is a protocol mismatch.
43242
43243 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43244
43245 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43246 because the potential race is on the user-supplied stream.
43247
43248 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43249
43250 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43251 string literal if not passed a buffer.
43252 * manual/job.texi (ctermid): Update reasoning, note deviation
43253 from posix, suggest mtasurace when not passed a buffer, for
43254 future non-preliminary safety notes.
43255
43256 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43257
43258 * manual/users.texi (cuserid): Fix MT-Safety note for the case
43259 of not passing it a buffer.
43260 Reported by Peng Haitao.
43261
43262 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
43263
43264 * manual/Makefile ($(objpfx)stamp-summary): Require
43265 check-safety.sh to pass.
43266 * manual/check-safety.sh: Wish for verification that every
43267 @deftypefn and @deftypefun is followed by a @safety remark.
43268
43269 2014-11-20 Roland McGrath <roland@hack.frob.com>
43270
43271 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43272
43273 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43274 PTHREAD_CANCEL_ASYNCHRONOUS.
43275 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43276 send SIGCANCEL.
43277
43278 * nptl/default-sched.h: New file.
43279 * sysdeps/unix/sysv/linux/default-sched.h: New file.
43280 * nptl/pthread_create.c: Include it.
43281 (__pthread_create_2_1): Use collect_default_sched instead of making
43282 Linux syscalls here directly.
43283
43284 2014-11-20 Torvald Riegel <triegel@redhat.com>
43285
43286 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43287 __pthread_once): Use C11 atomics.
43288
43289 2014-11-20 Torvald Riegel <triegel@redhat.com>
43290
43291 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43292
43293 2014-11-20 Torvald Riegel <triegel@redhat.com>
43294
43295 * include/atomic.h (__atomic_link_error, __atomic_check_size,
43296 atomic_thread_fence_acquire, atomic_thread_fence_release,
43297 atomic_thread_fence_seq_cst, atomic_load_relaxed,
43298 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43299 atomic_compare_exchange_weak_relaxed,
43300 atomic_compare_exchange_weak_acquire,
43301 atomic_compare_exchange_weak_release,
43302 atomic_exchange_acquire, atomic_exchange_release,
43303 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43304 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43305 atomic_fetch_and_acquire,
43306 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43307
43308 2014-11-20 Torvald Riegel <triegel@redhat.com>
43309
43310 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43311 USE_ATOMIC_COMPILER_BUILTINS): Define.
43312 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43314 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43315 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43316 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43317 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43318 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43319 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43320 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43321 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43322 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43323 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43324 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43325 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43326 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43327 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43328 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43329 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43330 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43331 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43332 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43333 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43334 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43335 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43336 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43337 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43338 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43339 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43340 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43341 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43342 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43343 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43344 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43345 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43346 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43347 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43348 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43349 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43350 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43351 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43352
43353 2014-11-19 Roland McGrath <roland@hack.frob.com>
43354
43355 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43356 the sched_priority value here. It was already checked when the user
43357 called pthread_attr_setschedparam.
43358
43359 * nptl/tst-bad-schedattr.c: New file.
43360 * nptl/Makefile (tests): Add it.
43361
43362 2014-11-19 Carlos O'Donell <carlos@redhat.com>
43363 Florian Weimer <fweimer@redhat.com>
43364 Joseph Myers <joseph@codesourcery.com>
43365 Adam Conrad <adconrad@0c3.net>
43366 Andreas Schwab <schwab@suse.de>
43367 Brooks <bmoses@google.com>
43368
43369 [BZ #17625]
43370 * wordexp-test.c (__dso_handle): Add prototype.
43371 (__register_atfork): Likewise.
43372 (__app_register_atfork): New function.
43373 (registered_forks): New global.
43374 (register_fork): New function.
43375 (test_case): Add 3 new tests for WRDE_CMDSUB.
43376 (main): Call __app_register_atfork.
43377 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43378 fork count is non-zero fail the test.
43379 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43380 is set.
43381 (parse_dollars): Remove check for WRDE_NOCMD.
43382 (parse_dquote): Likewise.
43383
43384 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
43385
43386 * Makeconfig (built-modules): List non-library modules to be
43387 built.
43388 (module-cppflags): Include libc-modules.h for
43389 everything except shlib-versions.v.i.
43390 (CPPFLAGS): Use it.
43391 (before-compile): Add libc-modules.h.
43392 ($(common-objpfx)libc-modules.h,
43393 $(common-objpfx)libc-modules.stmp): New targets.
43394 (common-generated): Add libc-modules.h and libc-modules.stmp.
43395 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43396 * include/libc-symbols.h: Don't include libc-modules.h.
43397 * include/libc-modules.h: Remove file.
43398 * scripts/gen-libc-modules.awk: New script to generate
43399 libc-modules.h.
43400 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43401 Depend on libc-modules.stmp.
43402
43403 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43404
43405 * Makeconfig (in-module): Get value of libof set for the
43406 translation unit.
43407 (CPPFLAGS): Use $(in-module).
43408 * Makerules: Don't suffix routine names for nonlib.
43409 * include/libc-modules.h: New file.
43410 * include/libc-symbols.h: Include libc-modules.h
43411 (IS_IN): New macro to replace IS_IN_* macros.
43412 * elf/Makefile: Set libof-* for each routine.
43413 * elf/rtld-Rules: Likewise.
43414 * extra-modules.mk: Likewise.
43415 * iconv/Makefile: Likewise.
43416 * iconvdata/Makefile: Likewise.
43417 * locale/Makefile: Likewise.
43418 * malloc/Makefile: Likewise.
43419 * nss/Makefile: Likewise.
43420 * sysdeps/gnu/Makefile: Likewise.
43421 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43422 * sysdeps/unix/sysv/linux/Makefile: Likewise.
43423 * sysdeps/s390/s390-64/Makefile: Likewise.
43424 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
43425 CPPFLAGS for nscd instead of nonlib.
43426
43427 2014-11-18 Roland McGrath <roland@hack.frob.com>
43428
43429 * nptl/createthread.c: New file.
43430
43431 * nptl/createthread.c: Moved ...
43432 * sysdeps/unix/sysv/linux/createthread.c: ... here.
43433
43434 * nptl/createthread.c: Add proper top-line comment.
43435 (do_clone): Folded into ...
43436 (create_thread): ... here. Take new arguments STOPPED_START and
43437 THREAD_RAN. Always set PD->stopped_start to something here. Don't
43438 increment __nptl_threads, do event-reporting logic, do
43439 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43440 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
43441 resource cleanup if sched_setaffinity or sched_setscheduler fails,
43442 just send SIGCANCEL.
43443 * nptl/pthread_create.c: Forward-declare create_thread before
43444 including createthread.c.
43445 (start_thread): Use new macro START_THREAD_DEFN to replace defining
43446 declaration, and new macro START_THREAD_SELF to replace argument.
43447 Remove return statement.
43448 (report_thread_creation): New function.
43449 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
43450 synchronization logic, and __nptl_nthreads increment here, around
43451 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
43452 PD->parent_cancelhandling here, before create_thread. When
43453 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43454 __deallocate_stack, and ENOMEM translation here.
43455
43456 2014-11-18 Joseph Myers <joseph@codesourcery.com>
43457
43458 [BZ #17616]
43459 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43460 (mptwo): Rename to __mptwo.
43461 (__inv): Use __mptwo instead of mptwo.
43462 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43463 (mptwo): Rename to __mptwo.
43464 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43465 of mpone and __mptwo instead of mptwo.
43466 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43467 instead of mpone.
43468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43469 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43470 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43471 of mpone and __mptwo instead of mptwo.
43472 (__mpranred): Use __mpone instead of mpone.
43473 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43474 variable.
43475 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43476 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43477 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43478 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43479 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43480 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43481 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43482 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43483 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43484 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43485 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43486 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43487 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43488 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43489 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43490 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43491 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43492 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43493 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43494
43495 2014-11-18 Tom de Vries <tom@codesoucery.com>
43496
43497 * manual/signal.texi (Primitives Interrupted by Signals): In section,
43498 replace BSD Handler xref with BSD Signal Handling.
43499
43500 2014-11-17 Richard Henderson <rth@redhat.com>
43501
43502 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43503 (_FP_PACK_RAW_2): Remove.
43504 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43505 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43506 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43507 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43508 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43509 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43510 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43511 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43512 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43513 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43514 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43515 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43516 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43517 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43518 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43519 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43520
43521 2014-11-14 Roland McGrath <roland@hack.frob.com>
43522
43523 * signal/signal.h [__USE_MISC]
43524 (struct sigvec): Remove type.
43525 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43526 (sigvec): Remove declaration.
43527 * sysdeps/posix/sigvec.c: Moved ...
43528 * signal/sigvec.c: ... here, replacing old file.
43529 (struct sigvec): New type, copied from old signal.h definition.
43530 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43531 (__sigvec): Convert definition to prototype.
43532 (sigvec): Replace weak_alias with compat_symbol.
43533 * signal/Versions (libc: GLIBC_2.21): New version set.
43534 * include/signal.h: Remove __sigvec declaration.
43535 * sysdeps/unix/bsd/sigvec.c: Remove file.
43536 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43537 * manual/signal.texi (BSD Handler): Remove subsection.
43538 Move siginterrupt up to ...
43539 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
43540 (Blocking in BSD): Fold subsection into its parent.
43541 * NEWS: Mention sigvec removal.
43542
43543 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43544
43545 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43546 (DLA_FMS): Make definition conditional only on [__FMA4__].
43547 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43548 definition.
43549
43550 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43551 Make definition conditional only on [PROF].
43552 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43553 definition.
43554 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43555 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43556
43557 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43558 !__GNUC__].
43559 * include/signal.h (__sigpause): Move declaration above call to
43560 libc_hidden_proto.
43561 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43562 variable.
43563 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43564 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43565
43566 2014-11-14 David S. Miller <davem@davemloft.net>
43567
43568 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43569 Define before including <string/memcpy.c> and <string/mempcpy.c>.
43570
43571 2014-11-14 Joseph Myers <joseph@codesourcery.com>
43572
43573 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43574 * configure: Regenerated.
43575 * manual/install.texi (Tools for Compilation): Document a
43576 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43577 compiler verified to work.
43578 * INSTALL: Regenerated.
43579
43580 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43581 redeclare with asm name.
43582 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43583 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43584 including <string.h>.
43585 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43586 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43587 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43588 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43589 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43590 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43591 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43592
43593 2014-11-13 Joseph Myers <joseph@codesourcery.com>
43594
43595 * stdlib/strtol.c (__strtol): Use prototype definition.
43596
43597 [BZ #17594]
43598 * stdlib/strtol.c (SYM__): New macro.
43599 (SYM__1): Likewise.
43600 (__strtol): Likewise.
43601 (strtol): Rename to __strtol and define as weak alias of
43602 __strtol. Use libc_hidden_weak.
43603
43604 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43605
43606 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43607 Use numbered labels in inline assembly.
43608
43609 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43610
43611 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43612 Add setjmp LIBC_PROBE.
43613 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43614 Likewise.
43615 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43616 Add longjmp, longjmp_target LIBC_PROBE.
43617 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43618 Likewise.
43619
43620 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43621
43622 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43623 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43624 to get rid of unused variable warning.
43625
43626 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
43627
43628 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43629 Check for unwind_backtrace == NULL only in SHARED case.
43630 (__backchain_backtrace): Compile only in SHARED case.
43631 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43632 Likewise.
43633 (__backchain_backtrace): Declare as static.
43634
43635 2014-11-12 Roland McGrath <roland@hack.frob.com>
43636
43637 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43638 (__libc_multiple_threads_ptr): Variable moved ...
43639 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43640
43641 2014-11-12 Joseph Myers <joseph@codesourcery.com>
43642
43643 * conform/GlibcConform.pm: New file.
43644 * conform/conformtest.pl: Use GlibcConform module.
43645 * conform/linknamespace.pl: New file.
43646 * conform/list-header-symbols.pl: Likewise.
43647 * conform/Makefile (linknamespace-symlists-base): New variable.
43648 (linknamespace-symlists-tests): Likewise.
43649 (linknamespace-header-base): Likewise.
43650 (linknamespace-header-tests): Likewise.
43651 (tests-special): Add new tests.
43652 ($(linknamespace-symlists-tests)): New rule.
43653 (linknamespace-libs): New variable.
43654 ($(objpfx)symlist-stdlibs): New rule.
43655 ($(linknamespace-header-tests)): Likewise.
43656 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43657 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
43658 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
43659 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
43660 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
43661 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
43662 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
43663 (test-xfail-ISO/math.h/linknamespace): Likewise.
43664 (test-xfail-ISO/signal.h/linknamespace): Likewise.
43665 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
43666 (test-xfail-ISO/time.h/linknamespace): Likewise.
43667 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43668 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
43669 (test-xfail-ISO99/math.h/linknamespace): Likewise.
43670 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43671 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43672 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43673 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43674 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
43675 (test-xfail-ISO11/math.h/linknamespace): Likewise.
43676 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43677 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43678 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43679 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
43680 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
43681 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
43682 (test-xfail-XPG3/math.h/linknamespace): Likewise.
43683 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
43684 (test-xfail-XPG3/search.h/linknamespace): Likewise.
43685 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
43686 (test-xfail-XPG3/time.h/linknamespace): Likewise.
43687 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
43688 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
43689 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
43690 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
43691 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
43692 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
43693 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
43694 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
43695 (test-xfail-XPG4/math.h/linknamespace): Likewise.
43696 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
43697 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
43698 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
43699 (test-xfail-XPG4/search.h/linknamespace): Likewise.
43700 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
43701 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
43702 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
43703 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
43704 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
43705 (test-xfail-XPG4/time.h/linknamespace): Likewise.
43706 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
43707 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
43708 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
43709 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
43710 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
43711 (test-xfail-POSIX/math.h/linknamespace): Likewise.
43712 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
43713 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
43714 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
43715 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
43716 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
43717 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43718 (test-xfail-POSIX/time.h/linknamespace): Likewise.
43719 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
43720 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
43721 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
43722 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
43723 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
43724 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
43725 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
43726 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
43727 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
43728 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43729 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
43730 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
43731 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
43732 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
43733 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
43734 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
43735 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
43736 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
43737 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
43738 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
43739 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43740 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43741 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
43742 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
43743 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
43744 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
43745 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
43746 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
43747 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43748 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
43749 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
43750 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
43751 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
43752 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
43753 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
43754 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43755 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
43756 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
43757 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
43758 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
43759 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43760 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
43761 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
43762 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
43763 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
43764 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
43765 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
43766 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43767 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43768 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
43769 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
43770 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43771 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43772 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
43773 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
43774 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
43775 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
43776 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43777 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43778 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43779 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43780 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43781 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43782 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43783 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43784 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43785 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43786 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43787 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43788 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43789 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43790 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43791 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43792 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43793 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43794 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43795 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43796 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43797 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43798 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43799 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43800 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43801 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43802 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43803 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43804 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43805 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43806 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43807 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43808 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43809 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43810 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43811 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43812 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43813 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43814 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43815 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43816 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43817
43818 [BZ #17589]
43819 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43820 of fgets_unlocked.
43821
43822 [BZ #17585]
43823 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43824 (memmem): Rename to __memmem and define as weak alias of
43825 __memmem. Use libc_hidden_weak.
43826 (__memmem): Use libc_hidden_def.
43827 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
43828 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43829 memmem.
43830
43831 [BZ #17582]
43832 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43833 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
43834 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43835 and define as weak alias of __fgets_unlocked. Use
43836 libc_hidden_weak.
43837 (__fgets_unlocked): Use libc_hidden_def.
43838 * include/stdio.h (__fgets_unlocked): Declare. Use
43839 libc_hidden_proto.
43840 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43841 __fgets_unlocked instead of fgets_unlocked.
43842 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43843 (GET_NPROCS_CONF_PARSER): Likewise.
43844 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43845 (GET_NPROCS_CONF_PARSER): Likewise.
43846
43847 [BZ #17574]
43848 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43849 weak alias of __wmemset. Use libc_hidden_weak.
43850 (__wmemset): Use libc_hidden_def.
43851 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
43852 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43853 of wmemset.
43854
43855 [BZ #17573]
43856 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43857 with asm name __mempcpy.
43858 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43859
43860 [BZ #17572]
43861 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43862 and define as weak alias of __rawmemchr.
43863 (__rawmemchr): Do not define as strong alias of rawmemchr.
43864
43865 [BZ #17571]
43866 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43867 alias of __qsort_r.
43868 (qsort): Call __qsort_r instead of qsort_r.
43869 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43870 (__qsort_r): Declare. Call libc_hidden_proto.
43871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43872 instead of qsort_r.
43873 * nscd/gai.c (__qsort_r): Define to qsort_r.
43874 * posix/tst-rfc3484.c (__qsort_r): Likewise.
43875 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43876 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43877
43878 [BZ #17570]
43879 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43880 define as weak alias of __malloc_info.
43881
43882 [BZ #17584]
43883 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43884 as weak alias of __rewinddir. Don't use libc_hidden_def.
43885 (__rewinddir): Use libc_hidden_def.
43886 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43887 as weak alias of __rewinddir. Don't use libc_hidden_def.
43888 (__rewinddir): Use libc_hidden_def.
43889 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43890 weak alias of __rewinddir. Don't use libc_hidden_def.
43891 (__rewinddir): Use libc_hidden_def.
43892 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43893 (__rewinddir): Use libc_hidden_proto.
43894 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43895 rewinddir.
43896 (__getcwd): Use __rewinddir instead of rewinddir.
43897
43898 [BZ #17583]
43899 * libio/fileno.c (fileno): Rename to __fileno and define as weak
43900 alias of __fileno. Use libc_hidden_weak.
43901 (__fileno): Use libc_hidden_def.
43902 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43903 * libio/ftello.c (ftello): Rename to __ftello and define as weak
43904 alias of __ftello.
43905 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43906 __ftello.
43907 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43908 (__fread_unlocked): Define as strong alias of _IO_fread. Use
43909 libc_hidden_def.
43910 (fread_unlocked): Don't use libc_hidden_ver.
43911 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43912 and define as weak alias of __fread_unlocked. Don't use
43913 libc_hidden_def.
43914 (__fread_unlocked): Use libc_hidden_def.
43915 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
43916 (ftello): Don't use libc_hidden_proto.
43917 (__ftello): Declare. Use libc_hidden_proto.
43918 (fread_unlocked): Don't use libc_hidden_proto.
43919 (__fread_unlocked): Declare. Use libc_hidden_proto.
43920 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43921 and __ftello instead of fileno, fread_unlocked and ftello.
43922
43923 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43924
43925 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43926 GOT12.
43927 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43928 Likewise.
43929 (_dl_start_user): Likewise.
43930 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43931
43932 2014-11-12 Carlos O'Donell <carlos@redhat.com>
43933 Siddhesh Poyarekar <siddhesh@redhat.com>
43934
43935 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43936 Move argv and envp down instead of moving argc up.
43937 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43938
43939 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
43940
43941 [BZ #17506]
43942 * test-skeleton.c (main): Return successful if one of
43943 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43944 * string/tst-strcoll-overflow.c: Define expected status.
43945
43946 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
43947
43948 [BZ #17475]
43949 * locale/iso-639.def: Define Bhili and Tulu language codes.
43950
43951 2014-11-11 Alan Hayward <alan.hayward@arm.com>
43952
43953 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43954
43955 2014-11-10 Renlin Li <Renlin.Li@arm.com>
43956
43957 [BZ #17555]
43958 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43959
43960 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
43961
43962 * configure.ac: Updated check of minimal required version to
43963 2.22.
43964 * manual/install.texi (Tools for Compilation): Updated version
43965 number.
43966 * configure: Regenerated.
43967 * INSTALL: Likewise.
43968
43969 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
43970
43971 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43972 __tls_get_addr.
43973
43974 2014-11-07 Joseph Myers <joseph@codesourcery.com>
43975
43976 * include/sys/wait.h (__libc_waitpid): Remove declaration.
43977 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43978 (__waitpid): Don't define as alias. Use libc_hidden_def not
43979 libc_hidden_weak.
43980 (waitpid): Define as alias of __waitpid.
43981 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43982 __waitpid.
43983 (__waitpid): Don't define as alias. Use libc_hidden_def not
43984 libc_hidden_weak.
43985 (waitpid): Define as alias of __waitpid.
43986 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43987 __libc_waitpid alias.
43988 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43989 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43990 Likewise.
43991 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43992 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43993 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43994 alias.
43995 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43996 __waitpid.
43997 (__waitpid): Don't define as alias. Use libc_hidden_def not
43998 libc_hidden_weak.
43999 (waitpid): Define as alias of __waitpid.
44000
44001 2014-11-06 Carlos O'Donell <carlos@redhat.com>
44002
44003 * manual/llio.texi: Add comment that write safety has been
44004 fixed in Linux.
44005
44006 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44007 (localplt-build-dso): Add elf/ld.so.
44008 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44009 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44010 and free for ld.so.
44011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44012 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44014 Likewise.
44015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44016 Likewise.
44017 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44018 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44019 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44020 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44021 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44022 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44023 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44024 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44025 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44026 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44027 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44028
44029 2014-11-05 Joseph Myers <joseph@codesourcery.com>
44030
44031 [BZ #14132]
44032 * include/libc-symbols.h (INTUSE): Remove macro.
44033 (INTDEF): Likewise.
44034 (INTVARDEF): Likewise.
44035 (_INTVARDEF): Likewise.
44036 (INTDEF2): Likewise.
44037 (INTVARDEF2): Likewise.
44038 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44039 rtld_hidden_def instead of INTVARDEF.
44040 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44041 (_dl_starting_up_internal): Remove declaration.
44042 (_dl_starting_up): Use rtld_hidden_proto.
44043 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44044 declaration.
44045 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44046 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44047 _dl_starting_up.
44048 * elf/dl-writev.h (_dl_writev): Likewise.
44049 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44050 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44051 _dl_starting_up_internal.
44052
44053 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44054
44055 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44056 test-skeleton.c.
44057
44058 2014-11-05 Will Newton <will.newton@linaro.org>
44059
44060 * benchtests/Makefile: (bench-malloc): Add malloc thread
44061 scalability benchmark.
44062 * benchtests/bench-malloc-threads.c: New file.
44063
44064 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
44065
44066 * sysdeps/aarch64/strchrnul.S: New file.
44067
44068 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44069
44070 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44071 definition.
44072 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44073 Likewise.
44074 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44075 Likewise.
44076 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44077 Likewise.
44078 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44079 Likewise.
44080 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44081 Likewise.
44082
44083 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
44084
44085 * catgets/test-gencat.c: Use test-skeleton.c.
44086 * catgets/tst-catgets.c: Likewise.
44087 * csu/tst-empty.c: Likewise.
44088 * elf/tst-audit2.c: Likewise.
44089 * elf/tst-global1.c: Likewise.
44090 * elf/tst-pathopt.c: Likewise.
44091 * elf/tst-piemod1.c: Likewise.
44092 * elf/tst-tls10.c: Likewise.
44093 * elf/tst-tls11.c: Likewise.
44094 * elf/tst-tls12.c: Likewise.
44095 * gnulib/tst-gcc.c: Likewise.
44096 * iconvdata/tst-e2big.c: Likewise.
44097 * iconvdata/tst-loading.c: Likewise.
44098 * iconv/tst-iconv1.c: Likewise.
44099 * iconv/tst-iconv2.c: Likewise.
44100 * inet/test-inet6_opt.c: Likewise.
44101 * inet/tst-gethnm.c: Likewise.
44102 * inet/tst-network.c: Likewise.
44103 * inet/tst-ntoa.c: Likewise.
44104 * intl/tst-codeset.c: Likewise.
44105 * intl/tst-gettext2.c: Likewise.
44106 * intl/tst-gettext3.c: Likewise.
44107 * intl/tst-ngettext.c: Likewise.
44108 * intl/tst-translit.c: Likewise.
44109 * io/test-stat.c: Likewise.
44110 * libio/test-fmemopen.c: Likewise.
44111 * libio/tst-freopen.c: Likewise.
44112 * libio/tst-sscanf.c: Likewise.
44113 * libio/tst-ungetwc1.c: Likewise.
44114 * libio/tst-ungetwc2.c: Likewise.
44115 * libio/tst-widetext.c: Likewise.
44116 * localedata/tst-ctype.c: Likewise.
44117 * localedata/tst-digits.c: Likewise.
44118 * localedata/tst-leaks.c: Likewise.
44119 * localedata/tst-mbswcs1.c: Likewise.
44120 * localedata/tst-mbswcs2.c: Likewise.
44121 * localedata/tst-mbswcs3.c: Likewise.
44122 * localedata/tst-mbswcs4.c: Likewise.
44123 * localedata/tst-mbswcs5.c: Likewise.
44124 * localedata/tst-setlocale.c: Likewise.
44125 * localedata/tst-trans.c: Likewise.
44126 * localedata/tst-wctype.c: Likewise.
44127 * localedata/tst-xlocale1.c: Likewise.
44128 * login/tst-grantpt.c: Likewise.
44129 * malloc/tst-calloc.c: Likewise.
44130 * malloc/tst-malloc.c: Likewise.
44131 * malloc/tst-mallocstate.c: Likewise.
44132 * malloc/tst-mcheck.c: Likewise.
44133 * malloc/tst-mtrace.c: Likewise.
44134 * malloc/tst-obstack.c: Likewise.
44135 * math/atest-exp2.c: Likewise.
44136 * math/atest-exp.c: Likewise.
44137 * math/atest-sincos.c: Likewise.
44138 * math/test-matherr.c: Likewise.
44139 * math/test-misc.c: Likewise.
44140 * math/test-powl.c: Likewise.
44141 * math/tst-definitions.c: Likewise.
44142 * misc/tst-dirname.c: Likewise.
44143 * misc/tst-efgcvt.c: Likewise.
44144 * misc/tst-fdset.c: Likewise.
44145 * misc/tst-hsearch.c: Likewise.
44146 * misc/tst-mntent2.c: Likewise.
44147 * nptl/tst-sem7.c: Likewise.
44148 * nptl/tst-sem8.c: Likewise.
44149 * nptl/tst-sem9.c: Likewise.
44150 * nss/test-netdb.c: Likewise.
44151 * posix/tst-fnmatch.c: Likewise.
44152 * posix/tst-getlogin.c: Likewise.
44153 * posix/tst-gnuglob.c: Likewise.
44154 * posix/tst-mmap.c: Likewise.
44155 * pwd/tst-getpw.c: Likewise.
44156 * resolv/tst-inet_ntop.c: Likewise.
44157 * rt/tst-timer.c: Likewise.
44158 * stdio-common/test-fseek.c: Likewise.
44159 * stdio-common/test-popen.c: Likewise.
44160 * stdio-common/test-vfprintf.c: Likewise.
44161 * stdio-common/tst-cookie.c: Likewise.
44162 * stdio-common/tst-fileno.c: Likewise.
44163 * stdio-common/tst-gets.c: Likewise.
44164 * stdio-common/tst-obprintf.c: Likewise.
44165 * stdio-common/tst-perror.c: Likewise.
44166 * stdio-common/tst-sprintf2.c: Likewise.
44167 * stdio-common/tst-sprintf3.c: Likewise.
44168 * stdio-common/tst-sprintf.c: Likewise.
44169 * stdio-common/tst-swprintf.c: Likewise.
44170 * stdio-common/tst-tmpnam.c: Likewise.
44171 * stdio-common/tst-unbputc.c: Likewise.
44172 * stdio-common/tst-wc-printf.c: Likewise.
44173 * stdlib/tst-environ.c: Likewise.
44174 * stdlib/tst-fmtmsg.c: Likewise.
44175 * stdlib/tst-limits.c: Likewise.
44176 * stdlib/tst-rand48-2.c: Likewise.
44177 * stdlib/tst-rand48.c: Likewise.
44178 * stdlib/tst-random2.c: Likewise.
44179 * stdlib/tst-random.c: Likewise.
44180 * stdlib/tst-strtol.c: Likewise.
44181 * stdlib/tst-strtoll.c: Likewise.
44182 * stdlib/tst-tls-atexit.c: Likewise.
44183 * stdlib/tst-xpg-basename.c: Likewise.
44184 * string/test-ffs.c: Likewise.
44185 * string/tst-bswap.c: Likewise.
44186 * string/tst-inlcall.c: Likewise.
44187 * string/tst-strtok.c: Likewise.
44188 * string/tst-strxfrm.c: Likewise.
44189 * sysdeps/x86_64/tst-audit10.c: Likewise.
44190 * sysdeps/x86_64/tst-audit3.c: Likewise.
44191 * sysdeps/x86_64/tst-audit4.c: Likewise.
44192 * sysdeps/x86_64/tst-audit5.c: Likewise.
44193 * time/tst-ftime_l.c: Likewise.
44194 * time/tst-getdate.c: Likewise.
44195 * time/tst-mktime3.c: Likewise.
44196 * time/tst-mktime.c: Likewise.
44197 * time/tst-posixtz.c: Likewise.
44198 * time/tst-strptime2.c: Likewise.
44199 * time/tst-strptime3.c: Likewise.
44200 * wcsmbs/tst-btowc.c: Likewise.
44201 * wcsmbs/tst-mbrtowc.c: Likewise.
44202 * wcsmbs/tst-mbsrtowcs.c: Likewise.
44203 * wcsmbs/tst-wchar-h.c: Likewise.
44204 * wcsmbs/tst-wcpncpy.c: Likewise.
44205 * wcsmbs/tst-wcrtomb.c: Likewise.
44206 * wcsmbs/tst-wcsnlen.c: Likewise.
44207 * wcsmbs/tst-wcstof.c: Likewise.
44208
44209 2014-11-04 Joseph Myers <joseph@codesourcery.com>
44210
44211 [BZ #14132]
44212 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44213 INTDEF.
44214 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44215 declaration.
44216 (_dl_mcount): Use rtld_hidden_proto.
44217 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44218 _dl_mcount.
44219 * elf/rtld.c (_rtld_global_ro): Likewise.
44220
44221 [BZ #14132]
44222 * elf/dl-init.c (_dl_init): Don't use INTDEF.
44223 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44224 of _dl_init_internal.
44225 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44226 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44227 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44228 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44229 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44230 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44231 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44232 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44233 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44234 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44235 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44236 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44237 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44238 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44239 * sysdeps/tile/dl-start.S (_start): Likewise.
44240 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44241 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44242
44243 [BZ #14132]
44244 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44245 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44246 (rtld_progname): Make macro definition unconditional.
44247 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44248 INTDEF.
44249 (dlmopen_doit): Do not use INTUSE with _dl_argv.
44250 (dl_main): Likewise.
44251 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44252 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44253 instead of _dl_argv_internal.
44254 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44255 __GI__dl_argv instead of INTUSE(_dl_argv).
44256 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44257 __GI__dl_argv instead of _dl_argv_internal.
44258
44259 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44260 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44261 macro.
44262 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44263 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44264 New macro.
44265 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44266 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44267 macro.
44268 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44269 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44270
44271 2014-11-04 Andreas Schwab <schwab@suse.de>
44272
44273 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44274
44275 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44276
44277 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44278 mtvsrd instruction in binary form.
44279
44280 2014-11-03 Andreas Schwab <schwab@suse.de>
44281
44282 [BZ #17522]
44283 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44284 for less than MB_LEN_MAX use a local buffer of that size.
44285 * libio/tst-fputws.c: New file.
44286 * libio/Makefile (tests): Add tst-fputws.
44287
44288 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
44289
44290 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44291 the size of the fpu_fr.fpu_dregs[] array.
44292
44293 2014-11-01 Joseph Myers <joseph@codesourcery.com>
44294
44295 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44296 (__nanosleep): Do not define as alias.
44297 (nanosleep): Define as alias of __nanosleep.
44298 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44299 __libc_nanosleep name.
44300
44301 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44302
44303 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44304 install.texi in comment.
44305
44306 2014-10-31 Torvald Riegel <triegel@redhat.com>
44307
44308 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44309 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44310 ... add here and use lwsync or sync ...
44311 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44312 ... and add here using lwsync.
44313
44314 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
44315
44316 * elf/dl-machine-reject-phdr.h: New file.
44317 * elf/dl-load.c: #include that.
44318 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44319 if that returned true.
44320
44321 2014-10-31 Roland McGrath <roland@hack.frob.com>
44322
44323 [BZ #17496]
44324 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44325 gen-as-const-headers chunk. Add a big scare comment after the last
44326 safe place to touch before-compile.
44327
44328 2014-10-31 Joseph Myers <joseph@codesourcery.com>
44329
44330 * manual/install.texi (Tools for Compilation): Update autoconf
44331 version requirements.
44332 * INSTALL: Regenerated.
44333
44334 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44335 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44336 (__libc_pselect): Likewise.
44337
44338 [BZ #14138]
44339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44343
44344 2014-10-31 Torvald Riegel <triegel@redhat.com>
44345
44346 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44347 correct barrier instruction.
44348 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44349 Likewise.
44350 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44351 Likewise.
44352
44353 2014-10-30 Roland McGrath <roland@hack.frob.com>
44354
44355 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44356 after defining inlines. Instead, just use parens to defeat macro
44357 expansion of __isctype in its declaration.
44358
44359 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44360
44361 * include/sys/uio.h (__libc_readv): Remove declaration.
44362 (__libc_writev): Likewise.
44363 * misc/readv.c (__libc_readv): Rename to __readv.
44364 (__readv): Do not define as alias.
44365 (readv): Define as alias of __readv.
44366 * misc/writev.c (__libc_writev): Rename to __writev.
44367 (__writev): Do not define as alias.
44368 (writev): Define as alias of __writev.
44369 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44370 (__readv): Do not define as alias.
44371 (readv): Define unconditionally as alias of __readv.
44372 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44373 (__writev): Do not define as alias.
44374 (writev): Define unconditionally as alias of __writev.
44375 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44376 name.
44377 (writev): Do not define __libc_writev name.
44378
44379 2014-10-30 Roland McGrath <roland@hack.frob.com>
44380
44381 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44382 (convert_charseq): New function, broken out of ...
44383 (use_from_charmap): ... here. Call it.
44384 (use_to_charmap): Use convert_charseq and free instead of duplicating
44385 its code with a variable-length stack struct.
44386
44387 2014-10-30 Joseph Myers <joseph@codesourcery.com>
44388
44389 * include/fcntl.h (__libc_creat): Remove declaration.
44390 * io/creat.c (__libc_creat): Rename to creat.
44391 (creat): Do not define as alias.
44392 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44393 of creat instead of __libc_creat.
44394 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44395 to creat.
44396 (creat): Do not define as alias.
44397 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44398 __libc_creat.
44399 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44400 __libc_creat name.
44401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44402 Likewise.
44403
44404 2014-10-29 Carlos O'Donell <carlos@redhat.com>
44405
44406 * manual/llio.texi: Add comments discussing why write() may be
44407 considered MT-unsafe on Linux.
44408
44409 2014-10-28 Carlos O'Donell <carlos@redhat.com>
44410
44411 * dl-load.c (local_strdup): Remove.
44412 (expand_dynamic_string_token): Use __strdup.
44413 (decompose_rpath): Likewise.
44414 (_dl_map_object): Likewise.
44415
44416 2014-10-28 Joseph Myers <joseph@codesourcery.com>
44417
44418 [BZ #14132]
44419 * sysdeps/generic/unwind-dw2-fde.c
44420 (__register_frame_info_bases_internal): Do not declare.
44421 (__register_frame_info_table_bases_internal): Likewise.
44422 (__deregister_frame_info_bases_internal): Likewise.
44423 (__register_frame_info_bases): Declare and use hidden_proto before
44424 definition. Use hidden_def instead of INTDEF.
44425 (__register_frame_info_table_bases): Likewise.
44426 (__deregister_frame_info_bases): Likewise.
44427 (__register_frame_info): Do not use INTUSE.
44428 (__register_frame): Likewise.
44429 (__register_frame_info_table): Likewise.
44430 (__register_frame_table): Likewise.
44431 (__deregister_frame_info): Likewise.
44432 (__deregister_frame): Likewise.
44433
44434 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
44435
44436 * sysdeps/unix/sysv/linux/arm/kernel-features.h
44437 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44438 not undefine.
44439 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44440 Likewise.
44441 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44442 Likewise.
44443
44444 2014-10-27 Joseph Myers <joseph@codesourcery.com>
44445
44446 [BZ #14138]
44447 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44448 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44449 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44450 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44451 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44452 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44453 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44454 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44455 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44456 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44457 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44458 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44459 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44460 syscall.
44461 (setfsuid): Likewise.
44462 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44463 (setfsuid): Likewise.
44464 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44465 (setfsuid): Likewise.
44466 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44467 Likewise.
44468 (setfsuid): Likewise.
44469 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44470 (setfsuid): Likewise.
44471 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44472 Likewise.
44473 (setfsuid): Likewise.
44474
44475 2014-10-27 Andreas Schwab <schwab@suse.de>
44476
44477 [BZ #17501]
44478 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44479 check for Slow_SSE4_2 feature bit.
44480 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44481 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44482 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44483 Likewise. Fix check for Fast_Unaligned_Load feature bit.
44484
44485 2014-10-24 Roland McGrath <roland@hack.frob.com>
44486
44487 * configure.ac: Validate compiler version with a empirical test of
44488 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44489 $CC -v output.
44490 * configure: Regenerated.
44491
44492 * inet/htons.c (htons): Prototypify.
44493 * inet/htonl.c (htonl): Likewise.
44494
44495 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44496
44497 * string/strncat.c (strncat): Improve performance by using strlen.
44498
44499 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44500
44501 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44502
44503 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44504
44505 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44506 Call libc_fetestexcept_aarch64.
44507
44508 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44509
44510 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44511 Call libc_feholdexcept_aarch64.
44512
44513 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44514
44515 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44516 Call get_rounding_mode.
44517
44518 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44519
44520 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44521 Simplify logic.
44522
44523 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
44524
44525 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44526 Simplify logic.
44527
44528 2014-10-24 Joseph Myers <joseph@codesourcery.com>
44529
44530 [BZ #14138]
44531 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44532 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44533 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44534 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44535 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44536 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44537 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44538 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44539 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44540 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44541 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44542 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44543 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44544 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44545 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44546 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44547 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44548 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44549 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44550 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44551 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44552 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44553 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44554 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44555 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44556 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44557 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44558 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44559 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44560 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44561 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44562 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44563 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44564 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44565 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44566 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44567 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44568 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44569 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44570 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44571 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44572 syscall.
44573 (geteuid): Likewise.
44574 (getgid): Likewise.
44575 (getuid): Likewise.
44576 (getresgid): Likewise.
44577 (getresuid): Likewise.
44578 (getgroups): Likewise.
44579 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44580 (geteuid): Likewise.
44581 (getgid): Likewise.
44582 (getuid): Likewise.
44583 (getresgid): Likewise.
44584 (getresuid): Likewise.
44585 (getgroups): Likewise.
44586 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44587 (geteuid): Likewise.
44588 (getgid): Likewise.
44589 (getuid): Likewise.
44590 (getresgid): Likewise.
44591 (getresuid): Likewise.
44592 (getgroups): Likewise.
44593 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44594 Likewise.
44595 (geteuid): Likewise.
44596 (getgid): Likewise.
44597 (getuid): Likewise.
44598 (getresgid): Likewise.
44599 (getresuid): Likewise.
44600 (getgroups): Likewise.
44601 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44602 (geteuid): Likewise.
44603 (getgid): Likewise.
44604 (getuid): Likewise.
44605 (getresgid): Likewise.
44606 (getresuid): Likewise.
44607 (getgroups): Likewise.
44608 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44609 Likewise.
44610 (geteuid): Likewise.
44611 (getgid): Likewise.
44612 (getuid): Likewise.
44613 (getgroups): Likewise.
44614
44615 [BZ #14138]
44616 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44617 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44618 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44619 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44620 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44622 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44623 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44624 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44625 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44626 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44627 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44628 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44629 __chown.
44630 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44631 (lchown): Likewise.
44632 (fchown): Likewise.
44633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44634 Likewise.
44635 (lchown): Likewise.
44636 (fchown): Likewise.
44637 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44638 (lchown): Likewise.
44639 (fchown): Likewise.
44640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44641 Likewise.
44642 (lchown): Likewise.
44643 (fchown): Likewise.
44644
44645 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44646
44647 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44648 Simplify logic.
44649
44650 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44651
44652 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44653 Cleanup logic.
44654
44655 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44656
44657 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44658 Remove unused include.
44659
44660 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
44661
44662 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
44663 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
44664 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
44665 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
44666
44667 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
44668 Helge Deller <deller@gmx.de>
44669
44670 [BZ #17508]
44671 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
44672 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
44673 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
44674
44675 2014-10-23 Joseph Myers <joseph@codesourcery.com>
44676
44677 [BZ #14132]
44678 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
44679 Remove macro definition.
44680 (__ashrdi3_v_glibc20): Likewise.
44681 (__lshrdi3_v_glibc20): Likewise.
44682 (__cmpdi2_v_glibc20): Likewise.
44683 (__ucmpdi2_v_glibc20): Likewise.
44684 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
44685 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44686 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44687 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44688 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44689 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
44690
44691 2014-10-22 Roland McGrath <roland@hack.frob.com>
44692
44693 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
44694 old GNU extension [0] syntax.
44695 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
44696 alloca rather than an array member with variable length.
44697 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
44698 * nscd/nscd.c (invalidate_db): New function, broken out of ...
44699 (parse_opt): ... here. Likewise use alloca there.
44700 Validate the -i argument before checking for rootness.
44701 (send_shutdown): New function, broken out of ...
44702 (parse_opt): ... here.
44703
44704 2014-10-22 Roland McGrath <roland@hack.frob.com>
44705
44706 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
44707 macro to get at the _rt_local_ro field.
44708 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
44709 ([PIC] case) or _dl_hwcap ([!PIC] case).
44710 * sysdeps/arm/setjmp.S: Likewise.
44711
44712 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
44713 * sysdeps/arm/configure.ac: New check to define it.
44714 * sysdeps/arm/configure: Regenerated.
44715 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
44716 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
44717 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
44718 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
44719 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
44720 Use move/movt pair instead of a load.
44721 (LDST_GLOBAL): Macro removed.
44722 (LDR_GLOBAL): New macro replaces it.
44723 (LDR_HIDDEN): New macro.
44724 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
44725 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
44726
44727 * setjmp/tst-setjmp-static.c: New file.
44728 * setjmp/Makefile (tests): Add it.
44729 (tests-static): New variable.
44730
44731 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
44732
44733 [BZ #17485]
44734 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
44735
44736 2014-10-21 Joseph Myers <joseph@codesourcery.com>
44737
44738 [BZ #14132]
44739 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
44740
44741 2014-10-21 Roland McGrath <roland@hack.frob.com>
44742
44743 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
44744
44745 2014-10-20 Roland McGrath <roland@hack.frob.com>
44746
44747 * io/fts.c (dirent_not_directory): New function.
44748 (fts_build): Call it.
44749
44750 2014-10-20 Roland McGrath <roland@hack.frob.com>
44751
44752 * nptl/version.c (__nptl_main): Use normal __write rather than
44753 INTERNAL_SYSCALL.
44754 (banner): Update copyright years.
44755
44756 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
44757 gettimeofday.
44758 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44759 * nptl/pthread_cond_timedwait.c: Likewise.
44760 * nptl/pthread_mutex_timedlock.c: Likewise.
44761 * nptl/sem_timedwait.c: Likewise.
44762
44763 * sysdeps/nptl/bits/libc-lock.h
44764 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44765 (__libc_lock_init_recursive): Return void, not 0.
44766 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
44767 (__libc_rwlock_init): Likewise.
44768 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
44769
44770 2014-10-20 Torvald Riegel <triegel@redhat.com>
44771
44772 [BZ #15215]
44773 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
44774 (__pthread_once_slow): ... here.
44775 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
44776 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44777
44778 2014-10-20 Torvald Riegel <triegel@redhat.com>
44779
44780 [BZ #15215]
44781 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44782 __PTHREAD_ONCE_FORK_GEN_INCR): New.
44783 * sysdeps/nptl/fork.c (__libc_fork): Use them.
44784 * nptl/pthread_once.c (__pthread_once): Likewise.
44785 Update comments.
44786
44787 2014-10-20 Joseph Myers <joseph@codesourcery.com>
44788
44789 [BZ #14138]
44790 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44791 name.
44792 (writev): Use __libc_writev as strong name.
44793 * sysdeps/unix/sysv/linux/readv.c: Remove file.
44794 * sysdeps/unix/sysv/linux/writev.c: Likewise.
44795
44796 2014-10-17 Roland McGrath <roland@hack.frob.com>
44797
44798 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44799
44800 * sysdeps/i386/nptl/tls.h
44801 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44802 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44803 New macros.
44804 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44805 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44806 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44807 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44808 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44809 Call CHECK_THREAD_SYSINFO instead of doing an assert.
44810
44811 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44812 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44813 on [__NR_futex].
44814 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44815 broken out of ...
44816 (__pthread_mutex_init): ... here. Call it.
44817 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44818 Conditionalize PI cases on [__NR_futex].
44819 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44820 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44821 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44822
44823 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44824 conditional on [SIGSETXID].
44825 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44826 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44827 is defined. Likewise for SIGSETXID.
44828 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44829 Conditionalize definitions on [SIGSETXID].
44830 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44831 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44832 unblocking on [SIGCANCEL].
44833
44834 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44835 [__NR_set_robust_list].
44836
44837 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44838
44839 * string/strcoll_l.c (get_next_seq): Fix up formatting.
44840 (do_compare): Likewise.
44841
44842 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
44843
44844 [BZ #15884]
44845 * string/strcoll_l.c: Don't include stdio.h.
44846 (coll_seq): Remove members idxarr and rulearr.
44847 (get_next_seq_cached): Remove function.
44848 (get_next_seq): Likewise.
44849 (get_next_seq_nocache): Rename to get_next_seq.
44850 (do_compare): Remove function.
44851 (do_compare_nocache): Rename to do_compare.
44852 (STRCOLL): Remove weight and rules cache.
44853
44854 2014-10-16 Roland McGrath <roland@hack.frob.com>
44855
44856 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44857 * sysdeps/arm/sfp-machine.h: ... to here.
44858 * sysdeps/arm/Implies: Remove arm/soft-fp.
44859
44860 2014-10-14 Joseph Myers <joseph@codesourcery.com>
44861
44862 * conform/data/sys/utsname.h-data (*_t): Allow.
44863 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44864 [POSIX] (WEXITED): Do not expect constant.
44865 [POSIX] (WSTOPPED): Likewise.
44866 [POSIX] (WNOHANG): Likewise.
44867 [POSIX] (WNOWAIT): Likewise.
44868 [POSIX] (siginfo_t): Do not expect type or elements.
44869 [POSIX] (pid_t): Do not expect type.
44870 [POSIX] (signal.h): Do not allow header.
44871 [POSIX] (sys/resource.h): Likewise.
44872 [POSIX] (si_*): Do not allow pattern.
44873 [POSIX] (W*): Likewise.
44874 [POSIX] (P_*): Likewise.
44875 [POSIX] (BUS_*): Likewise.
44876 [POSIX] (CLD_*): Likewise.
44877 [POSIX] (FPE_*): Likewise.
44878 [POSIX] (ILL_*): Likewise.
44879 [POSIX] (POLL_*): Likewise.
44880 [POSIX] (SEGV_*): Likewise.
44881 [POSIX] (SI_*): Likewise.
44882 [POSIX] (TRAP_*): Likewise.
44883 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44884 variable.
44885
44886 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
44887
44888 [BZ #12926]
44889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44890 infinite loop when __recvmsg returns 0.
44891
44892 2014-10-10 Joseph Myers <joseph@codesourcery.com>
44893
44894 * CANCEL-FCT-WAIVE: Remove file.
44895 * CANCEL-FILE-WAIVE: Likewise.
44896
44897 [BZ #14132]
44898 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44899 instead of INTVARDEF.
44900 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44901 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44902 rtld_hidden_data_def instead of INTVARDEF.
44903 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44904 * elf/dl-deps.c (expand_dst): Likewise.
44905 * elf/dl-load.c (_dl_dst_count): Likewise.
44906 (_dl_dst_substitute): Likewise.
44907 (decompose_rpath): Likewise.
44908 (_dl_init_paths): Likewise.
44909 (open_path): Likewise.
44910 (_dl_map_object): Likewise.
44911 * elf/rtld.c (dl_main): Likewise.
44912 (process_dl_audit): Likewise.
44913 (process_envvars): Likewise.
44914 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44915 Remove declaration.
44916 (__libc_enable_secure): Use rtld_hidden_proto.
44917
44918 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
44919
44920 * elf/dl-load.c
44921 (add_path): New function broken out of _dl_rtld_di_serinfo.
44922 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
44923
44924 2014-10-09 Joseph Myers <joseph@codesourcery.com>
44925
44926 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44927 parentheses around macro arguments.
44928 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44929 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44931 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44932 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44933 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44934 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44935 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44939 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44940 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44941 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44942 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44943 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44944 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44945 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44947 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44949 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44950 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44951 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44952 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44953 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44954 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44955 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44956 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44957 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44958 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44959 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44960 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44961 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44962 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44963 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44964 Likewise.
44965 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44966 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44967 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44968 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44969 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44970 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44971 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44972 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44973 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44974 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44975 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44976 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44977 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44980 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44981 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44984 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44985 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44986 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44987 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44988 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44989 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44990 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44991 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44992 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44993 (_FP_FRAC_SRS_1): Likewise.
44994 (_FP_FRAC_CLZ_1): Likewise.
44995 (_FP_MUL_MEAT_1_imm): Likewise.
44996 (_FP_MUL_MEAT_1_wide): Likewise.
44997 (_FP_MUL_MEAT_1_hard): Likewise.
44998 (_FP_SQRT_MEAT_1): Likewise.
44999 (_FP_FRAC_ASSEMBLE_1): Likewise.
45000 (_FP_FRAC_DISASSEMBLE_1): Likewise.
45001 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45002 (__FP_CLZ_2): Likewise.
45003 (_FP_MUL_MEAT_2_wide): Likewise.
45004 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45005 (_FP_MUL_MEAT_2_gmp): Likewise.
45006 (_FP_MUL_MEAT_2_120_240_double): Likewise.
45007 (_FP_SQRT_MEAT_2): Likewise.
45008 (_FP_FRAC_ASSEMBLE_2): Likewise.
45009 (_FP_FRAC_DISASSEMBLE_2): Likewise.
45010 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45011 (_FP_FRAC_CLZ_4): Likewise.
45012 (_FP_MUL_MEAT_4_wide): Likewise.
45013 (_FP_MUL_MEAT_4_gmp): Likewise.
45014 (_FP_SQRT_MEAT_4): Likewise.
45015 (_FP_FRAC_ASSEMBLE_4): Likewise.
45016 (_FP_FRAC_DISASSEMBLE_4): Likewise.
45017 * soft-fp/op-common.h (_FP_CMP): Likewise.
45018 (_FP_CMP_EQ): Likewise.
45019 (_FP_CMP_UNORD): Likewise.
45020 (_FP_TO_INT): Likewise.
45021 (_FP_FROM_INT): Likewise.
45022 [!__FP_CLZ] (__FP_CLZ): Likewise.
45023 (_FP_DIV_HELP_imm): Likewise.
45024 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45025 Likewise.
45026 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45028 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45030 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45031 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45032 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45035 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45036 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45037 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45038 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45039 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45040 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45041 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45042 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45044 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45046 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45054 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45055 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45056 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45057 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45058 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45059 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45060 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45061 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45062 (FP_UNPACK_RAW_SP): Likewise.
45063 (FP_PACK_RAW_S): Likewise.
45064 (FP_PACK_RAW_SP): Likewise.
45065 (FP_UNPACK_S): Likewise.
45066 (FP_UNPACK_SP): Likewise.
45067 (FP_UNPACK_SEMIRAW_S): Likewise.
45068 (FP_UNPACK_SEMIRAW_SP): Likewise.
45069 (FP_PACK_S): Likewise.
45070 (FP_PACK_SP): Likewise.
45071 (FP_PACK_SEMIRAW_S): Likewise.
45072 (FP_PACK_SEMIRAW_SP): Likewise.
45073 (_FP_SQRT_MEAT_S): Likewise.
45074 (FP_CMP_S): Likewise.
45075 (FP_CMP_EQ_S): Likewise.
45076 (FP_CMP_UNORD_S): Likewise.
45077 (FP_TO_INT_S): Likewise.
45078 (FP_FROM_INT_S): Likewise.
45079
45080 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45081
45082 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45083 (FP_EX_INVALID_IMZ): Likewise.
45084 (FP_EX_INVALID_IMZ_FMA): Likewise.
45085 (FP_EX_INVALID_ISI): Likewise.
45086 (FP_EX_INVALID_ZDZ): Likewise.
45087 (FP_EX_INVALID_IDI): Likewise.
45088 (FP_EX_INVALID_SQRT): Likewise.
45089 (FP_EX_INVALID_CVI): Likewise.
45090 (FP_EX_INVALID_VC): Likewise.
45091 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45092 "invalid" exceptions.
45093 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45094 (_FP_ADD_INTERNAL): Likewise.
45095 (_FP_MUL): Likewise.
45096 (_FP_FMA): Likewise.
45097 (_FP_DIV): Likewise.
45098 (_FP_CMP_CHECK_NAN): Likewise.
45099 (_FP_SQRT): Likewise.
45100 (_FP_TO_INT): Likewise.
45101 (FP_EXTEND): Likewise.
45102
45103 2014-10-09 Allan McRae <allan@archlinux.org>
45104
45105 * po/fr.po: Update French translation from translation project.
45106
45107 2014-10-09 Joseph Myers <joseph@codesourcery.com>
45108
45109 [BZ #14132]
45110 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45111 of INTDEF.
45112 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45113 (__cxa_atexit): Use libc_hidden_proto.
45114 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45115
45116 [BZ #14132]
45117 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45118 declaration.
45119 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45120 [!_ISOMAC] (__iswspace_l_internal): Likewise.
45121 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45122 [!_ISOMAC] (__iswctype_internal): Likewise.
45123 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45124 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45125 alias.
45126 (fcntl): Remove __fcntl_internal alias.
45127 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45128 __connect_internal alias.
45129 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45130 Likewise.
45131
45132 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45133 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45134 FP_DENORM_ZERO.
45135 (_FP_CHECK_FLUSH_ZERO): New macro.
45136 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45137 (_FP_CMP): Likewise.
45138 (_FP_CMP_EQ): Likewise.
45139 (_FP_TO_INT): Do not set inexact for subnormal arguments if
45140 FP_DENORM_ZERO.
45141 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45142 (FP_TRUNC): Likewise.
45143
45144 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45145 treated as invalid conversion, not as normal exponent.
45146
45147 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45148 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
45149 (_FP_CMP_EQ): Likewise.
45150 (_FP_CMP_UNORD): Likewise.
45151 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45152 (FP_CMP_EQ_D): Likewise.
45153 (FP_CMP_UNORD_D): Likewise.
45154 * soft-fp/extended.h (FP_CMP_E): Likewise.
45155 (FP_CMP_EQ_E): Likewise.
45156 (FP_CMP_UNORD_E): Likewise.
45157 * soft-fp/quad.h (FP_CMP_Q): Likewise.
45158 (FP_CMP_EQ_Q): Likewise.
45159 (FP_CMP_UNORD_Q): Likewise.
45160 * soft-fp/single.h (FP_CMP_S): Likewise.
45161 (FP_CMP_EQ_S): Likewise.
45162 (FP_CMP_UNORD_S): Likewise.
45163 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45164 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45165 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45166 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45167 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45168 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45169 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45170 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45171 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45172 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45173 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45174 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45175 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45176 to FP_CMP_Q.
45177 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45178 FP_CMP_Q.
45179 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45180 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45181 FP_CMP_EQ_Q.
45182 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45183 FP_CMP_Q.
45184 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45185 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45186 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45187 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45188 FP_CMP_EQ_Q.
45189 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45190 FP_CMP_Q.
45191 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45192 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45193 FP_CMP_EQ_Q.
45194 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45195 FP_CMP_Q.
45196 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45197 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45198 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45199 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45200 FP_CMP_EQ_Q.
45201
45202 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45203 a subnormal result, set the underflow exception if trapping on
45204 underflow is enabled.
45205 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45206 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45207 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45208 redefine to 0.
45209 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45210 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45211 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45212 * soft-fp/extendxftf2.c (__extendxftf2): Use
45213 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45214
45215 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45216 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45217 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45218 FP_HANDLE_EXCEPTIONS.
45219 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45220 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45221 FP_HANDLE_EXCEPTIONS.
45222 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45223 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45224 FP_HANDLE_EXCEPTIONS.
45225 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45226 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45227 FP_HANDLE_EXCEPTIONS.
45228
45229 2014-10-08 Joseph Myers <joseph@codesourcery.com>
45230
45231 [BZ #14132]
45232 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45233 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45234 use INTUSE.
45235 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45236 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45237 Remove alias.
45238 (__adjtimex): Define using libc_hidden_ver.
45239 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45240 Remove declaration.
45241 (ntp_gettime): Call __adjtimex directly.
45242 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45243 Remove declaration.
45244 (ntp_gettimex): Call __adjtimex directly.
45245 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45246 __adjtimex_internal alias.
45247
45248 2014-10-08 Roland McGrath <roland@hack.frob.com>
45249
45250 [BZ #17460]
45251 * nscd/nscd.c (more_help): Rewrite list of tables collection
45252 using xstrdup and asprintf.
45253
45254 * nscd/nscd_conf.c: Remove local xstrdup declaration.
45255
45256 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45257 Roland McGrath <roland@hack.frob.com>
45258
45259 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45260 (do_lookup_unique): ... local function 'enter' here; update callers.
45261
45262 2014-10-06 Joseph Myers <joseph@codesourcery.com>
45263
45264 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45265 compat_symbol calls on [SHARED].
45266 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45267 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45268 Remove.
45269 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45270 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45271 (oldsetrlimit): Remove.
45272 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45274 (lchown): New syscall entry.
45275 (oldsetrlimit): Remove.
45276 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45278 (oldsetrlimit): Remove.
45279 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45280
45281 [BZ #14138]
45282 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45283 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45284 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45285 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45286 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45287 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45288 (fchown): Likewise.
45289 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45290 (fchown): Likewise.
45291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45292 Likewise.
45293
45294 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45295
45296 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45297 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45298 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45299 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45300 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45301 Likewise.
45302 (__old_sem_post): Likewise.
45303
45304 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
45305
45306 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45307 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45308 HAVE_CLOCK_GETTIME_VSYSCALL macros.
45309 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45310 Use INLINE_VSYSCALL macro.
45311 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45312 __vdso_clock_gettime.
45313 * sysdeps/unix/sysv/linux/tile/init-first.c
45314 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45315 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45316 __vdso_clock_gettime.
45317
45318 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45319 to set up frame more cleanly.
45320
45321 * sysdeps/tile/memcmp.c: New file.
45322
45323 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45324
45325 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45326 * sysdeps/tile/tilegx/strcasestr.c: New file.
45327 * sysdeps/tile/tilegx/strnlen.c: New file.
45328 * sysdeps/tile/tilegx/strstr.c: New file.
45329
45330 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45331
45332 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
45333
45334 * nptl/tst-setuid3.c: Write errors to stdout.
45335
45336 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45337
45338 * elf/dl-deps.c
45339 (preload): New functions broken out of _dl_map_object_deps.
45340 (_dl_map_object_deps): Remove a nested function. Update call sites.
45341
45342 2014-10-01 Joseph Myers <joseph@codesourcery.com>
45343
45344 [BZ #14138]
45345 * sysdeps/unix/sysv/linux/execve.c: Remove file.
45346 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45347
45348 2014-10-01 Steve Ellcey <sellcey@mips.com>
45349
45350 * sysdeps/mips/strcmp.S: New.
45351
45352 2014-09-30 Joseph Myers <joseph@codesourcery.com>
45353
45354 [BZ #14138]
45355 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45356 (linkat): Likewise.
45357 (mkdirat): Likewise.
45358 (readlinkat): Likewise.
45359 (renameat): Likewise.
45360 (symlinkat): Likewise.
45361 (unlinkat): Likewise.
45362 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45363 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45364 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45365 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45366 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45367 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45368 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45369
45370 2014-09-30 Will Newton <will.newton@linaro.org>
45371
45372 * math/math.h: Define long double math functions if
45373 _LIBC_TEST is defined.
45374 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45375
45376 * localedata/Makefile: Move assignment to tests-special
45377 into an ifdef testing run-built-tests.
45378 * timezone/Makefile: Likewise.
45379
45380 2014-09-29 Joseph Myers <joseph@codesourcery.com>
45381
45382 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45383 with $(BASH) not $(SHELL).
45384
45385 2014-09-29 Carlos O'Donell <carlos@redhat.com>
45386 Matthew LeGendre <legendre1@llnl.gov>
45387
45388 [BZ #17411]
45389 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45390 l_reloc_result.
45391
45392 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45393
45394 * stdio-common/printf_fp.c
45395 (hack_digit): New function, broken out of ...
45396 (__printf_fp): ... local function here. Update call sites.
45397 hack_digit now takes an additional parameter that is a pointer
45398 to a struct of the referenced locals. Those locals moved inside
45399 the struct and references updated.
45400
45401 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
45402
45403 * aclocal.m4: Require autoconf 2.69.
45404 * configure: Regenerated.
45405 * sysdeps/aarch64/configure: Likewise.
45406 * sysdeps/alpha/configure: Likewise.
45407 * sysdeps/arm/armv7/configure: Likewise.
45408 * sysdeps/arm/configure: Likewise.
45409 * sysdeps/ia64/configure: Likewise.
45410 * sysdeps/mach/configure: Likewise.
45411 * sysdeps/mips/configure: Likewise.
45412 * sysdeps/s390/configure: Likewise.
45413 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45415
45416 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45417 file.
45418 * sysdeps/ia64/configure.ac: Likewise.
45419
45420 2014-09-26 Joseph Myers <joseph@codesourcery.com>
45421
45422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45423 specify symbol version for ld.so. Do not include entry for
45424 libpthread.
45425 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45427 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45428
45429 [BZ #14171]
45430 * Makeconfig [$(build-shared) = yes]
45431 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45432 makefiles.
45433 [$(build-shared) = yes && $(soversions.mk-done) = t]
45434 ($(common-objpfx)gnu/lib-names.h): Remove rule.
45435 [$(build-shared) = yes && $(soversions.mk-done) = t]
45436 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
45437 to Makerules.
45438 [$(build-shared) = yes && $(soversions.mk-done) = t]
45439 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45440 here.
45441 [$(build-shared) = yes && $(soversions.mk-done) = t]
45442 (common-generated): Don't append gnu/lib-names.h and
45443 gnu/lib-names.stmp here.
45444 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45445 (lib-names-h-abi): New variable.
45446 [$(build-shared) = yes && $(soversions.mk-done) = t]
45447 (lib-names-stmp-abi): Likewise.
45448 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45449 abi-variants] (before-compile): Append
45450 $(common-objpfx)$(lib-names-h-abi).
45451 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45452 abi-variants] (common-generated): Append gnu/lib-names.h.
45453 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45454 abi-variants] (install-others-nosubdir): Depend on
45455 $(inst_includedir)/$(lib-names-h-abi).
45456 [$(build-shared) = yes && $(soversions.mk-done) = t &&
45457 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45458 [$(build-shared) = yes && $(soversions.mk-done) = t]
45459 ($(common-objpfx)$(lib-names-h-abi)): New rule.
45460 [$(build-shared) = yes && $(soversions.mk-done) = t]
45461 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45462 [$(build-shared) = yes && $(soversions.mk-done) = t]
45463 (common-generated): Append $(lib-names-h-abi) and
45464 $(lib-names-stmp-abi).
45465 * scripts/lib-names.awk: Do not handle multi being set.
45466 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45467 Remove variable.
45468 (abi-lp64_be-ld-soname): Likewise.
45469 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45470 Likewise.
45471 (abi-hard-ld-soname): Likewise.
45472 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45473 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45474 Remove variable.
45475 (abi-o32_hard-ld-soname): Likewise.
45476 (abi-o32_soft_2008-ld-soname): Likewise.
45477 (abi-o32_hard_2008-ld-soname): Likewise.
45478 (abi-n32_soft-ld-soname): Likewise.
45479 (abi-n32_hard-ld-soname): Likewise.
45480 (abi-n32_soft_2008-ld-soname): Likewise.
45481 (abi-n32_hard_2008-ld-soname): Likewise.
45482 (abi-n64_soft-ld-soname): Likewise.
45483 (abi-n64_hard-ld-soname): Likewise.
45484 (abi-n64_soft_2008-ld-soname): Likewise.
45485 (abi-n64_hard_2008-ld-soname): Likewise.
45486 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45487 Likewise.
45488 (abi-64-v2-ld-soname): Likewise.
45489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45490 ld.so entries.
45491 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45492 variable.
45493 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45494 entry.
45495 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45496 variable.
45497 (abi-64-ld-soname): Likewise.
45498 (abi-x32-ld-soname): Likewise.
45499 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45500 entry.
45501 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45502
45503 2014-09-23 Joseph Myers <joseph@codesourcery.com>
45504
45505 [BZ #14138]
45506 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45507 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45508 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45509 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45510 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45511 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45512 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45513 syscall entry for GLIBC_2.2 symbol version.
45514 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45515 Likewise.
45516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45517 (setrlimit): Likewise.
45518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45519 Likewise.
45520
45521 2014-09-23 Will Newton <will.newton@linaro.org>
45522
45523 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45524 _LINUX_ARM_SYSDEP_H include guard too.
45525 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45526 define.
45527
45528 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
45529
45530 * sysdeps/unix/sysv/linux/eventfd.c:
45531 Make first argument unsigned.
45532 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45533 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45534
45535 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
45536
45537 [BZ #16852]
45538 * socket/recvmmsg.c (recvmmsg): Drop const argument.
45539 * socket/sys/socket.h: Likewise.
45540 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45541
45542 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45543
45544 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45545
45546 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
45547
45548 * time/tst-ftime.c: New test.
45549 * time/Makefile (tests): Add tst-ftime.
45550
45551 2014-09-17 Joseph Myers <joseph@codesourcery.com>
45552
45553 * soft-fp/extended.h: Fix comment formatting.
45554 * soft-fp/op-1.h: Likewise.
45555 * soft-fp/op-2.h: Likewise.
45556 * soft-fp/op-4.h: Likewise.
45557 * soft-fp/op-8.h: Likewise.
45558 * soft-fp/op-common.h: Likewise.
45559 * soft-fp/soft-fp.h: Likewise.
45560
45561 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45562
45563 2014-09-16 Joseph Myers <joseph@codesourcery.com>
45564
45565 [BZ #6652]
45566 * Makeconfig (soversions-default-setname): Remove variable.
45567 ($(common-objpfx)soversions.i): Don't pass default_setname to
45568 soversions.awk.
45569 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45570 oldest_abi to abi-versions.awk.
45571 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45572 * config.make.in (oldest-abi): Remove variable.
45573 * configure.ac (--enable-oldest-abi): Remove configure option.
45574 * configure: Regenerated.
45575 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45576 text.
45577 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45578 * scripts/soversions.awk: Do not handle default_setname variable.
45579 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45580 variable.
45581 * sysdeps/mach/hurd/configure: Regenerated.
45582 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45583 variable.
45584 * sysdeps/unix/sysv/linux/configure: Regenerated.
45585
45586 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45587
45588 * elf/Makefile (CFLAGS-interp.c): Remove.
45589 ($(elf-objpfx)runtime-linker.h): Generate header with linker
45590 path string.
45591 * elf/interp.c: Include generated runtime-linker.h
45592
45593 * Makerules (lib%.so): Don't include $(+interp) in
45594 prerequisites.
45595 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45596 * dlfcn/eval.c: Remove file.
45597
45598 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45599 macros.
45600
45601 [BZ #17266]
45602 * misc/sys/cdefs.h: Define __extern_always_inline for clang
45603 4.2 and newer.
45604
45605 [BZ #17370]
45606 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45607
45608 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
45609 Jakub Jelinek <jakub@redhat.com>
45610
45611 [BZ #17266]
45612 * libio/stdio.h: Check definition of __fortify_function
45613 instead of __extern_always_inline to include bits/stdio2.h.
45614 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45615 check if __extern_always_inline is defined.
45616 [__USE_MISC || __USE_XOPEN]: Likewise.
45617 [__USE_ISOC99] Likewise.
45618 * misc/sys/cdefs.h (__fortify_function): Define only if
45619 __extern_always_inline is defined.
45620 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45621 __extern_always_inline and __extern_inline only for g++-4.3
45622 and newer or a compatible gcc.
45623
45624 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
45625
45626 [BZ #17371]
45627 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45628 last change to handle zero prefix length.
45629
45630 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
45631
45632 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45633 _SC_REGEX_VERSION.
45634
45635 * posix/getconf.c (vars): Add _POSIX_IPV6 and
45636 _POSIX_RAW_SOCKETS.
45637
45638 2014-09-13 Allan McRae <allan@archlinux.org>
45639
45640 * po/ru.po: Update Russian translation from translation project.
45641
45642 2014-09-12 Roland McGrath <roland@hack.frob.com>
45643
45644 * locale/programs/locale.c (show_locale_vars): Inline local function
45645 into its sole call site. Clean up some style nits.
45646 (print_item): New function, broken out of ...
45647 (show_info): ... local function here. Clean up style nits.
45648
45649 * locale/programs/ld-ctype.c (set_one_default): New function, broken
45650 out of ...
45651 (set_class_defaults): ... local function set_default here.
45652 Define set_default as a macro locally to pass constant parameters.
45653 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45654 rather than a shared local.
45655
45656 * stdlib/rpmatch.c (try): New function, broken out of ...
45657 (rpmatch): ... local function here. Also, prototypify definition.
45658
45659 2014-09-12 Joseph Myers <joseph@codesourcery.com>
45660
45661 * scripts/soversions.awk: Do not handle configuration names.
45662 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
45663 vendor and os variables to soversions.awk.
45664 * configure.ac: Do not modify gnu-* host_os.
45665 * configure: Regenerated
45666 * shlib-versions: Remove first column with configuration names.
45667 * nptl/shlib-versions: Likewise.
45668 * nptl_db/shlib-versions: Likewise.
45669 * sysdeps/hppa/shlib-versions: Likewise.
45670 * sysdeps/m68k/shlib-versions: Likewise.
45671 * sysdeps/mach/hurd/shlib-versions: Likewise.
45672 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
45673 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
45674 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
45675 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
45676 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
45677 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
45678 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
45679 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
45680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45681 Likewise.
45682 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45683 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45684 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45685 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45686 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45687 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
45688 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45689 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45690
45691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45692 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
45693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45694 Regenerated.
45695 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
45696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45697 Condition symbol version definitions on [HAVE_ELFV2_ABI].
45698
45699 * shlib-versions: Remove OS-specific entries. Moved to files in
45700 sysdeps.
45701 * sysdeps/mach/hurd/shlib-versions: New file.
45702 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45703
45704 * nptl/shlib-versions: Remove architecture-specific entries.
45705 Moved to files in sysdeps.
45706 * shlib-versions: Likewise.
45707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
45708 file.
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/sparc/sparc32/shlib-versions: Likewise.
45712 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45713
45714 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
45715 (UDP_NO_CHECK6_RX): Likewise.
45716
45717 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45718
45719 * sysdeps/posix/sysconf.c (__sysconf): Spell
45720 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
45721
45722 2014-08-12 Florian Weimer <fweimer@redhat.com>
45723
45724 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
45725 loading.
45726 * iconv/Versions (__gconv_transliterate): Export for use from
45727 gconv modules.
45728 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
45729 (struct __gconv_trans_data, __gconv_trans_fct,
45730 __gconv_trans_context_fct, __gconv_trans_query_fct,
45731 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
45732 definitions.
45733 (struct __gconv_step_data): Remove __trans member.
45734 (__gconv_transliterate): Declaration moved from gconv_int.h. No
45735 longer hidden. Remove unused trans_data argument.
45736 * iconv/gconv_int.h (struct trans_struct): Remove definition.
45737 (__gconv_translit_find): Remove declaration.
45738 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
45739 prototype.
45740 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45741 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
45742 trans_data argument. Add hidden definition.
45743 (__gconv_translit_find): Remove.
45744 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
45745 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45746 * iconv/skeleton.c: Remove transliteration initialization.
45747 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
45748 __gconv_step_data initialization.
45749 * libio/iofwide.c (__libio_translit_): Remove.
45750 (_IO_fwide): Adjust struct __gconv_step_data initialization.
45751 * wcsmbs/btowc.c (__btowc): Likewise.
45752 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45753 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45754 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
45755 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45756 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
45757 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
45758 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
45759 * wcsmbs/wctob.c (wctob): Likewise.
45760
45761 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
45762
45763 [BZ #16194]
45764 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
45765 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
45766 register usage.
45767 * sysdeps/x86/Makefile: Adjust.
45768
45769 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
45770 Roland McGrath <roland@hack.frob.com>
45771
45772 * locale/weight.h: Add include guard.
45773 (findidx): Make static rather than auto; take new parameters
45774 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
45775 * locale/weightwc.h: Likewise.
45776 * posix/fnmatch_loop.c
45777 (FCT): Change type of EXTRA from int32_t to wint_t.
45778 Don't include either header inside the function.
45779 Call FINDIDX rather than findidx, and pass new arguments.
45780 #undef FINDIDX at the end of the file.
45781 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45782 FINDIDX before including fnmatch_loop.c for the non-wide version.
45783 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45784 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45785 for the wide version.
45786 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45787 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45788 Pass new arguments to findidx.
45789 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45790 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45791 Don't #include it inside the function. Pass new arguments to findidx.
45792 * posix/regex_internal.h
45793 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45794 (re_string_elem_size_at): Don't #include it inside the function.
45795 Pass new arguments to findidx.
45796 * string/strcoll_l.c: #include WEIGHT_H at top level.
45797 (get_next_seq): Don't #include it inside the function.
45798 Pass new arguments to findidx.
45799 (get_next_seq_nocache): Likewise.
45800 * string/strxfrm_l.c: #include WEIGHT_H at top level.
45801 (STRXFRM): Don't #include it inside the function.
45802 Pass new arguments to findidx.
45803
45804 2014-09-11 Florian Weimer <fweimer@redhat.com>
45805
45806 [BZ #17344]
45807 * malloc/malloc.c (unlink): Turn asserts into a call to
45808 malloc_printerr.
45809
45810 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
45811
45812 [BZ #17370]
45813 * libio/wfileops (do_ftell_wide): Free OUT.
45814
45815 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
45816
45817 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45818
45819 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45820
45821 [BZ #17363]
45822 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45823 group if the current group is empty.
45824
45825 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45826
45827 * benchtests/bench-memset.c (test_main): Add more test from size
45828 from 32 to 512 bytes.
45829 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45830 Add POWER8 memset object.
45831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45832 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45833 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45834 implementation.
45835 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45836 Likewise.
45837 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45838 multiarch POWER8 memset optimization.
45839 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45840 POWER8 memset optimization.
45841
45842 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45843 Remove bzero multiarch objects.
45844 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45845 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45846 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45847 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45848 Remove define.
45849 [__bzero]: Redefine to specific name.
45850 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45851 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45852 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45853 define.
45854 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45855 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45856
45857 2014-09-10 Florian Weimer <fweimer@redhat.com>
45858
45859 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45860 warnings into errors.
45861
45862 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45863 __cxa_thread_atexit_impl prototype.
45864
45865 2014-09-09 Steve Ellcey <sellcey@mips.com>
45866
45867 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45868 Fix capitalization of error message.
45869
45870 2014-09-09 Steve Ellcey <sellcey@mips.com>
45871
45872 * sysdeps/mips/preconfigure: Modify ABI tests.
45873
45874 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
45875
45876 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45877
45878 2014-09-07 Roland McGrath <roland@hack.frob.com>
45879 Carlos O'Donell <carlos@systemhalted.org>
45880
45881 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45882 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45883 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45884 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45885 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45886 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45887 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45888 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45889 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45890 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45892 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45893 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45894 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45895 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45896 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45897 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45898 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45899 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45900 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45901 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45902 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45903 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45904 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45905 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45906 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45907 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45908 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45909 Deconditionalize the code that was previously under [RESET_PID].
45910 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45911 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45912 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45913 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45914 include sysdep.h.
45915
45916 2014-09-08 Allan McRae <allan@archlinux.org>
45917
45918 * version.h (RELEASE): Set to "development".
45919 (VERSION): Set to "2.20.90"
45920
45921 2014-09-07 Allan McRae <allan@archlinux.org
45922
45923 * version.h (RELEASE): Set to "stable".
45924 (VERSION): Set to "2.20"
45925 * include/features.h (__GLIBC_MINOR__): Set to 20.
45926
45927 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45928 Liebler.
45929
45930 * po/ko.po: Update Korean translation from translation project.
45931
45932 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
45933
45934 [BZ #17354]
45935 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45936 macro for handling signed relocations.
45937
45938 2014-09-03 Florian Weimer <fweimer@redhat.com>
45939
45940 [BZ #17325]
45941 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45942 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45943 assert.
45944 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45945 * iconvdata/ibm935.c (BODY): Likewise.
45946 * iconvdata/ibm937.c (BODY): Likewise.
45947 * iconvdata/ibm939.c (BODY): Likewise.
45948 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45949 assert.
45950 * iconvdata/Makefile (iconv-test.out): Pass module list to test
45951 script.
45952 * iconvdata/run-iconv-test.sh: New test loop for checking for
45953 decoder crashers.
45954
45955 2014-09-02 Khem Raj <raj.khem@gmail.com>
45956
45957 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45958 libm_hidden_ver.
45959
45960 2014-09-01 Allan McRae <allan@archlinux.org>
45961
45962 * po/eo.po: Update Esperanto translation from translation project.
45963
45964 * po/ca.po: Update Catalan translation from translation project.
45965
45966 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
45967
45968 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45969 __proc_dostop call.
45970
45971 2014-08-27 Mark Wielaard <mjw@redhat.com>
45972
45973 [BZ #17319]
45974 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45975 to call set_thread_area instead of hand written asm.
45976 (__NR_set_thread_area): Removed define.
45977 (TLS_FLAG_WRITABLE): Likewise.
45978 (__ASSUME_SET_THREAD_AREA): Remove check.
45979 (TLS_EBX_ARG): Remove define.
45980 (TLS_LOAD_EBX): Likewise.
45981
45982 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
45983
45984 Simplify atomicity of socket creation in bind.
45985
45986 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45987 looking up the name after linking the file.
45988
45989 2014-08-27 Allan McRae <allan@archlinux.org>
45990
45991 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45992
45993 2014-08-26 Florian Weimer <fweimer@redhat.com>
45994
45995 [BZ #17187]
45996 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45997 trans_compare, open_translit, __gconv_translit_find):
45998 Remove module loading code.
45999
46000 2014-08-26 Allan McRae <allan@archlinux.org>
46001
46002 * po/vi.po: Update Vietnamese translation from translation project.
46003
46004 * po/uk.po: Update Ukrainian translation from translation project.
46005
46006 * po/fr.po: Update French translation from translation project.
46007
46008 * po/ru.po: Update Russian translation from translation project.
46009
46010 * po/pl.po: Update Polish translation from translation project.
46011
46012 * po/cs.po: Update Czech translation from translation project.
46013
46014 * po/de.po: Update German translation from translation project.
46015
46016 * po/bg.po: Update Bulgarian translation from translation project.
46017
46018 * po/sv.po: Update Sweedish translation from translation project.
46019
46020 * po/nl.po: Update Dutch translation from translation project.
46021
46022 * po/es.po: Update Spanish translation from translation project.
46023
46024 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46025
46026 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46027
46028 * catgets/Makefile (CPPFLAGS-gencat): Remove.
46029 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46030 (CPPFLAGS-iconvconfig): Likewise.
46031 * timezone/Makefile (CPPFLAGS-zic): Likewise.
46032
46033 * include/libc-symbols.h: Remove unnecessary check for
46034 NOT_IN_libc.
46035 * nptl/pthreadP.h: Likewise.
46036 * sysdeps/aarch64/setjmp.S: Likewise.
46037 * sysdeps/alpha/setjmp.S: Likewise.
46038 * sysdeps/arm/sysdep.h: Likewise.
46039 * sysdeps/i386/setjmp.S: Likewise.
46040 * sysdeps/m68k/setjmp.c: Likewise.
46041 * sysdeps/posix/getcwd.c: Likewise.
46042 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46043 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46044 * sysdeps/s390/s390-32/setjmp.S: Likewise.
46045 * sysdeps/s390/s390-64/setjmp.S: Likewise.
46046 * sysdeps/sh/sh3/setjmp.S: Likewise.
46047 * sysdeps/sh/sh4/setjmp.S: Likewise.
46048 * sysdeps/unix/alpha/sysdep.h: Likewise.
46049 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46050 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46051 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46052 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46057 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46060 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46062 * sysdeps/x86_64/setjmp.S: Likewise.
46063
46064 2014-08-13 Joseph Myers <joseph@codesourcery.com>
46065
46066 [BZ #17263]
46067 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46068 <stdint.h>.
46069 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46070 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46071
46072 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46073
46074 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46075
46076 [BZ #17262]
46077 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46078 and __x86_64__ when disabling x87 inline functions.
46079
46080 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
46081
46082 [BZ #17259]
46083 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46084 asm statement with __cpuid_count.
46085
46086 2014-08-12 Mike Frysinger <vapier@gentoo.org>
46087
46088 * configure.ac: Change __ehdr_start code to dereference the struct.
46089 Run readelf on the output to look for relocations.
46090 * configure: Regenerated.
46091
46092 2014-08-12 Joseph Myers <joseph@codesourcery.com>
46093
46094 [BZ #17261]
46095 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46096 value to 0.
46097 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46098
46099 2014-08-12 Roland McGrath <roland@hack.frob.com>
46100
46101 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46102
46103 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
46104
46105 [BZ #16892]
46106 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46107 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46108
46109 2014-08-12 Sean Anderson <seanga2@gmail.com>
46110
46111 * malloc/malloc.c: Fix typo in comment.
46112
46113 2014-08-09 Allan McRae <allan@archlinux.org>
46114
46115 * Regenerate libc.po.
46116
46117 2014-08-08 Mike Frysinger <vapier@gentoo.org>
46118
46119 * intl/tst-gettext2.sh: Check every lang file for creation.
46120
46121 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46122
46123 * sysdeps/aarch64/fpu/math_private.h
46124 (libc_feholdsetround_noex_aarch64_ctx): New function.
46125
46126 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
46127
46128 * sysdeps/arm/armv6/strcpy.S (strcpy):
46129 Fix performance issue in misaligned cases.
46130
46131 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46132
46133 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46134 Move definition from termios.h.
46135 (struct termio): Likewise.
46136 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46137 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46138 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46139 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46140 Likewise.
46141 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46142 Move definition to ioctl-types.h
46143 (struct termio): Likewise.
46144 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46145 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46146 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46147 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46148 Likewise.
46149
46150 2014-08-05 Richard Henderson <rth@redhat.com>
46151
46152 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46153 exceptions.
46154 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46155 Add fraiseexcpt.
46156 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46157 Use __feraiseexcept.
46158 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46159 Protect libm symbols with IS_IN_libm.
46160
46161 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46162
46163 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
46164
46165 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46166
46167 2014-08-04 Will Newton <will.newton@linaro.org>
46168
46169 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46170 file.
46171
46172 2014-08-04 Mike Frysinger <vapier@gentoo.org>
46173
46174 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46175 variants for each function.
46176
46177 2014-08-04 Roland McGrath <roland@hack.frob.com>
46178
46179 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46180 appended ...
46181 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46182 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46183 appended ...
46184 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46185 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46186 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46187 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46188 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46189 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46190 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46191 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46192 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46193 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46194 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46195 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46196 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46197 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46198 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46199 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46200 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46201 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46202 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46203 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46204 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46205 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46206 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46207 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46208 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46209 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46210 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46211 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46212 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46213 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46214 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46215 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46216 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46217 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46218 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46219 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46220 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46221 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46222 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46223 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46224 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46226 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46228 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46230 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46231 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46232 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46233 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46234 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46235 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46236 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46237 Update #include.
46238 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46239 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46240
46241 2014-08-04 Roland McGrath <roland@hack.frob.com>
46242
46243 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46244 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46245 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46246 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46247 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46248 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46249
46250 2014-08-04 Roland McGrath <roland@hack.frob.com>
46251
46252 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46253 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46254 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46255 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46256
46257 2014-08-04 Roland McGrath <roland@hack.frob.com>
46258
46259 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46260 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46261 (__libc_vfork): Define function under this name.
46262 (__vfork): Define as an alias.
46263 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46264 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46265
46266 2014-08-04 Roland McGrath <roland@hack.frob.com>
46267
46268 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46269 that was previously under [RESET_PID].
46270 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46271
46272 2014-08-04 Andreas Schwab <schwab@suse.de>
46273
46274 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46275
46276 2014-08-03 Mike Frysinger <vapier@gentoo.org>
46277
46278 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46279 (main): Likewise.
46280
46281 2014-08-01 Roland McGrath <roland@hack.frob.com>
46282
46283 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46284
46285 2014-08-01 Richard Henderon <rth@redhat.com>
46286
46287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46288 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46289 typo in exact zero test.
46290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46291 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46293
46294 2014-08-01 Roland McGrath <roland@hack.frob.com>
46295
46296 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46297 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46298 * sysdeps/arm/sysdep.h: ... here.
46299 [!__ASSEMBLER__]: Include <stdint.h>.
46300
46301 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
46302
46303 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46304 (HAVE_WCTYPE_H): Likewise.
46305 (HAVE_ISWCTYPE): Likewise.
46306 (ENABLE_NLS): Likewise.
46307 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46308 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46309
46310 * posix/regex_internal.c: Check if DEBUG is defined and is
46311 set.
46312
46313 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46314 (HAVE_MBSRTOWCS): Likewise.
46315 * posix/fnmatch.c: Include string.h unconditionally.
46316
46317 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
46318
46319 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46320 reversal.
46321
46322 2014-07-31 Roland McGrath <roland@hack.frob.com>
46323
46324 * sysdeps/generic/safe-fatal.h: New file.
46325 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46326 * nptl/forward.c: Include it.
46327 (__pthread_unwind): Use __safe_fatal as default action, rather
46328 than a bogus use of INTERNAL_SYSCALL that could never work.
46329
46330 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46331 * configure.ac (libc_cv_builtin_trap): New test.
46332 * configure: Regenerated.
46333 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46334 (ABORT_INSTRUCTION): Define using __builtin_trap.
46335
46336 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46337 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46338 * sysdeps/nptl/nptl-signals.h: New file.
46339 * nptl/pthreadP.h: Include <nptl-signals.h>.
46340
46341 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46342
46343 * sysdeps/s390/s390-64/utf16-utf32-z9.c
46344 (ONE_DIRECTION): Define.
46345 * sysdeps/s390/s390-64/utf8-utf16-z9.c
46346 (ONE_DIRECTION): Define.
46347 * sysdeps/s390/s390-64/utf8-utf32-z9.c
46348 (ONE_DIRECTION): Define.
46349
46350 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
46351
46352 * sysdeps/s390/Makefile: Delete file.
46353 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46354 * sysdeps/s390/__longjmp.c: Delete file.
46355 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46356 Remove fields __flags and __reserved.
46357 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46358 and add versioning.
46359 * sysdeps/s390/rtld-__longjmp.c: Delete file.
46360 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46361 * sysdeps/s390/rtld-setjmp.S: Likewise.
46362 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46363 * sysdeps/s390/s390-32/__longjmp.c: ... here.
46364 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46365 * sysdeps/s390/s390-32/setjmp.S: ... here.
46366 Add versioning.
46367 (__sigsetjmp): Remove setting __flags field.
46368 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46369 * sysdeps/s390/s390-64/__longjmp.c: ... here.
46370 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46371 * sysdeps/s390/s390-64/setjmp.S: ... here.
46372 Add versioning.
46373 (__sigsetjmp): Remove setting __flags field.
46374 * sysdeps/s390/setjmp.S: Delete file.
46375 * sysdeps/s390/sigjmp.c: Likewise.
46376 * sysdeps/s390/v1-longjmp.c: Likewise.
46377 * sysdeps/s390/v1-setjmp.h: Likewise.
46378 * sysdeps/s390/v1-sigjmp.c: Likewise.
46379 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46380 Remove v1-longjmp_chk.
46381 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46382 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46383 Include debug/longjmp_chk.c and add versioning.
46384 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46385 Include nptl/pt-longjmp.c and add versioning.
46386 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46387 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46388 Include __longjmp.c.
46389 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46390 Move to ...
46391 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46392 (__getcontext): Remove setting __flags field.
46393 Add versioning.
46394 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46395 Don't restore upper high grps.
46396 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46397 Likewise.
46398 (__swapcontext): Remove setting uc_flags field.
46399 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46400 Delete file.
46401 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46402 Include __longjmp.c.
46403 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46404 Move to ...
46405 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46406 (__getcontext): Remove setting __flags field.
46407 Add versioning.
46408 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46409 (__swapcontext): Remove setting uc_flags field.
46410 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46411 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46412 Remove fields uc_high_gprs and __reserved.
46413 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46414 New file with reverted content.
46415 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46416 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46417 Regenerated.
46418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46419 Regenerated.
46420
46421 2014-07-31 Andreas Schwab <schwab@suse.de>
46422
46423 * config.h.in (HAVE_IFUNC): Define to 0.
46424 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46425 definedness.
46426
46427 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
46428
46429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46430 memmove-avx-unaligned, memcpy-avx-unaligned and
46431 mempcpy-avx-unaligned.
46432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46433 Add tests for AVX memcpy functions.
46434 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46435 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46436 memcpy_chk.
46437 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46438 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46439 memmove_chk.
46440 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46441 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46442 mempcpy_chk.
46443 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46444 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46445 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46446
46447 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46448
46449 [BZ #17213]
46450 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46451 powerpc64le.
46452
46453 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
46454
46455 [BZ #16839]
46456 * manual/llio.texi: Add section about open file description locks.
46457 * manual/examples/ofdlocks.c: Example of open file description
46458 lock usage.
46459 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46460 F_OFD_SETLK, and F_OFD_SETLKW.
46461
46462 2014-07-23 Allan McRae <allan@archlinux.org>
46463
46464 * po/es.po: Update Spanish translation from translation project.
46465
46466 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
46467
46468 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46469
46470 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
46471
46472 [BZ #17078]
46473 * sysdeps/arm/dl-machine.h (elf_machine_rela)
46474 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46475 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46476
46477 2014-07-17 Joseph Myers <joseph@codesourcery.com>
46478
46479 [BZ #17088]
46480 * math/fesetenv.c (__fesetenv)
46481 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46482 * math/feupdateenv.c (__feupdateenv)
46483 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46484
46485 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46486 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46487 (__ASSUME_SOCKETCALL): Do not define.
46488
46489 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46490 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46491 (__ASSUME_SOCKETCALL): Do not define.
46492 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46493 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46494 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46495 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46496 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46497 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46498 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46499 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46500
46501 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46502 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46503 (__ASSUME_SOCKETCALL): Do not define.
46504 (__ASSUME_IPC64): Define unconditionally.
46505 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46506 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46507 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46508 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46509 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46510 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46511 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46512 Likewise.
46513
46514 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46515 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46516 (__ASSUME_SOCKETCALL): Do not define.
46517 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46518 (__ASSUME_FUTEX_LOCK_PI): Likewise.
46519 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46520 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46521 (__ASSUME_REQUEUE_PI): Define unconditionally.
46522 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46523 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46524 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46525 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46526 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46527 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46528
46529 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46530 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46531 (__ASSUME_SOCKETCALL): Do not define.
46532 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46533 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46534 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46535 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46536 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46537 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46538
46539 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46540 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46541 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46542 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46543 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46544 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46545 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46546 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46547 (__ASSUME_GETCPU_SYSCALL): Likewise.
46548
46549 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46550 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
46551 cases for individual architectures.
46552 * sysdeps/gnu/configure: Regenerated.
46553 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46554 LIBC_SLIBDIR_RTLDDIR.
46555 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46556 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46557 LIBC_SLIBDIR_RTLDDIR.
46558 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46560 LIBC_SLIBDIR_RTLDDIR.
46561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46562 Regenerated.
46563 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46564 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46565 file.
46566 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46567 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46568 file.
46569 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46570 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46571 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46572 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46573
46574 * sysdeps/aarch64/shlib-versions: Move to ...
46575 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46576 * sysdeps/alpha/shlib-versions: Move to ...
46577 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46578 * sysdeps/arm/shlib-versions: Move to ...
46579 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46580 * sysdeps/hppa/shlib-versions: Move all contents except for
46581 libgcc_s entry to ...
46582 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
46583 entry from ...
46584 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
46585 * sysdeps/ia64/shlib-versions: Move to ...
46586 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
46587 entry from ...
46588 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
46589 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46590 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46591 * sysdeps/microblaze/shlib-versions: Move to ...
46592 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46593 * sysdeps/mips/shlib-versions: Move to ...
46594 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
46595 entry from ...
46596 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
46597 * sysdeps/tile/shlib-versions: Move to ...
46598 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46599 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46600 from ...
46601 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
46602 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46603 entry from ...
46604 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
46605
46606 2014-07-17 Will Newton <will.newton@linaro.org>
46607
46608 * sysdeps/arm/bits/atomic.h
46609 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46610 (__arch_compare_and_exchange_bool_16_int): Likewise.
46611 (__arch_compare_and_exchange_bool_64_int): Likewise.
46612
46613 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46614 into an #else block.
46615
46616 2014-07-16 Roland McGrath <roland@hack.frob.com>
46617
46618 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46619 just Linux configurations. Test empirically that the compiler sets
46620 __ARM_EABI__, rather than using the tuple to decide.
46621 * sysdeps/arm/preconfigure: Regenerated.
46622 * sysdeps/unix/sysv/linux/arm/configure: File removed.
46623 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46624 contents appended ...
46625 * sysdeps/arm/configure.ac: ... here.
46626 * sysdeps/arm/configure: Regenerated.
46627
46628 2014-07-15 Roland McGrath <roland@hack.frob.com>
46629
46630 * nptl/pthread_kill.c: New file.
46631 * nptl/pthread_sigmask.c: New file.
46632 * nptl/pthread_sigqueue.c: New file.
46633
46634 * sysdeps/nptl/lowlevellock.h: New file.
46635 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46636 * sysdeps/nptl/lowlevellock-futex.h: New file.
46637
46638 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46639 Remove dead declarations.
46640
46641 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
46642
46643 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46644 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46645 config-cflags-avx2.
46646 * sysdeps/x86_64/configure.ac: Likewise.
46647 * sysdeps/i386/configure: Regenerated.
46648 * sysdeps/x86_64/configure: Likewise.
46649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46650 memset-avx2 only if config-cflags-avx2 is yes.
46651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46652 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46653 defined.
46654 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46655 only if HAVE_AVX2_SUPPORT is defined.
46656 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46657
46658 2014-07-14 Alan Modra <amodra@gmail.com>
46659
46660 [BZ #17153]
46661 * elf/elf.h (DT_PPC64_NUM): Correct value.
46662 * NEWS: Add to fixed bug list.
46663
46664 2014-07-13 Jim Meyering <meyering@fb.com>
46665
46666 [BZ 17150]
46667 regex: don't deref NULL upon heap allocation failure
46668 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
46669 failure in one more place.
46670 To trigger the segfault, configure grep -with-included-regex,
46671 build it, and run these commands:
46672 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
46673
46674 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
46675
46676 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46677
46678 2014-07-11 Richard Henderson <rth@redhat.com>
46679
46680 * sysdeps/aarch64/libm-test-ulps: Update.
46681
46682 2014-07-10 Florian Weimer <fweimer@redhat.com>
46683
46684 [BZ #17135]
46685 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46686 * nptl/allocatestack.c (__nptl_setxid_error): New function.
46687 (__nptl_setxid): Initialize error member. Call
46688 __nptl_setxid_error.
46689 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
46690 * nptl/descr.h (struct xid_command): Add error member.
46691 * nptl/tst-setuid3.c: New file.
46692 * nptl/Makefile (tests): Add it.
46693
46694 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46695
46696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
46697 New define.
46698 (__lll_trylock): Use __lll_base_trylock.
46699 (__lll_cond_trylock): Likewise.
46700
46701 2014-07-10 Roland McGrath <roland@hack.frob.com>
46702
46703 * nptl/pthread_create.c (start_thread): Use atomic_or and
46704 lll_futex_wake directly rather than lll_robust_dead.
46705 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46706 (lll_robust_dead): Macro removed.
46707 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
46708 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46709 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46710 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46711 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46712 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46713 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46714 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46715 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46716 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46717 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46718 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46719 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46720 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46722
46723 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
46724 Use atomic_compare_and_exchange_val_acq directly rather than
46725 lll_robust_trylock.
46726 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46727 (__lll_robust_trylock, lll_robust_trylock): Removed.
46728 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46729 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46730 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46731 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46732 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46733 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46734 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46735 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46736 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46737 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46738 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46739 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46740 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46741 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46742
46743 2014-07-02 Florian Weimer <fweimer@redhat.com>
46744
46745 * manual/locale.texi (Locale Names): New section documenting
46746 locale name syntax. Adjust menu and node chaining accordingly.
46747 (Choosing Locale): Reference Locale Names, Locale Categories.
46748 Mention setting LC_ALL=C. Reflect that name syntax is now
46749 documented.
46750 (Locale Categories): New section title. Reference Locale Names.
46751 LC_ALL is an environment variable, but not a category.
46752 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
46753 description, now in Locale Name. Reference that section. Locale
46754 name syntax is now documented.
46755
46756 2014-07-02 Florian Weimer <fweimer@redhat.com>
46757
46758 [BZ #17137]
46759 * locale/findlocale.c (name_present, valid_locale_name): New
46760 functions.
46761 (_nl_find_locale): Use the loc_name variable to store name
46762 candidates. Call name_present and valid_locale_name to check and
46763 validate locale names. Return an error if the locale is invalid.
46764
46765 2014-07-02 Florian Weimer <fweimer@redhat.com>
46766
46767 * locale/setlocale.c (setlocale): Use strdup for allocating
46768 composite name copy.
46769
46770 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46771
46772 Sync up with gnulib.
46773 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
46774 [!_LIBC && ENABLE_NLS]: Include gettext.h.
46775 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
46776 and _GL_ARG_NONNULL.
46777 [USE_UNLOCKED_IO]: Include unlocked-io.h.
46778 [!_LIBC]: Include code for Windows and Cygwin.
46779 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46780 Include prototype for int strerror_r.
46781 [!_LIBC] (is_open): New function.
46782 (flush_stdout): New function.
46783 (print_errno_message): Use it.
46784 (error): Likewise.
46785 (error_at_line): Likewise.
46786 (error_tail) Add function attribute macros. Use
46787 __builtin_expect.
46788
46789 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46790
46791 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46792
46793 * io/ftw.c: Include sys/param.h unconditionally.
46794
46795 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46796
46797 [BZ #17125]
46798 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46799 libc_freeres_ptr.
46800 (freecache): New function to free CACHE on exit.
46801
46802 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46803 initialization.
46804
46805 2014-07-09 David S. Miller <davem@davemloft.net>
46806
46807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46808
46809 * sysdeps/sparc/nptl/internaltypes.h: Delete.
46810 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46811 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46812 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46813 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46814 * sysdeps/sparc/nptl/sem_init.c: Likewise.
46815 * sysdeps/sparc/nptl/sem_post.c: Likewise.
46816 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46817 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46818 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46819 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46820 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46821 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46822
46823 2014-07-09 Andreas Schwab <schwab@suse.de>
46824
46825 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46826 output.
46827 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46828 (do_test): Likewise.
46829
46830 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46831
46832 2014-07-09 Will Newton <will.newton@linaro.org>
46833
46834 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46835 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46836 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46837 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46838 * sysdeps/hppa/start.S (_start): Likewise.
46839
46840 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
46841
46842 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46843
46844 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46845 defined.
46846
46847 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46848
46849 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46850 after checking that it is non-NULL.
46851
46852 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46853
46854 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46855
46856 * sysdeps/powerpc/memmove.c: Remove file.
46857 * sysdeps/powerpc/powerpc32/power4/memcopy.h
46858 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46859 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46860 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46861 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46862 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46863 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46864 string memmove instead of removed powerpc one.
46865
46866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46867 [weak_alias]: Fix compiler warning due trailing data.
46868 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46869 [weak_alias]: Likewise.
46870 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46871 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46872
46873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46874 (__libc_ifunc_impl_list): Add memmove functions.
46875
46876 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46877
46878 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46879 Remove code.
46880 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46881 Likewise.
46882 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46883 Likewise.
46884 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46885 Likewise.
46886 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46887 Likewise.
46888 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46889 Likewise.
46890 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46891 Likewise.
46892 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46893 Likewise.
46894 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46895 Likewise.
46896 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46897 Likewise.
46898 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46899 Likewise.
46900 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46901 Likewise.
46902 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46903 Likewise.
46904 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46905 Likewise.
46906 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46907 Likewise.
46908 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46909 Likewise.
46910 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46911 Likewise.
46912
46913 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46914
46915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46916 to avoid alignment traps in non-cacheable memory.
46917 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46918
46919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46920 multiarch objects.
46921 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46922 file: multiarch power7 memmove.
46923 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46924 multiarch default memmove.
46925 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46926 multiarch memove for powerpc32/power4.
46927
46928 * string/bcopy.c: Use full path to include memmove.c.
46929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46930 multiarch objects.
46931 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46932 bcopy for powerpc64.
46933 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46934 bcopy for powerpc64.
46935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46936 and memmove implementations.
46937 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46938 optimized multiarch memmove for POWER7/powerpc64.
46939 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46940 default multiarch memmove for powerpc64.
46941 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46942 multiarch for powerpc64.
46943 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46944 for POWER7/powerpc64.
46945 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46946 memmove for POWER7/powerpc64.
46947
46948 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46949 glibc default one.
46950
46951 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46952 __ELF_NATIVE_CLASS equal to 64.
46953
46954 2014-07-07 Roland McGrath <roland@hack.frob.com>
46955
46956 * sysdeps/nptl/lowlevellock.h: File removed.
46957
46958 * NEWS: NPTL is no longer an add-on!
46959 * nptl/internaltypes.h: Moved ...
46960 * sysdeps/nptl/internaltypes.h: ... here.
46961 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46962 * sysdeps/nptl/fork.c: Likewise.
46963 * sysdeps/nptl/gai_misc.h: Likewise.
46964 * sysdeps/nptl/librt-cancellation.c: Likewise.
46965 * sysdeps/nptl/jmp-unwind.c: Likewise.
46966 * sysdeps/nptl/setxid.h: Likewise.
46967 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46968 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46969 * sysdeps/unix/sysv/linux/arm/Implies: New file.
46970 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46971 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46972 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46973 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46974 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46975 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46976 * sysdeps/unix/sysv/linux/mips/Implies: New file.
46977 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46978 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46979 * sysdeps/unix/sysv/linux/sh/Implies: New file.
46980 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46981 * sysdeps/unix/sysv/linux/tile/Implies: New file.
46982 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46983 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46984 * nptl/Makeconfig: Moved ...
46985 * sysdeps/nptl/Makeconfig: ... here.
46986 * nptl/configure: File removed.
46987 * nptl/ANNOUNCE: File removed.
46988 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46989 * sysdeps/unix/sysv/linux/configure: Regenerated.
46990
46991 * nptl/Makefile (routines): Add libc_pthread_init,
46992 libc_multiple_threads, register-atfork and unregister-atfork.
46993 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46994 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46995 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46996 pthread-pi-defines.sym, structsem.sym.
46997 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46998 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46999 [$(subdir) = nptl] (tests): Add tst-setgetname.
47000 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47001 * sysdeps/unix/sysv/linux/sigaction.c: Just include
47002 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47003 [!LIBC_SIGACTION]: Remove aliases.
47004 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47005 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47006 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47007 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47008 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47009 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47012 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47013 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47014 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47015 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47016 __libc_allocate_rtsig_private.
47017 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47018 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47019 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47020 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47021 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47022 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47023 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47024 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47025 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47026 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47027 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47028 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47029 * nptl/internaltypes.h: ... here.
47030 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47031 * sysdeps/nptl/jmp-unwind.c: ... here.
47032 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47033 * nptl/libc-lowlevellock.c: ... here.
47034 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47035 * nptl/libc_multiple_threads.c: ... here.
47036 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47037 * nptl/libc_pthread_init.c: ... here.
47038 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47039 * nptl/lowlevelbarrier.sym: ... here.
47040 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47041 * nptl/lowlevelcond.sym: ... here.
47042 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47043 * nptl/lowlevellock.c: ... here.
47044 * nptl/lowlevellock.h: Moved ...
47045 * sysdeps/nptl/lowlevellock.h: ... here.
47046 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47047 * nptl/lowlevelrobustlock.c: ... here.
47048 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47049 * nptl/lowlevelrobustlock.sym: ... here.
47050 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47051 * nptl/lowlevelrwlock.sym: ... here.
47052 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47053 * nptl/pt-fork.c: ... here.
47054 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47055 * nptl/pthread-pi-defines.sym: ... here.
47056 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47057 * nptl/pthread_attr_getaffinity.c: ... here.
47058 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47059 * nptl/pthread_attr_setaffinity.c: ... here.
47060 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47061 * nptl/pthread_mutex_cond_lock.c: ... here.
47062 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47063 Update #include.
47064 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47065 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47066 * nptl/pthread_once.c: ... here, replacing old file.
47067 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47068 * nptl/pthread_yield.c: ... here.
47069 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47070 * nptl/register-atfork.c: ... here.
47071 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47072 * nptl/sem_post.c: ... here.
47073 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47074 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47075 * nptl/sem_timedwait.c: ... here.
47076 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47077 * nptl/sem_trywait.c: ... here.
47078 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47079 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47080 * nptl/sem_wait.c: ... here.
47081 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47082 * nptl/structsem.sym: ... here.
47083 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47084 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47085 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47086 * nptl/unregister-atfork.c: ... here.
47087 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47088 * nptl/unwindbuf.sym: ... here.
47089 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47090 * sysdeps/nptl/fork.c: ... here.
47091 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47092 * sysdeps/nptl/fork.h: ... here.
47093 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47094 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47095 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47096 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47097 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47098 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47099 * sysdeps/unix/sysv/linux/getpid.c: ... here.
47100 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47101 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47102 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47103 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47104 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47105 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47106 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47107 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47108 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47109 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47110 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47111 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47112 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47113 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47114 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47115 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47116 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47117 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47118 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47119 * sysdeps/unix/sysv/linux/raise.c: ... here.
47120 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47121 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47122 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47123 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47124 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47125 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47126 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47127 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47128 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47129 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47130 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47131 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47132 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47133 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47134 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47135
47136 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
47137
47138 * sysdeps/generic/memcopy.h: Add comment for
47139 MEMCPY_OK_FOR_FWD_MEMMOVE.
47140
47141 2014-07-04 Will Newton <will.newton@linaro.org>
47142
47143 * string/memchr.c: Merge from gnulib.
47144 [_LIBC]: Remove conditionals.
47145 (__ptr_t): Remove define.
47146 (LONG_MAX_32_BITS): Likewise.
47147 (LONG_MAX): Likewise.
47148 (MEMCHR): Use ANSI prototype and optimize algorithm.
47149
47150 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47151
47152 2014-07-03 Roland McGrath <roland@hack.frob.com>
47153
47154 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47155 (lll_futex_timed_wait_bitset): Fix syscall argument count.
47156
47157 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47158 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47159 in a bare environment with no <stdlib.h> installed.
47160 * sysdeps/nptl/configure: Regenerated.
47161
47162 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47163
47164 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47165 AC_EGREP_CPP for kernel header checks, so they only succeed if
47166 including <linux/version.h> actually works right.
47167 * sysdeps/unix/sysv/linux/configure: Regenerated.
47168
47169 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47170 value so it's not diagnosed as unused.
47171
47172 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47173 thing) with "ifeq ($(subdir),rt)".
47174
47175 2014-07-03 Richard Henderson <rth@redhat.com>
47176
47177 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47178 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47179 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47180
47181 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47182 (math_force_eval): New.
47183
47184 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47185 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47186
47187 * sysdeps/alpha/fpu/s_round.c: Remove file.
47188 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47189
47190 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47191 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47192 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47193 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47194 (_dl_start, print_statistics): Likewise.
47195 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47196 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47197
47198 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47199 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47200 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47201 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47203 (HP_SMALL_TIMING_AVAIL): Define.
47204 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47205 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47206 (HP_SMALL_TIMING_AVAIL): Define.
47207 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47208 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47209
47210 * sysdeps/aarch64/hp-timing.h: New file.
47211
47212 * sysdeps/generic/hp-timing.h: Remove dead comment.
47213 * sysdeps/generic/hp-timing-common.h: New file.
47214 * sysdeps/alpha/hp-timing.h: Include it.
47215 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47216 * sysdeps/i386/i686/hp-timing.h: Likewise.
47217 * sysdeps/ia64/hp-timing.h: Likewise.
47218 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47219 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47220 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47221 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47222 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47223 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47224 (hp_timing_t): New.
47225
47226 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47227 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47228 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47229 * elf/rtld.c (_dl_start_final): Likewise.
47230 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47231 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47232 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47233 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47234 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47235 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47236 (HP_TIMING_DIFF_INIT): Remove.
47237 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47238 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47239 (HP_TIMING_DIFF_INIT): Remove.
47240 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47241 * sysdeps/i386/i686/hp-timing.c: Remove file.
47242 * sysdeps/x86_64/hp-timing.c: Remove file.
47243 * sysdeps/ia64/hp-timing.c: Remove file.
47244 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47245 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47246 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47247 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47248
47249 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47250 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47251 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47252 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47253 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47254 (HP_TIMING_ACCUM): Remove.
47255 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47256 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47257 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47258
47259 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47260 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47261 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47262 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47263 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47264 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47265 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47266 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47267
47268 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47269
47270 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
47271
47272 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47273
47274 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47275
47276 Sync up with gettext.
47277 * intl/loadmsgcat.c: Define O_BINARY if not defined.
47278 [_MSC_VER]: Include malloc.h
47279 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47280 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47281 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
47282 TEMP_FAILURE_RETRY. Cast return of alloca.
47283 [!_LIBC] Call gl_rwlock_init.
47284 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47285
47286 2014-07-02 Roland McGrath <roland@hack.frob.com>
47287
47288 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47289 before checking its value.
47290
47291 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47292
47293 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47294
47295 * debug/memcpy_chk.c: Don't include pagecopy.h.
47296 * debug/mempcpy_chk.c: Likewise.
47297 * string/memcpy.c: Likewise.
47298 * string/memmove.c: Likewise.
47299 * sysdeps/powerpc/memmove.c: Likewise.
47300 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
47301 definition of PAGE_COPY_FWD_MAYBE here...
47302 * sysdeps/generic/pagecopy.h: ... from here.
47303 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47304
47305 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
47306 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47307
47308 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47310 optimizations.
47311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47312 (__libc_ifunc_impl_list): Likewise.
47313 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47314 multiarch strcat for PPC64.
47315 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47316 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47317
47318 2014-07-02 Roland McGrath <roland@hack.frob.com>
47319
47320 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47321
47322 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47323
47324 * intl/loadmsgcat.c: Remove declaration of
47325 get_sysdep_segment_value.
47326 (get_sysdep_segment_value): Use ISO C style.
47327 (_nl_load_domain): Use ISO C style. Get rid of redundant
47328 semicolon. Fix typo and formatting in comment.
47329 (_nl_unload_domain): Use ISO C style.
47330
47331 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47332
47333 2014-07-02 Will Newton <will.newton@linaro.org>
47334
47335 * malloc/obstack.c: Merge from gnulib master.
47336 [HAVE_CONFIG_H]: Remove conditional code.
47337 [!_LIBC]: Include config.h.
47338 [!ELIDE_CODE]: Don't include inttypes.h, include
47339 stdint.h unconditionally.
47340 (print_and_abort): Mark as _Noreturn.
47341 (_obstack_allocated_p): Mark as __attribute_pure__.
47342 (obstack_free): Rename to __obstack_free.
47343 [!__attribute__]: Remove conditional code.
47344 * malloc/obstack.h: Merge from gnulib master.
47345 [__cplusplus]: Move conditional down.
47346 [!__attribute_pure__]: Define __attribute_pure__ here
47347 if it is not already defined.
47348 (_obstack_memory_used): Mark as __attribute_pure__.
47349 [!__obstack_free]: Define as obstack_free.
47350 [__GNUC__]: Remove check for ancient NeXT gcc.
47351
47352 2014-07-02 Will Newton <will.newton@linaro.org>
47353 Paul Eggert <eggert@cs.ucla.edu>
47354
47355 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47356
47357 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47358
47359 * resolv/gethnamaddr.c: Add comment warning that the file is
47360 not maintained.
47361
47362 2014-07-01 Carlos O'Donell <carlos@redhat.com>
47363
47364 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47365 entries.
47366
47367 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47368 entry for aio_cancel and aio_cancel64.
47369 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47370 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47371 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47372 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47373 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47374 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47375 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47376 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47377 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47378 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47379 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47380 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47381 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47382
47383 2014-07-01 Roland McGrath <roland@hack.frob.com>
47384
47385 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47386 * nptl/pthread_mutex_lock.c: Likewise.
47387 * nptl/pthread_mutex_timedlock.c: Likewise.
47388 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47389
47390 2014-07-01 Richard henderson <rth@redhat.com>
47391
47392 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47393 (__isnan, __isnanl): Remove.
47394 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47395
47396 * sysdeps/alpha/fpu/libm-test-ulps: Update.
47397
47398 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
47399
47400 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47401
47402 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
47403
47404 * resolv/nss_dns/dns-host.c (getanswer_r)
47405 [MULTI_PTRS_ARE_ALIASES]: Remove code.
47406
47407 2014-07-01 Joseph Myers <joseph@codesourcery.com>
47408
47409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47410 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47411 undefine.
47412 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47413 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47414
47415 2014-07-01 Roland McGrath <roland@hack.frob.com>
47416
47417 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47418 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47419
47420 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47421 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47422
47423 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47424 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47425 ... here.
47426 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47427 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47428
47429 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47430 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47431 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47432 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47433
47434 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47435 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47436 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47437 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47438 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47439 Moved ...
47440 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47441 ... here.
47442 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47443 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47444 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47445 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47446 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47447 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47448 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47449 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47450 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47451 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47452 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47453 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47454 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47455 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47456 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47457 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47458 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47459 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47460 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47461 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47462 ... here.
47463 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47464 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47465 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47466 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47467 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47468 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47469 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47470 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47471
47472 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
47473
47474 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47475 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47476 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47477 Add sysdep.
47478
47479 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47480
47481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47482
47483 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47484
47485 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47486 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47487
47488 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47489
47490 * sysdeps/arm/libm-test-ulps: Regenerated.
47491
47492 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47493 Roland McGrath <roland@hack.frob.com>
47494
47495 * test-skeleton.c (signal_handler): Kill the whole process group
47496 before killing the child individually.
47497 (main): Report any failure on `setpgid'.
47498
47499 2014-06-30 Roland McGrath <roland@hack.frob.com>
47500
47501 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47502 from _TLS_H to _ARM_NPTL_TLS_H.
47503 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47504 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47505
47506 2014-06-30 Joseph Myers <joseph@codesourcery.com>
47507
47508 [BZ #16539]
47509 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47510 (__expm1l): Return argument unchanged when small but not
47511 subnormal.
47512
47513 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47514 include macro name.
47515 (_FP_UNPACK_RAW_1_P): Likewise.
47516 (_FP_PACK_RAW_1): Likewise.
47517 (_FP_PACK_RAW_1_P): Likewise.
47518 (_FP_MUL_MEAT_1_wide): Likewise.
47519 (_FP_MUL_MEAT_DW_1_hard): Likewise.
47520 (_FP_MUL_MEAT_1_hard): Likewise.
47521 (_FP_DIV_MEAT_1_imm): Likewise.
47522 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47523 (_FP_DIV_MEAT_1_udiv): Likewise.
47524 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47525 (_FP_UNPACK_RAW_2): Likewise.
47526 (_FP_UNPACK_RAW_2_P): Likewise.
47527 (_FP_PACK_RAW_2): Likewise.
47528 (_FP_PACK_RAW_2_P): Likewise.
47529 (_FP_MUL_MEAT_DW_2_wide): Likewise.
47530 (_FP_MUL_MEAT_2_wide): Likewise.
47531 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47532 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47533 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47534 (_FP_MUL_MEAT_2_gmp): Likewise.
47535 (_FP_DIV_MEAT_2_udiv): Likewise.
47536 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47537 (_FP_FRAC_SRL_4): Likewise.
47538 (_FP_FRAC_SRST_4): Likewise.
47539 (_FP_FRAC_SRS_4): Likewise.
47540 (_FP_UNPACK_RAW_4): Likewise.
47541 (_FP_UNPACK_RAW_4_P): Likewise.
47542 (_FP_PACK_RAW_4): Likewise.
47543 (_FP_PACK_RAW_4_P): Likewise.
47544 (_FP_MUL_MEAT_DW_4_wide): Likewise.
47545 (_FP_MUL_MEAT_4_wide): Likewise.
47546 (_FP_MUL_MEAT_4_gmp): Likewise.
47547 (umul_ppppmnnn): Likewise.
47548 (_FP_DIV_MEAT_4_udiv): Likewise.
47549 (__FP_FRAC_ADD_4): Likewise.
47550 (__FP_FRAC_SUB_3): Likewise.
47551 (__FP_FRAC_SUB_4): Likewise.
47552 (__FP_FRAC_DEC_3): Likewise.
47553 (__FP_FRAC_DEC_4): Likewise.
47554 (__FP_FRAC_ADDI_4): Likewise.
47555 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47556 (_FP_FRAC_SRL_8): Likewise.
47557 (_FP_FRAC_SRS_8): Likewise.
47558
47559 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47560 include macro name.
47561 (FP_UNPACK_RAW_EP): Likewise.
47562 (FP_PACK_RAW_E): Likewise.
47563 (FP_PACK_RAW_EP): Likewise.
47564 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47565 (_FP_ISSIGNAN): Likewise.
47566 (_FP_ADD_INTERNAL): Likewise.
47567 (_FP_FMA): Likewise.
47568 (_FP_CMP): Likewise.
47569 (_FP_SQRT): Likewise.
47570 (_FP_TO_INT): Likewise.
47571 (_FP_FROM_INT): Likewise.
47572 (FP_EXTEND): Likewise.
47573 (_FP_DIV_MEAT_N_loop): Likewise.
47574
47575 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
47576
47577 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47578 throughout.
47579
47580 2014-06-29 Joseph Myers <joseph@codesourcery.com>
47581
47582 [BZ #17097]
47583 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47584 result with correct sign in case of exponents that produce
47585 overflow except for X very close to 1.
47586
47587 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
47588
47589 mktime: merge #if/#ifdef usage from glibc
47590 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47591 as that works with both Glibc's and Gnulib's style.
47592 See thread starting at Siddhesh Poyarekar's bug report at:
47593 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47594
47595 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47596
47597 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47598 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47599 * sysdeps/tile/tilegx/memmove.c: Remove file.
47600
47601 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47602
47603 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47604 abi-name definition.
47605 * scripts/soversions.awk: Do not handle or generate ABI lines.
47606 * shlib-versions: Remove ABI entries.
47607 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47608 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47609
47610 2014-06-27 Roland McGrath <roland@hack.frob.com>
47611
47612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47613 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47614 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47615 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47617 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47619 Moved ...
47620 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47621 ... here.
47622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47623 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47625 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47627 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47629 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47631 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47633 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47635 Moved ...
47636 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47638 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47639 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47640 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47642 Moved ...
47643 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47644 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47645 Moved ...
47646 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47647 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47648 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47649 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47650 Moved ...
47651 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47653 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47654 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47655 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47656 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47657 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
47658 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
47659 Moved ...
47660 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
47661 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
47662 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
47663 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
47664 Moved ...
47665 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
47666 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
47667 Moved ...
47668 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
47669 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
47670 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
47671 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
47672 Moved ...
47673 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
47674 ... here.
47675 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
47676 Identical file removed.
47677 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
47678 Moved ...
47679 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
47680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
47681 Identical file removed.
47682 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
47683 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
47684 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47685 Moved ...
47686 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
47687 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
47688 Identical file removed.
47689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
47690 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
47691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
47692 Identical file removed.
47693 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
47694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
47695 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
47696 Identical file removed.
47697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
47698 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
47699 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
47700 Identical file removed.
47701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
47702 Moved ...
47703 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
47704 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
47705 Identical file removed.
47706 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
47707 Moved ...
47708 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
47709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
47710 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
47711 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
47712 Identical file removed.
47713 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
47714 Moved ...
47715 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
47716 ... here.
47717 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
47718 Identical file removed.
47719 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
47720 Moved ...
47721 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
47722 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
47723 Identical file removed.
47724 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
47725 Moved ...
47726 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
47727 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
47728 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
47729 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
47730 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
47731 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
47732 Moved ...
47733 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
47734 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
47735 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
47736
47737 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
47738 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
47739 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
47740 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
47741 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
47742
47743 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
47744
47745 [BZ #17092]
47746 * nscd/nscd.c (monitor_child): Return exit status of child
47747 instead of return value from wait syscall.
47748
47749 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47750
47751 * configure.ac (libc_commonpagesize): Remove variable.
47752 (libc_relro_required): Likewise.
47753 (libc_cv_z_relro): Remove configure test.
47754 * configure: Regenerated.
47755 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
47756 variable.
47757 (libc_relro_required): Likewise.
47758 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
47759 (libc_relro_required): Likewise.
47760 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
47761 (libc_relro_required): Likewise.
47762 * sysdeps/arm/preconfigure: Regenerated.
47763 * sysdeps/ia64/preconfigure: Remove file.
47764 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
47765 variable.
47766 (libc_relro_required): Likewise.
47767
47768 [BZ #16561]
47769 [BZ #16562]
47770 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
47771 (__ieee754_yn): Set FE_TONEAREST mode internally and then
47772 recompute overflowing results in original rounding mode.
47773 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
47774 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
47775 recompute overflowing results in original rounding mode.
47776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47777 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47778 recompute overflowing results in original rounding mode.
47779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47780 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47781 recompute overflowing results in original rounding mode.
47782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47783 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47784 recompute overflowing results in original rounding mode.
47785 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47786 (libc_feholdsetround_ctx): New macro.
47787 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47788 * sysdeps/i386/fpu/libm-test-ulps: Update.
47789 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47790
47791 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47792
47793 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47794 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47795 corresponding .cpsetup call.
47796
47797 2014-06-26 Roland McGrath <roland@hack.frob.com>
47798
47799 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47800 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47801 * sysdeps/arm/Makefile [$(subdir) = csu]
47802 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47803 (static-only-routines): Add aeabi_read_tp here.
47804 (shared-only-routines): Add libc-aeabi_read_tp here.
47805 (CFLAGS-libc-start.c): Add -fexceptions here.
47806 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47807 (sysdep_routines, static-only-routines, shared-only-routines):
47808 Don't add to these here.
47809 (CFLAGS-libc-start.c): Likewise.
47810
47811 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47812 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47813 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47814 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47815 * sysdeps/arm/Makefile [$(subdir) = rt]
47816 (librt-sysdep_routines, librt-shared-only-routines):
47817 Append rt-aeabi_unwind_cpp_pr1 here.
47818 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47819 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47820 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47821 (libpthread-sysdep_routines, libpthread-shared-only-routines):
47822 Append nptl-aeabi_unwind_cpp_pr1 here.
47823 (tests): Filter out tst-cleanupx4 here.
47824 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47825 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47826 Don't do those here.
47827
47828 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47829
47830 * scripts/list-sources.sh: Do not handle ports specially.
47831
47832 2014-06-26 Roland McGrath <roland@hack.frob.com>
47833
47834 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47835 * sysdeps/arm/feupdateenv.c: Likewise.
47836
47837 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47838
47839 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47840
47841 * manual/texinfo.tex: Update to version 2014-05-05.10 with
47842 trailing whitespace removed.
47843 * scripts/config.guess: Update to version 2014-03-23.
47844 * scripts/config.sub: Update to version 2014-05-01
47845 * scripts/install-sh: Update to version 2013-12-25.23.
47846 * scripts/move-if-change: Update from gnulib.
47847
47848 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47849
47850 * debug/memmove_chk.c: Remove pagecopy.h include.
47851
47852 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
47853
47854 * time/mktime.c (leapyear): Remove inline keyword. The code is now
47855 identical to gnulib mktime.
47856
47857 2014-06-26 Joseph Myers <joseph@codesourcery.com>
47858
47859 * configure.ac: Do not test for machine being rs6000. Do not test
47860 for powerpc*-*soft.
47861 * configure: Regenerated.
47862
47863 [BZ #11505]
47864 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47865 test.
47866 * configure: Regenerated.
47867 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47868 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47869 Remove configure test.
47870 * sysdeps/arm/configure: Regenerated.
47871 * sysdeps/nptl/configure.ac: Do not check
47872 libc_cv_asm_cfi_directives.
47873 * sysdeps/nptl/configure: Regenerated.
47874 * sysdeps/x86_64/nptl/configure.ac: Remove file.
47875 * sysdeps/x86_64/nptl/configure: Remove generated file.
47876 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47877 unconditional.
47878 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47879
47880 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47881
47882 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47883 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47884 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47885 it is defined.
47886
47887 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47888 instead of whether it is defined.
47889 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47890 * sysdeps/hppa/dl-machine.h: Likewise.
47891 * sysdeps/ia64/dl-machine.h: Likewise.
47892 * sysdeps/m68k/dl-machine.h: Likewise.
47893 * sysdeps/microblaze/dl-machine.h: Likewise.
47894 * sysdeps/mips/dl-machine.: Likewise.
47895 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47896 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47897 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47898 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47899 * sysdeps/sh/dl-machine.h: Likewise.
47900 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47901 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47902 * sysdeps/tile/dl-machine.h: Likewise.
47903 * sysdeps/x86_64/dl-machine.h: Likewise.
47904
47905 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47906 code.
47907 (verify_persistent_db): Likewise.
47908
47909 2014-06-26 Roland McGrath <roland@hack.frob.com>
47910
47911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47912 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47914 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47916 Moved ...
47917 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47918 ... here.
47919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47920 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47922 Identical file removed.
47923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47924 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47926 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47928 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47930 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47932 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47934 Moved ...
47935 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47937 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47939 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47941 Moved ...
47942 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47944 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47946 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47948 Identical file removed.
47949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47950 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47952 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47954 Moved ...
47955 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47956 ... here.
47957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47958 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47960 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47962 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47964 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47966 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47968 Moved ...
47969 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47971 Moved ...
47972 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47974 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47976 Moved ...
47977 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47979 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47980
47981 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47982 folded into ...
47983 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47984 * sysdeps/unix/sysv/linux/s390/Versions
47985 (libpthread: GLIBC_2.19): New version set.
47986 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47987 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47988 (librt: GLIBC_2.3.3): New version set.
47989 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47990 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47991 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47992 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47993 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47994 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47995 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47996 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47997 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47998 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47999 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48000 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48001 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48002 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48003 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48004 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48005 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48006 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48007 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48008 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48009 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48011 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48012 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48013 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48014 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48015 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48016 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48017 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48018 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48019 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48020 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48021 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48025 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48027 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48029 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48031 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48032 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48033 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48034
48035 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48036 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48037 (__libc_vfork): Define the function under this name.
48038 [!NOT_IN_libc] (__vfork): Make this an alias.
48039 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48040 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48041 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48042 (__libc_vfork): Define the function under this name.
48043 [!NOT_IN_libc] (__vfork): Make this an alias.
48044 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48045 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48046 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48047 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48048 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48049 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48050
48051 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48052 code that was previously under [RESET_PID].
48053 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48054 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48055 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48056
48057 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48058 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48059 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48060 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48061 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48062 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48063 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48064 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48065 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48066 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48067 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48068 Moved ...
48069 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48070 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48071 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48072 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48073 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48074 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48075 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48076 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48077 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48078 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48079 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48080 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48081 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48082 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48083 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48084 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48085 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48086 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48087 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48088 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48089 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48090 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48091 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48092 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48093 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48094 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48095 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48096 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48097 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48098
48099 2014-06-25 Roland McGrath <roland@hack.frob.com>
48100
48101 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48102 that was previously under [RESET_PID].
48103 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48104
48105 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48106
48107 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48108 not undefine and redefine.
48109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48110 [O_CLOEXEC]: Make code unconditional.
48111 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48112 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48113 <kernel-features.h>.
48114 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48115 conditional variable definition.
48116 (shm_open) [O_CLOEXEC]: Make code unconditional.
48117 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48118 code.
48119
48120 * configure.ac (USE_REGPARMS): Don't define here.
48121 * configure: Regenerated.
48122 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48123 * sysdeps/i386/configure: Regenerated.
48124
48125 * nptl/createthread.c: Don't include kernel-features.h.
48126 * nptl/pthread_cancel.c: Likewise.
48127 * nptl/pthread_condattr_setclock.c: Likewise.
48128 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48129 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48130 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48131 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48132 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48133 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48134 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48136 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48137 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48138 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48139 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48140 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48141 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48142 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48143 * nscd/gai.c: Likewise.
48144 * nss/nss_db/db-open.c: Likewise.
48145 * sysdeps/generic/ldsodefs.h: Likewise.
48146 * sysdeps/sh/nptl/tls.h: Likewise.
48147 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48148 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48149 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48150 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48151 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48152 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48153 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48154 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48155 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48156 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48157 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48158 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48159 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48160 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48161 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48162 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48163 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48164 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48165 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48166 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48167 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48169 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48170 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48171 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48172 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48173 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48174 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48175 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48176 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48177 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48178 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48179 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48180 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48181 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48182 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48183 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48184 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48185 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48186 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48187 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48188 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48189 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48190 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48191 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48192 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48193 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48194 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48195 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48196 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48197 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48198 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48199 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48200 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48201 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48202 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48203 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48204 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48227 * sysdeps/unix/sysv/linux/pread.c: Likewise.
48228 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48229 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48230 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48231 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48232 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48233 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48234 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48235 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48236 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48237 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48238 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48239 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48240 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48241 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48242 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48243 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48244 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48245 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48246 * sysdeps/unix/sysv/linux/system.c: Likewise.
48247 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48248 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48249 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48250 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48251 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48252 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48253 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48254
48255 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48256 * configure: Regenerated.
48257 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48258
48259 * configure.ac (base_machine): Do not set specially for particular
48260 machines here.
48261 * configure: Regenerated.
48262 * sysdeps/powerpc/preconfigure: Move machine and base_machine
48263 settings from configure.ac.
48264 * sysdeps/i386/preconfigure: New file.
48265 * sysdeps/s390/preconfigure: Likewise.
48266 * sysdeps/sh/preconfigure: Likewise.
48267 * sysdeps/sparc/preconfigure: Likewise.
48268
48269 2014-06-25 Roland McGrath <roland@hack.frob.com>
48270
48271 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48272 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48273 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48274 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48275 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48276 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48277 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48278 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48279 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48280 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48281 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48282 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48283 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48285 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48286 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48287 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48288 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48289 * sysdeps/sparc/sparc64/Makefile: ... appended here.
48290
48291 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48292 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48293 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48294 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48295 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48296 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48297 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48298 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48299 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48300 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48301 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48302 * sysdeps/sparc/sparc32/sem_post.c: ... here.
48303 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48304 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48305 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48306 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48307 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48308 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48309 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48310 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48312 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48314 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48315 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48316 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48317 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48318 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48319 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48320 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48321 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48322 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48323 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48324 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48325 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48326 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48327 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48328 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48329
48330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48331 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48333 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48335 Moved ...
48336 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48337 ... here.
48338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48339 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48341 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48343 Moved ...
48344 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48346 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48348 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48350 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48352 Moved ...
48353 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48355 Moved ...
48356 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48358 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48360 Moved ...
48361 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48363 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48365 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48367 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48369 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48371 Moved ...
48372 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48373 ... here.
48374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48375 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48377 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48379 Moved ...
48380 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48382 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48384 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48386 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48388 Moved ...
48389 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48391 Moved ...
48392 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48394 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48396 Moved ...
48397 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48399 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48401 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48402
48403 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48404
48405 * timezone/checktab.awk: Update from tzcode 2014e.
48406 * timezone/private.h: Likewise.
48407 * timezone/tzfile.h: Likewise.
48408 * timezone/zdump.c: Likewise.
48409 * timezone/zic.c: Likewise.
48410
48411 * sysdeps/unix/sysv/linux/kernel-features.h
48412 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48414 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48415 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48416 Remove conditional code.
48417
48418 2014-06-25 Will Newton <will.newton@linaro.org>
48419
48420 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48421 (_dl_arm_cap_flags): Add HWCAP2 values.
48422 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48423 (_DL_HWCAP_COUNT): Increase to 37.
48424 (_DL_HWCAP_LAST): New define.
48425 (_DL_HWCAP2_LAST): New define.
48426 (_dl_procinfo): Add support for printing
48427 AT_HWCAP2 entries.
48428 (_dl_string_hwcap): Use _dl_hwcap_string.
48429
48430 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48431
48432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48433
48434 2014-06-25 Joseph Myers <joseph@codesourcery.com>
48435
48436 * README: Do not mention ports directory.
48437
48438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48439 Remove macro.
48440 * sysdeps/unix/sysv/linux/futimes.c: Do not include
48441 <kernel-features.h>.
48442 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48443 conditional variable definition.
48444 (__futimes): Update comment.
48445 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48446 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48447
48448 [BZ #16560]
48449 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48450 arguments close to 0.
48451 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48452 Likewise.
48453 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48454 Likewise.
48455 * math/auto-libm-test-in: Add more tests of exp10.
48456 * math/auto-libm-test-out: Regenerated.
48457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48458
48459 * sysdeps/unix/sysv/linux/kernel-features.h
48460 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48461 * sysdeps/unix/sysv/linux/readv.c: Do not include
48462 <kernel-features.h>.
48463 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48464 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48465 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48466 unconditional.
48467 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48468 conditional code.
48469 * sysdeps/unix/sysv/linux/writev.c: Do not include
48470 <kernel-features.h>.
48471 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48472 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48473 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48474 unconditional.
48475 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48476 conditional code.
48477
48478 2014-06-25 Will Newton <will.newton@linaro.org>
48479
48480 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48481 comment changes throughout the file. Remove checks
48482 for HAVE_*_H definitions that are not required.
48483 (__gen_tempname): Call abort if an unknown kind value is
48484 passed.
48485
48486 2014-06-25 Andreas Schwab <schwab@suse.de>
48487
48488 [BZ #17086]
48489 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48490 scalbln, scalblnf, scalblnl in libc.
48491
48492 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48493
48494 [BZ #17086]
48495 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48496 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48497 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48498
48499 2014-06-24 Roland McGrath <roland@hack.frob.com>
48500
48501 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48502 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48503 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48504 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48505 Update #include.
48506 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48507 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48508 Update #include.
48509 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48510 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48511 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48512 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48513 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48514 * sysdeps/x86/bits/pthreadtypes.h: ... here.
48515 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48516 * sysdeps/x86/bits/semaphore.h: ... here.
48517 * sysdeps/x86/nptl/elide.h: Moved ...
48518 * sysdeps/x86/elide.h: ... here.
48519 * sysdeps/x86_64/nptl/Implies: File removed.
48520 * sysdeps/i386/nptl/Implies: File removed.
48521
48522 2014-06-24 Joseph Myers <joseph@codesourcery.com>
48523
48524 [BZ #16539]
48525 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48526 return the argument for normal arguments with exponent below -64.
48527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48528 Likewise.
48529 * math/auto-libm-test-in: Add another test of expm1.
48530 * math/auto-libm-test-out: Regenerated.
48531
48532 [BZ #16287]
48533 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48534 calling __erfcl for arguments at least 16.
48535 * math/auto-libm-test-in: Add more tests of erf.
48536 * math/auto-libm-test-out: Regenerated.
48537
48538 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48539 individual architectures.
48540 * sysdeps/unix/sysv/linux/configure: Regenerated.
48541 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48542 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48543 * sysdeps/unix/sysv/linux/powerpc/configure.ac
48544 (ldd_rewrite_script): Define variable.
48545 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48547 file.
48548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48549 generated file.
48550 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48551 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48552 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48553 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48554 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48555 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48556 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48557 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48558
48559 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48560
48561 [BZ #17084]
48562 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48563 Rename member __data.d to __data.__elision_data.
48564
48565 2014-06-24 Wilco <wdijkstr@arm.com>
48566
48567 * NEWS: Add 16918 to fixed bug list.
48568
48569 2014-06-24 Wilco <wdijkstr@arm.com>
48570
48571 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48572
48573 2014-06-24 Wilco <wdijkstr@arm.com>
48574
48575 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48576 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48577 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48578 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48579 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48580 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48581 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48582 Use _FPU_MASK_RM.
48583
48584 2014-06-24 Wilco <wdijkstr@arm.com>
48585
48586 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48587
48588 2014-06-24 Wilco <wdijkstr@arm.com>
48589
48590 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48591 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48592 * sysdeps/arm/fesetround.c (fesetround): Remove space.
48593 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48594
48595 2014-06-24 Wilco <wdijkstr@arm.com>
48596
48597 [BZ #16918]
48598 * sysdeps/arm/feupdateenv.c (feupdateenv):
48599 Rewrite to reduce FPSCR accesses and fix return value.
48600
48601 2014-06-24 Wilco <wdijkstr@arm.com>
48602
48603 * sysdeps/arm/fclrexcpt.c (feclearexcept):
48604 Optimize to avoid unnecessary FPSCR writes.
48605 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48606 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48607 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48608 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48609
48610 2014-06-24 Wilco <wdijkstr@arm.com>
48611
48612 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48613 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48614 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48615 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48616 Call libc_fetestexcept_vfp.
48617 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48618 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48619 __SOFTFP__ ifdef so that they can be built for softfp.
48620
48621 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48622
48623 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48624 argument type signed char.
48625
48626 * Makerules (check-abi): Dump diff of symlist if the test
48627 fails.
48628
48629 2014-06-23 Roland McGrath <roland@hack.frob.com>
48630
48631 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48632 using abort.
48633
48634 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48635 Remove unused variable ST.
48636
48637 2014-06-23 Joseph Myers <joseph@codesourcery.com>
48638
48639 [BZ #16354]
48640 [BZ #17061]
48641 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48642 small arguments before calling __expm1.
48643 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48644 small arguments before calling __expm1f.
48645 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48646 small arguments before calling __expm1l.
48647 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48648 Likewise.
48649 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48650 * math/auto-libm-test-in: Add more cosh tests. Do not allow
48651 spurious underflow for some cosh tests.
48652 * math/auto-libm-test-out: Regenerated.
48653 * sysdeps/i386/fpu/libm-test-ulps: Update.
48654
48655 [BZ #17050]
48656 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48657 (__ieee754_y1): Set errno if return value overflows.
48658 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
48659 (__ieee754_y1f): Set errno if return value overflows.
48660 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
48661 (__ieee754_y1l): Set errno if return value overflows.
48662 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
48663 (__ieee754_y1l): Set errno if return value overflows.
48664 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
48665 * math/auto-libm-test-out: Regenerated.
48666
48667 * math/gen-auto-libm-tests.c: Document use of
48668 ignore-zero-inf-sign.
48669 (input_flag_type): Add value flag_ignore_zero_inf_sign.
48670 (input_flags): Add ignore-zero-inf-sign.
48671 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
48672 * math/gen-libm-test.pl (generate_testfile): Handle
48673 ignore-zero-inf-sign.
48674 * math/auto-libm-test-in: Mark some cpow tests with
48675 ignore-zero-inf-sign and some with xfail-rounding.
48676 * math/auto-libm-test-out: Regenerated.
48677 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
48678 * sysdeps/i386/fpu/libm-test-ulps: Update.
48679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48680
48681 [BZ #16315]
48682 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
48683 overflowing or underflowing operations take place with sign of
48684 result.
48685 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48686 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48687 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
48688 (__ieee754_pow): Recompute overflowing and underflowing results in
48689 original rounding mode.
48690 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
48691 (__powl_helper): Allow negative argument X and scale negated value
48692 as needed. Avoid passing value outside [-1, 1] to f2xm1.
48693 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
48694 overflowing or underflowing operations take place with sign of
48695 result.
48696 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
48697 Include <math.h>.
48698 * math/auto-libm-test-in: Add more tests of pow.
48699 * math/auto-libm-test-out: Regenerated.
48700 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
48701 (pow_tonearest_test_data): Remove.
48702 (pow_test_tonearest): Likewise.
48703 (pow_towardzero_test_data): Likewise.
48704 (pow_test_towardzero): Likewise.
48705 (pow_downward_test_data): Likewise.
48706 (pow_test_downward): Likewise.
48707 (pow_upward_test_data): Likewise.
48708 (pow_test_upward): Likewise.
48709 (main): Don't call removed functions.
48710 * sysdeps/i386/fpu/libm-test-ulps: Update.
48711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48712
48713 2014-06-23 Roland McGrath <roland@hack.frob.com>
48714
48715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
48716 Moved ...
48717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
48718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48719 Moved ...
48720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
48721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48722 Moved ...
48723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
48724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48725 Moved ...
48726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
48727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48728 File removed.
48729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48730 File removed.
48731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
48732 File removed.
48733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
48734 File removed.
48735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
48736 File removed.
48737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
48738 File removed.
48739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
48740 File removed.
48741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48742 File removed.
48743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
48744 File removed.
48745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48746 File removed.
48747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
48748 File removed.
48749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
48750 File removed.
48751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
48752 Moved ...
48753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
48754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
48755 Moved ...
48756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
48757 ... here.
48758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48759 Moved ...
48760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
48761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
48762 Moved ...
48763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
48764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
48765 Moved ...
48766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
48767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
48768 Moved ...
48769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
48770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
48771 Moved ...
48772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
48773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
48774 Moved ...
48775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
48776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48777 Moved ...
48778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48781 ... here.
48782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48783 Moved ...
48784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48786 Moved ...
48787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48788 ... here.
48789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48790 Moved ...
48791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48792 ... here.
48793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48794 Moved ...
48795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48796 ... here.
48797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48798 Moved ...
48799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48801 Moved ...
48802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48806 Moved ...
48807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48808 ... here.
48809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48810 Moved ...
48811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48812 ... here.
48813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48814 Moved ...
48815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48817 Moved ...
48818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48820 Moved ...
48821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48823 Moved ...
48824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48826 Moved ...
48827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48828 ... here.
48829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48830 Moved ...
48831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48833 Moved ...
48834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48836 Moved ...
48837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48839 Moved ...
48840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48844 Moved ...
48845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48847 Moved ...
48848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48850 Moved ...
48851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48852 ... here.
48853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48854 Moved ...
48855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48856 ... here.
48857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48858 Moved ...
48859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48860 ... here.
48861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48862 Moved ...
48863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48865 Moved ...
48866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48868 Moved ...
48869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48871 Moved ...
48872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48873 ... here.
48874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48875 Moved ...
48876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48877 ... here.
48878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48879 Moved ...
48880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48881 ... here.
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48883 Moved ...
48884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48886 Moved ...
48887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48888
48889 2014-06-23 Will Newton <will.newton@linaro.org>
48890 Wilco <wdijkstr@arm.com>
48891
48892 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48893 implementation. Include get-rounding-mode.h.
48894 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48895 [!libc_feholdsetround_noex_ctx]: Define
48896 libc_feholdsetround_noex_ctx.
48897 [!libc_feholdsetround_noexf_ctx]: Define
48898 libc_feholdsetround_noexf_ctx.
48899 [!libc_feholdsetround_noexl_ctx]: Define
48900 libc_feholdsetround_noexl_ctx.
48901 (libc_feholdsetround_ctx): New function.
48902 (libc_feresetround_ctx): New function.
48903 (libc_feholdsetround_noex_ctx): New function.
48904 (libc_feresetround_noex_ctx): New function.
48905
48906 2014-06-23 Roland McGrath <roland@hack.frob.com>
48907
48908 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48909 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48910 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48911 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48912 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48913 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48914
48915 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48916 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48917 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48918 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48919 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48920 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48922 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48924 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48925 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48926 Moved ...
48927 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48928 ... here.
48929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48930 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48932 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48933 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48934 Moved ...
48935 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48937 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48939 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48941 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48942 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48943 Moved ...
48944 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48945 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48946 Moved ...
48947 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48949 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48950 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48951 Moved ...
48952 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48953 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48954 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48955 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48956 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48957 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48958 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48960 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48962 Moved ...
48963 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48964 ... here.
48965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48966 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48968 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48970 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48972 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48974 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48976 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48977 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48978 Moved ...
48979 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48980 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48981 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48982 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48983 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48984 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48985 Moved ...
48986 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48987 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48988 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48989 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48990 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48991
48992 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48993 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48994 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48995 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48996 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48997 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48998 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48999 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49000 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49001 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49002 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49003 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49004 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49005 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49006 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49007 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49008 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49009 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49010 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49011 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49012 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49013 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49014 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49015 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49016 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49017 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49018 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49019 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49020
49021 2014-06-23 Joseph Myers <joseph@codesourcery.com>
49022
49023 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49024 (FALLOC_FL_COLLAPSE_RANGE): New macro.
49025 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49026 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49027 (IPV6_PMTUDISC_INTERFACE): Likewise.
49028 (IPV6_PMTUDISC_OMIT): Likewise.
49029
49030 2014-06-23 Andreas Schwab <schwab@suse.de>
49031
49032 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49033 Remove unused errout label.
49034
49035 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49036
49037 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49038 macro: hardware supports Vector Crypto instructions.
49039
49040 2014-06-23 Will Newton <will.newton@linaro.org>
49041
49042 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49043 rather than __builtin_expect.
49044
49045 * elf/dl-lookup.c (undefined_msg): Remove variable.
49046 (_dl_lookup_symbol_x): Replace undefined_msg with string
49047 literal.
49048
49049 * elf/dl-lookup.c (do_lookup_unique): New function.
49050 (do_lookup_x): Move STB_GNU_UNIQUE handling code
49051 to a separate function.
49052
49053 2014-06-23 Andreas Schwab <schwab@suse.de>
49054
49055 [BZ #17079]
49056 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49057 before reading the next line.
49058
49059 2014-06-23 Will Newton <will.newton@linaro.org>
49060
49061 * test-skeleton.c (signal_handler): Use printf and %m
49062 rather than perror. Use printf rather than fprintf to
49063 stderr. Use puts rather than fputs to stderr.
49064 (main): Likewise.
49065
49066 2014-06-22 Ludovic Courtès <ludo@gnu.org>
49067
49068 * nscd/nscd.c (thread_info_t): Remove typedef.
49069 (thread_info): Remove variable.
49070
49071 2014-06-21 Allan McRae <allan@archlinux.org>
49072
49073 * NEWS: Mention CVE-2014-4043.
49074
49075 2014-06-20 Roland McGrath <roland@hack.frob.com>
49076
49077 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49078 * nptl/smp.h: ... here.
49079
49080 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49081
49082 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49083 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49084 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49085 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49086
49087 * nptl/allocatestack.c: Include <stack-aliasing.h>.
49088 * nptl/stack-aliasing.h: New file.
49089 * sysdeps/i386/i686/stack-aliasing.h: New file.
49090 * sysdeps/i386/i686/nptl/Makefile: File removed.
49091 * sysdeps/x86_64/stack-aliasing.h: New file.
49092 * sysdeps/x86_64/nptl/Makefile
49093 (CFLAGS-pthread_create.c): Variable removed.
49094
49095 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49096 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49097 old file.
49098 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49099 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49100 old file.
49101
49102 2014-06-21 Joseph Myers <joseph@codesourcery.com>
49103
49104 * sysdeps/unix/sysv/linux/arm/kernel-features.h
49105 (__ASSUME_SIGFRAME_V2): Remove macro.
49106 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49107 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49108 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49109 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49110 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49111 Declare as function. Remove conditional macro definitions.
49112 (__default_rt_sa_restorer): Likewise.
49113 (__default_sa_restorer_v1): Remove declaration.
49114 (__default_sa_restorer_v2): Likewise.
49115 (__default_rt_sa_restorer_v1): Likewise.
49116 (__default_rt_sa_restorer_v2): Likewise.
49117 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49118 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49119 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49120
49121 2014-06-20 Roland McGrath <roland@hack.frob.com>
49122
49123 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49124 (libpthread-routines): Add sysdep.
49125 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49126 * sysdeps/unix/sysv/linux/sparc/Versions
49127 (libpthread: GLIBC_2.3.3): New version set.
49128 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49129 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49130 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49131 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49132 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
49133 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49134 Moved ...
49135 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49136 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49137 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49138 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49139 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49140 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49141 * sysdeps/sparc/nptl/sem_init.c: ... here.
49142 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49143 * sysdeps/sparc/nptl/sem_post.c: ... here.
49144 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49145 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49146 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49147 * sysdeps/sparc/nptl/sem_wait.c: ... here.
49148 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49149 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49150 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49151 (libpthread-routines): Add cpu_relax.
49152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49153 File removed.
49154 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49155 (librt: GLIBC_2.3.3): New version set.
49156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49157 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49158 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49159 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49162 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49164 Moved ...
49165 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49167 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49169 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49171 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49173 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49175 Moved ...
49176 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49177 Update #include.
49178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49179 Moved ...
49180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49181 Update #include.
49182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49183 Moved ...
49184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49185 Update #include.
49186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49187 Moved ...
49188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49189 Update #include.
49190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49191 Moved ...
49192 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49193 Update #include.
49194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49195 Moved ...
49196 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49197 Update #include.
49198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49199 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49205 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49207 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49209 Moved ...
49210 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49212 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49214 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49215
49216 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49217
49218 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49219 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49220 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49221 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49222 * nscd/nscd.c: Likewise.
49223 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49224 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49225 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49226 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49227
49228 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49229 <kernel-features.h>.
49230 (init_mq_netlink): Remove conditional have_sock_cloexec
49231 definitions. Remove code conditional on have_sock_cloexec < 0.
49232 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49233 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49234 * sysdeps/unix/sysv/linux/opensock.c: Do not include
49235 <kernel-features.h>.
49236 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49237 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49238
49239 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49240
49241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49242 Add tests for memset_chk and memset.
49243
49244 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49245 with AVX2_Usable.
49246
49247 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49248
49249 [BZ #16046]
49250 * elf/tst-dl-iter-static.c: New file.
49251 * elf/Makefile (tests-static): Add tst-dl-iter-static.
49252
49253 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49254 error.
49255
49256 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49257
49258 * sysdeps/unix/sysv/linux/kernel-features.h
49259 (__ASSUME_F_GETOWN_EX): Remove macro.
49260 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49261 <kernel-features.h>.
49262 (miss_F_GETOWN_EX): Remove variable or macro.
49263 (do_fcntl): Do not check miss_F_GETOWN_EX.
49264 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49265
49266 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49267 Remove macro.
49268 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49269 [!__ASSUME_AT_RANDOM]: Remove conditional code.
49270 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49271
49272 * sysdeps/unix/sysv/linux/kernel-features.h
49273 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49274 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49275 [ADJ_OFFSET_SS_READ]: Make code unconditional.
49276 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49277
49278 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
49279
49280 [BZ #17075]
49281 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49282 Fix calculation of the symbol's value.
49283 * sysdeps/arm/tst-armtlsdescloc.c: New file.
49284 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49285 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49286 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49287 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49288 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49289 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49290 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49291 (modules-names): Add `tst-armtlsdescmod',
49292 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49293 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49294 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49295 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49296 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49297 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49298 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49299 ($(objpfx)tst-armtlsdescloc): New dependency.
49300 ($(objpfx)tst-armtlsdescextnow): Likewise.
49301 ($(objpfx)tst-armtlsdescextlazy): Likewise.
49302 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49303 TLS scheme support.
49304 * sysdeps/arm/configure: Regenerate.
49305
49306 2014-06-20 Joseph Myers <joseph@codesourcery.com>
49307
49308 * include/fcntl.h (__atfct_seterrno): Remove prototype.
49309 (__atfct_seterrno_2): Likewise.
49310 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49311 <kernel-features.h>.
49312 (__ASSUME_ATFCTS): Do not undefine and redefine.
49313 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49314 (__have_atfcts): Remove conditional definition.
49315 (__fxstatat([__NR_fstatat64]: Make code unconditional.
49316 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49317 unreachable if [__ASSUME_ATFCTS].
49318 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49319 not undefine and redefine.
49320 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49321 <kernel-features.h>.
49322 (faccessat) [__NR_faccessat]: Make code unconditional.
49323 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49324 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49325 <kernel-features.h>.
49326 (fchmodat) [__NR_fchmodat]: Make code unconditional.
49327 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49328 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49329 <kernel-features.h>.
49330 (fchownat) [__NR_fchownat]: Make code unconditional.
49331 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49332 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49333 <kernel-features.h>.
49334 (futimesat) [__NR_futimesat]: Make code unconditional.
49335 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49336 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49337 <kernel-features.h>.
49338 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49339 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49340 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49341 <kernel-features.h>.
49342 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49343 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49344 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49345 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49346 <kernel-features.h>.
49347 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49348 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49349 * sysdeps/unix/sysv/linux/linkat.c: Do not include
49350 <kernel-features.h>.
49351 (linkat) [__NR_linkat]: Make code unconditional.
49352 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49353 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49354 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49355 <kernel-features.h>.
49356 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49357 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49358 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49359 <kernel-features.h>.
49360 (mkdirat) [__NR_mkdirat]: Make code unconditional.
49361 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49362 * sysdeps/unix/sysv/linux/openat.c: Do not include
49363 <kernel-features.h>.
49364 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49365 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49366 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49367 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49368 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49369 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49370 <kernel-features.h>.
49371 (readlinkat) [__NR_readlinkat]: Make code unconditional.
49372 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
49373 result of INLINE_SYSCALL directly, not via int variable.
49374 * sysdeps/unix/sysv/linux/renameat.c: Do not include
49375 <kernel-features.h>.
49376 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49377 (renameat) [__NR_renameat]: Make code unconditional.
49378 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49379 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49380 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49381 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49382 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49383 (__ASSUME_ATFCTS): Do not undefine and redefine.
49384 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49385 <kernel-features.h>.
49386 (symlinkat) [__NR_symlinkat]: Make code unconditional.
49387 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49388 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49389 <kernel-features.h>.
49390 (unlinkat) [__NR_unlinkat]: Make code unconditional.
49391 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49392 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49393 (__ASSUME_ATFCTS): Do not undefine and redefine.
49394 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49395 <kernel-features.h>.
49396 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49397 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49398 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49399 <kernel-features.h>.
49400 (__xmknodat) [__NR_mknodat]: Make code unconditional.
49401 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49402
49403 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
49404
49405 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49406
49407 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
49408
49409 [BZ #17069]
49410 * posix/regcomp.c (parse_reg_exp): Deallocate partially
49411 constructed tree before returning error.
49412 * posix/bug-regexp36.c: Expand test case.
49413
49414 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
49415
49416 [BZ #6803]
49417 * math/libm-test.inc (scalbln_test_date):
49418 Add errno expectations.
49419 * math/w_scalblnf.c: New File.
49420 Add wrapper which checks for setting errno to ERANGE.
49421 Add weak_alias for corresponding scalbln function.
49422 * math/w_scalbln.c: Likewise.
49423 * math/w_scalblnl.c: Likewise.
49424 * math/Makefile (libm-calls): Add w_scalbln.
49425 * sysdeps/ieee754/flt-32/s_scalblnf.c:
49426 Remove weak_alias for corresponding scalbln function.
49427 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49431 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49432 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49433 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49434 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49435 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49436 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49437 Remove long_double_symbol for scalblnl function in libm, libc.
49438 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49439 Add wrapper which checks for setting errno to ERANGE.
49440 Add long_double_symbol for scalblnl function in libm, libc.
49441 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49442 Remove long_double_symbol for scalblnl in libm.
49443 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49444 Add wrapper which checks for setting errno to ERANGE.
49445 Add long_double_symbol for scalblnl function in libm.
49446 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49447 Do not use wrapper because of own implementation.
49448
49449 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
49450
49451 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49452 3 bytes for __pad1 for x32.
49453 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49454
49455 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
49456 H.J. Lu <hongjiu.lu@intel.com>
49457
49458 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49459 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49460 * sysdeps/x86_64/multiarch/memset.S: Likewise.
49461 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49462 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49463
49464 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
49465
49466 [BZ #17069]
49467 * posix/regcomp.c (parse_expression): Deallocate partially
49468 constructed tree before returning error.
49469 * posix/Makefile.c (tests): Add bug-regex36.
49470 (generated): Add bug-regex36.mtrace.
49471 (tests-special): Add $(objpfx)bug-regex36-mem.out
49472 (bug-regex36-ENV): New variable.
49473 ($(objpfx)bug-regex36-mem.out): New rule.
49474 * posix/bug-regex36.c: New file.
49475
49476 2014-06-19 Will Newton <will.newton@linaro.org>
49477
49478 * malloc/malloc.c (systrim): If extra is zero then return
49479 early.
49480
49481 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49482
49483 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49484
49485 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
49486
49487 * sysdeps/aarch64/strchr.S: New file.
49488
49489 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49490
49491 [BZ #17022]
49492 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49493 from arguments -2 or below.
49494 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49495 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49496
49497 2014-06-18 Andreas Schwab <schwab@suse.de>
49498
49499 [BZ #17062]
49500 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49501 of a bracket expr not to run off the end of the string.
49502 * posix/Makefile (tests): Add tst-fnmatch3.
49503 * posix/tst-fnmatch3.c: New file.
49504
49505 2014-06-18 Joseph Myers <joseph@codesourcery.com>
49506
49507 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49508 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49509 [$(cross-compiling) = no]: Likewise.
49510 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49511 [$(cross-compiling) = no]: Likewise.
49512
49513 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49514
49515 [BZ #17031]
49516 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49517 double, adjusted for any remainder from the high double.
49518 * math/libm-test.inc (nearbyint): Add tests.
49519 (rint): Likewise.
49520
49521 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49522
49523 * nptl/sysdeps/powerpc/Makefile: Moved ...
49524 * sysdeps/powerpc/nptl/Makefile: ... here.
49525 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49526 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49527 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49528 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49529 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49530 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49531 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49532 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49533 * nptl/sysdeps/powerpc/tls.h: Moved ...
49534 * sysdeps/powerpc/nptl/tls.h: ... here.
49535
49536 2014-06-16 Joseph Myers <joseph@codesourcery.com>
49537
49538 [BZ #16681]
49539 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49540 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49541 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49542 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49543 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49544 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49545 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49546 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49547 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49548
49549 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
49550
49551 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49552
49553 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
49554
49555 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49556 defined operator.
49557
49558 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49559 $TIMEOUTFACTOR.
49560
49561 2014-06-16 Florian Weimer <fweimer@redhat.com>
49562
49563 [BZ #17058]
49564 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49565 non-executed part of the test.
49566
49567 2014-06-16 Andreas Schwab <schwab@suse.de>
49568
49569 * string/bits/string2.h (strdup, strndup): Update feature guard.
49570
49571 2014-06-14 David S. Miller <davem@davemloft.net>
49572
49573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49574
49575 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
49576
49577 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49578 that was previously under [RESET_PID].
49579 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49580
49581 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49582 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49583 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49584 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49585 (__libc_vfork): New strong alias.
49586 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49587
49588 2014-06-14 Andi Kleen <ak@linux.intel.com>
49589
49590 * sysdeps/generic/elide.h: New file.
49591
49592 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
49593
49594 * Makefile (installed-headers): Adjust path of pthread.h header.
49595
49596 2014-06-13 Roland McGrath <roland@hack.frob.com>
49597
49598 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49599 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49600 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49601 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49602
49603 * nptl/sysdeps/s390/Makefile: Moved ...
49604 * sysdeps/s390/nptl/Makefile: ... here.
49605 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49606 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49607 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49608 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49609 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49610 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49611 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49612 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49613 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49614 * sysdeps/s390/nptl/pthreaddef.h: ... here.
49615 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49616 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49617 * nptl/sysdeps/s390/tls.h: Moved ...
49618 * sysdeps/s390/nptl/tls.h: ... here.
49619
49620 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49621 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49622
49623 2014-06-13 David S. Miller <davem@davemloft.net>
49624
49625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49628 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49632 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49633 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49634 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49635 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49636 Remove RESET_PID cpp guards.
49637 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49638 Remove RESET_PID cpp guards.
49639 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49640
49641 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
49642
49643 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49644 __sp to uintptr_t.
49645
49646 2014-06-13 Andi Kleen <ak@linux.intel.com>
49647
49648 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49649 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49650 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49651 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49652 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49654 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49655 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49656 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49657 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
49658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
49659 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
49660 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
49661 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
49662 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
49663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
49664 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
49665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
49666 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
49667 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
49668
49669 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
49670 (pthread_rwlock_rdlock): Add elision.
49671 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
49672 (pthread_rwlock_wrlock): Add elision.
49673 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
49674 (pthread_rwlock_trywrlock): Add elision.
49675 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
49676 (pthread_rwlock_tryrdlock): Add elision.
49677 * nptl/pthread_rwlock_unlock.c: Include elide.h.
49678 (pthread_rwlock_tryrdlock): Add elision unlock.
49679 * nptl/sysdeps/pthread/pthread.h:
49680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
49681 (PTHREAD_RWLOCK_INITIALIZER,
49682 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
49683 Handle new elision field.
49684 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
49685 * sysdeps/arm/nptl/bits/pthreadtypes.h
49686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49687 * sysdeps/sh/nptl/bits/pthreadtypes.h
49688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49689 * sysdeps/tile/nptl/bits/pthreadtypes.h
49690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49691 * sysdeps/a/nptl/bits/pthreadtypes.h
49692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49693 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49695 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49697 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
49698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49699 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49701 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49703 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49705 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49707 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
49708 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49709 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
49710 (elision_init): Set try_xbegin to zero when no RTM.
49711 * sysdeps/x86/nptl/bits/pthreadtypes.h
49712 (pthread_rwlock_t): Change __pad1 to __rwelision.
49713 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49714
49715 2014-06-13 Andi Kleen <ak@linux.intel.com>
49716
49717 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
49718 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
49719 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
49720 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
49721
49722 2014-06-13 Meador Inge <meadori@codesourcery.com>
49723
49724 [BZ #16996]
49725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
49726 that the cached result has been set before returning it.
49727
49728 2014-06-12 Roland McGrath <roland@hack.frob.com>
49729
49730 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
49731 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
49732 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
49733 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
49734 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
49735 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
49736
49737 * nptl/sysdeps/sparc/Makefile: Moved ...
49738 * sysdeps/sparc/nptl/Makefile: ... here.
49739 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
49740 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
49741 * nptl/sysdeps/sparc/tls.h: Moved ...
49742 * sysdeps/sparc/nptl/tls.h: ... here.
49743 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
49744 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
49745 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
49746 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
49747 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
49748 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
49749 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
49750 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
49751 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
49752 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
49753 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
49754 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
49755 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
49756 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
49757 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
49758 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
49759 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
49760 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
49761 Update #include.
49762 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
49763 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
49764 Update #include.
49765 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
49766 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
49767 Update #include.
49768 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
49769 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
49770 Update #include.
49771
49772 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49773
49774 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
49775 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49776
49777 * sysdeps/pthread/posix-timer.h: Include <list.h>.
49778 (struct list_links): Type removed.
49779 (struct thread_node, struct timer_node): Replace struct list_links
49780 with struct list_head.
49781 (list_unlink_ip): Likewise.
49782 * sysdeps/pthread/timer_routines.c
49783 (timer_free_list, thread_free_list, thread_active_list): Likewise.
49784 (list_append, list_insbefore): Likewise.
49785 (list_init): Function removed.
49786 (thread_init, init_module): Use INIT_LIST_HEAD instead.
49787 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49788 * sysdeps/pthread/Makefile: ... here, new file.
49789
49790 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49791 * sysdeps/nptl/Implies: ... here.
49792 * sysdeps/unix/sysv/linux/Implies: Add nptl.
49793 * nptl/sysdeps/pthread/list.h: Moved ...
49794 * include/list.h: ... here.
49795 * nptl/sysdeps/pthread/createthread.c: Moved ...
49796 * nptl/createthread.c: ... here.
49797 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49798 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49799 * nptl/pt-longjmp.c: ... here.
49800 * nptl/sysdeps/pthread/Makefile: Moved ...
49801 * sysdeps/nptl/Makefile: ... here.
49802 * nptl/sysdeps/pthread/Subdirs: Moved ...
49803 * sysdeps/nptl/Subdirs: ... here.
49804 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49805 * sysdeps/nptl/aio_misc.h: ... here.
49806 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49807 * sysdeps/nptl/bits/libc-lock.h: ... here.
49808 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49809 * sysdeps/nptl/bits/libc-lockP.h: ... here.
49810 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49811 * sysdeps/nptl/bits/stdio-lock.h: ... here.
49812 * nptl/sysdeps/pthread/configure: Moved ...
49813 * sysdeps/nptl/configure: ... here.
49814 * nptl/sysdeps/pthread/configure.ac: Moved ...
49815 * sysdeps/nptl/configure.ac: ... here.
49816 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49817 * sysdeps/nptl/gai_misc.h: ... here.
49818 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49819 * sysdeps/nptl/librt-cancellation.c: ... here.
49820 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49821 * sysdeps/nptl/malloc-machine.h: ... here.
49822 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49823 * sysdeps/nptl/pthread-functions.h: ... here.
49824 * nptl/sysdeps/pthread/pthread.h: Moved ...
49825 * sysdeps/nptl/pthread.h: ... here.
49826 * nptl/sysdeps/pthread/setxid.h: Moved ...
49827 * sysdeps/nptl/setxid.h: ... here.
49828 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49829 * sysdeps/nptl/sigfillset.c: ... here.
49830 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49831 * sysdeps/nptl/tcb-offsets.h: ... here.
49832 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49833 * sysdeps/nptl/tst-mqueue8x.c: ... here.
49834 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49835 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49836 * nptl/sysdeps/pthread/allocalim.h: Moved ...
49837 * sysdeps/pthread/allocalim.h: ... here.
49838 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49839 * sysdeps/pthread/bits/sigthread.h: ... here.
49840 * nptl/sysdeps/pthread/flockfile.c: Moved ...
49841 * sysdeps/pthread/flockfile.c: ... here.
49842 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49843 * sysdeps/pthread/ftrylockfile.c: ... here.
49844 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49845 * sysdeps/pthread/funlockfile.c: ... here.
49846 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49847 * sysdeps/pthread/posix-timer.h: ... here.
49848 * nptl/sysdeps/pthread/timer_create.c: Moved ...
49849 * sysdeps/pthread/timer_create.c: ... here.
49850 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49851 * sysdeps/pthread/timer_delete.c: ... here.
49852 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49853 * sysdeps/pthread/timer_getoverr.c: ... here.
49854 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49855 * sysdeps/pthread/timer_gettime.c: ... here.
49856 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49857 * sysdeps/pthread/timer_routines.c: ... here.
49858 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49859 * sysdeps/pthread/timer_settime.c: ... here.
49860 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49861 * sysdeps/pthread/tst-timer.c: ... here.
49862 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49863 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49864
49865 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49866 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49867
49868 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49869 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49870 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49871 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49872 Update #include target.
49873 * nptl/sysdeps/i386/i686/Makefile: Moved ...
49874 * sysdeps/i386/i686/nptl/Makefile: ... here.
49875 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49876 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49877 Update #include target.
49878 * nptl/sysdeps/i386/i686/tls.h: Moved ...
49879 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
49880 * nptl/sysdeps/i386/Makefile: Moved ...
49881 * sysdeps/i386/nptl/Makefile: ... here.
49882 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49883 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49884 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49885 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49886 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49887 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49888 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49889 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49890 * sysdeps/i386/nptl/pthreaddef.h: ... here.
49891 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49892 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49893 * nptl/sysdeps/i386/tls.h: Moved ...
49894 * sysdeps/i386/nptl/tls.h: ... here.
49895
49896 * sysdeps/sh/Makefile [$(subdir) = csu]
49897 (gen-as-const-headers): Add tcb-offsets.sym.
49898 * nptl/sysdeps/sh/Makefile: File removed.
49899 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49900 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49901 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49902 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49903 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49904 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49905 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49906 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49907 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49908 * sysdeps/sh/nptl/pthreaddef.h: ... here.
49909 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49910 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49911 * nptl/sysdeps/sh/tls.h: Moved ...
49912 * sysdeps/sh/nptl/tls.h: ... here.
49913 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49914 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49915 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49916 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49917 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49918 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49919 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49920 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49921 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49922 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49924 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49926 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49928 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49930 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49932 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49934 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49936 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49937 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49938 Moved ...
49939 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49940 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49941 Moved ...
49942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49943 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49945 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49946 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49947 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49948 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49949 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49950 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49951 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49952 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49953 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49954 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49955 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49956 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49957 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49958 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49959 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49960 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49961
49962 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
49963
49964 * posix/spawn_faction_addopen.c: Include string.h.
49965
49966 2014-06-11 Roland McGrath <roland@hack.frob.com>
49967
49968 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49969 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49970 * nptl/sysdeps/x86_64/Makefile: Moved ...
49971 * sysdeps/x86_64/nptl/Makefile: ... here.
49972 * nptl/sysdeps/x86_64/configure: Moved ...
49973 * sysdeps/x86_64/nptl/configure: ... here.
49974 * nptl/sysdeps/x86_64/configure.ac: Moved ...
49975 * sysdeps/x86_64/nptl/configure.ac: ... here.
49976 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49977 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49978 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49979 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49980 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49981 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49982 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49983 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49984 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49985 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49986 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49987 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49988 * nptl/sysdeps/x86_64/tls.h: Moved ...
49989 * sysdeps/x86_64/nptl/tls.h: ... here.
49990 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49991 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49992 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49993 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49994
49995 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49996
49997 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49998
49999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50000
50001 2014-06-11 Joseph Myers <joseph@codesourcery.com>
50002
50003 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50004 type.
50005 [POSIX] (off_t): Likewise.
50006 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50007 [POSIX] (S_ISBLK): Require macro.
50008 [POSIX] (S_ISCHR): Likewise.
50009 [POSIX] (S_ISDIR): Likewise.
50010 [POSIX] (S_ISFIFO): Likewise.
50011 [POSIX] (S_ISREG): Likewise.
50012 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50013 optional-macro.
50014 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50015 type.
50016 [POSIX] (time_t): Likewise.
50017 [POSIX] (timer_t): Likewise.
50018
50019 2014-06-11 Florian Weimer <fweimer@redhat.com>
50020
50021 [BZ #17048]
50022 * posix/spawn_int.h (struct __spawn_action): Make the path string
50023 non-const to support deallocation.
50024 * posix/spawn_faction_addopen.c
50025 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50026 * posix/spawn_faction_destroy.c
50027 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
50028 path in all spawn_do_open actions.
50029 * posix/tst-spawn.c (do_test): Exercise the copy operation in
50030 posix_spawn_file_actions_addopen.
50031
50032 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
50033
50034 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50035 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50036 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50037 conditional code always true.
50038 (__libc_vfork): New alias.
50039
50040 2014-06-11 Roland McGrath <roland@hack.frob.com>
50041
50042 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50043 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50044
50045 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50046
50047 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50048 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50049
50050 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50051 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50052
50053 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50054 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50055
50056 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
50057
50058 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50059 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50060 multiarch strcmp for PPC64.
50061 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50062 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50064 multiarch optimizations.
50065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50066 (__libc_ifunc_impl_list): Likewise.
50067
50068 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50069
50070 * benchtests/scripts/validate_benchout.py: New script.
50071 * benchtests/Makefile (bench-func): Call it.
50072 * benchtests/scripts/benchout.schema.json: New file.
50073
50074 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
50075
50076 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50077 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50078 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50079 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50080 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50081 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50082 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50083 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50084 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50085 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50086 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50087 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50088 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50089 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50090 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50091 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50093 Moved ...
50094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50095 ... here.
50096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50097 Moved ...
50098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50100 Moved ...
50101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50102 ... here.
50103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50104 Moved ...
50105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50106 ... here.
50107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50108 Moved ...
50109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50111 Moved ...
50112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50113 ... here.
50114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50115 Moved ...
50116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50117 ... here.
50118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50119 Moved ...
50120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50122 Moved ...
50123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50124 ... here.
50125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50126 Moved ...
50127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50128 ... here.
50129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50130 Moved ...
50131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50132 ... here.
50133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50134 Moved ...
50135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50137 Moved ...
50138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50139 ... here.
50140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50141 Moved ...
50142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50143 ... here.
50144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50145 Moved ...
50146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50147 ... here.
50148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50149 Moved ...
50150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50152 Moved ...
50153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50154 ... here.
50155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50156 Moved ...
50157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50158 ... here.
50159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50160 Moved ...
50161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50163 Moved ...
50164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50165 ... here.
50166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50167 Moved ...
50168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50170 Moved ...
50171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50173 Moved ...
50174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50175 ... here.
50176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50177 Moved ...
50178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50179 ... here.
50180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50181 Moved ...
50182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50183 ... here.
50184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50185 Moved ...
50186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50188 Moved ...
50189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50190 ... here.
50191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50192 Moved ...
50193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50194 ... here.
50195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50196 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50198 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50200 Moved ...
50201 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50202 ... here.
50203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50204 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50206 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50208 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50210 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50212 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50214 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50215 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50216 Moved ...
50217 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50218 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50219 Moved ...
50220 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50222 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50223 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50224 Moved ...
50225 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50226 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50227 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50228 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50229 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50230 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50231 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50232
50233 2014-06-10 Wilco <wdijkstr@arm.com>
50234
50235 * math/test-fenv-return.c: New file.
50236 * math/Makefile: Add new test test-fenv-return.
50237
50238 2014-06-10 Joseph Myers <joseph@codesourcery.com>
50239
50240 [BZ #17042]
50241 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50242 when x - 1 is zero.
50243 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50244 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50245 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50246 0.0L for an argument of 1.0L.
50247 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50248 Likewise.
50249 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50250 value when x - 1 is zero.
50251 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50252 * sysdeps/i386/fpu/libm-test-ulps: Update.
50253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50254
50255 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
50256
50257 [BZ #15119]
50258 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50259
50260 2014-06-09 Roland McGrath <roland@hack.frob.com>
50261
50262 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50263 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50264
50265 2014-06-09 Roland McGrath <roland@hack.frob.com>
50266
50267 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50268 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50269
50270 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50271 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50272
50273 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50274 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50275
50276 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50277 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50278
50279 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50280 if not already defined.
50281 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50282 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50283 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50284 (TLS_INIT_TP): Use it.
50285 (TLS_DEFINE_INIT_TP): New macro.
50286 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50287
50288 2014-06-09 Joseph Myers <joseph@codesourcery.com>
50289
50290 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50291 constant.
50292 [POSIX] (IXANY): Likewise.
50293 [POSIX] (OLCUC): Likewise.
50294 [POSIX || POSIX2008] (CBAUD): Do not allow.
50295 [POSIX || POSIX2008] (DEFECHO): Likewise.
50296 [POSIX || POSIX2008] (ECHOCTL): Likewise.
50297 [POSIX || POSIX2008] (ECHOKE): Likewise.
50298 [POSIX || POSIX2008] (ECHOPRT): Likewise.
50299 [POSIX || POSIX2008] (EXTA): Likewise.
50300 [POSIX || POSIX2008] (EXTB): Likewise.
50301 [POSIX || POSIX2008] (FLUSHO): Likewise.
50302 [POSIX || POSIX2008] (LOBLK): Likewise.
50303 [POSIX || POSIX2008] (PENDIN): Likewise.
50304 [POSIX || POSIX2008] (SWTCH): Likewise.
50305 [POSIX || POSIX2008] (VDISCARD): Likewise.
50306 [POSIX || POSIX2008] (VDSUSP): Likewise.
50307 [POSIX || POSIX2008] (VLNEXT): Likewise.
50308 [POSIX || POSIX2008] (VREPRINT): Likewise.
50309 [POSIX || POSIX2008] (VSTATUS): Likewise.
50310 [POSIX || POSIX2008] (VWERASE): Likewise.
50311 (B*): Change to B[0123456789]*.
50312 * conform/data/time.h-data [POSIX || UNIX98]
50313 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50314 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50315 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50316 [POSIX] (tm_*): Do not allow.
50317
50318 2014-06-07 Joseph Myers <joseph@codesourcery.com>
50319
50320 * Makefile (install): Don't set LANGUAGE.
50321 * Makefile.in (install): Likewise.
50322 * assert/Makefile (test-assert-ENV): Remove variable.
50323 (test-assert-perr-ENV): Likewise.
50324 * elf/Makefile (neededtest4-ENV): Likewise.
50325 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50326 [$(cross-compiling) = no]: Don't set LANGUAGE.
50327 * io/ftwtest-sh (LANG): Remove variable.
50328 * libio/Makefile (tst-widetext-ENV): Likewise.
50329 * manual/install.texi (Running make install): Don't refer to
50330 environment settings for make install.
50331 * INSTALL: Regenerated.
50332 * nptl/tst-tls6.sh: Don't set LANG.
50333 * posix/globtest.sh (LANG): Remove variable.
50334 * string/Makefile (tester-ENV): Likewise.
50335 (inl-tester-ENV): Likewise.
50336 (noinl-tester-ENV): Likewise.
50337 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50338 [$(cross-compiling) = no]: Don't set LANGUAGE.
50339 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50340 without explicit environment settings.
50341
50342 2014-06-06 Roland McGrath <roland@hack.frob.com>
50343
50344 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50345 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50346 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50347 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50348
50349 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
50350
50351 * crypt/crypt-private.h [DOS]: Add some includes taken from the
50352 other files in the crypt directory.
50353 * crypt/crypt.c: Remove duplicate includes.
50354 * crypt/crypt-entry.c: Likewise.
50355 * crypt/crypt_util.c: Likewise.
50356
50357 2014-06-06 Joseph Myers <joseph@codesourcery.com>
50358
50359 * Makeconfig (run-program-env): New variable.
50360 (run-program-prefix-before-env): Likewise.
50361 (run-program-prefix-after-env): Likewise.
50362 (run-program-prefix): Define in terms of new variables.
50363 (built-program-cmd-before-env): New variable.
50364 (built-program-cmd-after-env): Likewise.
50365 (built-program-cmd): Define in terms of new variables.
50366 (test-program-prefix-before-env): New variable.
50367 (test-program-prefix-after-env): Likewise.
50368 (test-program-prefix): Define in terms of new variables.
50369 (test-program-cmd-before-env): New variable.
50370 (test-program-cmd-after-env): Likewise.
50371 (test-program-cmd): Define in terms of new variables.
50372 * Rules (make-test-out): Use $(run-program-env).
50373 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50374 (help): Do not mention environment variables. Mention
50375 --timeoutfactor option.
50376 (timeoutfactor): New variable.
50377 (blacklist_exports): Remove function.
50378 (exports): Remove variable.
50379 (command): Do not include ${exports}.
50380 * manual/install.texi (Configuring and compiling): Do not mention
50381 test wrappers preserving environment variables. Mention that last
50382 assignment to a variable must take precedence.
50383 * INSTALL: Regenerated.
50384 * benchtests/Makefile (run-bench): Use $(run-program-env).
50385 * catgets/Makefile ($(objpfx)test1.cat): Use
50386 $(built-program-cmd-before-env), $(run-program-env) and
50387 $(built-program-cmd-after-env).
50388 ($(objpfx)test2.cat): Do not specify environment variables
50389 explicitly.
50390 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50391 $(run-program-env) and $(built-program-cmd-after-env).
50392 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50393 $(run-program-env) and $(test-program-cmd-after-env).
50394 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50395 explicitly.
50396 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50397 run_program_env and test_program_cmd_after_env arguments.
50398 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50399 * elf/tst-pathopt.sh: Use run_program_env argument.
50400 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50401 $(test-wrapper-env) and $(run-program-env).
50402 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50403 run_program_env arguments.
50404 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50405 * intl/Makefile ($(objpfx)tst-gettext.out): Use
50406 $(test-program-prefix-before-env), $(run-program-env) and
50407 $(test-program-prefix-after-env).
50408 ($(objpfx)tst-gettext2.out): Likewise.
50409 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50410 run_program_env and test_program_prefix_after_env arguments.
50411 * intl/tst-gettext2.sh: Likewise.
50412 * intl/tst-gettext4.sh: Do not set environment variables
50413 explicitly.
50414 * intl/tst-gettext6.sh: Likewise.
50415 * intl/tst-translit.sh: Likewise.
50416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50417 $(test-program-prefix-before-env), $(run-program-env) and
50418 $(test-program-prefix-after-env).
50419 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50420 run_program_env and test_program_prefix_after_env arguments.
50421 * math/Makefile (run-regen-ulps): Use $(run-program-env).
50422 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50423 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
50424 explicitly with each use of ${test_wrapper_env}.
50425 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50426 $(test-program-prefix-before-env), $(run-program-env) and
50427 $(test-program-prefix-after-env).
50428 * posix/tst-getconf.sh: Do not set environment variables
50429 explicitly.
50430 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50431 run_program_env and test_program_prefix_after_env arguments.
50432 * stdio-common/tst-printf.sh: Do not set environment variables
50433 explicitly.
50434 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50435 $(test-program-prefix-before-env), $(run-program-env) and
50436 $(test-program-prefix-after-env).
50437 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50438 run_program_env and test_program_prefix_after_env arguments.
50439 Split $test calls into $test_pre and $test.
50440 * timezone/Makefile (build-testdata): Use
50441 $(built-program-cmd-before-env), $(run-program-env) and
50442 $(built-program-cmd-after-env).
50443
50444 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50445
50446 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50447 strlen for non SHARED builds.
50448
50449 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50450
50451 * nptl/allocatestack.c (check_list): Inlined function...
50452 (__reclaim_stacks): ... here.
50453
50454 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50455
50456 [BZ #15698]
50457 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50458 memory overrun.
50459
50460 2014-06-05 Joseph Myers <joseph@codesourcery.com>
50461
50462 * Rules (make-test-out): Include
50463 LOCPATH=$(common-objpfx)localedata in default environment.
50464 * debug/Makefile (tst-chk1-ENV): Remove variable.
50465 (tst-chk2-ENV): Likewise.
50466 (tst-chk3-ENV): Likewise.
50467 (tst-chk4-ENV): Likewise.
50468 (tst-chk5-ENV): Likewise.
50469 (tst-chk6-ENV): Likewise.
50470 (tst-lfschk1-ENV): Likewise.
50471 (tst-lfschk2-ENV): Likewise.
50472 (tst-lfschk3-ENV): Likewise.
50473 (tst-lfschk4-ENV): Likewise.
50474 (tst-lfschk5-ENV): Likewise.
50475 (tst-lfschk6-ENV): Likewise.
50476 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50477 (tst-iconv7-ENV): Likewise.
50478 * intl/Makefile (LOCPATH-ENV): Likewise.
50479 (tst-codeset-ENV): Likewise.
50480 (tst-gettext3-ENV): Likewise.
50481 (tst-gettext5-ENV): Likewise.
50482 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50483 (tst-fopenloc-ENV): Likewise.
50484 (tst-fgetws-ENV): Remove variable.
50485 (tst-ungetwc1-ENV): Likewise.
50486 (tst-ungetwc2-ENV): Likewise.
50487 (bug-ungetwc2-ENV): Likewise.
50488 (tst-swscanf-ENV): Likewise.
50489 (bug-ftell-ENV): Likewise.
50490 (tst-fgetwc-ENV): Likewise.
50491 (tst-fseek-ENV): Likewise.
50492 (tst-ftell-partial-wide-ENV): Likewise.
50493 (tst-ftell-active-handler-ENV): Likewise.
50494 (tst-ftell-append-ENV): Likewise.
50495 * posix/Makefile (tst-fnmatch-ENV): Likewise.
50496 (tst-regexloc-ENV): Likewise.
50497 (bug-regex1-ENV): Likewise.
50498 (tst-regex-ENV): Likewise.
50499 (tst-regex2-ENV): Likewise.
50500 (bug-regex5-ENV): Likewise.
50501 (bug-regex6-ENV): Likewise.
50502 (bug-regex17-ENV): Likewise.
50503 (bug-regex18-ENV): Likewise.
50504 (bug-regex19-ENV): Likewise.
50505 (bug-regex20-ENV): Likewise.
50506 (bug-regex22-ENV): Likewise.
50507 (bug-regex23-ENV): Likewise.
50508 (bug-regex25-ENV): Likewise.
50509 (bug-regex26-ENV): Likewise.
50510 (bug-regex30-ENV): Likewise.
50511 (bug-regex32-ENV): Likewise.
50512 (bug-regex33-ENV): Likewise.
50513 (bug-regex34-ENV): Likewise.
50514 (bug-regex35-ENV): Likewise.
50515 (tst-rxspencer-ENV): Likewise.
50516 (tst-rxspencer-no-utf8-ENV): Likewise.
50517 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50518 (tst-sscanf-ENV): Likewise.
50519 (tst-swprintf-ENV): Likewise.
50520 (tst-swscanf-ENV): Likewise.
50521 (test-vfprintf-ENV): Likewise.
50522 (scanf13-ENV): Likewise.
50523 (bug14-ENV): Likewise.
50524 (tst-grouping-ENV): Likewise.
50525 * stdlib/Makefile (tst-strtod-ENV): Likewise.
50526 (tst-strtod3-ENV): Likewise.
50527 (tst-strtod4-ENV): Likewise.
50528 (tst-strtod5-ENV): Likewise.
50529 (testmb2-ENV): Likewise./
50530 * string/Makefile (tst-strxfrm-ENV): Likewise.
50531 (tst-strxfrm2-ENV): Likewise.
50532 (bug-strcoll1-ENV): Likewise.
50533 (test-strcasecmp-ENV): Likewise.
50534 (test-strncasecmp-ENV): Likewise.
50535 * time/Makefile (tst-strptime-ENV): Likewise.
50536 (tst-ftime_l-ENV): Likewise.
50537 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50538 (tst-mbrtowc-ENV): Likewise.
50539 (tst-wcrtomb-ENV): Likewise.
50540 (tst-mbrtowc2-ENV): Likewise.
50541 (tst-c16c32-1-ENV): Likewise.
50542 (tst-mbsnrtowcs-ENV): Likewise.
50543
50544 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
50545
50546 * manual/resource.texi (How to get information about the memory
50547 subsystem?): Fix typo.
50548 Reported by Peon de la Parra Ivan <peon@keba.com>
50549
50550 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
50551
50552 [BZ #16882]
50553 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50554 (pthread_spin_lock): Branch out of spin loop to proper location.
50555 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50556 (pthread_spin_lock): Likewise.
50557
50558 * nptl/tst-spin4.c: New test.
50559 * nptl/Makefile (tests): Add tst-spin4.
50560
50561 2014-06-03 Andreas Schwab <schwab@suse.de>
50562
50563 [BZ #15946]
50564 * resolv/res_send.c (send_dg): Reload file descriptor after
50565 calling reopen.
50566
50567 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
50568
50569 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50570
50571 2014-06-03 Richard Henderson <rth@redhat.com>
50572
50573 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50574 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50575 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50576 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
50577 in the SAVE_PID block.
50578 (__libc_vfork): New alias.
50579 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50580
50581 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50582 child in registers, not on the stack. Remove RESET_PID conditionals.
50583 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50584
50585 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
50586
50587 * sysdeps/aarch64/libm-test-ulps: Regenerate.
50588
50589 2014-06-03 Wilco <wdijkstr@arm.com>
50590
50591 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50592 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50593 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50594 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50595 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50596 Likewise.
50597
50598 2014-06-03 Wilco <wdijkstr@arm.com>
50599
50600 * sysdeps/aarch64/fpu/math_private.h
50601 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50602 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50603 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50604 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50605 Fix declarations.
50606
50607 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
50608
50609 * crypt/crypt-private.h: Include ufc-crypt.h.
50610 (__b64_from_24bit): Declare extern.
50611 * crypt/crypt_util.c(__b64_from_24bit): New function.
50612 (b64t): New static const variable.
50613 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50614 (b64t): Remove variable.
50615 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50616 * crypt/sha256-crypt.c: Include crypt-private.h.
50617 (b64t): Remove variable.
50618 (__sha256_crypt_r): Remove b64_from_24bit and replace
50619 with __b64_from_24bit.
50620 * crypt/sha512-crypt.c: Likewise.
50621
50622 2014-06-02 Roland McGrath <roland@hack.frob.com>
50623
50624 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50625 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50626 Label the code __libc_vfork rather than __vfork.
50627 [!NOT_IN_libc] (vfork): Define as weak alias.
50628 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50629 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50630 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50631
50632 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50633
50634 * malloc/malloc.c (malloc_info): Fix format specifier for
50635 n_mmaps.
50636
50637 2014-06-02 Wilco <wdijkstr@arm.com>
50638
50639 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50640 FPCR write.
50641
50642 2014-06-02 Wilco <wdijkstr@arm.com>
50643
50644 [BZ #17009]
50645 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50646 Rewrite to reduce FPCR/FPSR accesses.
50647
50648 2014-06-01 David S. Miller <davem@davemloft.net>
50649
50650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50651
50652 2014-05-31 David S. Miller <davem@davemloft.net>
50653
50654 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50655 to occur in round to nearest mode when |x| >= 2.0
50656
50657 2014-05-30 Richard Henderson <rth@twiddle.net>
50658
50659 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
50660 (PSEUDO_RET_NOERRNO): Remove.
50661 (ret): Don't redefine.
50662 (ret_NOERRNO): Define in terms of ret.
50663 (ret_ERRVAL): Likewise.
50664
50665 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
50666 use of PSEUDO_RET; perform the error check directly.
50667
50668 2014-05-30 Marko Myllynen <myllynen@redhat.com>
50669
50670 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
50671 with __int128_t.
50672
50673 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50674
50675 * malloc/malloc (malloc_info): Fix formatting.
50676
50677 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50678 Roland McGrath <roland@hack.frob.com>
50679
50680 * malloc/malloc (malloc_info): Also print mmapped statistics.
50681
50682 2014-05-30 Roland McGrath <roland@hack.frob.com>
50683
50684 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
50685 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
50686
50687 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
50688
50689 * malloc/malloc.c (malloc_info): Inline mi_arena.
50690
50691 2014-05-29 Richard Henderson <rth@twiddle.net>
50692
50693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
50694 Remove comma before expanding ASM_ARGS_##nr.
50695 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
50696 Make _x0 a strict output; make _x8 a strict input; adjust expansion
50697 of ASM_ARGS_##nr.
50698 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
50699 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
50700 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50701 (ASM_ARGS_1): Add leading comma.
50702
50703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
50704 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50705 to __errno_location.
50706 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
50707 Remove the expected plt for __errno_location.
50708
50709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50710 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
50711 call to __read_tp.
50712
50713 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50714 Always allocate 64 bytes of stack frame. Use ldp/stp to create
50715 it and break it down.
50716 (DOCARGS_0, DOCARGS_1): Do nothing.
50717 (DOCARGS_2): Update to store into the new stack frame.
50718 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
50719 (UNDOCARGS_1): Update to restore from the new stack frame.
50720 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
50721 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
50722
50723 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50724 (SINGLE_THREAD_P): New parameter for result regno.
50725 (PSEUDO): Update to match; use cbz instead of beq.
50726
50727 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50728 Use ENTRY to define the _nocancel entry point. Share the syscall
50729 and syscall error check paths with the cancel path.
50730 (PSEUDO_END): New.
50731
50732 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
50733 whitespace; tabs before and after asm mnemonics.
50734
50735 2014-05-29 Eric Wong <normalperson@yhbt.net>
50736
50737 [BZ #15132]
50738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50739 Call fstat64 or stat64 internally, depending on arguments passed.
50740 Replace stat buffer argument with file descriptor argument.
50741 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
50742 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
50743 Pass fd to __internal_statvfs instead of calling fstat64.
50744 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
50745 Pass fd to __internal_statvfs64 instead of calling fstat64.
50746 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
50747 Pass -1 to __internal_statvfs instead of calling stat64.
50748 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
50749 Pass -1 to __internal_statvfs64 instead of calling stat64.
50750
50751 2014-05-28 Roland McGrath <roland@hack.frob.com>
50752
50753 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
50754 that was previously under [RESET_PID].
50755 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
50756
50757 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
50758 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50759
50760 2014-05-27 Roland McGrath <roland@hack.frob.com>
50761
50762 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
50763
50764 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
50765 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
50766
50767 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
50768
50769 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
50770
50771 2014-05-27 Andreas Schwab <schwab@suse.de>
50772
50773 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
50774 TLS_INIT_TP macro.
50775 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
50776 * elf/rtld.c (init_tls, dl_main): Likewise.
50777 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50778 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50779 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50780 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50781 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50782 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50783 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50784 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50785 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50786 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50787 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50788 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50789 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50790 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50791 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50792 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50793 * sysdeps/generic/tls.h: Update description.
50794
50795 2014-05-27 Will Newton <will.newton@linaro.org>
50796
50797 [BZ #16990]
50798 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50799 and restore r2 rather than just restoring.
50800
50801 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
50802
50803 [BZ #16724]
50804 * libio/tst-ftell-append.c: New test case.
50805 * libio/Makefile (tests): Add test case.
50806 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50807 append mode.
50808 * libio/wfileops.c (do_ftell_wide): Likewise.
50809
50810 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50811
50812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50813
50814 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50815 ...
50816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50818 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50819 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50820 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50821 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50822 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50823 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50824 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50825 Moved ...
50826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50828 Moved ...
50829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50830 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50831 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50832 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50833 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50834 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50835 ...
50836 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50837 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50838 Moved ...
50839 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50840 here.
50841 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50842 ...
50843 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50844 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50845 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50846
50847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50848 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50849 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50850 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50851
50852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50853 merge into ...
50854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50856 ...
50857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50858 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50859 ...
50860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50862 Moved ...
50863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50864 here.
50865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50866 Moved ...
50867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50869 Moved ...
50870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50871
50872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50873 conditional [RESET_PID].
50874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50876 removed.
50877 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50878 removed.
50879
50880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50881 <tcb-offsets.h>.
50882 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50883 (__libc_vfork): New strong alias.
50884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50885 removed.
50886 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50887 Removed.
50888
50889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50890 <tcb-offsets.h>.
50891 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50892 (__libc_vfork): New strong alias.
50893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50894 removed.
50895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50896 removed.
50897
50898 2014-05-26 Carlos O'Donell <carlos@redhat.com>
50899
50900 * malloc/malloc.c (mi_arena): New function.
50901 (malloc_info): Remove nested function mi_arena. Call non-nosted
50902 function mi_arena.
50903
50904 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50905
50906 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50907 by insrwi.
50908 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50909 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50910 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50911 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50912 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50913 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50915
50916 2014-05-26 Andreas Schwab <schwab@suse.de>
50917
50918 [BZ #16984]
50919 * locale/programs/repertoire.c (repertoire_read): Add slash
50920 between I18NPATH element and file name.
50921 * locale/programs/locfile.c (locfile_read): Likewise.
50922
50923 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
50924
50925 * nptl/pthread_mutexattr_settype.c
50926 (__pthread_mutexattr_settype):
50927 Disable lock elision for PTHREAD_MUTEX_NORMAL.
50928
50929 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
50930
50931 * nptl/tst-mutex5 (do_test):
50932 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50933
50934 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50935
50936 * benchtests/README: Document 'init' directive.
50937 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50938 BENCH_INIT.
50939 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50940 (parse_file): Recognize 'init' directive.
50941
50942 2014-05-26 Kyle McMartin <kyle@redhat.com>
50943
50944 [BZ #16796]
50945 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50946 alignment of struct pthread.
50947
50948 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50949
50950 [BZ #16878]
50951 * nscd/netgroupcache.c (addgetnetgrentX): Look for
50952 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50953 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50954 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50955
50956 2014-05-25 Richard Henderson <rth@twiddle.net>
50957
50958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50959 (SINGLE_THREAD_P_PIC): Remove.
50960 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50961 (SINGLE_THREAD_P_PIC): Remove.
50962
50963 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50964 branch to syscall error ...
50965 (PSEUDO): ... here.
50966 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50967 from __local_syscall_error to .Lsyscall_error.
50968 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50969 (SYSCALL_ERROR): Update label name.
50970
50971 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50972 Do not use DOARGS/UNDOARGS.
50973 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50974 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50975 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50976 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50977 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50978
50979 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50980 block comment.
50981
50982 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50983 define if !NOT_IN_libc.
50984 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50985 define with non-default symbol versions.
50986
50987 2014-05-23 Richard Henderson <rth@twiddle.net>
50988
50989 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50990 (vfork, __vfork): Define via compat_symbol.
50991
50992 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50993 [!HAVE_IFUNC] (vfork_compat): Remove.
50994 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50995
50996 2014-05-23 Joseph Myers <joseph@codesourcery.com>
50997
50998 [BZ #16978]
50999 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51000 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51001 variable.
51002
51003 2014-05-23 Richard Henderson <rth@twiddle.net>
51004
51005 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51006 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51007 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51008 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51009
51010 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51011 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51013 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51014 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51015 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51016 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51017 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51018 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51019 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51020 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51021 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51022 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51023 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51024 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51025 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51026 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51027 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51028 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51029 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51030 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51031 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51032 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51033 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51034 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51035 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51036 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51037 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51038 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51039 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51040 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51041 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51042 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51043 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51044 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51045 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51046 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51047 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51048 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51049 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51050 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51051 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51052 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51053 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51054 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51055 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51057 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51059 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51061 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51063 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51064 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51065 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51066
51067 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51068 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51069 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
51070 before exiting on error.
51071 (__libc_vfork): New strong alias.
51072 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51073 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51074
51075 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51076 that was previously under [RESET_PID].
51077 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51078
51079 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51080
51081 2014-05-23 Joseph Myers <joseph@codesourcery.com>
51082
51083 [BZ #16977]
51084 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51085 value when x - 1 is zero.
51086 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51087 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51088 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51089 0.0L for an argument of 1.0L.
51090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51091 Likewise.
51092 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51093 value when x - 1 is zero.
51094 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51095 * sysdeps/i386/fpu/libm-test-ulps: Update.
51096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51097
51098 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51099
51100 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51101 alphasort and versionsort.
51102
51103 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51104
51105 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51106 macro.
51107 [copysignf]: Likewise.
51108
51109 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51110
51111 * crypt/md5-crypt.c: Fix formatting.
51112
51113 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
51114
51115 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51116 (b64_from_24bit): New function.
51117
51118 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51119
51120 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51121 libc_hidden_builtin_def to ifunc.
51122 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51123 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51124
51125 2014-05-21 Roland McGrath <roland@hack.frob.com>
51126
51127 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51128 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51129
51130 2014-05-21 Joseph Myers <joseph@codesourcery.com>
51131
51132 * nscd/Depend (linuxthreads): Remove.
51133 (nptl): Add.
51134 * resolv/Depend (linuxthreads): Remove.
51135 * rt/Depend (linuxthreads): Remove.
51136
51137 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51138 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51139 $(common-objpfx)elf/.
51140 (link-libc-before-gnulib): Likewise.
51141 (elfobjdir): Remove variable.
51142 * Makefile (install): Use $(elf-objpfx) instead of
51143 $(common-objpfx)elf/.
51144 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51145 $(elfobjdir)/.
51146 (link-libc-deps): Likewise.
51147 ($(common-objpfx)libc.so): Likewise.
51148 ($(common-objpfx)linkobj/libc.so): Likewise.
51149 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51150 instead of $(common-objpfx)elf/.
51151 (symbolic-link-list): Likewise.
51152 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51153 [$(cross-compiling) = no]: Likewise.
51154 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51155 $(elfobjdir)/.
51156 (static-gnulib-arch): Likewise.
51157 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51158 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51159 $(common-objpfx)elf/.
51160
51161 2014-05-21 Richard Henderson <rth@redhat.com>
51162
51163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51164 (SINGLE_THREAD_P): Use the correct width load. Fold
51165 into the ldr offset.
51166
51167 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51168 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51169
51170 2014-05-20 Joseph Myers <joseph@codesourcery.com>
51171
51172 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51173 (libgcc_s_resume): Use __attribute_used__.
51174 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51175 Likewise.
51176
51177 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51178
51179 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51180 optimization when used with float constants.
51181
51182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51183
51184 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
51185
51186 [BZ #16915]
51187 * locale/nl_langinfo_l.c: Make direct reference to every
51188 _nl_current_CATEGORY symbol.
51189 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51190 (tests-static): Add tst-langinfo-static.
51191 (tests-special): Add tst-langinfo-static.out.
51192 ($(objpfx)tst-langinfo.out): Redirect output.
51193 ($(objpfx)tst-langinfo-static.out): New.
51194 * localedata/tst-langinfo.sh: Send output to stdout.
51195 * localedata/tst-langinfo-static.c: New file.
51196
51197 [BZ #16965]
51198 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51199 when the shift amount is modulo the limb size.
51200
51201 2014-05-20 Richard Henderson <rth@redhat.com>
51202
51203 [BZ #16967]
51204 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51205 Change type of sa_flags from unsigned int to int.
51206
51207 [BZ #16966]
51208 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51209
51210 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51211
51212 2014-05-20 Will Newton <will.newton@linaro.org>
51213
51214 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51215 Test the return value of the system call in the nocancel case.
51216
51217 2014-05-20 Will Newton <will.newton@linaro.org>
51218 Yvan Roux <yvan.roux@linaro.org>
51219
51220 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51221 #include of asm/ptrace.h.
51222 (PTRACE_GET_THREAD_AREA): Remove #undef.
51223 (PTRACE_GETHBPREGS): Likewise.
51224 (PTRACE_SETHBPREGS): Likewise.
51225 (struct user_regs_struct): New structure.
51226 (struct user_fpsimd_struct): New structure.
51227 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51228 #include of asm/ptrace.h and second #include of sys/user.h.
51229 (PTRACE_GET_THREAD_AREA): Remove #undef.
51230 (PTRACE_GETHBPREGS): Likewise.
51231 (PTRACE_SETHBPREGS): Likewise.
51232 (ELF_NGREG): Use new struct user_regs_struct.
51233 (elf_fpregset_t): Use new struct user_fpsimd_struct.
51234
51235 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51236
51237 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51238 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51239
51240 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
51241
51242 [BZ #16958]
51243 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51244 membar to avoid block loads/stores to overlap previous stores.
51245
51246 2014-05-17 Richard Henderson <rth@redhat.com>
51247
51248 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51249 Create the __##syscall_name##_nocancel entry point.
51250 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51251 Remove; let the sysdep-cancel.h code create it.
51252
51253 2014-05-17 David S. Miller <davem@davemloft.net>
51254
51255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51256 Protect with __USE_GNU.
51257 (TIOCSET_TEMPT): Likewise.
51258 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51259 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51260 these are already provided in bits/ioctl-types.h
51261
51262 2014-05-16 Roland McGrath <roland@hack.frob.com>
51263
51264 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51265 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51266
51267 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51268 Use wait4 regardless of [__NR_waitpid].
51269
51270 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
51271
51272 PR libgcc/60166
51273 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51274 (_FP_NANSIGN_Q): Set the quiet bit.
51275
51276 2014-05-16 Joseph Myers <joseph@codesourcery.com>
51277
51278 * benchtests/Makefile
51279 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51280 not $(common-objpfx)math/libm.so.
51281 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51282 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51283 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51284 $(common-objpfx)dlfcn/libdl.so.
51285 ($(objpfx)tst-audit8): Depend on $(libm), not
51286 $(common-objpfx)math/libm.so.
51287 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51288 not $(common-objpfx)dlfcn/libdl.so.
51289 * math/Makefile
51290 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51291 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
51292 [$(build-shared) = yes].
51293 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51294 $(common-objpfx)nptl/libpthread.so.
51295 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51296 $(common-objpfx)math/libm.so$(libm.so-version) or
51297 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51298 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51299 $(common-objpfx)dlfcn/libdl.so.
51300 * setjmp/Makefile (link-libm): Remove variable.
51301 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51302 * stdio-common/Makefile (link-libm): Remove variable.
51303 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51304 * stdlib/Makefile (link-libm): Remove variable.
51305 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51306 ($(objpfx)tst-strtod-round): Likewise.
51307 ($(objpfx)tst-tininess): Likewise.
51308 ($(objpfx)tst-strtod-underflow): Likewise.
51309 ($(objpfx)tst-strtod6): Likewise.
51310 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51311 $(libdl), not $(common-objpfx)nptl/libpthread.so and
51312 $(common-objpfx)dlfcn/libdl.so.
51313
51314 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51315
51316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51317 BSD terminal modes definitions.
51318
51319 2014-05-16 Roland McGrath <roland@hack.frob.com>
51320
51321 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51322 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51323
51324 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51325 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51326 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51327 Don't do #include_next.
51328 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51329 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51330 Don't do #include_next.
51331 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51332 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51333 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51334 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51335
51336 2014-05-16 Allan McRae <allan@archlinux.org>
51337
51338 * po/sv.po: Update Swedish translation from translation project.
51339
51340 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51341 in sed expression.
51342
51343 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
51344
51345 [BZ #16917]
51346 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51347 errno if the TIOCGPTN ioctl fails with an error different than
51348 EINVAL.
51349 * login/tst-ptsname.c: New file.
51350 * login/Makefile (tests): Add tst-ptsname.
51351
51352 [BZ #16943]
51353 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51354 and prlimit64.
51355
51356 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51357
51358 [BZ #16849]
51359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51360 herrno to return EAI_AGAIN.
51361
51362 2014-05-14 Roland McGrath <roland@hack.frob.com>
51363
51364 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51365 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51366 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51367 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51368 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51369 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51370 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51371 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51373 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51374 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51375 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51376 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51377 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51378 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51379 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51380 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51381 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51382 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51383 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51384 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51385 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51386 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51387 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51388 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51389 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51390 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51391 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51392 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51393 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51395 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51397 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51399 Moved ...
51400 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51402 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51404 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51406 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51408 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51410 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51412 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51414 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51416 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51418 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51420 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51422 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51424 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51426 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51428 Moved ...
51429 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51431 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51433 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51435 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51437 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51439 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51441 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51443 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51445 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51447 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51448 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51449 Moved ...
51450 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51452 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51453
51454 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51455 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51456 (libpthread-sysdep_routines): Add elision-related stuff here instead.
51457 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51458 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51459 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51460 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51461 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51462 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51463 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51464 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51465 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51466 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51467 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51468 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51469 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51470 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51471 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51472 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51473 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51474 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51475 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51476 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51477 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51478 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51479 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51481 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51482 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51483 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51484 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51485
51486 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51487 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51488
51489 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51490 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51491 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51492 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51493 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51494 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51495 Moved ...
51496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51497 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51498 Moved ...
51499 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51500 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51501 Moved ...
51502 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51504 Moved ...
51505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51506 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51507 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51509 Moved ...
51510 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51511 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51512 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51513 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51514 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51515 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51516 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51517 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51518 Moved ...
51519 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51520 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51521 Moved ...
51522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51523 ... here.
51524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51525 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51526 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51527 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51528 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51529 Moved ...
51530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51531 ... here.
51532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51533 Moved ...
51534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51535 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51536 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51537 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51538 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51539 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51540 Moved ...
51541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51542 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51543 Moved ...
51544 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51545 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51546 Moved ...
51547 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51549 Moved ...
51550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51551 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51552 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51554 Moved ...
51555 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51556 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51557 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51558 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51559 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51560 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51561 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51562 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51563 Moved ...
51564 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51565 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51566 Moved ...
51567 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51568 ... here.
51569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51570 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51571 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51572 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51573 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51574 Moved ...
51575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51576 ... here.
51577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51578 Moved ...
51579 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51580 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51581 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51582 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51583 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51584 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51585 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51586 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51587 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51588 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51589 Moved ...
51590 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51591 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51592 Moved ...
51593 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51594 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51595 Moved ...
51596 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51597 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51598 Moved ...
51599 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51600 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51601 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51602 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51603 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51604 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51605 Moved ...
51606 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51607 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51608 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51609 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51610 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51611 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51612 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51613 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51614 Moved ...
51615 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51616 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51617 Moved ...
51618 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51619 ... here.
51620 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51621 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51622 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51623 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51624 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51625 Moved ...
51626 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51627 ... here.
51628 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51629 Moved ...
51630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51631 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51632 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51633 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51634 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51635 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51636 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51637 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51638 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51639 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51640 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51641
51642 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51643 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51644
51645 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51646 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51647
51648 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51649 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51650 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51651 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51652 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51653 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51654 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51655 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51656 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
51658 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
51659 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
51660 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
51661 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
51662 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
51663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
51664 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
51665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
51666 Moved ...
51667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
51668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
51669 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
51670 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
51671 Moved ...
51672 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
51673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
51674 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
51675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
51676 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
51677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
51678 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
51679 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
51680 Moved ...
51681 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
51682 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
51683 Moved ...
51684 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
51685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
51686 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
51687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
51688 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
51689 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
51690 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
51691 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
51692 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51693 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
51694 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
51695 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
51696 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
51697 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
51698 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
51699 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
51700 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
51701
51702 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
51703 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
51704 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
51705 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
51706 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
51707
51708 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
51709 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
51710 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
51711 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
51712 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
51713 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
51714 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
51715 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
51716 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
51717 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
51718
51719 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
51720 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
51721
51722 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
51723 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
51724 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
51725 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
51726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
51727 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
51728 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
51729 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
51730 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
51731 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
51732 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
51733 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
51734 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
51735 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
51736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
51737 Update #include.
51738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
51739 Likewise.
51740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51741 Likewise.
51742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51743 Likewise.
51744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51745 Likewise.
51746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
51747 Likewise.
51748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
51749 Likewise.
51750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
51751 Likewise.
51752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
51753 Likewise.
51754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51755 Likewise.
51756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
51757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
51758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
51759 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
51760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
51761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
51762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
51763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
51764 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
51765 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
51766 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
51767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
51768 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
51769 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
51770 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
51771
51772 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
51773 that was previously under [RESET_PID].
51774 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51775 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
51776 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51777
51778 * sysdeps/i386/nptl/Implies: New file.
51779 * sysdeps/x86_64/nptl/Implies: New file.
51780 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51781 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51782 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51783 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51784
51785 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51786 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51787 (__libc_vfork): New strong alias.
51788 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51789 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51790
51791 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51792 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51793 (__libc_vfork): New strong alias.
51794 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51795 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51796
51797 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51798 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51799 (__libc_vfork): New strong alias.
51800 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51801 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51802 * nptl/pt-vfork.c: New file.
51803 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51804 (libpthread: GLIBC_2.20): New version set (empty).
51805
51806 2014-05-14 Will Newton <will.newton@linaro.org>
51807
51808 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51809 rather than #if.
51810
51811 2014-05-14 Joseph Myers <joseph@codesourcery.com>
51812
51813 [BZ #16564]
51814 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51815 arguments with exponent 65 or above.
51816 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51817 arguments 0x1p113L or above.
51818 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51819 to arguments 0x1p107L or above.
51820 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51821 positive arguments with exponent 65 or above.
51822 * math/auto-libm-test-in: Add more tests of log1p.
51823 * math/auto-libm-test-out: Regenerated.
51824
51825 [BZ #16928]
51826 * math/s_cacos.c (__cacos): Ensure zero real part of result from
51827 non-finite arguments is +0.
51828 * math/s_cacosf.c (__cacosf): Likewise.
51829 * math/s_cacosl.c (__cacosl): Likewise.
51830 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51831 * sysdeps/i386/fpu/libm-test-ulps: Update.
51832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51833
51834 [BZ #16927]
51835 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51836 value.
51837 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51838 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51839 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51840 for explicit high bit of mantissa when testing for argument equal
51841 to 1.
51842 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51843 * sysdeps/i386/fpu/libm-test-ulps: Update.
51844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51845
51846 [BZ #16516]
51847 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51848 (__erf): Scale by 16 instead of 8 in potentially underflowing
51849 case. Ensure exception if result actually underflows.
51850 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51851 (__erff): Scale by 16 instead of 8 in potentially underflowing
51852 case. Ensure exception if result actually underflows.
51853 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51854 (efx8): Remove variable.
51855 (__erfl): Scale by 16 instead of 8 in potentially underflowing
51856 case. Ensure exception if result actually underflows.
51857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51858 (efx8): Remove variable.
51859 (__erfl): Scale by 16 instead of 8 in potentially underflowing
51860 case. Ensure exception if result actually underflows.
51861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51862 (efx8): Remove variable.
51863 (__erfl): Scale by 16 instead of 8 in potentially underflowing
51864 case. Ensure exception if result actually underflows.
51865 * math/auto-libm-test-in: Add more tests of erf.
51866 * math/auto-libm-test-out: Regenerated.
51867
51868 2014-05-14 Andreas Schwab <schwab@suse.de>
51869
51870 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51871 Remove code conditionalized on USE___THREAD.
51872
51873 * config.h.in (HAVE_PT_CHOWN): Define as 0.
51874 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51875 not definedness.
51876
51877 2014-05-14 Joseph Myers <joseph@codesourcery.com>
51878
51879 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51880 Define unconditionally.
51881 (__ASSUME_O_CLOEXEC): Likewise.
51882 (__ASSUME_SOCK_CLOEXEC): Likewise.
51883 (__ASSUME_IN_NONBLOCK): Likewise.
51884 (__ASSUME_PIPE2): Likewise.
51885 (__ASSUME_EVENTFD2): Likewise.
51886 (__ASSUME_SIGNALFD4): Likewise.
51887 (__ASSUME_DUP3): Likewise.
51888 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51889 (__ASSUME_DUP3): Do not define.
51890 (__ASSUME_EVENTFD2): Likewise.
51891 (__ASSUME_IN_NONBLOCK): Likewise.
51892 (__ASSUME_O_CLOEXEC): Likewise.
51893 (__ASSUME_PIPE2): Likewise.
51894 (__ASSUME_SIGNALFD4): Likewise.
51895 (__ASSUME_SOCK_CLOEXEC): Likewise.
51896 (__ASSUME_UTIMES): Undefine.
51897 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51898 (__ASSUME_UTIMES): Do not define.
51899 (__ASSUME_O_CLOEXEC): Likewise.
51900 (__ASSUME_SOCK_CLOEXEC): Likewise.
51901 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51902 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51903 0x020621].
51904 (__ASSUME_PIPE2): Likewise.
51905 (__ASSUME_EVENTFD2): Likewise.
51906 (__ASSUME_SIGNALFD4): Likewise.
51907 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51908 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51909 Do not define.
51910 (__ASSUME_EVENTFD2): Likewise.
51911 (__ASSUME_SIGNALFD4): Likewise.
51912 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51913 (__ASSUME_32BITUIDS): Likewise.
51914 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51915 (__ASSUME_IPC64): Likewise.
51916 (__ASSUME_ST_INO_64_BIT): Likewise.
51917 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51918 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51919 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51920 (__ASSUME_UTIMES): Do not define.
51921 (__ASSUME_PSELECT): Likewise.
51922 (__ASSUME_PPOLL): Likewise.
51923 (__ASSUME_O_CLOEXEC): Likewise.
51924 (__ASSUME_SOCK_CLOEXEC): Likewise.
51925 (__ASSUME_IN_NONBLOCK): Likewise.
51926 (__ASSUME_PIPE2): Likewise.
51927 (__ASSUME_EVENTFD2): Likewise.
51928 (__ASSUME_SIGNALFD4): Likewise.
51929 (__ASSUME_DUP3): Likewise.
51930 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51931 (__ASSUME_UTIMES): Likewise.
51932 (__ASSUME_O_CLOEXEC): Likewise.
51933 (__ASSUME_SOCK_CLOEXEC): Likewise.
51934 (__ASSUME_IN_NONBLOCK): Likewise.
51935 (__ASSUME_PIPE2): Likewise.
51936 (__ASSUME_EVENTFD2): Likewise.
51937 (__ASSUME_SIGNALFD4): Likewise.
51938 (__ASSUME_DUP3): Likewise.
51939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51940 (__ASSUME_UTIMES): Likewise.
51941 (__ASSUME_O_CLOEXEC): Likewise.
51942 (__ASSUME_SOCK_CLOEXEC): Likewise.
51943 (__ASSUME_IN_NONBLOCK): Likewise.
51944 (__ASSUME_PIPE2): Likewise.
51945 (__ASSUME_EVENTFD2): Likewise.
51946 (__ASSUME_SIGNALFD4): Likewise.
51947 (__ASSUME_DUP3): Likewise.
51948 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51949 Likewise.
51950 (__ASSUME_UTIMES): Likewise.
51951 (__ASSUME_EVENTFD2): Likewise.
51952 (__ASSUME_SIGNALFD4): Likewise.
51953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
51954 (__ASSUME_O_CLOEXEC): Likewise.
51955 (__ASSUME_SOCK_CLOEXEC): Likewise.
51956 (__ASSUME_IN_NONBLOCK): Likewise.
51957 (__ASSUME_PIPE2): Likewise.
51958 (__ASSUME_EVENTFD2): Likewise.
51959 (__ASSUME_SIGNALFD4): Likewise.
51960 (__ASSUME_DUP3): Likewise.
51961 (__ASSUME_UTIMES): Undefine.
51962
51963 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51964 feclearexcept. Remove symbol versioning code.
51965 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
51966 symbol versioning code.
51967 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
51968 symbol versioning code.
51969 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51970 feupdateenv. Remove symbol versioning code.
51971 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51972 fegetexceptflag. Remove symbol versioning code.
51973 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51974 fesetexceptflag. Remove symbol versioning code.
51975 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51976 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
51977 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51978 (__posix_fadvise64_l32): Remove prototype.
51979 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51980 code.
51981
51982 2014-05-13 Roland McGrath <roland@hack.frob.com>
51983
51984 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51985 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51986 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51987 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51988
51989 2014-05-13 Sami Kerola <kerolasa@iki.fi>
51990
51991 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51992 current working directory
51993
51994 2014-05-13 Roland McGrath <roland@hack.frob.com>
51995
51996 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51997 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51998 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51999 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52000 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52001 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52002 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52003 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52004 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52005 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52006 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52007 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52008 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52009 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52010 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52011 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52012 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52013 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52014 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52015 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52016 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52017 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52018 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52019 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52020 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52021 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52022 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52023 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52024 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52025 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52026 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52027 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52028 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52029 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52030 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52031 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52032 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52033 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52034 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52035 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52036 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52037 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52038
52039 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52040 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52041
52042 * sysdeps/unix/sysv/linux/arm/Makefile
52043 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52044 Add rt-aeabi_unwind_cpp_pr1.
52045 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52046 Add nptl-aeabi_unwind_cpp_pr1.
52047 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52048 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52049 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52050 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52051 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52052 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52053
52054 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52055 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52056 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52057 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52058
52059 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52060 Deconditionalize the code that was previously under [RESET_PID].
52061 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52062
52063 * sysdeps/generic/exit-thread.h: New file.
52064 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52065 * include/unistd.h (__exit_thread): Remove declaration.
52066 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52067 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52068 * csu/libc-start.c: Include <exit-thread.h>.
52069 (LIBC_START_MAIN): Pass no argument to __exit_thread.
52070 * nptl/pthread_create.c: Include <exit-thread.h>.
52071 (start_thread): Call __exit_thread in place of __exit_thread_inline.
52072 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52073 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52074 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52075 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52076 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52077 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52078 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52079 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52080 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52081 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52082 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52083 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52084 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52085 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52086 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52087 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52088
52089 2014-05-13 Andreas Schwab <schwab@suse.de>
52090
52091 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52092
52093 2014-05-12 Joseph Myers <joseph@codesourcery.com>
52094
52095 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52096 (__ASSUME_UTIMES): Do not condition on kernel version.
52097 (__ASSUME_PSELECT): Define unconditionally.
52098 (__ASSUME_PPOLL): Likewise.
52099 (__ASSUME_ATFCTS): Likewise.
52100 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52101 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52102 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52103 (__ASSUME_UTIMENSAT): Define unconditionally.
52104 (__ASSUME_PRIVATE_FUTEX): Likewise.
52105 (__ASSUME_FALLOCATE): Likewise.
52106 (__ASSUME_O_CLOEXEC): Likewise.
52107 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52108 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52109 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52110 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52111 (__ASSUME_IN_NONBLOCK): Likewise.
52112 (__ASSUME_PIPE2): Likewise.
52113 (__ASSUME_EVENTFD2): Likewise.
52114 (__ASSUME_SIGNALFD4): Likewise.
52115 (__ASSUME_DUP3): Likewise.
52116 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52117 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52118 (__ASSUME_AT_RANDOM): Likewise.
52119 (__ASSUME_PREADV): Likewise.
52120 (__ASSUME_PWRITEV): Likewise.
52121 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52122 (__ASSUME_F_GETOWN_EX): Define unconditionally.
52123 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52124 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52125 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52126 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52127 (__ASSUME_O_CLOEXEC): Define unconditionally.
52128 (__ASSUME_PSELECT): Do not undefine conditionally.
52129 (__ASSUME_PPOLL): Likewise.
52130 (__ASSUME_ATFCTS): Likewise.
52131 (__ASSUME_SET_ROBUST_LIST): Likewise.
52132 (__ASSUME_UTIMENSAT): Likewise.
52133 (__ASSUME_FDATASYNC): Define unconditionally.
52134 * sysdeps/unix/sysv/linux/arm/kernel-features.h
52135 (__ASSUME_SIGFRAME_V2): Likewise.
52136 )__ASSUME_EVENTFD2): Likewise.
52137 (__ASSUME_SIGNALFD4): Likewise.
52138 (__ASSUME_PSELECT): Do not undefine conditionally.
52139 (__ASSUME_PPOLL): Likewise.
52140 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52141 (__ASSUME_PSELECT): Define unconditionally.
52142 (__ASSUME_PPOLL): Likewise.
52143 (__ASSUME_O_CLOEXEC): Likewise.
52144 (__ASSUME_SOCK_CLOEXEC): Likewise.
52145 (__ASSUME_IN_NONBLOCK): Likewise.
52146 (__ASSUME_PIPE2): Likewise.
52147 (__ASSUME_EVENTFD2): Likewise.
52148 (__ASSUME_SIGNALFD4): Likewise.
52149 (__ASSUME_DUP3): Likewise.
52150 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52151 (__ASSUME_O_CLOEXEC): Likewise.
52152 (__ASSUME_SOCK_CLOEXEC): Likewise.
52153 (__ASSUME_IN_NONBLOCK): Likewise.
52154 (__ASSUME_PIPE2): Likewise.
52155 (__ASSUME_EVENTFD2): Likewise.
52156 (__ASSUME_SIGNALFD4): Likewise.
52157 (__ASSUME_DUP3): Likewise.
52158 * sysdeps/unix/sysv/linux/mips/kernel-features.h
52159 (__ASSUME_EVENTFD2): Likewise.
52160 (__ASSUME_SIGNALFD4): Likewise.
52161 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52162
52163 2014-05-12 Andreas Schwab <schwab@suse.de>
52164
52165 [BZ #16932]
52166 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52167 (_nss_nis_gethostbyname4_r): Return error if item length is larger
52168 than maximum RPC packet size.
52169 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52170 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52171 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52172 (_nss_nis_getservbyport_r): Likewise.
52173
52174 2014-05-12 Will Newton <will.newton@linaro.org>
52175
52176 * malloc/Makefile (tests): Add tst-mallopt.
52177 * malloc/tst-mallopt.c: New file.
52178
52179 2014-05-09 Roland McGrath <roland@hack.frob.com>
52180
52181 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52182 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52183
52184 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52185
52186 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52187 (tst-tlsmod6.so): Likewise.
52188
52189 2014-05-09 Roland McGrath <roland@hack.frob.com>
52190
52191 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52192
52193 2014-05-09 Joseph Myers <joseph@codesourcery.com>
52194
52195 [BZ #16064]
52196 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52197 and <dl-procinfo.h>.
52198 (__fegetenv): Save SSE state in envp->__eip if supported.
52199 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52200 envp->__eip if supported.
52201 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52202 and <dl-procinfo.h>.
52203 (__fesetenv): Always set __eip, __cs_selector, __opcode,
52204 __data_offset and __data_selector in environment to 0. Set SSE
52205 state if supported.
52206 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52207 test-fenv-sse.
52208 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52209 -mfpmath=sse.
52210 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52211
52212 2014-05-09 Will Newton <will.newton@linaro.org>
52213
52214 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52215 and libc_relro_required for ARM.
52216 * sysdeps/arm/preconfigure: Regenerate.
52217
52218 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
52219 Stefan Liebler <stli@linux.vnet.ibm.com>
52220
52221 * config.make.in (enable-lock-elision): New Makefile variable.
52222 * configure.ac: Likewise.
52223 * configure: Regenerate.
52224 * sysdeps/s390/configure.ac:
52225 Add check for gcc transactions support.
52226 * sysdeps/s390/configure: Regenerate.
52227 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52228 Build elision files if enabled.
52229 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52230 Add lock elision support for s390.
52231 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52232 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52233 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52234 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52235 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52236 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52238 Likewise.
52239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52240 Likewise.
52241 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52242 Likewise.
52243 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52244 Likewise.
52245 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52246 (__lll_timedlock_elision, __lll_lock_elision)
52247 (__lll_unlock_elision, __lll_trylock_elision)
52248 (lll_timedlock_elision, lll_lock_elision)
52249 (lll_unlock_elision, lll_trylock_elision): Add.
52250 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52251 (pthread_mutex_t): Add lock elision support for s390.
52252
52253 2014-05-14 Wilco <wdijkstr@arm.com>
52254
52255 * sysdeps/arm/fclrexcpt.c: Cleanup.
52256 * sysdeps/arm/fedisblxcpt.c: Cleanup.
52257 * sysdeps/arm/feenablxcpt.c: Cleanup.
52258 * sysdeps/arm/fegetenv.c: Cleanup.
52259 * sysdeps/arm/fegetexcept.c: Cleanup.
52260 * sysdeps/arm/fegetround.c: Cleanup.
52261 * sysdeps/arm/feholdexcpt.c: Cleanup.
52262 * sysdeps/arm/fesetenv.c: Cleanup.
52263 * sysdeps/arm/fesetround.c: Cleanup.
52264 * sysdeps/arm/feupdateenv.c: Cleanup.
52265 * sysdeps/arm/fgetexcptflg.c: Cleanup.
52266 * sysdeps/arm/fraiseexcpt.c: Cleanup.
52267 * sysdeps/arm/fsetexcptflg.c: Cleanup.
52268 * sysdeps/arm/ftestexcept.c: Cleanup.
52269 * sysdeps/arm/get-rounding-mode.h: Cleanup.
52270 * sysdeps/arm/setfpucw.c: Cleanup.
52271
52272 2014-05-09 Will Newton <will.newton@linaro.org>
52273
52274 * sysdeps/arm/armv7/strcmp.S: New file.
52275 * NEWS: Mention addition of ARMv7 optimized strcmp.
52276
52277 2014-05-08 Roland McGrath <roland@hack.frob.com>
52278
52279 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52280 look for %.ac rather than %.in.
52281
52282 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52283 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52284 * sysdeps/mach/hurd/configure: Regenerated.
52285 * sysdeps/unix/sysv/linux/configure: Regenerated.
52286
52287 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52288
52289 2014-05-07 Steve Ellcey <sellcey@mips.com>
52290
52291 [BZ #16922]
52292 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52293 (LONG_SUB): Ditto.
52294 (PTR_SUB): Ditto.
52295
52296 2014-05-07 Andreas Schwab <schwab@suse.de>
52297
52298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52299 when skipping over non-matching result from nscd.
52300
52301 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
52302
52303 [BZ #16876]
52304 * nptl/sockperf.c (client): Check socket return value.
52305
52306 [BZ #16877]
52307 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52308 nscd security class.
52309
52310 2014-05-06 Roland McGrath <roland@hack.frob.com>
52311
52312 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52313 * sysdeps/arm/unwind.h: ... here.
52314
52315 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
52316
52317 [BZ #16916]
52318 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52319 Define.
52320
52321 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
52322
52323 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52324 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52325 multiarch strncpy for PPC64.
52326 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52327 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52329 multiarch optimizations.
52330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52331 (__libc_ifunc_impl_list): Likewise.
52332 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52334 multiarch stpncpy for PPC64.
52335 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52336 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52337
52338 2014-05-06 Andreas Schwab <schwab@suse.de>
52339
52340 [BZ #16912]
52341 * gmon/mcount.c (_MCOUNT_DECL): Use
52342 atomic_compare_and_exchange_bool_acq instead of
52343 catomic_compare_and_exchange_bool_acq.
52344
52345 2014-05-05 Roland McGrath <roland@hack.frob.com>
52346
52347 * elf/Makefile (others, install-bin): Remove pldd.
52348 (pldd-modules): Variable removed.
52349 ($(objpfx)pldd): Target removed.
52350 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52351 (others, install-bin): Append pldd here.
52352 ($(objpfx)pldd): New target.
52353
52354 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52355 to 0, so the first #if test emitted later doesn't see it undefined.
52356 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52357 * sysdeps/gnu/errlist.c: Regenerated.
52358
52359 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52360
52361 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52362 [libc_hidden_builtin_def]: Define to empty value.
52363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52364 [libc_hidden_builtin_def]: Likewise.
52365 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52366 [libc_hidden_builtin_def]: Likewise.
52367 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52368 [libc_hidden_builtin_def]: Likewise.
52369 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52370 __redirect_memcpy and define ifunc as default hidden symbol.
52371 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52372 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52373
52374 2014-05-04 Adam Conrad <adconrad@0c3.net>
52375
52376 * locale/iso-4217.def: Reintroduce XDR currency.
52377
52378 2014-05-04 Allan McRae <allan@archlinux.org>
52379
52380 * po/eo.po: Update Esperanto translation from translation project.
52381
52382 2014-05-02 Carlos O'Donell <carlos@redhat.com>
52383
52384 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52385 and FEATURE_INDEX_MAX to 1.
52386 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52387
52388 2014-05-01 Steve Ellcey <sellcey@mips.com>
52389
52390 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52391 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52392 * iconvdata/big5.c (ONE_DIRECTION): Define.
52393 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52394 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52395 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52396 * iconvdata/cp932.c (ONE_DIRECTION): Define.
52397 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52398 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52399 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52400 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52401 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52402 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52403 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52404 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52405 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52406 * iconvdata/gbk.c (ONE_DIRECTION): Define.
52407 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52408 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52409 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52410 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52411 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52412 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52413 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52414 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52415 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52416 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52417 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52418 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52419 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52420 * iconvdata/iso646.c (ONE_DIRECTION): Define.
52421 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52422 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52423 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52424 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52425 * iconvdata/johab.c (ONE_DIRECTION): Define.
52426 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52427 * iconvdata/sjis.c (ONE_DIRECTION): Define.
52428 * iconvdata/t.61.c (ONE_DIRECTION): Define.
52429 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52430 * iconvdata/tscii.c (ONE_DIRECTION): Define.
52431 * iconvdata/uhc.c (ONE_DIRECTION): Define.
52432 * iconvdata/unicode.c (ONE_DIRECTION): Define.
52433 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52434 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52435 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52436
52437 2014-05-01 Roland McGrath <roland@hack.frob.com>
52438
52439 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52440 (_IO_JUMPS_OFFSET): Define to 0.
52441
52442 * nptl/sysdeps/pthread/bits/libc-lock.h
52443 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52444 (__libc_lock_define_initialized_recursive): Always define using
52445 initializer. Modern compilers treat uninitialized (implicit zero) and
52446 explicit zero initializers the same (i.e. put the datum in bss).
52447
52448 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52449
52450 * nscd/nscd-client.h: Include <string.h>.
52451
52452 2014-05-01 David S. Miller <davem@davemloft.net>
52453
52454 [BZ #16885]
52455 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52456 multiple zero bytes exist at the end of a string.
52457 Reported by Aurelien Jarno <aurelien@aurel32.net>
52458
52459 * string/test-strcmp.c (check): Add explicit test for situations where
52460 there are multiple zero bytes after the first.
52461
52462 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
52463
52464 [BZ #16890]
52465 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52466 when compiling wprintf.
52467 * stdio-common/tstdiomisc.c (t3): New function.
52468 (main): Call it.
52469
52470 2014-05-01 Steve Ellcey <sellcey@mips.com>
52471
52472 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52473 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52474 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52475 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52476
52477 2014-05-01 Steve Ellcey <sellcey@mips.com>
52478
52479 * stdlib/longlong.h: Updated from GCC.
52480
52481 2014-05-01 Will Newton <will.newton@linaro.org>
52482 Bernard Ogden <bernie.ogden@linaro.org>
52483
52484 * NEWS: Update fixed bug list.
52485
52486 [BZ #15119]
52487 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52488
52489 2014-04-30 David S. Miller <davem@davemloft.net>
52490
52491 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52492 (libc_feholdexcept_setround_sparc_ctx): New function.
52493 (libc_fesetenv_sparc_ctx): Likewise.
52494 (libc_feupdateenv_sparc_ctx): Likewise.
52495 (libc_feholdsetround_sparc_ctx): Likewise.
52496 (libc_feholdexcept_setround_ctx): Define.
52497 (libc_feholdexcept_setroundf_ctx): Likewise.
52498 (libc_feholdexcept_setroundl_ctx): Likewise.
52499 (libc_fesetenv_ctx): Likewise.
52500 (libc_fesetenvf_ctx): Likewise.
52501 (libc_fesetenvl_ctx): Likewise.
52502 (libc_feupdateenv_ctx): Likewise.
52503 (libc_feupdateenvf_ctx): Likewise.
52504 (libc_feupdateenvl_ctx): Likewise.
52505 (libc_feresetround_ctx): Likewise.
52506 (libc_feresetroundf_ctx): Likewise.
52507 (libc_feresetroundl_ctx): Likewise.
52508 (libc_feholdsetround_ctx): Likewise.
52509 (libc_feholdsetroundf_ctx): Likewise.
52510 (libc_feholdsetroundl_ctx): Likewise.
52511
52512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52513 with __USE_GNU instead of XOPEN cpp guards.
52514
52515 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52516 0.
52517
52518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52519 with XOPEN cpp guards.
52520
52521 2014-04-30 Julian Brown <julian@codesourcery.com>
52522
52523 [BZ #16888]
52524 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52525 handling.
52526
52527 2014-04-30 Joseph Myers <joseph@codesourcery.com>
52528
52529 [BZ #9894]
52530 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52531 Change to 2.6.32.
52532 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52533 * sysdeps/unix/sysv/linux/configure: Regenerated.
52534 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52535 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52536 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52537 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52538 * README: Update reference to required Linux kernel version.
52539 * manual/install.texi (Linux): Update reference to required Linux
52540 kernel headers version.
52541 * INSTALL: Regenerated.
52542
52543 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52544 header inclusion.
52545 [POSIX] (limits.h): Likewise.
52546 [POSIX] (math.h): Likewise.
52547 [POSIX] (sys/wait.h): Likewise.
52548 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52549 function.
52550 [POSIX] (stddef.h): Do not allow header inclusion.
52551
52552 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52553
52554 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52555
52556 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
52557
52558 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52559 Return immediately after lll_futex_wake.
52560
52561 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52562
52563 [BZ #16791]
52564 * nscd/nscd-client.h (datahead_init_common): Initialize entire
52565 structure.
52566 (datahead_init_pos): Call datahead_init_common early.
52567 (datahead_init_neg): Likewise.
52568
52569 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52570 datahead_init_neg): New functions.
52571 * nscd/aicache.c (addhstaiX): Use them.
52572 * nscd/grpcache.c (cache_addgr): Likewise.
52573 * nscd/hstcache.c (cache_addhst): Likewise.
52574 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52575 * nscd/netgroupcache.c (do_notfound): Likewise.
52576 (addgetnetgrentX): Likewise.
52577 (addinnetgrX): Likewise.
52578 * nscd/pwdcache.c (cache_addpw): Likewise.
52579 * nscd/servicescache.c (cache_addserv): Likewise.
52580
52581 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52582 Atsushi Onoe <atsushi@onoe.org>
52583
52584 [BZ #14308]
52585 [BZ #12994]
52586 [BZ #13651]
52587 * resolv/res_query.c (__libc_res_nsearch): Return if at least
52588 one response is valid.
52589 * resolv/res_send.c (send_dg): Check for validity of other
52590 response if the current response is a referral.
52591
52592 2014-04-29 Steve Ellcey <sellcey@mips.com>
52593
52594 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52595
52596 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
52597
52598 [BZ #16823]
52599 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52600 Always divide by positive zero when computing -Inf result.
52601 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52602 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52603
52604 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52605
52606 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52607 FPSCR if value do not change.
52608 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52610 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52611 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52612 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52613 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52614 function.
52615
52616 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
52617
52618 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52619 * sysdeps/unix/sysv/linux/hppa: Move directory from
52620 ports/systeps/unix/sysv/linux/hppa.
52621 * README: Update listing for hppa-*-linux-gnu.
52622
52623 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
52624
52625 [BZ #16754]
52626 * manual/stdio.texi (Hook functions): Fix types of stream hook
52627 functions.
52628 [BZ #16854]
52629 * socket/sys/socket.h: Fix typo in comment.
52630
52631 2014-04-28 Wilco <wdijkstr@arm.com>
52632
52633 * sysdeps/arm/fenv_private.h: New file.
52634 * sysdeps/arm/math_private.h: New file.
52635 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52636
52637 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
52638
52639 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52640 with __int128_t.
52641 (La_x86_64_retval): Likewise.
52642
52643 2014-04-24 Ian Bolton <ian.bolton@arm.com>
52644
52645 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52646 fpsr if value didn't change.
52647 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52648 to fpcr if value didn't change.
52649 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52650 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52651 fpsr or fpcr if value didn't change.
52652 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52653 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52654 fpcr if value didn't change.
52655 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52656 to fpsr if value didn't change.
52657
52658 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52659
52660 * nptl/tst-sem3.c: Use test-skeleton.c
52661 (main): Rename to do_test. Use return instead of
52662 exit.
52663 * nptl/tst-sem4.c: Use test-skeleton.c
52664 (main): Rename to do_test.
52665
52666 2014-04-22 David S. Miller <davem@davemloft.net>
52667
52668 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
52669 (struct sigaction): New struct member __glibc_reserved0, change
52670 type of sa_flags to int.
52671
52672 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
52673
52674 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
52675 (COUNT_LEADING_ZEROS_0): Define for AArch64.
52676
52677 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52678
52679 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
52680 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52681
52682 2014-04-22 Will Newton <will.newton@linaro.org>
52683 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
52684
52685 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
52686 (__longjmp): Add longjmp and longjmp_target SystemTap
52687 probes.
52688 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
52689 (__sigsetjmp): Add setjmp SystemTap probe.
52690
52691 2014-04-17 Carlos O'Donell <carlos@redhat.com>
52692
52693 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
52694 match manual order.
52695
52696 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52697
52698 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
52699
52700 * sysdeps/powerpc/fpu/fenv_private.h
52701 (libc_feholdexcept_setroundl_ctx): Define to
52702 libc_feholdexcept_setround_ppc_ctx.
52703 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
52704 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
52705 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
52706 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
52707
52708 2014-04-17 Ian Bolton <ian.bolton@arm.com>
52709
52710 * sysdeps/aarch64/math-tests.h: New file.
52711
52712 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
52713
52714 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
52715 New.
52716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52717 Check and set bit_AVX2_Usable.
52718 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
52719 macro.
52720 (bit_AVX2): Likewise.
52721 (index_AVX2_Usable): Likewise.
52722 (CPUID_AVX2): Likewise.
52723 (HAS_AVX2): Likewise.
52724
52725 2014-04-17 Will Newton <will.newton@linaro.org>
52726
52727 * manual/setjmp.texi (System V contexts): Add note that
52728 calling setcontext on a context created by a call to a
52729 signal handler is undefined. Update text to note that
52730 setcontext from a signal handler is possible but not
52731 recommended.
52732
52733 [BZ #16629]
52734 * stdlib/tst-setcontext.c: Include signal.h.
52735 (main): Check that the signal stack before and
52736 after swapcontext is the same.
52737
52738 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
52739 Re-implement to restore registers in user code and avoid
52740 rt_sigreturn system call.
52741
52742 2014-04-17 Wilco <wdijkstr@arm.com>
52743
52744 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52745 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
52746 * math/test-fenv.c: Skip exception trap tests on targets which only
52747 support non-stop mode.
52748
52749 2014-04-17 Ian Bolton <ian.bolton@arm.com>
52750 Wilco Dijkstra <wilco.dijkstra@arm.com>
52751
52752 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
52753 (libc_feholdsetround_aarch64_ctx)
52754 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
52755 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
52756 (libc_feresetround_ctx, libc_feresetroundf_ctx)
52757 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
52758 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
52759 (libc_feresetround_noexl_ctx): Define.
52760
52761 2014-04-16 Richard Henderson <rth@redhat.com>
52762
52763 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
52764
52765 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
52766 unwind tables.
52767
52768 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
52769 const from the non-libc, non-ldso copy.
52770
52771 * sysdeps/alpha/libm-test-ulps: Regenerate.
52772
52773 2014-04-16 Ian Bolton <ian.bolton@arm.com>
52774 Wilco Dijkstra <wilco.dijkstra@arm.com>
52775
52776 * sysdeps/aarch64/fpu/math_private.h: New file.
52777
52778 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
52779
52780 * sysdeps/aarch64/libm-test-ulps: Regenerate.
52781
52782 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
52783
52784 [BZ #16275]
52785 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52786 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52788 Intel MPX bound registers before _dl_profile_fixup.
52789 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52790 registers after _dl_profile_fixup. Save and restore bound
52791 registers bnd0/bnd1 when calling _dl_call_pltexit.
52792 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52793 (LR_BND_OFFSET): Likewise.
52794 (LRV_BND0_OFFSET): Likewise.
52795 (LRV_BND1_OFFSET): Likewise.
52796
52797 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52798
52799 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52800 to...
52801 * sysdeps/mach/hurd/i386/tls.h: ... here.
52802 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52803 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52804 fields.
52805
52806 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
52807
52808 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52809
52810 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
52811
52812 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52813
52814 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
52815
52816 [BZ #14770]
52817 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52818 * sysdeps/s390/configure: Regenerate.
52819
52820 [BZ #16824]
52821 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52822 Set round-to-nearest internally to reduce error accumulation.
52823
52824 2014-04-16 Alan Modra <amodra@gmail.com>
52825
52826 [BZ #16740]
52827 [BZ #16619]
52828 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52829 * math/libm-test.inc (frexp_test_data): Add tests.
52830 * NEWS: Update fixed bug list.
52831
52832 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52833
52834 * benchtests/Makefile: Depend on libraries in build directory.
52835 (bench-math): Separate out math tests.
52836 (bench-pthread): Separate out pthread tests.
52837 (bench): Include math and pthread tests.
52838
52839 2014-04-14 Carlos O'Donell <carlos@redhat.com>
52840
52841 [BZ #16831]
52842 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52843 _dl_debug_initialize.
52844
52845 * configure.ac: Remove SELinux header check.
52846 * configure: Regenerate.
52847 * nscd/selinux.c (perms): Array of const char* to permission names.
52848 (nscd_request_avc_has_perm): Call security_deny_unknown to find
52849 default policy. Call string_to_security_class and string_to_av_perm to
52850 translate strings. Enforce default policy and call avs_has_perm with
52851 results of translated strings.
52852
52853 2014-04-13 David S. Miller <davem@davemloft.net>
52854
52855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52856
52857 2014-04-12 Allan McRae <allan@archlinux.org>
52858
52859 [BZ #16838]
52860 * manual/string.texi (Collation Functions): Fix qsort argument
52861 order in example.
52862 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52863
52864 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
52865
52866 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52867 Make the test a no-op if there are no exceptions defined.
52868
52869 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
52870
52871 * elf/Makefile (tests): make tst-dlopen-aout conditional on
52872 enable-hardcoded-path-in-tests
52873
52874 2014-04-11 Will Newton <will.newton@linaro.org>
52875
52876 * benchtests/Makefile (extra-objs): Add json-lib.o.
52877 (bench-func): Tidy up JSON output.
52878 * benchtests/bench-skeleton.c: Include json-lib.h.
52879 (main): Use JSON library functions to do output of
52880 benchmark results.
52881 * benchtests/bench-timing-type.c (main): Output the
52882 timing type simply, leaving formatting to the user.
52883 * benchtests/json-lib.c: New file.
52884 * benchtests/json-lib.h: Likewise.
52885
52886 2014-04-11 Torvald Riegel <triegel@redhat.com>
52887
52888 [BZ #15215]
52889 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52890 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
52891 memory barriers. Add comments.
52892 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52893 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52894 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52895 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52896 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52897 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52898
52899 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
52900
52901 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52902 * sysdeps/s390/s390-64/configure.ac: ... this ...
52903 * sysdeps/s390/configure.ac: ... to here.
52904 * sysdeps/s390/s390-32/configure: Delete file.
52905 * sysdeps/s390/s390-64/configure: Delete file.
52906 * sysdeps/s390/configure: Regenerate.
52907
52908 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
52909
52910 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52911
52912 2014-04-11 Will Newton <will.newton@linaro.org>
52913
52914 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52915 to zero if it is not defined elsewhere. (mtrim): Test
52916 the value of MALLOC_DEBUG with #if rather than #ifdef.
52917
52918 2014-04-10 Torvald Riegel <triegel@redhat.com>
52919
52920 * benchtests/pthread_once-inputs: New file.
52921 * benchtests/pthread_once-source.c: New file.
52922 * benchtests/README: Update documentation.
52923
52924 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
52925 H.J. Lu <hongjiu.lu@intel.com>
52926
52927 [BZ #16275]
52928 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52929 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52930 * sysdeps/x86_64/configure: Regenerated.
52931 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52932 macro.
52933 (REGISTER_SAVE_RAX): Likewise.
52934 (REGISTER_SAVE_RCX): Likewise.
52935 (REGISTER_SAVE_RDX): Likewise.
52936 (REGISTER_SAVE_RSI): Likewise.
52937 (REGISTER_SAVE_RDI): Likewise.
52938 (REGISTER_SAVE_R8): Likewise.
52939 (REGISTER_SAVE_R9): Likewise.
52940 (REGISTER_SAVE_BND0): Likewise.
52941 (REGISTER_SAVE_BND1): Likewise.
52942 (REGISTER_SAVE_BND2): Likewise.
52943 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
52944 bound registers when calling _dl_fixup.
52945
52946 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52947
52948 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52949 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52950 of its definition.
52951 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52952 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52953 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52954 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52955 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52956 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52957 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52958
52959 2014-04-09 Peter Brett <peter@peter-b.co.uk>
52960
52961 [BZ #15514]
52962 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52963 pathconf(_PC_NAME_MAX).
52964
52965 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52966
52967 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52968 Remove macro usage.
52969 (__PTHREAD_SPINS): Move definition to ...
52970 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52971 (__PTHREAD_SPINS): ... here.
52972 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52973 (__PTHREAD_SPIN): Likewise.
52974 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52975 (__PTHREAD_SPIN): Likewise.
52976 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52977 (__PTHREAD_SPIN): Likewise.
52978 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52979 (__PTHREAD_SPIN): Likewise.
52980 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52981 (__PTHREAD_SPIN): Likewise.
52982 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52983 (__PTHREAD_SPIN): Likewise.
52984 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52985 (__PTHREAD_SPIN): Likewise.
52986 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52987 (__PTHREAD_SPIN): Likewise.
52988 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52989 (__PTHREAD_SPIN): Likewise.
52990 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52991 (__PTHREAD_SPIN): Likewise.
52992 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52993 (__PTHREAD_SPIN): Likewise.
52994 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52995 (__PTHREAD_SPIN): Likewise.
52996
52997 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52998 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52999 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53000 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53001 imply folder.
53002 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53003 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53004 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53005 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53006 correct imply path.
53007 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53008 strlen symbol for non multi-arch builds.
53009 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53010 missing hidden_def and weak_alias.
53011
53012 2014-04-08 Carlos O'Donell <carlos@redhat.com>
53013
53014 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53015
53016 2014-04-07 Will Newton <will.newton@linaro.org>
53017
53018 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53019 and contents. [!_LIBC] Remove #ifndef and contents.
53020 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
53021 * string/memccpy.c (__memccpy): Use ANSI prototype.
53022 * string/memfrob.c (memfrob): Likewise.
53023 * string/strcoll.c (STRCOLL): Likewise.
53024 * string/strlen.c (strlen): Likewise.
53025 * string/strtok.c (STRTOK): Likewise.
53026 * string/strcat.c: Remove unused #include of memcopy.h.
53027 (strcat): Use ANSI prototype.
53028 * string/strchr.c: Remove unused #include of memcopy.h.
53029 (strchr): Use ANSI prototype.
53030 * string/strcmp.c: Remove unused #include of memcopy.h.
53031 (strcmp): Use ANSI prototype.
53032 * string/strcpy.c: Remove unused #include of memcopy.h.
53033 (strcpy): Use ANSI prototype.
53034
53035 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53036
53037 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53038 * config.make.in (config-extra-cppflags): Set it from
53039 libc_extra_cppflags.
53040 * configure.ac (libc_extra_cflags): Make it accumulate over
53041 configure fragments.
53042 (libc_extra_cppflags): New flag.
53043 * configure. Regenerate.
53044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53045 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53046 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53048
53049 [BZ #16815]
53050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53051 result for FE_DOWNWARD rounding mode.
53052 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53053 Likewise.
53054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53055
53056 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
53057
53058 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53059 in function argument name.
53060
53061 2014-04-03 David Svoboda <svoboda@cert.org>
53062
53063 [BZ #5666]
53064 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53065 explicitly.
53066
53067 2014-04-03 Roland McGrath <roland@hack.frob.com>
53068
53069 * elf/dl-unmap-segments.h: New file.
53070 * sysdeps/generic/ldsodefs.h
53071 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53072 * elf/dl-close.c: Include <dl-unmap-segments.h>.
53073 * elf/dl-fptr.c: Likewise.
53074 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53075 * sysdeps/aarch64/tlsdesc.c: Likewise.
53076 * sysdeps/arm/tlsdesc.c: Likewise.
53077 * sysdeps/i386/tlsdesc.c: Likewise.
53078 * sysdeps/tile/dl-runtime.c: Likewise.
53079 * sysdeps/x86_64/tlsdesc.c: Likewise.
53080 * elf/dl-load.h: New file.
53081 * elf/dl-load.c: Include it.
53082 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53083 Macros moved to dl-load.h.
53084 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53085 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53086 Use _dl_unmap_segments in place of __munmap.
53087 Break out segment-mapping loop into ...
53088 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53089
53090 2014-04-03 Will Newton <will.newton@linaro.org>
53091
53092 * elf/dl-lookup.c (do_lookup_x): Remove comment
53093 referring to nested function and move variable
53094 declarations down to before first use.
53095
53096 2014-04-02 Joseph Myers <joseph@codesourcery.com>
53097
53098 [BZ #16799]
53099 [BZ #16800]
53100 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53101 with 0 numerator.
53102 * math/s_catanf.c (__catanf): Likewise.
53103 * math/s_catanh.c (__catanh): Likewise.
53104 * math/s_catanhf.c (__catanhf): Likewise.
53105 * math/s_catanhl.c (__catanhl): Likewise.
53106 * math/s_catanl.c (__catanl): Likewise.
53107 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53108 by positive zero when computing -Inf result.
53109 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53110 (catanh_test): Likewise.
53111 * sysdeps/i386/fpu/libm-test-ulps: Update.
53112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53113
53114 [BZ #16789]
53115 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53116 instead of using underflowing value in computing result.
53117 * math/s_clog10.c (__clog10): Likewise.
53118 * math/s_clog10f.c (__clog10f): Likewise.
53119 * math/s_clog10l.c (__clog10l): Likewise.
53120 * math/s_clogf.c (__clogf): Likewise.
53121 * math/s_clogl.c (__clogl): Likewise.
53122 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53123 (clog10_test): Likewise.
53124 * sysdeps/i386/fpu/libm-test-ulps: Update.
53125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53126
53127 2014-04-02 Alan Modra <amodra@gmail.com>
53128
53129 [BZ #16739]
53130 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53131 output when value is near a power of two. Use int64_t for lx and
53132 remove casts. Use decimal rather than hex exponent constants.
53133 Don't use long double multiplication when double will suffice.
53134 * math/libm-test.inc (nextafter_test_data): Add tests.
53135 * NEWS: Add 16739 and 16786 to bug list.
53136
53137 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53138
53139 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53140
53141 2014-04-01 Will Newton <will.newton@linaro.org>
53142
53143 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53144 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
53145
53146 2014-04-01 Florian Weimer <fweimer@redhat.com>
53147
53148 [BZ #13347]
53149 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53150 * nptl/tst-setuid2.c: New file.
53151 * nptl/Makefile (xtests): Add tst-setuid2.
53152
53153 2014-04-01 Alan Modra <amodra@gmail.com>
53154
53155 [BZ #16786]
53156 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53157
53158 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53159
53160 [BZ #6803]
53161 [BZ #6804]
53162 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53163 set errno as appropriate.
53164 * math/w_scalbf.c (__scalbf): Likewise.
53165 * math/w_scalbl.c (__scalbl): Likewise.
53166 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53167 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53168 * math/libm-test.inc (scalb_test_data): Add errno expectations.
53169 Add more NaN tests.
53170
53171 [BZ #16349]
53172 * math/w_atan2.c: Include <errno.h>.
53173 (__atan2): Set errno for result underflowing to zero.
53174 * math/w_atan2f.c: Include <errno.h>.
53175 (__atan2f): Set errno for result underflowing to zero.
53176 * math/w_atan2l.c: Include <errno.h>.
53177 (__atan2l): Set errno for result underflowing to zero.
53178 * math/auto-libm-test-in: Don't allow missing errno for some atan2
53179 tests.
53180 * math/auto-libm-test-out: Regenerated.
53181
53182 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53183
53184 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53185 Encode instruction correctly in little endian.
53186 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53187 Likewise.
53188 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53189 Likewise.
53190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53191 Likewise.
53192 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53193 Likewise.
53194
53195 2014-03-31 Joseph Myers <joseph@codesourcery.com>
53196
53197 [BZ #9894]
53198 * sysdeps/unix/sysv/linux/kernel-features.h
53199 [__sparc__ && !__arch64__ && !__sparc_v9__]
53200 (__ASSUME_SET_ROBUST_LIST): Do not define.
53201 [__sparc__ && !__arch64__ && !__sparc_v9__]
53202 (__ASSUME_FUTEX_LOCK_PI): Likewise.
53203 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53204 Likewise.
53205 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53206 (__ASSUME_FUTEX_LOCK_PI): Undefine.
53207 (__ASSUME_REQUEUE_PI): Likewise.
53208 (__ASSUME_SET_ROBUST_LIST): Likewise.
53209 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53210 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53211 Undefine.
53212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53214 Likewise.
53215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53216 Likewise.
53217 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53218 Likewise.
53219 * sysdeps/unix/sysv/linux/mips/kernel-features.h
53220 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53221 Undefine.
53222 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53223 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53224 Likewise.
53225
53226 [BZ #16648]
53227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53229 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53230
53231 2014-03-31 Will Newton <will.newton@linaro.org>
53232
53233 * benchtests/Makefile (bench): Add ffs and ffsll to list
53234 of tests.
53235 * benchtests/ffs-inputs: New file.
53236 * benchtests/ffsll-inputs: Likewise.
53237
53238 2014-03-29 Joseph Myers <joseph@codesourcery.com>
53239
53240 [BZ #16770]
53241 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53242 too large before casting to int.
53243 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53244 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53245 * math/libm-test.inc (scalb_test_data): Add more tests.
53246
53247 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53248
53249 * benchtests/Makefile (DETAILED_OPT): New make option.
53250 (bench-func): Run benchmark program with -d if DETAILED_OPT is
53251 set.
53252 * benchtests/bench-skeleton.c: Include stdbool.h.
53253 (main): Store and print timings per input.
53254 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53255 member to each argument value.
53256 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53257 (_print_arg_data): Initialize per-input timing to 0.
53258
53259 * benchtests/Makefile (timing-type): New binary.
53260 (bench-clean): Also remove bench-timing-type.
53261 (bench): New target for timing-type.
53262 (bench-func): Print output in JSON format.
53263 * benchtests/bench-skeleton.c (main): Print output in JSON
53264 format.
53265 * benchtests/bench-timing-type.c: New file.
53266 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53267 (TIMING_PRINT_STATS): Remove.
53268 * benchtests/scripts/bench.py (_print_arg_data): Store variant
53269 name separately.
53270
53271 * benchtests/bench-modf.c: Remove.
53272 * benchtests/modf-inputs: New inputs file.
53273
53274 2014-03-28 Joseph Myers <joseph@codesourcery.com>
53275
53276 [BZ #16362]
53277 * math/s_clog10.c (M_PI_LOG10E): New macro.
53278 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53279 imaginary parts are 0.
53280 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53281 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53282 imaginary parts are 0.
53283 * math/s_clog10l.c (M_PI_LOG10El): New macro.
53284 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53285 imaginary parts are 0.
53286 * math/libm-test.inc (clog10_test_data): Update expected results
53287 for when real and imaginary parts are 0.
53288
53289 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
53290
53291 * elf/dl-load.c: Finish conversion of __builtin_expect into
53292 __glibc_{un}likely.
53293
53294 2014-03-27 Joseph Myers <joseph@codesourcery.com>
53295
53296 [BZ #16348]
53297 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53298 1+x for argument with exponent below -67.
53299 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53300 Likewise.
53301 * math/auto-libm-test-in: Add more tests of exp.
53302 * math/auto-libm-test-out: Regenerated.
53303
53304 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53305
53306 [BZ #16759]
53307 * inet/getnetgrent_r.c (get_nonempty_val): New function.
53308 (nscd_getnetgrent): Use it.
53309
53310 [BZ #16760]
53311 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53312 of stpcpy.
53313
53314 2014-03-27 Andi Kleen <ak@linux.intel.com>
53315
53316 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53317 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53318 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53319 (lll_robust_unlock): Remove out of line section. Use cfi
53320 intrinsics.
53321 (LLL_STUB_UNWIND_INFO*): Remove.
53322 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53323 (lll_robust_lock, lll_cond_lock, lll_timedlock)
53324 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53325 (lll_robust_unlock): Remove out of line section. Use cfi
53326 intrinsics.
53327 (LLL_STUB_UNWIND_INFO*): Remove.
53328
53329 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
53330
53331 [BZ #16758]
53332 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53333 blank values.
53334
53335 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
53336
53337 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53338
53339 2014-03-26 Joseph Myers <joseph@codesourcery.com>
53340
53341 [BZ #16198]
53342 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53343 fnstenv.
53344 * math/test-fenv-preserve.c: New file.
53345 * math/Makefile (tests): Add test-fenv-preserve.
53346
53347 2014-03-26 Will Newton <will.newton@linaro.org>
53348
53349 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53350
53351 2014-03-25 Roland McGrath <roland@hack.frob.com>
53352
53353 * scripts/versionlist.awk: Partition the version sets and emit all
53354 GLIBC_* (sorted) before all others (sorted).
53355
53356 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53357
53358 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53359 GLIBC_2.2.5 version.
53360
53361 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53362
53363 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53364 calls.
53365
53366 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53367 previous change.
53368
53369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53370
53371 2014-03-25 Andreas Schwab <schwab@suse.de>
53372
53373 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53374 label to be used after in6ailist is initialized.
53375
53376 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53377
53378 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53379 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53380
53381 2014-03-25 Joseph Myers <joseph@codesourcery.com>
53382
53383 [BZ #16357]
53384 [BZ #16599]
53385 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53386 min_plus_half.
53387 (fp_formats): Update initializers.
53388 (init_fp_formats): Initialize new field.
53389 (output_for_one_input_case): Allow underflow for results up to
53390 min_plus_half.
53391 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53392 * math/auto-libm-test-in: Don't mark some underflows from asin and
53393 atanh as spurious.
53394 * math/auto-libm-test-out: Regenerated.
53395 * sysdeps/i386/fpu/libm-test-ulps: Update.
53396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53397
53398 2014-03-25 Andreas Schwab <schwab@suse.de>
53399
53400 * libio/Makefile (tst-ftell-partial-wide-ENV)
53401 (tst-ftell-active-handler-ENV): Define.
53402
53403 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
53404
53405 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53406
53407 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53408
53409 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53410
53411 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53412
53413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53414 * sysdeps/x86_64/fpu/multiarch/e_exp.c
53415 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53416
53417 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
53418
53419 [BZ #16634]
53420 * elf/dl-load.c (open_verify): Add mode parameter.
53421 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53422 (open_path): Change from boolean 'secure' to complete flag 'mode'
53423 (_dl_map_object): Adjust.
53424 * elf/Makefile (tests): Add tst-dlopen-aout.
53425 * elf/tst-dlopen-aout.c: New test.
53426
53427 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
53428
53429 [BZ #16714]
53430 * sysdeps/unix/sysv/linux/s390/bits/stat.h
53431 (struct stat): Rename member pad0 to __glibc_reserved0.
53432
53433 [BZ #16712]
53434 * sysdeps/s390/s390-32/bits/wordsize.h
53435 (__WORDSIZE32_SIZE_ULONG): New define.
53436 * sysdeps/s390/s390-64/bits/wordsize.h
53437 (__WORDSIZE32_SIZE_ULONG): Likewise.
53438 * sysdeps/generic/stdint.h (SIZE_MAX):
53439 Define as UL if __WORDSIZE32_SIZE_ULONG.
53440
53441 [BZ #16713]
53442 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53443 (__glibc_reserved0): New variable.
53444 (sa_flags): Change type to int.
53445
53446 * posix/Makefile (before-compile): Use += before-compile instead
53447 of a :=.
53448
53449 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53450 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53451
53452 2014-03-20 Andreas Schwab <schwab@suse.de>
53453
53454 [BZ #16743]
53455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53456 non-matching result from nscd.
53457
53458 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53459
53460 * scripts/bench.py: Moved to ...
53461 * benchtests/scripts/bench.py: ... here.
53462 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53463
53464 2014-03-24 Andreas Schwab <schwab@suse.de>
53465
53466 [BZ #16002]
53467 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53468 alloca_account and account alloca use for struct in6ailist.
53469
53470 2014-03-24 Joseph Myers <joseph@codesourcery.com>
53471
53472 [BZ #16284]
53473 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53474 rounding mode to recompute results that overflow to infinity or
53475 underflow to zero.
53476 * math/auto-libm-test-in: Don't mark tests as expected to fail for
53477 bug 16284.
53478 * math/auto-libm-test-out: Regenerated.
53479 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53480 (ccosh_test): Likewise.
53481 (csin_test_data): Use plus_oflow.
53482 (csin_test): Use ALL_RM_TEST.
53483 (csinh_test_data): Use plus_oflow.
53484 (csinh_test): Use ALL_RM_TEST.
53485 * sysdeps/i386/fpu/libm-test-ulps: Update.
53486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53487
53488 2014-03-21 Joseph Myers <joseph@codesourcery.com>
53489
53490 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53491 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53492 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53493
53494 [BZ #16731]
53495 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53496 when x - 1 is zero.
53497 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53498 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53499 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53500 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53501 argument is 1.
53502 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53503 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53504 zero.
53505 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53506 * sysdeps/i386/fpu/libm-test-ulps: Update.
53507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53508
53509 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53510
53511 * scripts/bench.pl: Remove file.
53512 * scripts/bench.py: New benchmark script.
53513 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53514 * benchtests/README: Mention python dependency.
53515 * scripts/pylintrc: New file.
53516 * scripts/pylint: New file.
53517
53518 * bits/mathdef.h: Use #ifdef instead of #if.
53519 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53521 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53522 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53523 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53524 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53525
53526 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53527 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
53528
53529 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53531 and strpbrk-ppc64 objects.
53532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53533 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53535 multiarch strpbrk for POWER7.
53536 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53537 multiarch strpbrk for PPC64.
53538 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53539 ifunc selector.
53540 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53541 strpbrk for POWER7.
53542
53543 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53544
53545 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53546 (atan_test): Likewise.
53547 (atanh_test_data): Use NO_TEST_INLINE for two tests.
53548 (atanh_test): Use ALL_RM_TEST.
53549 (atan2_test_data): Likewise.
53550 (cabs_test): Likewise.
53551 (cacosh_test): Likewise.
53552 (carg_test): Likewise.
53553 (casin_test): Likewise.
53554 (casinh_test): Likewise.
53555 (cbrt_test): Likewise.
53556 (csqrt_test): Likewise.
53557 (erf_test): Likewise.
53558 (erfc_test): Likewise.
53559 (pow10_test): Likewise.
53560 (exp2_test): Likewise.
53561 (hypot_test): Likewise.
53562 (j0_test): Likewise.
53563 (j1_test): Likewise.
53564 (lgamma_test): Likewise.
53565 (gamma_test): Likewise.
53566 (sincos_test): Likewise.
53567 (tanh_test): Likewise.
53568 (y0_test): Likewise.
53569 (y1_test): Likewise.
53570 * sysdeps/i386/fpu/libm-test-ulps: Update.
53571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53572
53573 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53574
53575 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53577 and strcspn-ppc64 objects.
53578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53579 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53580 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53581 multiarch strcspn for POWER7.
53582 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53583 multiarch strcspn for PPC64.
53584 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53585 ifunc selector.
53586 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53587 strcspn for POWER7.
53588
53589 2014-03-20 Joseph Myers <joseph@codesourcery.com>
53590
53591 * math/gen-libm-test.pl (generate_testfile): Expect only function
53592 name as argument to AUTO_TESTS_* and pass results for all rounding
53593 modes to parse_args.
53594 (parse_auto_input): Separate inputs of automatic tests from
53595 outputs before storing in %auto_tests.
53596 * math/libm-test.inc (acos_test_data): Update call to
53597 AUTO_TESTS_f_f.
53598 (acos_test): Use ALL_RM_TEST.
53599 (acos_tonearest_test_data): Remove.
53600 (acos_test_tonearest): Likewise.
53601 (acos_towardzero_test_data): Likewise.
53602 (acos_test_towardzero): Likewise.
53603 (acos_downward_test_data): Likewise.
53604 (acos_test_downward): Likewise.
53605 (acos_upward_test_data): Likewise.
53606 (acos_test_upward): Likewise.
53607 (acosh_test_data): Update call to AUTO_TESTS_f_f.
53608 (asin_test_data): Likewise.
53609 (asin_test): Use ALL_RM_TEST.
53610 (asin_tonearest_test_data): Remove.
53611 (asin_test_tonearest): Likewise.
53612 (asin_towardzero_test_data): Likewise.
53613 (asin_test_towardzero): Likewise.
53614 (asin_downward_test_data): Likewise.
53615 (asin_test_downward): Likewise.
53616 (asin_upward_test_data): Likewise.
53617 (asin_test_upward): Likewise.
53618 (asinh_test_data): Update call to AUTO_TESTS_f_f.
53619 (atan_test_data): Likewise.
53620 (atanh_test_data): Likewise.
53621 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53622 (cabs_test_data): Update call to AUTO_TESTS_c_f.
53623 (carg_test_data): Likewise.
53624 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53625 (ccos_test_data): Update call to AUTO_TESTS_c_c.
53626 (ccosh_test_data): Likewise.
53627 (cexp_test_data): Likewise.
53628 (clog_test_data): Likewise.
53629 (clog10_test_data): Likewise.
53630 (cos_test_data): Update call to AUTO_TESTS_f_f.
53631 (cos_test): Use ALL_RM_TEST.
53632 (cos_tonearest_test_data): Remove.
53633 (cos_test_tonearest): Likewise.
53634 (cos_towardzero_test_data): Likewise.
53635 (cos_test_towardzero): Likewise.
53636 (cos_downward_test_data): Likewise.
53637 (cos_test_downward): Likewise.
53638 (cos_upward_test_data): Likewise.
53639 (cos_test_upward): Likewise.
53640 (cosh_test_data): Update call to AUTO_TESTS_f_f.
53641 (cosh_test): Use ALL_RM_TEST.
53642 (cosh_tonearest_test_data): Remove.
53643 (cosh_test_tonearest): Likewise.
53644 (cosh_towardzero_test_data): Likewise.
53645 (cosh_test_towardzero): Likewise.
53646 (cosh_downward_test_data): Likewise.
53647 (cosh_test_downward): Likewise.
53648 (cosh_upward_test_data): Likewise.
53649 (cosh_test_upward): Likewise.
53650 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53651 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53652 (ctan_test_data): Likewise.
53653 (ctan_test): Use ALL_RM_TEST.
53654 (ctan_tonearest_test_data): Remove.
53655 (ctan_test_tonearest): Likewise.
53656 (ctan_towardzero_test_data): Likewise.
53657 (ctan_test_towardzero): Likewise.
53658 (ctan_downward_test_data): Likewise.
53659 (ctan_test_downward): Likewise.
53660 (ctan_upward_test_data): Likewise.
53661 (ctan_test_upward): Likewise.
53662 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
53663 (ctanh_test): Use ALL_RM_TEST.
53664 (ctanh_tonearest_test_data): Remove.
53665 (ctanh_test_tonearest): Likewise.
53666 (ctanh_towardzero_test_data): Likewise.
53667 (ctanh_test_towardzero): Likewise.
53668 (ctanh_downward_test_data): Likewise.
53669 (ctanh_test_downward): Likewise.
53670 (ctanh_upward_test_data): Likewise.
53671 (ctanh_test_upward): Likewise.
53672 (erf_test_data): Update call to AUTO_TESTS_f_f.
53673 (erfc_test_data): Likewise.
53674 (exp_test_data): Likewise.
53675 (exp_test): Use ALL_RM_TEST.
53676 (exp_tonearest_test_data): Remove.
53677 (exp_test_tonearest): Likewise.
53678 (exp_towardzero_test_data): Likewise.
53679 (exp_test_towardzero): Likewise.
53680 (exp_downward_test_data): Likewise.
53681 (exp_test_downward): Likewise.
53682 (exp_upward_test_data): Likewise.
53683 (exp_test_upward): Likewise.
53684 (exp10_test_data): Update call to AUTO_TESTS_f_f.
53685 (exp10_test): Use ALL_RM_TEST.
53686 (exp10_tonearest_test_data): Remove.
53687 (exp10_test_tonearest): Likewise.
53688 (exp10_towardzero_test_data): Likewise.
53689 (exp10_test_towardzero): Likewise.
53690 (exp10_downward_test_data): Likewise.
53691 (exp10_test_downward): Likewise.
53692 (exp10_upward_test_data): Likewise.
53693 (exp10_test_upward): Likewise.
53694 (exp2_test_data): Update call to AUTO_TESTS_f_f.
53695 (expm1_test_data): Likewise.
53696 (expm1_test): Use ALL_RM_TEST.
53697 (expm1_tonearest_test_data): Remove.
53698 (expm1_test_tonearest): Likewise.
53699 (expm1_towardzero_test_data): Likewise.
53700 (expm1_test_towardzero): Likewise.
53701 (expm1_downward_test_data): Likewise.
53702 (expm1_test_downward): Likewise.
53703 (expm1_upward_test_data): Likewise.
53704 (expm1_test_upward): Likewise.
53705 (fma_test_data): Update call to AUTO_TESTS_fff_f.
53706 (fma_test): Use ALL_RM_TEST.
53707 (fma_towardzero_test_data): Remove.
53708 (fma_test_towardzero): Likewise.
53709 (fma_downward_test_data): Likewise.
53710 (fma_test_downward): Likewise.
53711 (fma_upward_test_data): Likewise.
53712 (fma_test_upward): Likewise.
53713 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
53714 (j0_test_data): Update call to AUTO_TESTS_f_f.
53715 (j1_test_data): Likewise.
53716 (jn_test_data): Update call to AUTO_TESTS_if_f.
53717 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
53718 (log_test_data): Update call to AUTO_TESTS_f_f.
53719 (log10_test_data): Likewise.
53720 (log1p_test_data): Likewise.
53721 (log2_test_data): Likewise.
53722 (pow_test_data): Update call to AUTO_TESTS_ff_f.
53723 (pow_tonearest_test_data): Likewise.
53724 (sin_test_data): Update call to AUTO_TESTS_f_f.
53725 (sin_test): Use ALL_RM_TEST.
53726 (sin_tonearest_test_data): Remove.
53727 (sin_test_tonearest): Likewise.
53728 (sin_towardzero_test_data): Likewise.
53729 (sin_test_towardzero): Likewise.
53730 (sin_downward_test_data): Likewise.
53731 (sin_test_downward): Likewise.
53732 (sin_upward_test_data): Likewise.
53733 (sin_test_upward): Likewise.
53734 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
53735 (sinh_test_data): Update call to AUTO_TESTS_f_f.
53736 (sinh_test): Use ALL_RM_TEST.
53737 (sinh_tonearest_test_data): Remove.
53738 (sinh_test_tonearest): Likewise.
53739 (sinh_towardzero_test_data): Likewise.
53740 (sinh_test_towardzero): Likewise.
53741 (sinh_downward_test_data): Likewise.
53742 (sinh_test_downward): Likewise.
53743 (sinh_upward_test_data): Likewise.
53744 (sinh_test_upward): Likewise.
53745 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
53746 (sqrt_test): Use ALL_RM_TEST.
53747 (sqrt_tonearest_test_data): Remove.
53748 (sqrt_test_tonearest): Likewise.
53749 (sqrt_towardzero_test_data): Likewise.
53750 (sqrt_test_towardzero): Likewise.
53751 (sqrt_downward_test_data): Likewise.
53752 (sqrt_test_downward): Likewise.
53753 (sqrt_upward_test_data): Likewise.
53754 (sqrt_test_upward): Likewise.
53755 (tan_test_data): Update call to AUTO_TESTS_f_f.
53756 (tan_test): Use ALL_RM_TEST.
53757 (tan_tonearest_test_data): Remove.
53758 (tan_test_tonearest): Likewise.
53759 (tan_towardzero_test_data): Likewise.
53760 (tan_test_towardzero): Likewise.
53761 (tan_downward_test_data): Likewise.
53762 (tan_test_downward): Likewise.
53763 (tan_upward_test_data): Likewise.
53764 (tan_test_upward): Likewise.
53765 (tanh_test_data): Update call to AUTO_TESTS_f_f.
53766 (tgamma_test_data): Likewise.
53767 (y0_test_data): Likewise.
53768 (y1_test_data): Likewise.
53769 (yn_test_data): Update call to AUTO_TESTS_if_f.
53770 (main): Do not call removed functions.
53771
53772 2014-03-19 Joseph Myers <joseph@codesourcery.com>
53773
53774 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
53775 (ldexp_test_data): Remove.
53776 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
53777 scalbn_test_data.
53778 (scalb_test): Use ALL_RM_TEST.
53779
53780 2014-03-19 Andreas Schwab <schwab@suse.de>
53781
53782 * nscd/nscd.service: Also invalidate netgroup cache on reload.
53783
53784 2014-03-19 Joseph Myers <joseph@codesourcery.com>
53785
53786 [BZ #16649]
53787 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53788 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53789 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53790 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53791 (__ASSUME_PREADV): Undefine.
53792 (__ASSUME_PWRITEV): Likewise.
53793
53794 2014-03-18 Roland McGrath <roland@hack.frob.com>
53795
53796 * bits/mman-linux.h: Add comment about non-Linux use.
53797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53798 bits/mman-linux.h resting place.
53799
53800 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53801 * bits/mman-linux.h: ... here.
53802
53803 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53804
53805 * conform/conformtest.pl: Add standard definition when calling C
53806 preprocessor on data files.
53807 (checknamespace): Remove unused variable.
53808
53809 2014-03-18 Joseph Myers <joseph@codesourcery.com>
53810
53811 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53812 minus_oflow, plus_uflow and minus_uflow in expected results.
53813 * math/libm-test.inc (scalbn_test_data): Add more tests of
53814 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
53815 minus_uflow.
53816 (scalbn_test): Use ALL_RM_TEST.
53817 (scalbln_test_data): Add more tests of negative arguments. Use
53818 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53819 (scalbln_test): Use ALL_RM_TEST.
53820
53821 2014-03-18 Roland McGrath <roland@hack.frob.com>
53822
53823 * scripts/abilist.awk: Ignore symbols marked with .hidden.
53824
53825 2014-03-18 Will Newton <will.newton@linaro.org>
53826
53827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53828 inaccurate comment.
53829
53830 2014-03-18 Joseph Myers <joseph@codesourcery.com>
53831
53832 * Makerules [!subdir] (check-abi): Exit with error status if a
53833 test failed.
53834
53835 2014-03-17 Joseph Myers <joseph@codesourcery.com>
53836
53837 * math/libm-test.inc (nearbyint_test_data): Include all tests used
53838 for rint. Include results for all rounding modes.
53839 (nearbyint_test): Use ALL_RM_TEST.
53840 (rint_test_data): Include all tests used for nearbyint.
53841
53842 2014-03-17 Will Newton <will.newton@linaro.org>
53843
53844 * nptl/sysdeps/pthread/pthread.h: Revert previous
53845 change.
53846
53847 * sysdeps/generic/ldsodefs.h: Revert previous
53848 change.
53849
53850 * libio/genops.c: Revert previous change.
53851 * libio/libioP.h: Likewise.
53852 * stdio-common/vfprintf.c: Likewise.
53853
53854 * sysdeps/generic/math_private.h: Revert previous
53855 change.
53856
53857 * sysdeps/generic/math_private.h: Check whether
53858 HAVE_RM_CTX is defined with #ifdef rather
53859 than #if.
53860
53861 * argp/argp-fmtstream.h: Check whether
53862 __STRICT_ANSI__ is defined with #ifdef rather
53863 than #if.
53864 * argp/argp.h: Likewise.
53865
53866 * libio/genops.c: Check whether
53867 _IO_JUMPS_OFFSET is defined with #ifdef rather
53868 than #if.
53869 * libio/libioP.h: Likewise.
53870 * stdio-common/vfprintf.c: Likewise.
53871
53872 * sysdeps/generic/ldsodefs.h: Check whether
53873 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53874 than #if.
53875
53876 * nptl/sysdeps/pthread/pthread.h: Check
53877 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53878 its value.
53879
53880 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53881
53882 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53883 setting O_APPEND.
53884 * libio/tst-ftell-active-handler.c (do_append_test): Add a
53885 test case.
53886
53887 [BZ #16680]
53888 * libio/fileops.c (_IO_file_open): Seek to end of file but
53889 don't cache the offset.
53890 (get_file_offset): Remove function.
53891 (do_ftell): Use cached offset when available.
53892 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53893 don't cache the offset.
53894 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53895 case.
53896 (do_one_test): Call it.
53897 (do_ftell_test): Fix up expected old offset for a+ mode.
53898 * libio/wfileops.c (do_ftell_wide): Used cached offset when
53899 available.
53900
53901 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53902 up test status with function return status.
53903 (do_write_test): Likewise.
53904 (do_append_test): Likewise.
53905
53906 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53907 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53908 Remove.
53909
53910 2014-03-17 Joseph Myers <joseph@codesourcery.com>
53911
53912 * math/gen-libm-test.pl (parse_args): Handle results specified for
53913 each rounding mode separately.
53914 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53915 tests and results from lrint_tonearest_test_data,
53916 lrint_towardzero_test_data, lrint_downward_test_data and
53917 lrint_upward_test_data.
53918 (lrint_test): Use ALL_RM_TEST.
53919 (lrint_tonearest_test_data): Remove.
53920 (lrint_test_tonearest): Likewise.
53921 (lrint_towardzero_test_data): Likewise.
53922 (lrint_test_towardzero): Likewise.
53923 (lrint_downward_test_data): Likewise.
53924 (lrint_test_downward): Likewise.
53925 (lrint_upward_test_data): Likewise.
53926 (lrint_test_upward): Likewise.
53927 (llrint_test_data): Merge in per-rounding-mode tests and results
53928 from llrint_tonearest_test_data, llrint_towardzero_test_data,
53929 llrint_downward_test_data and llrint_upward_test_data.
53930 (llrint_test): Use ALL_RM_TEST.
53931 (llrint_tonearest_test_data): Remove.
53932 (llrint_test_tonearest): Likewise.
53933 (llrint_towardzero_test_data): Likewise.
53934 (llrint_test_towardzero): Likewise.
53935 (llrint_downward_test_data): Likewise.
53936 (llrint_test_downward): Likewise.
53937 (llrint_upward_test_data): Likewise.
53938 (llrint_test_upward): Likewise.
53939 (rint_test_data): Merge in per-rounding-mode tests and results
53940 from rint_tonearest_test_data, rint_towardzero_test_data,
53941 rint_downward_test_data and rint_upward_test_data. Add
53942 per-rounding-mode results for tests not in those arrays.
53943 (rint_test): Use ALL_RM_TEST.
53944 (rint_tonearest_test_data): Remove.
53945 (rint_test_tonearest): Likewise.
53946 (rint_towardzero_test_data): Likewise.
53947 (rint_test_towardzero): Likewise.
53948 (rint_downward_test_data): Likewise.
53949 (rint_test_downward): Likewise.
53950 (rint_upward_test_data): Likewise.
53951 (rint_test_upward): Likewise.
53952 (main): Don't call removed functions.
53953
53954 2014-03-14 Roland McGrath <roland@hack.frob.com>
53955
53956 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53957 "Compiled on ..." crapola. It is anti-useful.
53958
53959 2014-03-14 Joseph Myers <joseph@codesourcery.com>
53960
53961 * scripts/evaluate-test.sh: Handle fourth argument to determine
53962 whether test run should stop on failure.
53963 * Makeconfig (stop-on-test-failure): New variable.
53964 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53965 $(stop-on-test-failure).
53966 * Makefile (tests): Give a summary of results from testing and
53967 exit with failure status if they include an ERROR or FAIL.
53968 (xtests): Likewise.
53969 * manual/install.texi (Configuring and compiling): Mention
53970 stop-on-test-failure=y.
53971 * INSTALL: Regenerated.
53972
53973 2014-03-14 Roland McGrath <roland@hack.frob.com>
53974
53975 * scripts/versionlist.awk: New file.
53976 * Makerules [$(build-shared) = yes]
53977 (postclean-generated): Add Versions.def, not Versions.def.v and
53978 Versions.def.v.i.
53979 ($(common-objpfx)Versions.def.v.i): Target removed.
53980 ($(common-objpfx)Versions.def): New target.
53981 ($(common-objpfx)Versions.all): Depend on that rather that
53982 $(common-objpfx)Versions.def.v.
53983 * Versions.def: File removed.
53984
53985 * Makeconfig (+gccwarn): Add -Wundef.
53986 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53987 a dl-sysdep.h breaking its contract.
53988 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53989 * include/stackinfo.h: New file.
53990 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53991 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53992 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53993 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53994 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53995 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53996 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53997 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53998 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53999 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54000 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54001 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54002 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54003 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54004 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54005
54006 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54007
54008 [BZ #16707]
54009 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54010 implementation.
54011 * math/libm-test.inc (round_test_data): Add more tests.
54012
54013 [BZ #16706]
54014 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54015 implementation.
54016 * math/libm-test.inc (nearbyint_test_data): Add more tests.
54017
54018 [BZ #16701]
54019 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54020 implementation.
54021 * math/libm-test.inc (ceil_test_data): Add more tests.
54022
54023 * math/libm-test.inc (trunc_test_data): Add more tests related to
54024 BZ#16414.
54025
54026 2014-03-14 Roland McGrath <roland@hack.frob.com>
54027
54028 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54029 with #if rather than #ifdef.
54030 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54031
54032 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
54033
54034 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54035 first. Disable AVX-512 GCC support if assembler doesn't support
54036 it.
54037 * sysdeps/x86_64/configure: Regenerated.
54038
54039 2014-03-13 Carlos O'Donell <carlos@redhat.com>
54040
54041 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54042 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54043 (__old_pthread_attr_setstack): Likewise.
54044 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54045 [!_STACK_GROWS_DOWN]: Likewise.
54046
54047 2014-03-13 Mike Frysinger <vapier@gentoo.org>
54048
54049 * config.make.in (have-bash2): Delete.
54050 * configure.ac (libc_cv_have_bash2): Delete.
54051 * configure: Regenerate.
54052 * elf/Makefile (common-ldd-rewrite): Rename to ...
54053 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
54054 (sh-ldd-rewrite): Delete.
54055 (bash-ldd-rewrite): Delete.
54056 (have-bash2): Delete checks.
54057 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54058 ldd-rewrite.
54059
54060 * config.make.in (have-ksh): Delete.
54061 (KSH): Delete.
54062 * configure.ac (libc_cv_have_ksh): Delete.
54063 * configure: Regenerate.
54064
54065 * elf/Makefile: Delete $(have-ksh) check.
54066 ($(objpfx)sotruss): Change KSH to BASH.
54067 * elf/sotruss.ksh: Rename to ...
54068 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
54069 function style to match POSIX. Drop ksh vim mode setting.
54070
54071 * manual/time.texi (Specifying the Time Zone with TZ): Change
54072 Tuesday to Thursday.
54073
54074 * debug/tst-longjmp_chk2.c: Update header comment.
54075 (stackoverflow_handler): Add comment. Call assert on pass value.
54076
54077 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
54078
54079 [BZ #16194]
54080 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54081 (HAVE_AVX512_ASM_SUPPORT): Likewise.
54082 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54083 (La_x86_64_vector): Add zmm.
54084 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54085 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54086 ($(objpfx)tst-audit10): New target.
54087 ($(objpfx)tst-audit10.out): Likewise.
54088 (tst-audit10-ENV): New.
54089 (AVX512-CFLAGS): Likewise.
54090 (CFLAGS-tst-audit10.c): Likewise.
54091 (CFLAGS-tst-auditmod10a.c): Likewise.
54092 (CFLAGS-tst-auditmod10b.c): Likewise.
54093 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54094 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54095 * sysdeps/x86_64/configure: Regenerated.
54096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54097 AVX-512 zmm register support.
54098 (_dl_x86_64_save_sse): Likewise.
54099 (_dl_x86_64_restore_sse): Likewise.
54100 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54101 size vector registers.
54102 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54103 (ZMM_SIZE): Likewise.
54104 * sysdeps/x86_64/tst-audit10.c: New file.
54105 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54106 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54107
54108 2014-03-13 Roland McGrath <roland@hack.frob.com>
54109
54110 * configure.ac (HAVE_EHDR_START): New check.
54111 * configure: Regenerated.
54112 * config.h.in (HAVE_EHDR_START): New #undef.
54113 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54114 assuming the lowest-addressed segment maps the start of the file.
54115
54116 2014-03-13 Joseph Myers <joseph@codesourcery.com>
54117
54118 * INSTALL: Regenerated.
54119
54120 2014-03-13 Will Newton <will.newton@linaro.org>
54121
54122 * manual/setjmp.texi (System V contexts): Improve
54123 clarity and grammar of documentation.
54124
54125 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
54126
54127 [BZ #16381]
54128 * elf/Makefile (tests): Add tst-pie2.
54129 (tests-pie): Add tst-pie2.
54130 * elf/tst-pie2.c: New file.
54131 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54132 for ET_EXEC.
54133 * elf/rtld.c (map_doit): Load executable as lt_executable.
54134 (dl_main): Likewise.
54135
54136 2014-03-12 Joseph Myers <joseph@codesourcery.com>
54137
54138 [BZ #16642]
54139 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54140 (__ASSUME_PSELECT): Undefine.
54141
54142 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54143
54144 [BZ #16689]
54145 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54146 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54147 static build.
54148 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54149 selector for static builds.
54150
54151 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54152
54153 [BZ #16695]
54154 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54155 key in the buffer.
54156
54157 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54158
54159 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54160 IFUNC selector for static builds.
54161
54162 2014-03-11 Joseph Myers <joseph@codesourcery.com>
54163
54164 * sysdeps/mips/math_private.h [__mips_hard_float]
54165 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54166 libc_feresetround_mips_ctx.
54167 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54168 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54169 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54170
54171 [BZ #16677]
54172 * math/s_nextafter.c (__nextafter): Do not return value from
54173 overflowing computation.
54174 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54175 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54177 Likewise.
54178 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54179 Likewise.
54180 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54181 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54182
54183 2014-03-11 Roland McGrath <roland@hack.frob.com>
54184
54185 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54186 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54187 Move sfi_sp use from the load-multiple (that no longer sets sp) to
54188 the new mov targetting sp.
54189
54190 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54191
54192 [BZ #16683]
54193 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54194 Define it for static builds as well.
54195 (NO_BZERO_IMPL): Likewise.
54196
54197 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54198
54199 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54200 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54201 multiarch strspn for PPC64.
54202 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54203 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54205 (__libc_ifunc_impl_list): Likewise.
54206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54207 multiarch optimizations
54208 * string/strspn.c (strspn): Using macro to redefine symbol name.
54209
54210 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
54211 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54212
54213 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54214 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54215 multiarch strncat for PPC64.
54216 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54217 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54219 (__libc_ifunc_impl_list): Likewise.
54220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54221 multiarch optimizations
54222
54223 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54224
54225 [BZ #16639]
54226 * nscd/nscd.service: Make service type forking.
54227
54228 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54229
54230 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54231 sign in non default rounding modes.
54232 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54233
54234 2014-03-08 Joseph Myers <joseph@codesourcery.com>
54235
54236 * math/libm-test.inc (ALL_RM_TEST): New macro.
54237 (ceil_test): Use ALL_RM_TEST.
54238 (cimag_test): Likewise.
54239 (conj_test): Likewise.
54240 (copysign_test): Likewise.
54241 (cproj_test): Likewise.
54242 (creal_test): Likewise.
54243 (fabs_test): Likewise.
54244 (floor_test): Likewise.
54245 (fmax_test): Likewise.
54246 (fmin_test): Likewise.
54247 (fmod_test): Likewise.
54248 (fpclassify_test): Likewise.
54249 (frexp_test): Likewise.
54250 (ilogb_test): Likewise.
54251 (isfinite_test): Likewise.
54252 (finite_test): Likewise.
54253 (isgreater_test): Likewise.
54254 (isgreaterequal_test): Likewise.
54255 (isinf_test): Likewise.
54256 (isless_test): Likewise.
54257 (islessequal_test): Likewise.
54258 (islessgreater_test): Likewise.
54259 (isnan_test): Likewise.
54260 (isnormal_test): Likewise.
54261 (issignaling_test): Likewise.
54262 (isunordered_test): Likewise.
54263 (logb_test): Likewise.
54264 (logb_downward_test_data): Remove.
54265 (logb_test_downward): Likewise.
54266 (lround_test): Use ALL_RM_TEST.
54267 (llround_test): Likewise.
54268 (modf_test): Likewise.
54269 (nexttoward_test): Likewise.
54270 (remainder_test): Likewise.
54271 (drem_test): Likewise.
54272 (remainder_tonearest_test_data): Likewise.
54273 (remainder_test_tonearest): Likewise.
54274 (drem_test_tonearest): Likewise.
54275 (remainder_towardzero_test_data): Likewise.
54276 (remainder_test_towardzero): Likewise.
54277 (drem_test_towardzero): Likewise.
54278 (remainder_downward_test_data): Likewise.
54279 (remainder_test_downward): Likewise.
54280 (drem_test_downward): Likewise.
54281 (remainder_upward_test_data): Likewise.
54282 (remainder_test_upward): Likewise.
54283 (drem_test_upward): Likewise.
54284 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
54285 (round_test): Use ALL_RM_TEST.
54286 (signbit_test): Likewise.
54287 (trunc_test): Likewise.
54288 (significand_test): Likewise.
54289 (main): Don't call removed functions.
54290
54291 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54292
54293 [BZ #16674]
54294 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54295 || __USE_XOPEN2K8].
54296 (ILL_ILLOPN): Likewise.
54297 (ILL_ILLADR): Likewise.
54298 (ILL_ILLTRP): Likewise.
54299 (ILL_PRVOPC): Likewise.
54300 (ILL_PRVREG): Likewise.
54301 (ILL_COPROC): Likewise.
54302 (ILL_BADSTK): Likewise.
54303 (FPE_INTDIV): Likewise.
54304 (FPE_INTOVF): Likewise.
54305 (FPE_FLTDIV): Likewise.
54306 (FPE_FLTOVF): Likewise.
54307 (FPE_FLTUND): Likewise.
54308 (FPE_FLTRES): Likewise.
54309 (FPE_FLTINV): Likewise.
54310 (FPE_FLTSUB): Likewise.
54311 (SEGV_MAPERR): Likewise.
54312 (SEGV_ACCERR): Likewise.
54313 (BUS_ADRALN): Likewise.
54314 (BUS_ADRERR): Likewise.
54315 (BUS_OBJERR): Likewise.
54316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54317 (TRAP_TRACE): Likewise.
54318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54319 __USE_XOPEN2K8].
54320 (CLD_KILLED): Likewise.
54321 (CLD_DUMPED): Likewise.
54322 (CLD_TRAPPED): Likewise.
54323 (CLD_STOPPED): Likewise.
54324 (CLD_CONTINUED): Likewise.
54325 (POLL_IN): Likewise.
54326 (POLL_OUT): Likewise.
54327 (POLL_MSG): Likewise.
54328 (POLL_ERR): Likewise.
54329 (POLL_PRI): Likewise.
54330 (POLL_HUP): Likewise.
54331 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54332 Likewise.
54333 (ILL_ILLOPN): Likewise.
54334 (ILL_ILLADR): Likewise.
54335 (ILL_ILLTRP): Likewise.
54336 (ILL_PRVOPC): Likewise.
54337 (ILL_PRVREG): Likewise.
54338 (ILL_COPROC): Likewise.
54339 (ILL_BADSTK): Likewise.
54340 (FPE_INTDIV): Likewise.
54341 (FPE_INTOVF): Likewise.
54342 (FPE_FLTDIV): Likewise.
54343 (FPE_FLTOVF): Likewise.
54344 (FPE_FLTUND): Likewise.
54345 (FPE_FLTRES): Likewise.
54346 (FPE_FLTINV): Likewise.
54347 (FPE_FLTSUB): Likewise.
54348 (SEGV_MAPERR): Likewise.
54349 (SEGV_ACCERR): Likewise.
54350 (BUS_ADRALN): Likewise.
54351 (BUS_ADRERR): Likewise.
54352 (BUS_OBJERR): Likewise.
54353 (BUS_MCEERR_AR): Likewise.
54354 (BUS_MCEERR_AO): Likewise.
54355 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54356 (TRAP_TRACE): Likewise.
54357 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54358 __USE_XOPEN2K8].
54359 (CLD_KILLED): Likewise.
54360 (CLD_DUMPED): Likewise.
54361 (CLD_TRAPPED): Likewise.
54362 (CLD_STOPPED): Likewise.
54363 (CLD_CONTINUED): Likewise.
54364 (POLL_IN): Likewise.
54365 (POLL_OUT): Likewise.
54366 (POLL_MSG): Likewise.
54367 (POLL_ERR): Likewise.
54368 (POLL_PRI): Likewise.
54369 (POLL_HUP): Likewise.
54370 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54371 (ILL_ILLOPN): Likewise.
54372 (ILL_ILLADR): Likewise.
54373 (ILL_ILLTRP): Likewise.
54374 (ILL_PRVOPC): Likewise.
54375 (ILL_PRVREG): Likewise.
54376 (ILL_COPROC): Likewise.
54377 (ILL_BADSTK): Likewise.
54378 (FPE_INTDIV): Likewise.
54379 (FPE_INTOVF): Likewise.
54380 (FPE_FLTDIV): Likewise.
54381 (FPE_FLTOVF): Likewise.
54382 (FPE_FLTUND): Likewise.
54383 (FPE_FLTRES): Likewise.
54384 (FPE_FLTINV): Likewise.
54385 (FPE_FLTSUB): Likewise.
54386 (SEGV_MAPERR): Likewise.
54387 (SEGV_ACCERR): Likewise.
54388 (BUS_ADRALN): Likewise.
54389 (BUS_ADRERR): Likewise.
54390 (BUS_OBJERR): Likewise.
54391 (BUS_MCEERR_AR): Likewise.
54392 (BUS_MCEERR_AO): Likewise.
54393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54394 (TRAP_TRACE): Likewise.
54395 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54396 __USE_XOPEN2K8].
54397 (CLD_KILLED): Likewise.
54398 (CLD_DUMPED): Likewise.
54399 (CLD_TRAPPED): Likewise.
54400 (CLD_STOPPED): Likewise.
54401 (CLD_CONTINUED): Likewise.
54402 (POLL_IN): Likewise.
54403 (POLL_OUT): Likewise.
54404 (POLL_MSG): Likewise.
54405 (POLL_ERR): Likewise.
54406 (POLL_PRI): Likewise.
54407 (POLL_HUP): Likewise.
54408 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54409 Likewise.
54410 (ILL_ILLOPN): Likewise.
54411 (ILL_ILLADR): Likewise.
54412 (ILL_ILLTRP): Likewise.
54413 (ILL_PRVOPC): Likewise.
54414 (ILL_PRVREG): Likewise.
54415 (ILL_COPROC): Likewise.
54416 (ILL_BADSTK): Likewise.
54417 (ILL_BADIADDR): Likewise.
54418 (ILL_BREAK): Likewise.
54419 (FPE_INTDIV): Likewise.
54420 (FPE_INTOVF): Likewise.
54421 (FPE_FLTDIV): Likewise.
54422 (FPE_FLTOVF): Likewise.
54423 (FPE_FLTUND): Likewise.
54424 (FPE_FLTRES): Likewise.
54425 (FPE_FLTINV): Likewise.
54426 (FPE_FLTSUB): Likewise.
54427 (FPE_DECOVF): Likewise.
54428 (FPE_DECDIV): Likewise.
54429 (FPE_DECERR): Likewise.
54430 (FPE_INVASC): Likewise.
54431 (FPE_INVDEC): Likewise.
54432 (SEGV_MAPERR): Likewise.
54433 (SEGV_ACCERR): Likewise.
54434 (SEGV_PSTKOVF): Likewise.
54435 (BUS_ADRALN): Likewise.
54436 (BUS_ADRERR): Likewise.
54437 (BUS_OBJERR): Likewise.
54438 (BUS_MCEERR_AR): Likewise.
54439 (BUS_MCEERR_AO): Likewise.
54440 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54441 (TRAP_TRACE): Likewise.
54442 (TRAP_BRANCH): Likewise.
54443 (TRAP_HWBKPT): Likewise.
54444 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54445 __USE_XOPEN2K8].
54446 (CLD_KILLED): Likewise.
54447 (CLD_DUMPED): Likewise.
54448 (CLD_TRAPPED): Likewise.
54449 (CLD_STOPPED): Likewise.
54450 (CLD_CONTINUED): Likewise.
54451 (POLL_IN): Likewise.
54452 (POLL_OUT): Likewise.
54453 (POLL_MSG): Likewise.
54454 (POLL_ERR): Likewise.
54455 (POLL_PRI): Likewise.
54456 (POLL_HUP): Likewise.
54457 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54458 (ILL_ILLOPN): Likewise.
54459 (ILL_ILLADR): Likewise.
54460 (ILL_ILLTRP): Likewise.
54461 (ILL_PRVOPC): Likewise.
54462 (ILL_PRVREG): Likewise.
54463 (ILL_COPROC): Likewise.
54464 (ILL_BADSTK): Likewise.
54465 (FPE_INTDIV): Likewise.
54466 (FPE_INTOVF): Likewise.
54467 (FPE_FLTDIV): Likewise.
54468 (FPE_FLTOVF): Likewise.
54469 (FPE_FLTUND): Likewise.
54470 (FPE_FLTRES): Likewise.
54471 (FPE_FLTINV): Likewise.
54472 (FPE_FLTSUB): Likewise.
54473 (SEGV_MAPERR): Likewise.
54474 (SEGV_ACCERR): Likewise.
54475 (BUS_ADRALN): Likewise.
54476 (BUS_ADRERR): Likewise.
54477 (BUS_OBJERR): Likewise.
54478 (BUS_MCEERR_AR): Likewise.
54479 (BUS_MCEERR_AO): Likewise.
54480 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54481 (TRAP_TRACE): Likewise.
54482 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54483 __USE_XOPEN2K8].
54484 (CLD_KILLED): Likewise.
54485 (CLD_DUMPED): Likewise.
54486 (CLD_TRAPPED): Likewise.
54487 (CLD_STOPPED): Likewise.
54488 (CLD_CONTINUED): Likewise.
54489 (POLL_IN): Likewise.
54490 (POLL_OUT): Likewise.
54491 (POLL_MSG): Likewise.
54492 (POLL_ERR): Likewise.
54493 (POLL_PRI): Likewise.
54494 (POLL_HUP): Likewise.
54495 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54496 (ILL_ILLOPN): Likewise.
54497 (ILL_ILLADR): Likewise.
54498 (ILL_ILLTRP): Likewise.
54499 (ILL_PRVOPC): Likewise.
54500 (ILL_PRVREG): Likewise.
54501 (ILL_COPROC): Likewise.
54502 (ILL_BADSTK): Likewise.
54503 (FPE_INTDIV): Likewise.
54504 (FPE_INTOVF): Likewise.
54505 (FPE_FLTDIV): Likewise.
54506 (FPE_FLTOVF): Likewise.
54507 (FPE_FLTUND): Likewise.
54508 (FPE_FLTRES): Likewise.
54509 (FPE_FLTINV): Likewise.
54510 (FPE_FLTSUB): Likewise.
54511 (SEGV_MAPERR): Likewise.
54512 (SEGV_ACCERR): Likewise.
54513 (BUS_ADRALN): Likewise.
54514 (BUS_ADRERR): Likewise.
54515 (BUS_OBJERR): Likewise.
54516 (BUS_MCEERR_AR): Likewise.
54517 (BUS_MCEERR_AO): Likewise.
54518 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54519 (TRAP_TRACE): Likewise.
54520 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54521 __USE_XOPEN2K8].
54522 (CLD_KILLED): Likewise.
54523 (CLD_DUMPED): Likewise.
54524 (CLD_TRAPPED): Likewise.
54525 (CLD_STOPPED): Likewise.
54526 (CLD_CONTINUED): Likewise.
54527 (POLL_IN): Likewise.
54528 (POLL_OUT): Likewise.
54529 (POLL_MSG): Likewise.
54530 (POLL_ERR): Likewise.
54531 (POLL_PRI): Likewise.
54532 (POLL_HUP): Likewise.
54533 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54534 (ILL_ILLOPN): Likewise.
54535 (ILL_ILLADR): Likewise.
54536 (ILL_ILLTRP): Likewise.
54537 (ILL_PRVOPC): Likewise.
54538 (ILL_PRVREG): Likewise.
54539 (ILL_COPROC): Likewise.
54540 (ILL_BADSTK): Likewise.
54541 (FPE_INTDIV): Likewise.
54542 (FPE_INTOVF): Likewise.
54543 (FPE_FLTDIV): Likewise.
54544 (FPE_FLTOVF): Likewise.
54545 (FPE_FLTUND): Likewise.
54546 (FPE_FLTRES): Likewise.
54547 (FPE_FLTINV): Likewise.
54548 (FPE_FLTSUB): Likewise.
54549 (SEGV_MAPERR): Likewise.
54550 (SEGV_ACCERR): Likewise.
54551 (BUS_ADRALN): Likewise.
54552 (BUS_ADRERR): Likewise.
54553 (BUS_OBJERR): Likewise.
54554 (BUS_MCEERR_AR): Likewise.
54555 (BUS_MCEERR_AO): Likewise.
54556 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54557 (TRAP_TRACE): Likewise.
54558 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54559 __USE_XOPEN2K8].
54560 (CLD_KILLED): Likewise.
54561 (CLD_DUMPED): Likewise.
54562 (CLD_TRAPPED): Likewise.
54563 (CLD_STOPPED): Likewise.
54564 (CLD_CONTINUED): Likewise.
54565 (POLL_IN): Likewise.
54566 (POLL_OUT): Likewise.
54567 (POLL_MSG): Likewise.
54568 (POLL_ERR): Likewise.
54569 (POLL_PRI): Likewise.
54570 (POLL_HUP): Likewise.
54571 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54572 (ILL_ILLOPN): Likewise.
54573 (ILL_ILLADR): Likewise.
54574 (ILL_ILLTRP): Likewise.
54575 (ILL_PRVOPC): Likewise.
54576 (ILL_PRVREG): Likewise.
54577 (ILL_COPROC): Likewise.
54578 (ILL_BADSTK): Likewise.
54579 (ILL_DBLFLT): Likewise.
54580 (ILL_HARDWALL): Likewise.
54581 (FPE_INTDIV): Likewise.
54582 (FPE_INTOVF): Likewise.
54583 (FPE_FLTDIV): Likewise.
54584 (FPE_FLTOVF): Likewise.
54585 (FPE_FLTUND): Likewise.
54586 (FPE_FLTRES): Likewise.
54587 (FPE_FLTINV): Likewise.
54588 (FPE_FLTSUB): Likewise.
54589 (SEGV_MAPERR): Likewise.
54590 (SEGV_ACCERR): Likewise.
54591 (BUS_ADRALN): Likewise.
54592 (BUS_ADRERR): Likewise.
54593 (BUS_OBJERR): Likewise.
54594 (BUS_MCEERR_AR): Likewise.
54595 (BUS_MCEERR_AO): Likewise.
54596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54597 (TRAP_TRACE): Likewise.
54598 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54599 __USE_XOPEN2K8].
54600 (CLD_KILLED): Likewise.
54601 (CLD_DUMPED): Likewise.
54602 (CLD_TRAPPED): Likewise.
54603 (CLD_STOPPED): Likewise.
54604 (CLD_CONTINUED): Likewise.
54605 (POLL_IN): Likewise.
54606 (POLL_OUT): Likewise.
54607 (POLL_MSG): Likewise.
54608 (POLL_ERR): Likewise.
54609 (POLL_PRI): Likewise.
54610 (POLL_HUP): Likewise.
54611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54612 (ILL_ILLOPN): Likewise.
54613 (ILL_ILLADR): Likewise.
54614 (ILL_ILLTRP): Likewise.
54615 (ILL_PRVOPC): Likewise.
54616 (ILL_PRVREG): Likewise.
54617 (ILL_COPROC): Likewise.
54618 (ILL_BADSTK): Likewise.
54619 (FPE_INTDIV): Likewise.
54620 (FPE_INTOVF): Likewise.
54621 (FPE_FLTDIV): Likewise.
54622 (FPE_FLTOVF): Likewise.
54623 (FPE_FLTUND): Likewise.
54624 (FPE_FLTRES): Likewise.
54625 (FPE_FLTINV): Likewise.
54626 (FPE_FLTSUB): Likewise.
54627 (SEGV_MAPERR): Likewise.
54628 (SEGV_ACCERR): Likewise.
54629 (BUS_ADRALN): Likewise.
54630 (BUS_ADRERR): Likewise.
54631 (BUS_OBJERR): Likewise.
54632 (BUS_MCEERR_AR): Likewise.
54633 (BUS_MCEERR_AO): Likewise.
54634 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54635 (TRAP_TRACE): Likewise.
54636 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54637 __USE_XOPEN2K8].
54638 (CLD_KILLED): Likewise.
54639 (CLD_DUMPED): Likewise.
54640 (CLD_TRAPPED): Likewise.
54641 (CLD_STOPPED): Likewise.
54642 (CLD_CONTINUED): Likewise.
54643 (POLL_IN): Likewise.
54644 (POLL_OUT): Likewise.
54645 (POLL_MSG): Likewise.
54646 (POLL_ERR): Likewise.
54647 (POLL_PRI): Likewise.
54648 (POLL_HUP): Likewise.
54649 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54650 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54651
54652 [BZ #16670]
54653 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54654 before #include of <time.h>.
54655 [!__USE_XOPEN2K] (__need_timespec): Likewise.
54656 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54657 (test-xfail-UNIX98/sched.h/conform): Likewise.
54658
54659 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
54660
54661 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
54662 error absence of trapping exception support.
54663 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
54664
54665 2014-03-07 Joseph Myers <joseph@codesourcery.com>
54666
54667 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
54668 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
54669 * timezone/Makefile (testdata): Move definition above include of
54670 Rules.
54671 (test-zones): New variable.
54672 (tests-special): Add zone files.
54673 (build-testdata): Use $(evaluate-test).
54674
54675 * elf/Makefile (tests-special): Rename tests to end with .out.
54676 ($(objpfx)noload-mem): Likewise.
54677 ($(objpfx)tst-leaks1-mem): Likewise.
54678 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
54679 * iconv/Makefile (xtests-special): Change test-iconvconfig to
54680 $(objpfx)test-iconvconfig.out.
54681 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
54682 set -e inside subshell and redirect output to file.
54683 * iconvdata/Makefile (generated): Rename tests to end with .out.
54684 Correct type.
54685 (tests-special): Rename tests to end with .out.
54686 ($(objpfx)mtrace-tst-loading): Likewise.
54687 * intl/Makefile (generated): Likewise.
54688 (tests-special): Likewise.
54689 ($(objpfx)mtrace-tst-gettext): Likewise.
54690 * misc/Makefile (generated): Likewise.
54691 (tests-special): Likewise.
54692 ($(objpfx)tst-error1-mem): Likewise.
54693 * nptl/Makefile (tests-special): Likewise.
54694 ($(objpfx)tst-stack3-mem): Likewise.
54695 (generated): Likewise.
54696 * posix/Makefile (generated): Likewise.
54697 (tests-special): Likewise.
54698 (xtests-special): Likewise.
54699 ($(objpfx)tst-fnmatch-mem): Likewise.
54700 ($(objpfx)bug-regex2-mem): Likewise.
54701 ($(objpfx)bug-regex14-mem): Likewise.
54702 ($(objpfx)bug-regex21-mem): Likewise.
54703 ($(objpfx)bug-regex31-mem): Likewise.
54704 ($(objpfx)tst-vfork3-mem): Likewise.
54705 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54706 ($(objpfx)tst-pcre-mem): Likewise.
54707 ($(objpfx)tst-boost-mem): Likewise.
54708 ($(objpfx)bug-ga2-mem): Likewise.
54709 ($(objpfx)bug-glob2-mem): Likewise.
54710 * resolv/Makefile (generate): Likewise.
54711 (tests-special): Likewise.
54712 (xtests-special): Likewise.
54713 (generated): Likewise.
54714 ($(objpfx)mtrace-tst-leaks): Likewise.
54715 ($(objpfx)mtrace-tst-leaks2): Likewise.
54716
54717 * scripts/merge-test-results.sh: New file.
54718 * Makefile (tests-special-notdir): New variable.
54719 (tests): Run merge-test-results.sh.
54720 (xtests): Likewise.
54721 * Rules (tests-special-notdir): New variable.
54722 (xtests-special-notdir): Likewise.
54723 (tests): Run merge-test-results.sh
54724 (xtests): Likewise.
54725
54726 * Makeconfig (test-xfail-name): New variable.
54727 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
54728 compute variable name for expected failures.
54729 * conform/Makefile (conformtest-headers-data): New variable.
54730 (conformtest-standards): Likewise.
54731 (conformtest-headers-ISO): Likewise.
54732 (conformtest-headers-ISO99): Likewise.
54733 (conformtest-headers-ISO11): Likewise.
54734 (conformtest-headers-POSIX): Likewise.
54735 (conformtest-headers-XPG3): Likewise.
54736 (conformtest-headers-XPG4): Likewise.
54737 (conformtest-headers-UNIX98): Likewise.
54738 (conformtest-headers-XOPEN2K): Likewise.
54739 (conformtest-headers-POSIX2008): Likewise.
54740 (conformtest-headers-XOPEN2K8): Likewise.
54741 (conformtest-header-list-base): Likewise.
54742 (conformtest-header-list-tests): Likewise.
54743 (conformtest-header-base): Likewise.
54744 (conformtest-header-tests): Likewise.
54745 (tests-special): Add $(conformtest-header-list-tests). If
54746 [$(fast-check) && !$(cross-compiling)], add
54747 $(conformtest-header-tests) instead of
54748 $(objpfx)run-conformtest.out.
54749 (generated): Add $(conformtest-header-list-base). If
54750 [$(fast-check) && !$(cross-compiling)], add
54751 $(conformtest-header-base). Remove previous setting.
54752 ($(conformtest-header-list-tests)): New target.
54753 (test-xfail-run-conformtest): Remove variable.
54754 ($(objpfx)run-conformtest.out): Remove target.
54755 (test-xfail-ISO11/complex.h/conform): New variable.
54756 (test-xfail-ISO11/stdalign.h/conform): Likewise.
54757 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
54758 (test-xfail-XPG3/varargs.h/conform): Likewise.
54759 (test-xfail-XPG4/varargs.h/conform): Likewise.
54760 (test-xfail-UNIX98/varargs.h/conform): Likewise.
54761 (test-xfail-XPG4/ndbm.h/conform): Likewise.
54762 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
54763 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
54764 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
54765 (test-xfail-XPG3/fcntl.h/conform): Likewise.
54766 (test-xfail-XPG3/ftw.h/conform): Likewise.
54767 (test-xfail-XPG3/grp.h/conform): Likewise.
54768 (test-xfail-XPG3/langinfo.h/conform): Likewise.
54769 (test-xfail-XPG3/limits.h/conform): Likewise.
54770 (test-xfail-XPG3/pwd.h/conform): Likewise.
54771 (test-xfail-XPG3/search.h/conform): Likewise.
54772 (test-xfail-XPG3/signal.h/conform): Likewise.
54773 (test-xfail-XPG3/stdio.h/conform): Likewise.
54774 (test-xfail-XPG3/stdlib.h/conform): Likewise.
54775 (test-xfail-XPG3/string.h/conform): Likewise.
54776 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54777 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54778 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54779 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54780 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54781 (test-xfail-XPG3/sys/types.h/conform): Likewise.
54782 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54783 (test-xfail-XPG3/termios.h/conform): Likewise.
54784 (test-xfail-XPG3/time.h/conform): Likewise.
54785 (test-xfail-XPG3/unistd.h/conform): Likewise.
54786 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54787 (test-xfail-XPG4/fcntl.h/conform): Likewise.
54788 (test-xfail-XPG4/langinfo.h/conform): Likewise.
54789 (test-xfail-XPG4/netdb.h/conform): Likewise.
54790 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54791 (test-xfail-XPG4/signal.h/conform): Likewise.
54792 (test-xfail-XPG4/stdio.h/conform): Likewise.
54793 (test-xfail-XPG4/stdlib.h/conform): Likewise.
54794 (test-xfail-XPG4/stropts.h/conform): Likewise.
54795 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54796 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54797 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54798 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54799 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54800 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54801 (test-xfail-XPG4/sys/time.h/conform): Likewise.
54802 (test-xfail-XPG4/sys/types.h/conform): Likewise.
54803 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54804 (test-xfail-XPG4/termios.h/conform): Likewise.
54805 (test-xfail-XPG4/ucontext.h/conform): Likewise.
54806 (test-xfail-XPG4/unistd.h/conform): Likewise.
54807 (test-xfail-XPG4/utmpx.h/conform): Likewise.
54808 (test-xfail-POSIX/sched.h/conform): Likewise.
54809 (test-xfail-POSIX/signal.h/conform): Likewise.
54810 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54811 (test-xfail-POSIX/tar.h/conform): Likewise.
54812 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54813 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54814 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54815 (test-xfail-UNIX98/netdb.h/conform): Likewise.
54816 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54817 (test-xfail-UNIX98/sched.h/conform): Likewise.
54818 (test-xfail-UNIX98/signal.h/conform): Likewise.
54819 (test-xfail-UNIX98/stdio.h/conform): Likewise.
54820 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54821 (test-xfail-UNIX98/stropts.h/conform): Likewise.
54822 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54823 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54824 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54825 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54826 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54827 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54828 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54829 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54830 (test-xfail-UNIX98/unistd.h/conform): Likewise.
54831 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54832 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54833 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54834 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54835 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54836 (test-xfail-XOPEN2K/math.h/conform): Likewise.
54837 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54838 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54839 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54840 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54841 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54842 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54843 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54844 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54845 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54846 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54847 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54848 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54849 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54850 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54851 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54852 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54853 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54854 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54855 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54856 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54857 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54858 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54859 (test-xfail-POSIX2008/signal.h/conform): Likewise.
54860 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54861 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54862 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54863 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54864 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54865 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54866 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54867 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54868 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54869 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54870 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54871 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54872 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54873 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54874 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54875 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54876 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54877 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54878 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54879 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54880 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54881 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54882 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54883 (conformtest-cc-flags): Likewise.
54884 ($(conformtest-header-tests): New target.
54885 * conform/check-header-lists.sh: New file.
54886 * conform/run-conformtest.sh: Remove.
54887
54888 * conform/conformtest.pl: Allow ' and \ in values given for
54889 constants.
54890 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54891 inclusion.
54892 [POSIX] (sys/types.h): Likewise.
54893 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54894 inclusion.
54895 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54896 inclusion.
54897 * conform/data/signal.h-data (SIGIO): Remove expectation.
54898 [XPG3] (SIGBUS): Do not expect.
54899 [POSIX || XPG3] (SIGPOLL): Likewise.
54900 [POSIX || XPG3] (SIGPROF): Likewise.
54901 [POSIX || XPG3] (SIGSYS): Likewise.
54902 [XPG3] (SIGTRAP): Likewise.
54903 [POSIX || XPG3] (SIGURG): Likewise.
54904 [POSIX || XPG3] (SIGVTALRM): Likewise.
54905 [POSIX || XPG3] (SIGXCPU): Likewise.
54906 [POSIX || XPG3] (SIGXFSZ): Likewise.
54907 [POSIX] (SA_SIGINFO): Expect.
54908 [XPG3] (siginfo_t): Do not expect type or contents.
54909 [POSIX] (si_pid): Do not expect element.
54910 [POSIX] (si_uid): Likewise.
54911 [POSIX] (si_addr): Likewise.
54912 [POSIX] (si_status): Likewise.
54913 [POSIX] (si_band): Likewise.
54914 [XPG4] (si_value): Likewise.
54915 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54916 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54917 [POSIX || XPG3] (ILL_ILLADR): Likewise.
54918 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54919 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54920 [POSIX || XPG3] (ILL_PRVREG): Likewise.
54921 [POSIX || XPG3] (ILL_COPROC): Likewise.
54922 [POSIX || XPG3] (ILL_BADSTK): Likewise.
54923 [POSIX || XPG3] (FPE_INTDIV): Likewise.
54924 [POSIX || XPG3] (FPE_INTOVF): Likewise.
54925 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54926 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54927 [POSIX || XPG3] (FPE_FLTUND): Likewise.
54928 [POSIX || XPG3] (FPE_FLTRES): Likewise.
54929 [POSIX || XPG3] (FPE_FLTINV): Likewise.
54930 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54931 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54932 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54933 [POSIX || XPG3] (BUS_ADRALN): Likewise.
54934 [POSIX || XPG3] (BUS_ADRERR): Likewise.
54935 [POSIX || XPG3] (BUS_OBJERR): Likewise.
54936 [POSIX || XPG3] (CLD_EXITED): Likewise.
54937 [POSIX || XPG3] (CLD_KILLED): Likewise.
54938 [POSIX || XPG3] (CLD_DUMPED): Likewise.
54939 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54940 [POSIX || XPG3] (CLD_STOPPED): Likewise.
54941 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54942 [POSIX || XPG3] (POLL_IN): Likewise.
54943 [POSIX || XPG3] (POLL_OUT): Likewise.
54944 [POSIX || XPG3] (POLL_MSG): Likewise.
54945 [POSIX || XPG3] (POLL_ERR): Likewise.
54946 [POSIX || XPG3] (POLL_PRI): Likewise.
54947 [POSIX || XPG3] (POLL_HUP): Likewise.
54948 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54949 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54950 (SIG*): Do not allow.
54951 [XPG3] (si_*): Likewise.
54952 [XPG3] (SI_*): Likewise.
54953 [XPG3 || XPG4] (sigev_*): Likewise.
54954 [XPG3 || XPG4] (SIGEV_*): Likewise.
54955 [XPG3 || XPG4] (sival_*): Likewise.
54956 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54957 [POSIX || XPG3] (BUS_*): Likewise.
54958 [POSIX || XPG3] (CLD_*): Likewise.
54959 [POSIX || XPG3] (FPE_*): Likewise.
54960 [POSIX || XPG3] (ILL_*): Likewise.
54961 [POSIX || XPG3] (POLL_*): Likewise.
54962 [POSIX || XPG3] (SEGV_*): Likewise.
54963 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54964 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54965 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54966 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54967 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54968 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54969 Specify type and value.
54970 (TVERSLEN): Likewise.
54971 (REGTYPE): Likewise.
54972 (AREGTYPE): Likewise.
54973 (LNKTYPE): Likewise.
54974 (SYMTYPE): Likewise.
54975 (CHRTYPE): Likewise.
54976 (BLKTYPE): Likewise.
54977 (DIRTYPE): Likewise.
54978 (FIFOTYPE): Likewise.
54979 (CONTTYPE): Likewise.
54980 (TSUID): Likewise.
54981 (TSGID): Likewise.
54982 (TSVTX): Likewise.
54983 (TUREAD): Likewise.
54984 (TUWRITE): Likewise.
54985 (TUEXEC): Likewise.
54986 (TGREAD): Likewise.
54987 (TGWRITE): Likewise.
54988 (TGEXEC): Likewise.
54989 (TOREAD): Likewise.
54990 (TOWRITE): Likewise.
54991 (TOEXEC): Likewise.
54992 [POSIX] (TSVTX): Expect constant.
54993
54994 2014-03-06 Joseph Myers <joseph@codesourcery.com>
54995
54996 * Makefile (tests): Change dependencies to ....
54997 (tests-special): ... additions to this variable.
54998 (tests): Depend on $(tests-special).
54999 * Makerules (check-abi-list): New variable.
55000 (check-abi): Depend on $(check-abi-list).
55001 [$(subdir) = elf] (tests-special): Add
55002 $(objpfx)check-abi-libc.out.
55003 [$(build-shared) = yes && subdir] (tests-special): Add
55004 $(check-abi-list).
55005 [$(build-shared) = yes && subdir] (tests): Do not depend on
55006 check-abi.
55007 * Rules (tests): Depend on $(tests-special).
55008 (xtests): Depend on $(xtests-special).
55009 * catgets/Makefile (tests): Change dependencies to ....
55010 (tests-special): ... additions to this variable.
55011 * conform/Makefile (tests): Change dependencies to ....
55012 (tests-special): ... additions to this variable.
55013 * elf/Makefile (tests): Change dependencies to ....
55014 (tests-special): ... additions to this variable.
55015 * grp/Makefile (tests): Change dependencies to ....
55016 (tests-special): ... additions to this variable.
55017 * iconv/Makefile (xtests): Change dependencies to ....
55018 (xtests-special): ... additions to this variable.
55019 * iconvdata/Makefile (tests): Change dependencies to ....
55020 (tests-special): ... additions to this variable.
55021 * intl/Makefile (tests): Change dependencies to ....
55022 (tests-special): ... additions to this variable. Also add
55023 $(objpfx)tst-gettext.out.
55024 * io/Makefile (tests): Change dependencies to ....
55025 (tests-special): ... additions to this variable.
55026 * libio/Makefile (tests): Change dependencies to ....
55027 (tests-special): ... additions to this variable.
55028 * malloc/Makefile (tests): Change dependencies to ....
55029 (tests-special): ... additions to this variable.
55030 * misc/Makefile (tests): Change dependencies to ....
55031 (tests-special): ... additions to this variable.
55032 * nptl/Makefile (tests): Change dependencies to ....
55033 (tests-special): ... additions to this variable.
55034 * nptl_db/Makefile (tests): Change dependencies to ....
55035 (tests-special): ... additions to this variable.
55036 * posix/Makefile (tests): Change dependencies to ....
55037 (tests-special): ... additions to this variable.
55038 (xtests): Change dependencies to ....
55039 (xtests-special): ... additions to this variable.
55040 * resolv/Makefile (tests): Change dependencies to ....
55041 (tests-special): ... additions to this variable.
55042 (xtests): Change dependencies to ....
55043 (xtests-special): ... additions to this variable.
55044 * stdio-common/Makefile (tests): Change dependencies to ....
55045 (tests-special): ... additions to this variable.
55046 (do-tst-unbputc): Remove target.
55047 (do-tst-printf): Likewise.
55048 * stdlib/Makefile (tests): Change dependencies to ....
55049 (tests-special): ... additions to this variable.
55050 * string/Makefile (tests): Change dependencies to ....
55051 (tests-special): ... additions to this variable.
55052 * sysdeps/x86/Makefile (tests): Change dependencies to ....
55053 (tests-special): ... additions to this variable.
55054
55055 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55056 whole file.
55057 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55058 whole file.
55059 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55060 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55061
55062 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55063 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55064 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55065 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55066 * conform/data/libgen.h-data [XPG3]: Likewise.
55067 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55068 * conform/data/ndbm.h-data [XPG3]: Likewise.
55069 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55070 * conform/data/netdb.h-data [XPG3]: Likewise.
55071 * conform/data/netinet/in.h-data [XPG3]: Likewise.
55072 * conform/data/poll.h-data [XPG3]: Likewise.
55073 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55074 * conform/data/strings.h-data [XPG3]: Likewise.
55075 * conform/data/stropts.h-data [XPG3]: Likewise.
55076 * conform/data/sys/mman.h-data [XPG3]: Likewise.
55077 * conform/data/sys/resource.h-data [XPG3]: Likewise.
55078 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55079 Likewise.
55080 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55081 * conform/data/sys/time.h-data [XPG3]: Likewise.
55082 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55083 * conform/data/sys/uio.h-data [XPG3]: Likewise.
55084 * conform/data/sys/un.h-data [XPG3]: Likewise.
55085 * conform/data/syslog.h-data [XPG3]: Likewise.
55086 * conform/data/ucontext.h-data [XPG3]: Likewise.
55087 * conform/data/utmpx.h-data [XPG3]: Likewise.
55088 * conform/data/varargs.h-data [UNIX98]: Enable file.
55089
55090 * manual/Makefile (INSTALL_INFO): Remove variable setting.
55091
55092 * math/libm-test.inc (struct test_f_f_data): Move expected results
55093 into structure for each rounding mode.
55094 (struct test_ff_f_data): Likewise.
55095 (struct test_ff_f_data_nexttoward): Likewise.
55096 (struct test_fi_f_data): Likewise.
55097 (struct test_fl_f_data): Likewise.
55098 (struct test_if_f_data): Likewise.
55099 (struct test_fff_f_data): Likewise.
55100 (struct test_c_f_data): Likewise.
55101 (struct test_f_f1_data): Likewise.
55102 (struct test_fF_f1_data): Likewise.
55103 (struct test_ffI_f1_data): Likewise.
55104 (struct test_c_c_data): Likewise.
55105 (struct test_cc_c_data): Likewise.
55106 (struct test_f_i_data): Likewise.
55107 (struct test_ff_i_data): Likewise.
55108 (struct test_f_l_data): Likewise.
55109 (struct test_f_L_data): Likewise.
55110 (struct test_fFF_11_data): Likewise.
55111 (RM_): New macro.
55112 (RM_FE_DOWNWARD): Likewise.
55113 (RM_FE_TONEAREST): Likewise.
55114 (RM_FE_TOWARDZERO): Likewise.
55115 (RM_FE_UPWARD): Likewise.
55116 (RUN_TEST_LOOP_f_f): Update references to expected results.
55117 (RUN_TEST_LOOP_2_f): Likewise.
55118 (RUN_TEST_LOOP_fff_f): Likewise.
55119 (RUN_TEST_LOOP_c_f): Likewise.
55120 (RUN_TEST_LOOP_f_f1): Likewise.
55121 (RUN_TEST_LOOP_fF_f1): Likewise.
55122 (RUN_TEST_LOOP_fI_f1): Likewise.
55123 (RUN_TEST_LOOP_ffI_f1): Likewise.
55124 (RUN_TEST_LOOP_c_c): Likewise.
55125 (RUN_TEST_LOOP_cc_c): Likewise.
55126 (RUN_TEST_LOOP_f_i): Likewise.
55127 (RUN_TEST_LOOP_f_i_tg): Likewise.
55128 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55129 (RUN_TEST_LOOP_f_b): Likewise.
55130 (RUN_TEST_LOOP_f_b_tg): Likewise.
55131 (RUN_TEST_LOOP_f_l): Likewise.
55132 (RUN_TEST_LOOP_f_L): Likewise.
55133 (RUN_TEST_LOOP_fFF_11): Likewise.
55134 * math/gen-libm-test.pl (parse_args): Output four copies of
55135 expected results for each test.
55136
55137 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55138 (__ASSUME_UTIMES): Remove.
55139 * sysdeps/unix/sysv/linux/tile/kernel-features.h
55140 (__ASSUME_UTIMES): Likewise.
55141
55142 * math/gen-auto-libm-tests.c: Update comment on output format.
55143 (output_for_one_input_case): Generate before-rounding and
55144 after-rounding information as conditions on output flags not
55145 floating-point format.
55146 * math/auto-libm-test-out: Regenerated.
55147 * math/gen-libm-test.pl (cond_value): New function.
55148 (or_cond_value): Use cond_value.
55149 (generate_testfile): Handle conditional exceptions.
55150
55151 2014-03-05 Joseph Myers <joseph@codesourcery.com>
55152
55153 * math/libm-test.inc (max_valid_error): New variable.
55154 (init_max_error): Take new argument specifying whether function
55155 results are exactly determined. Set max_valid_error and bound
55156 other variables for errors based on this argument.
55157 (set_max_error): Do not record results above max_valid_error.
55158 (check_float_internal): Only accept errors of up to 0.5ulps if
55159 also at most max_valid_error.
55160 (START): Take new argument EXACT and pass it to init_max_error.
55161 (acos_test): Update call to START.
55162 (acos_test_tonearest): Likewise.
55163 (acos_test_towardzero): Likewise.
55164 (acos_test_downward): Likewise.
55165 (acos_test_upward): Likewise.
55166 (acosh_test): Likewise.
55167 (asin_test): Likewise.
55168 (asin_test_tonearest): Likewise.
55169 (asin_test_towardzero): Likewise.
55170 (asin_test_downward): Likewise.
55171 (asin_test_upward): Likewise.
55172 (asinh_test): Likewise.
55173 (atan_test): Likewise.
55174 (atanh_test): Likewise.
55175 (atan2_test): Likewise.
55176 (cabs_test): Likewise.
55177 (cacos_test): Likewise.
55178 (cacosh_test): Likewise.
55179 (carg_test): Likewise.
55180 (casin_test): Likewise.
55181 (casinh_test): Likewise.
55182 (catan_test): Likewise.
55183 (catanh_test): Likewise.
55184 (cbrt_test): Likewise.
55185 (ccos_test): Likewise.
55186 (ccosh_test): Likewise.
55187 (ceil_test): Likewise.
55188 (cexp_test): Likewise.
55189 (cimag_test): Likewise.
55190 (clog_test): Likewise.
55191 (clog10_test): Likewise.
55192 (conj_test): Likewise.
55193 (copysign_test): Likewise.
55194 (cos_test): Likewise.
55195 (cos_test_tonearest): Likewise.
55196 (cos_test_towardzero): Likewise.
55197 (cos_test_downward): Likewise.
55198 (cos_test_upward): Likewise.
55199 (cosh_test): Likewise.
55200 (cosh_test_tonearest): Likewise.
55201 (cosh_test_towardzero): Likewise.
55202 (cosh_test_downward): Likewise.
55203 (cosh_test_upward): Likewise.
55204 (cpow_test): Likewise.
55205 (cproj_test): Likewise.
55206 (creal_test): Likewise.
55207 (csin_test): Likewise.
55208 (csinh_test): Likewise.
55209 (csqrt_test): Likewise.
55210 (ctan_test): Likewise.
55211 (ctan_test_tonearest): Likewise.
55212 (ctan_test_towardzero): Likewise.
55213 (ctan_test_downward): Likewise.
55214 (ctan_test_upward): Likewise.
55215 (ctanh_test): Likewise.
55216 (ctanh_test_tonearest): Likewise.
55217 (ctanh_test_towardzero): Likewise.
55218 (ctanh_test_downward): Likewise.
55219 (ctanh_test_upward): Likewise.
55220 (erf_test): Likewise.
55221 (erfc_test): Likewise.
55222 (exp_test): Likewise.
55223 (exp_test_tonearest): Likewise.
55224 (exp_test_towardzero): Likewise.
55225 (exp_test_downward): Likewise.
55226 (exp_test_upward): Likewise.
55227 (exp10_test): Likewise.
55228 (exp10_test_tonearest): Likewise.
55229 (exp10_test_towardzero): Likewise.
55230 (exp10_test_downward): Likewise.
55231 (exp10_test_upward): Likewise.
55232 (pow10_test): Likewise.
55233 (exp2_test): Likewise.
55234 (expm1_test): Likewise.
55235 (expm1_test_tonearest): Likewise.
55236 (expm1_test_towardzero): Likewise.
55237 (expm1_test_downward): Likewise.
55238 (expm1_test_upward): Likewise.
55239 (fabs_test): Likewise.
55240 (fdim_test): Likewise.
55241 (floor_test): Likewise.
55242 (fma_test): Likewise.
55243 (fma_test_towardzero): Likewise.
55244 (fma_test_downward): Likewise.
55245 (fma_test_upward): Likewise.
55246 (fmax_test): Likewise.
55247 (fmin_test): Likewise.
55248 (fmod_test): Likewise.
55249 (fpclassify_test): Likewise.
55250 (frexp_test): Likewise.
55251 (hypot_test): Likewise.
55252 (ilogb_test): Likewise.
55253 (isfinite_test): Likewise.
55254 (finite_test): Likewise.
55255 (isgreater_test): Likewise.
55256 (isgreaterequal_test): Likewise.
55257 (isinf_test): Likewise.
55258 (isless_test): Likewise.
55259 (islessequal_test): Likewise.
55260 (islessgreater_test): Likewise.
55261 (isnan_test): Likewise.
55262 (isnormal_test): Likewise.
55263 (issignaling_test): Likewise.
55264 (isunordered_test): Likewise.
55265 (j0_test): Likewise.
55266 (j1_test): Likewise.
55267 (jn_test): Likewise.
55268 (ldexp_test): Likewise.
55269 (lgamma_test): Likewise.
55270 (gamma_test): Likewise.
55271 (lrint_test): Likewise.
55272 (lrint_test_tonearest): Likewise.
55273 (lrint_test_towardzero): Likewise.
55274 (lrint_test_downward): Likewise.
55275 (lrint_test_upward): Likewise.
55276 (llrint_test): Likewise.
55277 (llrint_test_tonearest): Likewise.
55278 (llrint_test_towardzero): Likewise.
55279 (llrint_test_downward): Likewise.
55280 (llrint_test_upward): Likewise.
55281 (log_test): Likewise.
55282 (log10_test): Likewise.
55283 (log1p_test): Likewise.
55284 (log2_test): Likewise.
55285 (logb_test): Likewise.
55286 (logb_test_downward): Likewise.
55287 (lround_test): Likewise.
55288 (llround_test): Likewise.
55289 (modf_test): Likewise.
55290 (nearbyint_test): Likewise.
55291 (nextafter_test): Likewise.
55292 (nexttoward_test): Likewise.
55293 (pow_test): Likewise.
55294 (pow_test_tonearest): Likewise.
55295 (pow_test_towardzero): Likewise.
55296 (pow_test_downward): Likewise.
55297 (pow_test_upward): Likewise.
55298 (remainder_test): Likewise.
55299 (drem_test): Likewise.
55300 (remainder_test_tonearest): Likewise.
55301 (drem_test_tonearest): Likewise.
55302 (remainder_test_towardzero): Likewise.
55303 (drem_test_towardzero): Likewise.
55304 (remainder_test_downward): Likewise.
55305 (drem_test_downward): Likewise.
55306 (remainder_test_upward): Likewise.
55307 (drem_test_upward): Likewise.
55308 (remquo_test): Likewise.
55309 (rint_test): Likewise.
55310 (rint_test_tonearest): Likewise.
55311 (rint_test_towardzero): Likewise.
55312 (rint_test_downward): Likewise.
55313 (rint_test_upward): Likewise.
55314 (round_test): Likewise.
55315 (scalb_test): Likewise.
55316 (scalbn_test): Likewise.
55317 (scalbln_test): Likewise.
55318 (signbit_test): Likewise.
55319 (sin_test): Likewise.
55320 (sin_test_tonearest): Likewise.
55321 (sin_test_towardzero): Likewise.
55322 (sin_test_downward): Likewise.
55323 (sin_test_upward): Likewise.
55324 (sincos_test): Likewise.
55325 (sinh_test): Likewise.
55326 (sinh_test_tonearest): Likewise.
55327 (sinh_test_towardzero): Likewise.
55328 (sinh_test_downward): Likewise.
55329 (sinh_test_upward): Likewise.
55330 (sqrt_test): Likewise.
55331 (sqrt_test_tonearest): Likewise.
55332 (sqrt_test_towardzero): Likewise.
55333 (sqrt_test_downward): Likewise.
55334 (sqrt_test_upward): Likewise.
55335 (tan_test): Likewise.
55336 (tan_test_tonearest): Likewise.
55337 (tan_test_towardzero): Likewise.
55338 (tan_test_downward): Likewise.
55339 (tan_test_upward): Likewise.
55340 (tanh_test): Likewise.
55341 (tgamma_test): Likewise.
55342 (trunc_test): Likewise.
55343 (y0_test): Likewise.
55344 (y1_test): Likewise.
55345 (yn_test): Likewise.
55346 (significand_test): Likewise.
55347
55348 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55349 individual tests in comment.
55350 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55351 (prev_max_error): New variable.
55352 (prev_real_max_error): Likewise.
55353 (prev_imag_max_error): Likewise.
55354 (compare_ulp_data): Don't refer to test names in comment.
55355 (find_test_ulps): Remove function.
55356 (find_function_ulps): Likewise.
55357 (find_complex_function_ulps): Likewise.
55358 (init_max_error): Take function name as argument. Look up ulps
55359 for that function.
55360 (print_ulps): Remove function.
55361 (print_max_error): Use prev_max_error instead of calling
55362 find_function_ulps.
55363 (print_complex_max_error): Use prev_real_max_error and
55364 prev_imag_max_error instead of calling find_complex_function_ulps.
55365 (check_float_internal): Take max_ulp parameter instead of calling
55366 find_test_ulps. Don't call print_ulps.
55367 (check_float): Update call to check_float_internal.
55368 (check_complex): Update calls to check_float_internal.
55369 (START): Pass argument to init_max_error.
55370 * math/gen-libm-test.pl (%results): Don't include "kind"
55371 information.
55372 (parse_ulps): Don't handle ulps of individual tests.
55373 (print_ulps_file): Likewise.
55374 (output_ulps): Likewise.
55375 * math/README.libm-test: Update.
55376 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55377 individual tests.
55378 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55379 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55380 * sysdeps/arm/libm-test-ulps: Likewise.
55381 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55382 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55383 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55384 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55385 * sysdeps/microblaze/libm-test-ulps: Likewise.
55386 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55387 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55389 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55390 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55391 * sysdeps/sh/libm-test-ulps: Likewise.
55392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55393 * sysdeps/tile/libm-test-ulps: Likewise.
55394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55395
55396 2014-03-04 Joseph Myers <joseph@codesourcery.com>
55397
55398 * math/libm-test.inc (print_complex_max_error): Check separately
55399 whether real and imaginary errors are within allowed range and
55400 pass 0 to print_complex_function_ulps instead of value within
55401 allowed range.
55402
55403 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55404
55405 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55406 formatting.
55407 (get_handles_fopen): Likewise.
55408 (do_write_test): Likewise.
55409
55410 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55411
55412 * libio/fileops.c (do_ftell): Use cached offset when
55413 available.
55414 * libio/iofwide.c (do_ftell_wide): Likewise.
55415 * libio/iofdopen.c (_IO_new_fdopen): Don't use
55416 _IO_file_attach.
55417 * libio/wfileops.c (_IO_fwide): Don't cache offset.
55418
55419 [BZ #16532]
55420 * libio/libioP.h (get_file_offset): New function.
55421 * libio/fileops.c (get_file_offset): Likewise.
55422 (do_ftell): Likewise.
55423 (_IO_new_file_seekoff): Split out ftell logic.
55424 * libio/wfileops.c (do_ftell_wide): Likewise.
55425 (_IO_wfile_seekoff): Split out ftell logic.
55426 * libio/tst-ftell-active-handler.c: New test case.
55427 * libio/Makefile (tests): Add it.
55428
55429 2014-03-03 Roland McGrath <roland@hack.frob.com>
55430
55431 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55432 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55433
55434 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55435
55436 [BZ #16639]
55437 * nscd/connections.c (nscd_init): Call do_exit.
55438 (start_threads): Call do_exit and notify_parent.
55439 (begin_drop_privileges): Call do_exit.
55440 (finish_drop_privileges): Likewise.
55441 * nscd/selinux.c (preserve_capabilities): Likewise.
55442 (install_real_capabilities): Likewise.
55443 (nscd_selinux_enabled): Likewise.
55444 (avc_create_thread): Likewise.
55445 (avc_alloc_lock): Likewise.
55446 (nscd_avc_init): Likewise.
55447 * nscd/nscd.c (parent_fd): New static variable.
55448 (main): Create a pipe between parent and child processes.
55449 Skip closing parent_fd.
55450 (monitor_child): New function.
55451 (do_exit): Likewise.
55452 (notify_parent): Likewise.
55453 * nscd/nscd.h (notify_parent): Likewise.
55454 (do_exit): Likewise.
55455
55456 2014-03-03 Carlos O'Donell <carlos@redhat.com>
55457
55458 * malloc/malloc.c (__libc_calloc): Revert last change.
55459
55460 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55461
55462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55463
55464 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55465
55466 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55468 implementation.
55469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55470 (__libc_ifunc_impl_list): Likewise.
55471 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55472 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55473 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55474 * string/strrchr.c: Define STRRCHR.
55475
55476 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
55477
55478 * benchtest/bench-strtok.c (simple_strtok): Delete.
55479 (strtok_string): Use as benchmark.
55480 * string/strtok (STRTOK): New macro.
55481
55482 2014-02-28 Carlos O'Donell <carlos@redhat.com>
55483
55484 * manual/threads.texi: Add header and standard comments to all
55485 functions.
55486
55487 * elf/dl-lookup.c (check_match): New function.
55488 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55489 (do_lookup_x): Remove nested function check_match. Use non-nested
55490 function check_match.
55491
55492 2014-02-28 Roland McGrath <roland@hack.frob.com>
55493
55494 * csu/Makefile (generated, before-compile): Use += rather than =.
55495 * catgets/Makefile (generated, generated-dirs): Likewise.
55496 * debug/Makefile (generated): Likewise.
55497 * dlfcn/Makefile (generated): Likewise.
55498 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55499 * iconvdata/Makefile (before-compile, generated): Likewise.
55500 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55501 * libio/Makefile (generated): Likewise.
55502 * malloc/Makefile (generated): Likewise.
55503 * manual/Makefile (generated, generated-dirs): Likewise.
55504 * misc/Makefile (generated): Likewise.
55505 * posix/Makefile (generated): Likewise.
55506 * resolv/Makefile (generated): Likewise.
55507 * sunrpc/Makefile (generated, generated-dirs): Likewise.
55508 * timezone/Makefile (generated, generated-dirs): Likewise.
55509
55510 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55511
55512 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55513
55514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55515 power8 implementation.
55516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55517 file: POWER8 llround ifunc implementation.
55518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55519 (__lllround): Add POWER8 implementation.
55520 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55521 POWER8 llround implementation.
55522
55523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55524 power8 implementation.
55525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55526 file: POWER8 llrint ifunc implementation.
55527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55528 Add POWER8 implementation.
55529 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55530 POWER8 llrint implementation.
55531
55532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55533 power8 implementation.
55534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55535 file: POWER8 finite ifunc implementation.
55536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55537 Add POWER8 implementation.
55538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55539 Likewise.
55540 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55541 POWER8 finite implementation.
55542 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55543
55544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55545 power8 implementation.
55546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55547 file: POWER8 isinf ifunc implementation.
55548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55549 POWER8 implementation.
55550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55551 Likewise.
55552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55553 isinf implementation.
55554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55555
55556 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55557 (INIT_ARCH): Add hwcap2 initialization.
55558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55559 power8 implementation.
55560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55561 file: POWER8 isnan ifunc implementation.
55562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55563 POWER8 implementation.
55564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55565 Likewise.
55566 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55567 isnan implementation.
55568 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55569
55570 2014-02-27 Joey Ye <joey.ye@arm.com>
55571
55572 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55573 (_FP_NANFRAC_Q): Set to zero.
55574
55575 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55576
55577 [BZ #16623]
55578 * math/auto-libm-test-in: New test inputs.
55579 * math/auto-libm-test-out: Regenerate.
55580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55581 and DA.
55582 (__cos): Likewise.
55583 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55584
55585 2014-02-27 Joseph Myers <joseph@codesourcery.com>
55586
55587 * scripts/evaluate-test.sh: Take new argument indicating whether
55588 failure is expected.
55589 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55590 indicating whether failure is expected.
55591 * conform/Makefile (test-xfail-run-conformtest): New variable.
55592 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55593 level.
55594 * posix/Makefile (test-xfail-annexc): New variable.
55595 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55596
55597 2014-02-26 Joseph Myers <joseph@codesourcery.com>
55598
55599 * argp/Makefile: Include Makeconfig immediately after defining
55600 subdir.
55601 * assert/Makefile: Likewise.
55602 * benchtests/Makefile: Likewise.
55603 * catgets/Makefile: Likewise.
55604 * conform/Makefile: Likewise.
55605 * crypt/Makefile: Likewise.
55606 * csu/Makefile: Likewise.
55607 (all): Remove target.
55608 * ctype/Makefile: Include Makeconfig immediately after defining
55609 subdir.
55610 * debug/Makefile: Likewise.
55611 * dirent/Makefile: Likewise.
55612 * dlfcn/Makefile: Likewise.
55613 * gmon/Makefile: Likewise.
55614 * gnulib/Makefile: Likewise.
55615 * grp/Makefile: Likewise.
55616 * gshadow/Makefile: Likewise.
55617 * hesiod/Makefile: Likewise.
55618 * hurd/Makefile: Likewise.
55619 (all): Remove target.
55620 * iconvdata/Makefile: Include Makeconfig immediately after
55621 defining subdir.
55622 * inet/Makefile: Likewise.
55623 * intl/Makefile: Likewise.
55624 * io/Makefile: Likewise.
55625 * libio/Makefile: Likewise.
55626 (all): Remove target.
55627 * locale/Makefile: Include Makeconfig immediately after defining
55628 subdir.
55629 * login/Makefile: Likewise.
55630 * mach/Makefile: Likewise.
55631 (all): Remove target.
55632 * malloc/Makefile: Include Makeconfig immediately after defining
55633 subdir.
55634 (all): Remove target.
55635 * manual/Makefile: Include Makeconfig immediately after defining
55636 subdir.
55637 * math/Makefile: Likewise.
55638 * misc/Makefile: Likewise.
55639 * nis/Makefile: Likewise.
55640 * nss/Makefile: Likewise.
55641 * po/Makefile: Likewise.
55642 (all): Remove target.
55643 * posix/Makefile: Include Makeconfig immediately after defining
55644 subdir.
55645 * pwd/Makefile: Likewise.
55646 * resolv/Makefile: Likewise.
55647 * resource/Makefile: Likewise.
55648 * rt/Makefile: Likewise.
55649 * setjmp/Makefile: Likewise.
55650 * shadow/Makefile: Likewise.
55651 * signal/Makefile: Likewise.
55652 * socket/Makefile: Likewise.
55653 * soft-fp/Makefile: Likewise.
55654 * stdio-common/Makefile: Likewise.
55655 * stdlib/Makefile: Likewise.
55656 * streams/Makefile: Likewise.
55657 * string/Makefile: Likewise.
55658 * sunrpc/Makefile: Likewise.
55659 (all): Remove target.
55660 * sysvipc/Makefile: Include Makeconfig immediately after defining
55661 subdir.
55662 * termios/Makefile: Likewise.
55663 * time/Makefile: Likewise.
55664 * timezone/Makefile: Likewise.
55665 (all): Remove target.
55666 * wcsmbs/Makefile: Include Makeconfig immediately after defining
55667 subdir.
55668 * wctype/Makefile: Likewise.
55669
55670 2014-02-26 Steve Ellcey <sellcey@mips.com>
55671
55672 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
55673 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
55674 (libc_feholdexcept_setround_mips): Ditto.
55675 (libc_feholdsetround): New.
55676 (libc_feholdsetroundf): New.
55677 (libc_feholdsetroundl): New.
55678 (libc_feupdateenv_test_mips): New.
55679 (libc_feupdateenv_test): New.
55680 (libc_feupdateenv_testf): New.
55681 (libc_feupdateenv_testl): New.
55682 (libc_feresetround): New.
55683 (libc_feresetroundf): New.
55684 (libc_feresetroundl): New.
55685 (libc_fetestexcept_mips): New.
55686 (libc_fetestexcept): New.
55687 (libc_fetestexceptf): New.
55688 (libc_fetestexceptl): New.
55689 (HAVE_RM_CTX): New.
55690 (libc_feholdexcept_setround_mips_ctx): New.
55691 (libc_feholdexcept_setround_ctx): New.
55692 (libc_feholdexcept_setroundf_ctx): New.
55693 (libc_feholdexcept_setroundl_ctx): New.
55694 (libc_fesetenv_mips_ctx): New.
55695 (libc_fesetenv_ctx): New.
55696 (libc_fesetenv_ctxf): New.
55697 (libc_fesetenv_ctxl): New.
55698 (libc_feupdateenv_mips_ctx): New.
55699 (libc_feupdateenv_ctx): New.
55700 (libc_feupdateenvf_ctx): New.
55701 (libc_feupdateenvl_ctx): New.
55702 (libc_feholdsetround_mips_ctx): New.
55703 (libc_feholdsetround_ctx): New.
55704 (libc_feholdsetroundf_ctx): New.
55705 (libc_feholdsetroundl_ctx): New.
55706 (libc_feresetround_mips_ctx): New.
55707 (libc_feresetround_ctx): New.
55708 (libc_feresetroundf_ctx): New.
55709 (libc_feresetroundl_ctx): New.
55710
55711 2014-02-26 Carlos O'Donell <carlos@redhat.com>
55712
55713 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
55714
55715 * manual/ipc.texi: New file.
55716 * manual/Makefile (chapters): Add ipc.
55717 * manual/job.texi: Add "Inter-Process Communication" to next.
55718 * manual/process.texi: Add "Inter-Process Communication" to prev.
55719
55720 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55721
55722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55723
55724 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
55725
55726 * malloc/malloc.c (__libc_calloc): Simplify implementation.
55727
55728 * manual/arith.texi: Fix spaces after sentences.
55729 * manual/charset.texi: Likewise.
55730 * manual/errno.texi: Likewise.
55731 * manual/install.texi: Likewise.
55732 * manual/llio.texi: Likewise.
55733 * manual/locale.texi: Likewise.
55734 * manual/maint.texi: Likewise.
55735 * manual/math.texi: Likewise.
55736 * manual/memory.texi: Likewise.
55737 * manual/message.texi: Likewise.
55738 * manual/probes.texi: Likewise.
55739 * manual/resource.texi: Likewise.
55740 * manual/signal.texi: Likewise.
55741 * manual/socket.texi: Likewise.
55742 * manual/stdio.texi: Likewise.
55743 * manual/string.texi: Likewise.
55744 * manual/time.texi: Likewise.
55745 * manual/users.texi: Likewise.
55746
55747 2014-02-25 Carlos O'Donell <carlos@redhat.com>
55748
55749 [BZ #16632]
55750 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
55751 _DEFAULT_SOURCE is defined.
55752
55753 2014-02-25 Ulrich Drepper <drepper@gmail.com>
55754 Carlos O'Donell <carlos@redhat.com>
55755
55756 [BZ #16613]
55757 * elf/dl-tls.c (_dl_count_modids): New function.
55758 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
55759 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
55760 audit library and increment generation counter.
55761 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
55762 * elf/tst-audit9.c: New file.
55763 * elf/tst-auditmod9a.c: New file.
55764 * elf/tst-auditmod9b.c: New file.
55765 * elf/Makefile: Add rules to build and run tst-audit9.
55766
55767 2014-02-25 Florian Weimer <fweimer@redhat.com>
55768
55769 [BZ #15347]
55770 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
55771
55772 2014-02-25 Will Newton <will.newton@linaro.org>
55773
55774 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
55775 (__longjmp): Restore sp and lr before restoring callee
55776 saved registers. Add longjmp and longjmp_target
55777 SystemTap probe point.
55778 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55779 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55780 Define to zero to match jmpbuf layout.
55781 * sysdeps/arm/setjmp.S: Include stap-probe.h.
55782 (__sigsetjmp): Save sp and lr before saving callee
55783 saved registers. Add setjmp SystemTap probe point.
55784
55785 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
55786
55787 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55788
55789 2014-02-24 Andreas Schwab <schwab@suse.de>
55790
55791 [BZ #15804]
55792 * elf/pldd.c (wait_for_ptrace_stop): New function.
55793 (main): Call it after attaching.
55794
55795 2014-02-22 Roland McGrath <roland@hack.frob.com>
55796
55797 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55798 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55799 Versions files is now verboten.
55800 * hurd/Versions (libc: GLIBC_2.0):
55801 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55802 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55803 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55804 * mach/Versions: Likewise.
55805
55806 * csu/Versions: Remove unused %include.
55807 * resolv/Versions: Likewise.
55808
55809 2014-02-21 Joseph Myers <joseph@codesourcery.com>
55810
55811 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55812 ($(objpfx)check-local-headers.out): Likewise.
55813 ($(objpfx)begin-end-check.out): Likewise.
55814 * Makerules (check-abi-%.out): Likewise.
55815 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55816 ($(objpfx)test2.cat): Likewise.
55817 ($(objpfx)de/libc.cat): Likewise.
55818 ($(objpfx)test-gencat.out): Likewise.
55819 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55820 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55821 ($(objpfx)noload-mem): Likewise.
55822 ($(objpfx)tst-pathopt.out): Likewise.
55823 ($(objpfx)tst-rtld-load-self.out): Likewise.
55824 ($(objpfx)tst-array1-cmp.out): Likewise.
55825 ($(objpfx)tst-array1-static-cmp.out): Likewise.
55826 ($(objpfx)tst-array2-cmp.out): Likewise.
55827 ($(objpfx)tst-array3-cmp.out): Likewise.
55828 ($(objpfx)tst-array4-cmp.out): Likewise.
55829 ($(objpfx)tst-array5-cmp.out): Likewise.
55830 ($(objpfx)tst-array5-static-cmp.out): Likewise.
55831 ($(objpfx)check-textrel.out): Likewise.
55832 ($(objpfx)check-execstack.out): Likewise.
55833 ($(objpfx)check-localplt.out): Likewise.
55834 ($(objpfx)order2-cmp.out): Likewise.
55835 ($(objpfx)tst-leaks1-mem): Likewise.
55836 ($(objpfx)tst-leaks1-static-mem): Likewise.
55837 ($(objpfx)tst-initorder-cmp.out): Likewise.
55838 ($(objpfx)tst-initorder2-cmp.out): Likewise.
55839 ($(objpfx)tst-unused-dep.out): Likewise.
55840 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55841 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55842 * iconv/Makefile (test-iconvconfig): Likewise.
55843 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55844 ($(objpfx)iconv-test.out): Likewise.
55845 ($(objpfx)tst-tables.out): Likewise.
55846 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55847 ($(objpfx)tst-gettext.out): Likewise.
55848 ($(objpfx)tst-translit.out): Likewise.
55849 ($(objpfx)tst-gettext2.out): Likewise.
55850 ($(objpfx)tst-gettext4.out): Likewise.
55851 ($(objpfx)tst-gettext6.out): Likewise.
55852 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55853 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55854 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55855 ($(objpfx)tst-fopenloc-mem.out): Likewise.
55856 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55857 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55858 * posix/Makefile ($(objpfx)globtest.out): Likewise.
55859 ($(objpfx)wordexp-tst.out): Likewise.
55860 ($(objpfx)annexc.out): Likewise.
55861 ($(objpfx)tst-fnmatch-mem): Likewise.
55862 ($(objpfx)bug-regex2-mem): Likewise.
55863 ($(objpfx)bug-regex14-mem): Likewise.
55864 ($(objpfx)bug-regex21-mem): Likewise.
55865 ($(objpfx)bug-regex31-mem): Likewise.
55866 ($(objpfx)tst-vfork3-mem): Likewise.
55867 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55868 ($(objpfx)tst-pcre-mem): Likewise.
55869 ($(objpfx)tst-boost-mem): Likewise.
55870 ($(objpfx)tst-getconf.out): Likewise.
55871 ($(objpfx)bug-ga2-mem): Likewise.
55872 ($(objpfx)bug-glob2-mem): Likewise.
55873 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55874 ($(objpfx)mtrace-tst-leaks2): Likewise.
55875 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55876 ($(objpfx)tst-printf.out): Likewise.
55877 ($(objpfx)tst-setvbuf1.out): Likewise.
55878 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55879 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55880 ($(objpfx)tst-fmtmsg.out): Likewise.
55881 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55882 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55883
55884 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55885 * bits/sigaction.h [__USE_MISC]: Likewise.
55886 * bits/waitstatus.h: Update #endif comments.
55887 * ctype/ctype.h: Likewise.
55888 * dirent/dirent.h: Likewise.
55889 [__USE_MISC]: Remove redundant conditionals.
55890 * grp/grp.h: Update #endif comments.
55891 [__USE_GNU]: Remove redundant conditionals.
55892 [__USE_MISC]: Likewise.
55893 * inet/netinet/in.h [__USE_GNU]: Likewise.
55894 * io/sys/stat.h [__USE_MISC]: Likewise.
55895 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55896 * libio/bits/stdio.h: Update #endif comments.
55897 [__USE_MISC]: Remove redundant conditionals.
55898 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55899 * libio/stdio.h: Update #endif comments.
55900 [__USE_MISC]: Remove redundant conditionals.
55901 * math/bits/math-finite.h [__USE_MISC]: Likewise.
55902 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55903 * math/math.h: Update #else and #endif comments.
55904 [__USE_MISC]: Remove redundant conditionals.
55905 * misc/sys/uio.h: Update #endif comments.
55906 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55907 * posix/glob.h [__USE_MISC]: Likewise.
55908 * posix/sys/types.h: Update #endif comments.
55909 [__USE_MISC]: Remove redundant conditionals.
55910 * posix/sys/wait.h: Update #endif comments.
55911 [__USE_MISC]: Remove redundant conditionals.
55912 * posix/unistd.h: Update #endif comments.
55913 [__USE_MISC]: Remove redundant conditionals.
55914 * pwd/pwd.h [__USE_GNU]: Likewise.
55915 [__USE_MISC]: Likewise.
55916 * resolv/netdb.h [__USE_GNU]: Likewise.
55917 * signal/signal.h: Update #endif comments.
55918 [__USE_MISC]: Remove redundant conditionals.
55919 * stdlib/stdlib.h: Update #else and #endif comments.
55920 [__USE_MISC]: Remove redundant conditionals.
55921 [__USE_GNU]: Likewise.
55922 * string/bits/string2.h [__USE_MISC]: Likewise.
55923 * string/string.h: Update #endif comments.
55924 [__USE_MISC]: Remove redundant conditionals.
55925 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55926 Likewise.
55927 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55928 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55929 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55930 Likewise.
55931 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55932 Likewise.
55933 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55934 comments.
55935 [__USE_MISC]: Remove redundant conditionals.
55936 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55937 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55938 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55939 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55940 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55941 Likewise.
55942 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55943 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55944 Likewise.
55945 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55946 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55947 Likewise.
55948 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55949 Likewise.
55950 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55951 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55952 Likewise.
55953 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55954 Likewise.
55955 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55956 * sysdeps/x86/bits/string.h: Update #endif comments.
55957 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55958 conditionals.
55959 * time/sys/time.h: Update #endif comments.
55960 * time/time.h: Likewise.
55961 [__USE_MISC]: Remove redundant conditionals.
55962
55963 2014-02-21 Yury Gribov <y.gribov@samsung.com>
55964
55965 [BZ #16600]
55966 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55967
55968 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
55969
55970 * Versions.def (librt): Add GLIBC_2.17.
55971
55972 2014-02-21 Adam Conrad <adconrad@0c3.net>
55973
55974 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55975 synonym for _SYS_AUXV_H to allow direct inclusion.
55976 * sysdeps/sparc/bits/hwcap.h: Likewise.
55977 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55978 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55979 * sysdeps/sparc/sysdep.h: Likewise.
55980
55981 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55982
55983 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55984
55985 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55986
55987 * benchtests/bench-strrchr.c: Print length instead of position.
55988
55989 2014-02-20 Joseph Myers <joseph@codesourcery.com>
55990
55991 [BZ #16611]
55992 * sysdeps/unix/sysv/linux/kernel-features.h
55993 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55994 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55995 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55996 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55997 Likewise.
55998 [__i386__ || __powerpc__ || __sh__ || __sparc__]
55999 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56000 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56001 (__ASSUME_SENDMMSG): Define instead of using previous
56002 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56003 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56004 (__ASSUME_SENDMMSG_SYSCALL): Define.
56005 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56006 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56007 Likewise.
56008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56009 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56010 Likewise.
56011 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56012 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56013 Likewise.
56014 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56015 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56016 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56017 [__ASSUME_SENDMMSG]: Change conditionals to
56018 [__ASSUME_SENDMMSG_SOCKETCALL].
56019 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56020 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56021 Define.
56022 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56023 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56024 Likewise.
56025 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56026 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56027 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56028 [!__ASSUME_SENDMMSG]: Change conditional to
56029 [!__ASSUME_SENDMMSG_SOCKETCALL].
56030 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56031 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56032 Define.
56033
56034 [BZ #16610]
56035 * sysdeps/unix/sysv/linux/kernel-features.h
56036 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56037 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56038 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56039 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56040 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56041 [__i386__ || __sparc__]
56042 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56043 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56044 (__ASSUME_RECVMMSG): Define instead of using previous
56045 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56046 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56047 (__ASSUME_RECVMMSG_SYSCALL): Define.
56048 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56049 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56050 Likewise.
56051 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56052 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56053 Likewise.
56054 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56056 Likewise.
56057 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56058 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56059 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56060 [__ASSUME_RECVMMSG]: Change condition to
56061 [__ASSUME_RECVMMSG_SOCKETCALL].
56062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56064 Define.
56065 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56066 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56067 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56068 Likewise.
56069 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56070 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56071 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56072 [!__ASSUME_RECVMMSG]: Change condition to
56073 [!__ASSUME_RECVMMSG_SOCKETCALL].
56074 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56075 (__ASSUME_RECVMMSG_SYSCALL): Define.
56076
56077 [BZ #16609]
56078 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56079 __powerpc__ || __s390__ || __sh__ || __sparc__]
56080 (__ASSUME_SOCKETCALL): Define.
56081 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56082 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56083 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56084 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56085 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56086 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56087 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56088 (__ASSUME_ACCEPT4): Define instead of using previous
56089 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56090 __powerpc__ || __sparc__ || __s390__)] condition.
56091 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56092 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56093 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56094 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56095 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56096 [!__ASSUME_ACCEPT4]: Change condition to
56097 [!__ASSUME_ACCEPT4_SOCKETCALL].
56098 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56099 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
56100 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56101 * sysdeps/unix/sysv/linux/arm/kernel-features.h
56102 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56103 __ASSUME_ACCEPT4_SYSCALL.
56104 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56105 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56107 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56108 __ASSUME_ACCEPT4_SYSCALL.
56109 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56110 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56111 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56112 [__ASSUME_ACCEPT4]: Change condition to
56113 [__ASSUME_ACCEPT4_SOCKETCALL].
56114 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56115 (__ASSUME_SOCKETCALL): Define.
56116 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56117 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56118 (__ASSUME_SOCKETCALL): Define.
56119 (__ASSUME_ACCEPT4): Remove.
56120 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56121 Define.
56122 * sysdeps/unix/sysv/linux/mips/kernel-features.h
56123 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56124 Likewise.
56125 * sysdeps/unix/sysv/linux/tile/kernel-features.h
56126 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56127
56128 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56129 macro.
56130 (HWCAP_ARM_LPAE): Likewise.
56131 (HWCAP_ARM_EVTSTRM): Likewise.
56132 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56133 Add vpfd32, lpae and evtstrm.
56134 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56135 Increase to 22.
56136
56137 2014-02-19 Joseph Myers <joseph@codesourcery.com>
56138
56139 * math/auto-libm-test-in: Add tests of clog10.
56140 * math/auto-libm-test-out: Regenerated.
56141 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56142 * sysdeps/i386/fpu/libm-test-ulps: Update.
56143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56144
56145 2014-02-18 Andreas Schwab <schwab@suse.de>
56146
56147 [BZ #16574]
56148 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56149 Store non-zero if the second buffer was newly allocated.
56150 (send_dg): Likewise.
56151 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56152 to send_vc and send_dg.
56153 (res_nsend): Pass NULL for ansp2_malloced.
56154 * resolv/res_query.c (__libc_res_nquery): Add parameter
56155 answerp2_malloced and pass it down to __libc_res_nsend.
56156 (res_nquery): Pass additional NULL to __libc_res_nquery.
56157 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56158 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
56159 second answer buffer if answerp2_malloced was set.
56160 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56161 (__libc_res_nquerydomain): Add parameter
56162 answerp2_malloced and pass it down to __libc_res_nquery.
56163 (res_nquerydomain): Pass additional NULL to
56164 __libc_res_nquerydomain.
56165 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56166 additional NULL to __libc_res_nsend and __libc_res_nquery.
56167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56168 additional NULL to __libc_res_nsearch.
56169 (_nss_dns_gethostbyname4_r): Revert last change. Use new
56170 parameter of __libc_res_nsearch to check for separately allocated
56171 second buffer.
56172 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56173 __libc_res_nquery.
56174 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56175 additional NULL to __libc_res_nquery.
56176 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56177 __libc_res_nsearch.
56178 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56179 * include/resolv.h: Update prototypes of __libc_res_nquery,
56180 __libc_res_nsearch, __libc_res_nsend.
56181
56182 2014-02-18 Joseph Myers <joseph@codesourcery.com>
56183
56184 * math/auto-libm-test-in: Add tests of fma.
56185 * math/auto-libm-test-out: Regenerated.
56186 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56187 (fma_towardzero_test_data): Likewise.
56188 (fma_downward_test_data): Likewise.
56189 (fma_upward_test_data): Likewise.
56190 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56191 mpc_mode.
56192 (rounding_modes): Add values for new field.
56193 (func_calc_method): Add value mpfr_fff_f.
56194 (func_calc_desc): Add mpfr_fff_f union field.
56195 (test_function): Add field exact_args.
56196 (FUNC): Add macro argument EXACT_ARGS.
56197 (FUNC_mpfr_f_f): Update call to FUNC.
56198 (FUNC_mpfr_f_f): Likewise.
56199 (FUNC_mpfr_ff_f): Likewise.
56200 (FUNC_mpfr_if_f): Likewise.
56201 (FUNC_mpc_c_f): Likewise.
56202 (FUNC_mpc_c_c): Likewise.
56203 (test_functions): Add fma. Update calls to FUNC.
56204 (handle_input_arg): Add argument exact_args.
56205 (add_test): Update call to handle_input_arg.
56206 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
56207 (output_for_one_input_case): Update call to calc_generic_results.
56208 Recalculate exact zero results in each rounding mode.
56209
56210 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56211 non-negative before setting low bit.
56212 * math/auto-libm-test-in: Mark one asin test possibly having
56213 spurious underflow.
56214 * math/auto-libm-test-out: Regenerated.
56215 * sysdeps/i386/fpu/libm-test-ulps: Update.
56216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56217
56218 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
56219
56220 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56221 * sysdeps/unix/sysv/linux/microblaze: Move directory from
56222 ports/sysdeps/unix/sysv/linux/microblaze.
56223 * README: Add missing listing for microblaze*-*-linux-gnu.
56224
56225 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
56226
56227 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56228 duplicate code
56229
56230 2014-02-16 Mike Frysinger <vapier@gentoo.org>
56231
56232 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56233 * sysdeps/unix/sysv/linux/ia64: Move directory from
56234 ports/sysdeps/unix/sysv/linux/ia64.
56235 * README: Update listing for ia64-*-linux-gnu.
56236
56237 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
56238 Joseph Myers <joseph@codesourcery.com>
56239
56240 * Makeconfig (test-name): New variable.
56241 (evaluate-test): Likewise.
56242 * Makerules (do-test-clean): Remove .test-result files.
56243 (common-mostlyclean): Likewise.
56244 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56245 * scripts/evaluate-test.sh: New file.
56246
56247 2014-02-14 Joseph Myers <joseph@codesourcery.com>
56248
56249 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56250 separate $(objpfx)tst-fopenloc-cmp.out and
56251 $(objpfx)tst-fopenloc-mem.out targets.
56252 (tests): Update dependencies.
56253 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56254 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56255 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56256 (tst-rxspencer-no-utf8-ARGS): New variable.
56257 (tst-rxspencer-no-utf8-ENV): Likewise.
56258 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56259 instead of $(objpfx)tst-rxspencer-mem.
56260 ($(objpfx)tst-rxspencer-mem): Change target to
56261 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
56262 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56263 * posix/tst-rxspencer-no-utf8.c: New file.
56264
56265 * elf/Makefile ($(objpfx)order.out): Remove rule.
56266 [$(run-built-tests) = yes] (tests): Depend on
56267 $(objpfx)order-cmp.out.
56268 ($(objpfx)order-cmp.out): New rule.
56269 [$(run-built-tests) = yes] (tests): Depend on
56270 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56271 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56272 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56273 $(objpfx)tst-array5-static-cmp.out.
56274 ($(objpfx)tst-array1.out): Remove rule.
56275 ($(objpfx)tst-array1-cmp.out): New rule.
56276 ($(objpfx)tst-array1-static.out): Remove rule.
56277 ($(objpfx)tst-array1-static-cmp.out): New rule.
56278 ($(objpfx)tst-array2.out): Remove rule.
56279 ($(objpfx)tst-array2-cmp.out): New rule.
56280 ($(objpfx)tst-array3.out): Remove rule.
56281 ($(objpfx)tst-array3-cmp.out): New rule.
56282 ($(objpfx)tst-array4.out): Remove rule.
56283 ($(objpfx)tst-array4-cmp.out): New rule.
56284 ($(objpfx)tst-array5.out): Remove rule.
56285 ($(objpfx)tst-array5-cmp.out): New rule.
56286 ($(objpfx)tst-array5-static.out): Remove rule.
56287 ($(objpfx)tst-array5-static-cmp.out): New rule.
56288 [$(run-built-tests) = yes] (tests): Depend on
56289 $(objpfx)order2-cmp.out.
56290 ($(objpfx)order2.out): Remove rule.
56291 ($(objpfx)order2-cmp.out): New rule.
56292 ($(objpfx)tst-initorder.out): Remove rule.
56293 [$(run-built-tests) = yes] (tests): Depend on
56294 $(objpfx)tst-initorder-cmp.out.
56295 ($(objpfx)tst-initorder-cmp.out): New rule.
56296 ($(objpfx)tst-initorder2.out): Remove rule.
56297 [$(run-built-tests) = yes] (tests): Depend on
56298 $(objpfx)tst-initorder2-cmp.out.
56299 ($(objpfx)tst-initorder2-cmp.out): New rule.
56300 [$(run-built-tests) = yes] (tests): Depend on
56301 $(objpfx)tst-unused-dep-cmp.out.
56302 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56303 ($(objpfx)tst-unused-dep-cmp.out): New rule.
56304 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56305 on $(objpfx)tst-setvbuf1-cmp.out.
56306 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56307 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56308 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56309 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56310 ($(objpfx)tst-svc.out): Remove rule.
56311 ($(objpfx)tst-svc-cmp.out): New rule.
56312
56313 2014-02-13 Joseph Myers <joseph@codesourcery.com>
56314
56315 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56316 * ctype/ctype.h [__USE_MISC]: Likewise.
56317 * dirent/dirent.h [__USE_MISC]: Likewise.
56318 * grp/grp.h [__USE_MISC]: Likewise.
56319 * io/fcntl.h [__USE_MISC]: Likewise.
56320 * io/sys/stat.h [__USE_MISC]: Likewise.
56321 * libio/stdio.h [__USE_MISC]: Likewise.
56322 * posix/unistd.h [__USE_MISC]: Likewise.
56323 * pwd/pwd.h [__USE_MISC]: Likewise.
56324 * stdlib.h [__USE_MISC]: Likewise.
56325 * string/bits/string2.h [__USE_MISC]: Likewise.
56326 * string/string.h [__USE_MISC]: Likewise.
56327 * time/time.h [__USE_MISC]: Likewise.
56328
56329 2014-02-13 Andreas Schwab <schwab@suse.de>
56330
56331 [BZ #16574]
56332 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56333 second answer buffer if it was separately allocated.
56334
56335 2014-02-12 Joseph Myers <joseph@codesourcery.com>
56336
56337 * sysdeps/mips/math-tests.h: Include <features.h>.
56338 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56339 (ROUNDING_TESTS_long_double): Do not define.
56340 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56341 (EXCEPTION_TESTS_long_double): Likewise.
56342 * sysdeps/mips/mips64/libm-test-ulps: Update.
56343
56344 * include/features.h (__USE_BSD): Remove macro definitions.
56345 (__USE_SVID): Likewise.
56346 (_BSD_SOURCE): Likewise.
56347 (_SVID_SOURCE): Likewise.
56348 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56349 from definition of _DEFAULT_SOURCE.
56350 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56351 [_DEFAULT_SOURCE].
56352 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56353 * bits/mman.h [__USE_BSD]: Likewise.
56354 * bits/termios.h [__USE_BSD]: Likewise.
56355 * bits/waitstatus.h [__USE_BSD]: Likewise.
56356 * ctype/ctype.h [__USE_SVID]: Likewise.
56357 * dirent/dirent.h [__USE_BSD]: Likewise.
56358 * grp/grp.h [__USE_SVID]: Likewise.
56359 [__USE_BSD]: Likewise.
56360 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56361 * io/fcntl.h [__USE_BSD]: Likewise.
56362 * io/ftw.h [__USE_BSD]: Likewise.
56363 * io/sys/stat.h [__USE_BSD]: Likewise.
56364 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56365 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56366 * libio/stdio.h [__USE_SVID]: Likewise.
56367 [__USE_BSD]: Likewise.
56368 * math/math.h [__USE_SVID]: Likewise.
56369 [__USE_BSD]: Likewise.
56370 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56371 * misc/bits/syslog.h [__USE_BSD]: Likewise.
56372 * misc/search.h [__USE_SVID]: Likewise.
56373 * misc/sys/mman.h [__USE_BSD]: Likewise.
56374 * misc/sys/syslog.h [__USE_BSD]: Likewise.
56375 * misc/sys/uio.h [__USE_BSD]: Likewise.
56376 * posix/bits/unistd.h [__USE_BSD]: Likewise.
56377 * posix/glob.h [__USE_BSD]: Likewise.
56378 * posix/regex.h [__USE_BSD]: Likewise.
56379 * posix/sys/types.h [__USE_BSD]: Likewise.
56380 [__USE_SVID]: Likewise.
56381 * posix/sys/utsname.h [__USE_SVID]: Likewise.
56382 * posix/sys/wait.h [__USE_BSD]: Likewise.
56383 [__USE_SVID]: Likewise.
56384 * posix/unistd.h [__USE_BSD]: Likewise.
56385 [__USE_SVID]: Likewise.
56386 * pwd/pwd.h [__USE_SVID]: Likewise.
56387 * resolv/netdb.h [__USE_BSD]: Likewise.
56388 * setjmp/setjmp.h [__USE_BSD]: Likewise.
56389 * signal/signal.h [__USE_BSD]: Likewise.
56390 [__USE_SVID]: Likewise.
56391 * socket/sys/socket.h [__USE_BSD]: Likewise.
56392 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56393 * stdlib/stdlib.h [__USE_BSD]: Likewise.
56394 [__USE_SVID]: Likewise.
56395 * string/bits/string2.h [__USE_BSD]: Likewise.
56396 [__USE_SVID]: Likewise.
56397 * string/bits/string3.h [__USE_BSD]: Likewise.
56398 * string/endian.h [__USE_BSD]: Likewise.
56399 * string/string.h [__USE_SVID]: Likewise.
56400 [__USE_BSD]: Likewise.
56401 * string/strings.h [__USE_BSD]: Likewise.
56402 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56403 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56404 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56405 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56406 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56407 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56408 Likewise.
56409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56410 Likewise.
56411 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56412 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56413 Likewise.
56414 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56415 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56416 Likewise.
56417 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56418 Likewise.
56419 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56420 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56421 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56422 Likewise.
56423 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56424 Likewise.
56425 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56426 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56427 * termios/termios.h [__USE_BSD]: Likewise.
56428 * time/sys/time.h [__USE_BSD]: Likewise.
56429 * time/time.h [__USE_BSD]: Likewise.
56430 [__USE_SVID]: Likewise.
56431
56432 * Makefile (subdir_targets): Remove subdir_lint.out.
56433
56434 * stdio-common/Makefile (do-tst-unbputc): Remove target.
56435 (do-tst-printf): Likewise.
56436 (tests): Depend directly on $(objpfx)tst-unbputc.out and
56437 $(objpfx)tst-printf.out.
56438
56439 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56440
56441 * Makerules (check-abi-%): Change target to
56442 $(objpfx)check-abi-%.out.
56443 (check-abi target): Update dependencies.
56444 (check-abi-pattern variable): Redirect output of diff to $@.
56445 (check-abi variable): Likewise.
56446 * elf/Makefile (check-abi): Update dependencies.
56447
56448 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56449 unused.
56450 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56451 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56452 subnormal range.
56453 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56454 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56455 value has largest subnormal exponent.
56456 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56457 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56458 * sysdeps/aarch64/soft-fp/sfp-machine.h
56459 (_FP_TININESS_AFTER_ROUNDING): New macro.
56460 * sysdeps/alpha/soft-fp/sfp-machine.h
56461 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56462 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56463 Likewise.
56464 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56466 * sysdeps/mips/soft-fp/sfp-machine.h
56467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56468 * sysdeps/powerpc/soft-fp/sfp-machine.h
56469 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56470 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56471 Likewise.
56472 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56473 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56474 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56475 (_FP_TININESS_AFTER_ROUNDING): Likewise.
56476 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56477 Likewise.
56478
56479 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
56480
56481 [BZ #16545]
56482 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56483 model 1.
56484
56485 2014-02-12 Richard Henderson <rth@redhat.com>
56486
56487 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56488 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56489 * sysdeps/unix/sysv/linux/alpha: Move directory from
56490 ports/sysdeps/unix/sysv/linux/alpha.
56491 * README: Update listing for alpha-*-linux-gnu.
56492
56493 2014-02-11 Joseph Myers <joseph@codesourcery.com>
56494
56495 * include/features.h: Update comment documenting feature test
56496 macros.
56497 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
56498 _DEFAULT_SOURCE.
56499 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56500 (_SVID_SOURCE): Likewise.
56501 (_DEFAULT_SOURCE): Update description of default features.
56502 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56503 with _GNU_SOURCE.
56504 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56505 (S_ISVTX): Likewise.
56506 * manual/math.texi (Mathematical Constants): Likewise.
56507 * manual/signal.texi (Interrupted Primitives): Likewise.
56508 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56509 * math/test-matherr.c (_SVID_SOURCE): Do not define.
56510 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56511 Don't refer to _SVID_SOURCE in warning text.
56512
56513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56514
56515 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56516 already defined.
56517 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56518 * sysdeps/mips/dl-lookup.c: Remove.
56519 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56520
56521 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
56522
56523 [BZ #16447]
56524 * math/auto-libm-test-in: Add testcase for expl.
56525 * math/auto-libm-test-out: Regenerate.
56526 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56527 calculation of unsafe.
56528 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56529
56530 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
56531
56532 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56533 * sysdeps/unix/sysv/linux/aarch64: Move directory from
56534 ports/sysdeps/unix/sysv/linux/aarch64.
56535 * README: Update listing for aarch64*-*-linux-gnu.
56536
56537 2014-02-11 Will Newton <will.newton@linaro.org>
56538
56539 * manual/probes.texi (Mathematical Function Probes): Use
56540 "triggered" instead of "hit".
56541
56542 * manual/probes.texi (Internal Probes): Add documentation
56543 of setjmp, longjmp and longjmp_target probes.
56544
56545 * include/stap-probe.h: Add comment about probe argument
56546 format.
56547
56548 * malloc/mtrace.c (attribute_hidden): Remove unused macro
56549 definition. (tr_where, tr_freehook, tr_mallochook,
56550 tr_reallochook, tr_memalignhook): Use ANSI protoype.
56551
56552 2014-02-11 David S. Miller <davem@davemloft.net>
56553
56554 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56555 processing int_tests.
56556
56557 2014-02-10 Joseph Myers <joseph@codesourcery.com>
56558
56559 * sysdeps/mips: Move directory from ports/sysdeps/mips.
56560 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56561 * sysdeps/unix/sysv/linux/mips: Move directory from
56562 ports/sysdeps/unix/sysv/linux/mips.
56563 * README: Update listing for mips-*-linux-gnu and
56564 mips64-*-linux-gnu.
56565
56566 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
56567
56568 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56569 * sysdeps/unix/sysv/linux/m68k: Move directory from
56570 ports/sysdeps/unix/sysv/linux/m68k.
56571 * README: Update listing for m68k-*-linux-gnu.
56572
56573 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
56574
56575 * sysdeps/tile: Move directory from ports/sysdeps/tile.
56576 * sysdeps/unix/sysv/linux/generic: Move directory from
56577 ports/sysdeps/unix/sysv/linux/generic.
56578 * sysdeps/unix/sysv/linux/tile: Move directory from
56579 ports/sysdeps/unix/sysv/linux/tile.
56580 * README: Update listing for tile*-*-linux-gnu.
56581
56582 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
56583
56584 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56585 __builtin_expect.
56586 * benchtests/bench-memmem.c (simple_memmem): Likewise.
56587 * catgets/open_catalog.c (__open_catalog): Likewise.
56588 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56589 * debug/confstr_chk.c: Likewise.
56590 * debug/fread_chk.c (__fread_chk): Likewise.
56591 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56592 * debug/getgroups_chk.c: Likewise.
56593 * debug/mbsnrtowcs_chk.c: Likewise.
56594 * debug/mbsrtowcs_chk.c: Likewise.
56595 * debug/mbstowcs_chk.c: Likewise.
56596 * debug/memcpy_chk.c: Likewise.
56597 * debug/memmove_chk.c: Likewise.
56598 * debug/mempcpy_chk.c: Likewise.
56599 * debug/memset_chk.c: Likewise.
56600 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56601 * debug/strcat_chk.c (__strcat_chk): Likewise.
56602 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56603 * debug/strncat_chk.c (__strncat_chk): Likewise.
56604 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56605 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56606 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56607 * debug/wcpncpy_chk.c: Likewise.
56608 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56609 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56610 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56611 * debug/wcsncpy_chk.c: Likewise.
56612 * debug/wcsnrtombs_chk.c: Likewise.
56613 * debug/wcsrtombs_chk.c: Likewise.
56614 * debug/wcstombs_chk.c: Likewise.
56615 * debug/wmemcpy_chk.c: Likewise.
56616 * debug/wmemmove_chk.c: Likewise.
56617 * debug/wmempcpy_chk.c: Likewise.
56618 * debug/wmemset_chk.c: Likewise.
56619 * dirent/scandirat.c (SCANDIRAT): Likewise.
56620 * dlfcn/dladdr1.c (dladdr1): Likewise.
56621 * dlfcn/dladdr.c (dladdr): Likewise.
56622 * dlfcn/dlclose.c (dlclose_doit): Likewise.
56623 * dlfcn/dlerror.c (__dlerror): Likewise.
56624 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56625 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56626 * dlfcn/dlopen.c (dlopen_doit): Likewise.
56627 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56628 * dlfcn/dlsym.c (dlsym_doit): Likewise.
56629 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56630 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56631 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56632 Likewise.
56633 * elf/dl-conflict.c: Likewise.
56634 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56635 * elf/dl-dst.h: Likewise.
56636 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56637 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56639 * elf/dl-init.c (call_init, _dl_init): Likewise.
56640 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56641 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56642 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56643 Likewise.
56644 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56645 Likewise.
56646 * elf/dl-minimal.c (__libc_memalign): Likewise.
56647 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56648 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56649 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56650 * elf/dl-sym.c (do_sym): Likewise.
56651 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56652 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56653 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56654 * elf/dl-writev.h (_dl_writev): Likewise.
56655 * elf/ldconfig.c (search_dir): Likewise.
56656 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56657 (dl_main): Likewise.
56658 * elf/setup-vdso.h (setup_vdso): Likewise.
56659 * grp/compat-initgroups.c (compat_call): Likewise.
56660 * grp/fgetgrent.c (fgetgrent): Likewise.
56661 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
56662 * grp/putgrent.c (putgrent): Likewise.
56663 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56664 Likewise.
56665 * hurd/hurdinit.c: Likewise.
56666 * iconvdata/8bit-gap.c (struct): Likewise.
56667 * iconvdata/ansi_x3.110.c : Likewise.
56668 * iconvdata/big5.c : Likewise.
56669 * iconvdata/big5hkscs.c : Likewise.
56670 * iconvdata/cp1255.c: Likewise.
56671 * iconvdata/cp1258.c : Likewise.
56672 * iconvdata/cp932.c : Likewise.
56673 * iconvdata/euc-cn.c: Likewise.
56674 * iconvdata/euc-jisx0213.c : Likewise.
56675 * iconvdata/euc-jp.c: Likewise.
56676 * iconvdata/euc-jp-ms.c : Likewise.
56677 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
56678 * iconvdata/gb18030.c : Likewise.
56679 * iconvdata/gbbig5.c (const): Likewise.
56680 * iconvdata/gbgbk.c: Likewise.
56681 * iconvdata/gbk.c : Likewise.
56682 * iconvdata/ibm1364.c : Likewise.
56683 * iconvdata/ibm930.c : Likewise.
56684 * iconvdata/ibm932.c: Likewise.
56685 * iconvdata/ibm933.c : Likewise.
56686 * iconvdata/ibm935.c : Likewise.
56687 * iconvdata/ibm937.c : Likewise.
56688 * iconvdata/ibm939.c : Likewise.
56689 * iconvdata/ibm943.c: Likewise.
56690 * iconvdata/iso_11548-1.c: Likewise.
56691 * iconvdata/iso-2022-cn.c : Likewise.
56692 * iconvdata/iso-2022-cn-ext.c : Likewise.
56693 * iconvdata/iso-2022-jp-3.c: Likewise.
56694 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
56695 * iconvdata/iso-2022-kr.c : Likewise.
56696 * iconvdata/iso646.c (gconv_end): Likewise.
56697 * iconvdata/iso_6937-2.c : Likewise.
56698 * iconvdata/iso_6937.c : Likewise.
56699 * iconvdata/iso8859-1.c: Likewise.
56700 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
56701 * iconvdata/shift_jisx0213.c : Likewise.
56702 * iconvdata/sjis.c : Likewise.
56703 * iconvdata/t.61.c : Likewise.
56704 * iconvdata/tcvn5712-1.c : Likewise.
56705 * iconvdata/tscii.c: Likewise.
56706 * iconvdata/uhc.c : Likewise.
56707 * iconvdata/unicode.c (gconv_end): Likewise.
56708 * iconvdata/utf-16.c (gconv_end): Likewise.
56709 * iconvdata/utf-32.c (gconv_end): Likewise.
56710 * iconvdata/utf-7.c (base64): Likewise.
56711 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
56712 * iconv/gconv_close.c (__gconv_close): Likewise.
56713 * iconv/gconv_open.c (__gconv_open): Likewise.
56714 * iconv/gconv_simple.c (internal_ucs4_loop_single)
56715 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
56716 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
56717 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
56718 (ucs4le_internal_loop_single): Likewise.
56719 * iconv/iconv.c (iconv): Likewise.
56720 * iconv/iconv_close.c: Likewise.
56721 * iconv/loop.c (SINGLE): Likewise.
56722 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
56723 * include/atomic.h: Likewise.
56724 * inet/inet6_option.c (option_alloc): Likewise.
56725 * intl/bindtextdom.c (set_binding_values): Likewise.
56726 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
56727 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
56728 * intl/localealias.c (read_alias_file): Likewise.
56729 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
56730 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
56731 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
56732 * libio/fmemopen.c (fmemopen): Likewise.
56733 * libio/iofgets.c (_IO_fgets): Likewise.
56734 * libio/iofgets_u.c (fgets_unlocked): Likewise.
56735 * libio/iofgetws.c (fgetws): Likewise.
56736 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
56737 * libio/iogetdelim.c (_IO_getdelim): Likewise.
56738 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
56739 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
56740 * locale/findlocale.c (_nl_find_locale): Likewise.
56741 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
56742 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
56743 Likewise.
56744 * locale/setlocale.c (setlocale): Likewise.
56745 * login/programs/pt_chown.c (main): Likewise.
56746 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
56747 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
56748 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
56749 (mmap, mmap64, mremap, munmap): Likewise.
56750 * math/e_exp2l.c: Likewise.
56751 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
56752 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
56753 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
56754 * math/s_catan.c (__catan): Likewise.
56755 * math/s_catanf.c (__catanf): Likewise.
56756 * math/s_catanh.c (__catanh): Likewise.
56757 * math/s_catanhf.c (__catanhf): Likewise.
56758 * math/s_catanhl.c (__catanhl): Likewise.
56759 * math/s_catanl.c (__catanl): Likewise.
56760 * math/s_ccosh.c (__ccosh): Likewise.
56761 * math/s_ccoshf.c (__ccoshf): Likewise.
56762 * math/s_ccoshl.c (__ccoshl): Likewise.
56763 * math/s_cexp.c (__cexp): Likewise.
56764 * math/s_cexpf.c (__cexpf): Likewise.
56765 * math/s_cexpl.c (__cexpl): Likewise.
56766 * math/s_clog10.c (__clog10): Likewise.
56767 * math/s_clog10f.c (__clog10f): Likewise.
56768 * math/s_clog10l.c (__clog10l): Likewise.
56769 * math/s_clog.c (__clog): Likewise.
56770 * math/s_clogf.c (__clogf): Likewise.
56771 * math/s_clogl.c (__clogl): Likewise.
56772 * math/s_csin.c (__csin): Likewise.
56773 * math/s_csinf.c (__csinf): Likewise.
56774 * math/s_csinh.c (__csinh): Likewise.
56775 * math/s_csinhf.c (__csinhf): Likewise.
56776 * math/s_csinhl.c (__csinhl): Likewise.
56777 * math/s_csinl.c (__csinl): Likewise.
56778 * math/s_csqrt.c (__csqrt): Likewise.
56779 * math/s_csqrtf.c (__csqrtf): Likewise.
56780 * math/s_csqrtl.c (__csqrtl): Likewise.
56781 * math/s_ctan.c (__ctan): Likewise.
56782 * math/s_ctanf.c (__ctanf): Likewise.
56783 * math/s_ctanh.c (__ctanh): Likewise.
56784 * math/s_ctanhf.c (__ctanhf): Likewise.
56785 * math/s_ctanhl.c (__ctanhl): Likewise.
56786 * math/s_ctanl.c (__ctanl): Likewise.
56787 * math/w_pow.c: Likewise.
56788 * math/w_powf.c: Likewise.
56789 * math/w_powl.c: Likewise.
56790 * math/w_scalb.c (sysv_scalb): Likewise.
56791 * math/w_scalbf.c (sysv_scalbf): Likewise.
56792 * math/w_scalbl.c (sysv_scalbl): Likewise.
56793 * misc/error.c (error_tail): Likewise.
56794 * misc/pselect.c (__pselect): Likewise.
56795 * nis/nis_callback.c (__nis_create_callback): Likewise.
56796 * nis/nis_call.c (__nisfind_server): Likewise.
56797 * nis/nis_creategroup.c (nis_creategroup): Likewise.
56798 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56799 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56800 * nis/nis_getservlist.c (nis_getservlist): Likewise.
56801 * nis/nis_lookup.c (nis_lookup): Likewise.
56802 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56803 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56804 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56805 * nis/nis_xdr.c (xdr_endpoint): Likewise.
56806 * nis/nss_compat/compat-grp.c (getgrent_next_file)
56807 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56808 * nis/nss_compat/compat-initgroups.c (add_group)
56809 (internal_getgrent_r): Likewise.
56810 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56811 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56812 * nis/nss_compat/compat-spwd.c (getspent_next_file)
56813 (internal_getspnam_r): Likewise.
56814 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56815 (_nss_nis_getaliasbyname_r): Likewise.
56816 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56817 (_nss_nis_getntohost_r): Likewise.
56818 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56819 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56820 (_nss_nis_getgrgid_r): Likewise.
56821 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56822 (internal_nis_gethostent_r, internal_gethostbyname2_r)
56823 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56824 (_nss_nis_gethostbyname4_r): Likewise.
56825 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56826 (initgroups_netid): Likewise.
56827 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56828 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56829 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56830 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56831 (_nss_nis_getprotobynumber_r): Likewise.
56832 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56833 (_nss_nis_getsecretkey): Likewise.
56834 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56835 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56836 (_nss_nis_getpwuid_r): Likewise.
56837 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56838 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56839 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56840 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56841 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56842 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56843 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56844 Likewise.
56845 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56846 (_nss_nisplus_getntohost_r): Likewise.
56847 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56848 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56849 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56850 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56851 Likewise.
56852 * nis/nss_nisplus/nisplus-initgroups.c
56853 (_nss_nisplus_initgroups_dyn): Likewise.
56854 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56855 (_nss_nisplus_getnetbyaddr_r): Likewise.
56856 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56857 (_nss_nisplus_getprotobynumber_r): Likewise.
56858 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56859 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56860 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56861 Likewise.
56862 * nis/nss_nisplus/nisplus-service.c
56863 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56864 (_nss_nisplus_getservbyport_r): Likewise.
56865 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56866 (_nss_nisplus_getspnam_r): Likewise.
56867 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56868 Likewise.
56869 * nscd/aicache.c (addhstaiX): Likewise.
56870 * nscd/cache.c (cache_search, prune_cache): Likewise.
56871 * nscd/connections.c (register_traced_file, send_ro_fd)
56872 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56873 (main_loop_epoll): Likewise.
56874 * nscd/grpcache.c (addgrbyX): Likewise.
56875 * nscd/hstcache.c (addhstbyX): Likewise.
56876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56877 * nscd/mem.c (gc, mempool_alloc): Likewise.
56878 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56879 (addinnetgrX): Likewise.
56880 * nscd/nscd-client.h (__nscd_acquire_maplock)
56881 (__nscd_drop_map_ref): Likewise.
56882 * nscd/nscd_getai.c (__nscd_getai): Likewise.
56883 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56884 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56885 Likewise.
56886 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56887 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56888 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56889 (__nscd_get_map_ref): Likewise.
56890 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56891 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56892 Likewise.
56893 * nscd/pwdcache.c (addpwbyX): Likewise.
56894 * nscd/selinux.c (preserve_capabilities): Likewise.
56895 * nscd/servicescache.c (addservbyX): Likewise.
56896 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56897 * posix/fnmatch.c (fnmatch): Likewise.
56898 * posix/getopt.c (_getopt_internal_r): Likewise.
56899 * posix/glob.c (glob, glob_in_dir): Likewise.
56900 * posix/wordexp.c (exec_comm_child): Likewise.
56901 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56902 (getanswer_r, gaih_getanswer_slice): Likewise.
56903 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56904 * resolv/res_init.c: Likewise.
56905 * resolv/res_mkquery.c (res_nmkquery): Likewise.
56906 * resolv/res_query.c (__libc_res_nquery): Likewise.
56907 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56908 Likewise.
56909 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56910 * stdio-common/perror.c (perror): Likewise.
56911 * stdio-common/printf_fp.c (___printf_fp): Likewise.
56912 * stdio-common/tmpnam.c (tmpnam): Likewise.
56913 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56914 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56915 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56916 Likewise.
56917 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56918 * stdlib/putenv.c (putenv): Likewise.
56919 * stdlib/setenv.c (__add_to_environ): Likewise.
56920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56921 * stdlib/strtol_l.c (INTERNAL): Likewise.
56922 * string/memmem.c (memmem): Likewise.
56923 * string/strerror.c (strerror): Likewise.
56924 * string/strnlen.c (__strnlen): Likewise.
56925 * string/test-memmem.c (simple_memmem): Likewise.
56926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56927 * sunrpc/pm_getport.c (__get_socket): Likewise.
56928 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56929 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56930 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56931 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56932 Likewise.
56933 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56935 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56936 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56937 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56938 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56939 Likewise.
56940 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56941 Likewise.
56942 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56943 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56944 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56945 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56946 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56948 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56950 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56951 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56952 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56953 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56954 Likewise.
56955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56956 Likewise.
56957 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56958 Likewise.
56959 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56960 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56962 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56963 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56964 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56965 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56966 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56967 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56968 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56969 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56971 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56972 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56973 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56974 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56975 Likewise.
56976 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56977 Likewise.
56978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56979 Likewise.
56980 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56981 Likewise.
56982 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56983 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56984 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56985 Likewise.
56986 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56987 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56988 * sysdeps/posix/opendir.c (__opendirat): Likewise.
56989 * sysdeps/posix/sleep.c: Likewise.
56990 * sysdeps/posix/tempname.c: Likewise.
56991 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56992 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56993 Likewise.
56994 * sysdeps/powerpc/powerpc32/dl-machine.h
56995 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56996 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56998 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56999 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57000 Likewise.
57001 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57002 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57003 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57004 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57005 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57006 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57007 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57008 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57009 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57010 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57012 (elf_machine_lazy_rel): Likewise.
57013 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57015 (elf_machine_lazy_rel): Likewise.
57016 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57017 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57018 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57019 * sysdeps/unix/grantpt.c (grantpt): Likewise.
57020 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57021 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57022 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57023 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57024 Likewise.
57025 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57026 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57027 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57028 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57029 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57030 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57031 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57032 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57034 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57035 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57036 Likewise.
57037 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57038 (__posix_fallocate64_l64): Likewise.
57039 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57040 (posix_fallocate): Likewise.
57041 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57042 Likewise.
57043 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57044 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57045 (getifaddrs_internal): Likewise.
57046 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57047 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57048 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57049 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57050 * sysdeps/unix/sysv/linux/posix_fallocate64.c
57051 (__posix_fallocate64_l64): Likewise.
57052 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57053 Likewise.
57054 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57055 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57056 (__get_clockfreq): Likewise.
57057 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57058 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57059 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57062 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57063 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57064 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57065 Likewise.
57066 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57067 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57068 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57069 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57070 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57071 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57072 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57073 Likewise.
57074 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57075 (posix_fallocate): Likewise.
57076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57077 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57078 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57079 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57080 (elf_machine_rela, elf_machine_rela_relative)
57081 (elf_machine_lazy_rel): Likewise.
57082 * time/asctime.c (asctime_internal): Likewise.
57083 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57084 * time/tzset.c (__tzset_parse_tz): Likewise.
57085 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57086 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57087 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57088 * wcsmbs/wcsmbsload.h: Likewise.
57089
57090 [BZ #15894]
57091 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57092
57093 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57094 (arena_get2): Remove THREAD_STATS conditionals.
57095 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57096 (__malloc_stats, int): Likewise.
57097
57098 2014-02-08 Mike Frysinger <vapier@gentoo.org>
57099
57100 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57101 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
57102
57103 * manual/setjmp.texi: Fix typos/grammar errors.
57104
57105 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57106 Only return early when n is <= 0. Delete unused return statement.
57107
57108 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57109 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57110 * debug/tst-longjmp_chk3.c: New file.
57111
57112 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57113 (test_main): Replace code with set_fortify_handler call.
57114 * debug/test-strcpy_chk.c: Likewise.
57115 * debug/tst-chk1.c: Likewise.
57116 * debug/tst-longjmp_chk.c: Likewise.
57117 * test-skeleton.c: Include fcntl.h & paths.h
57118 (set_fortify_handler): Define.
57119
57120 * debug/tst-longjmp_chk.c: Add header comment and include
57121 ../test-skeleton.c.
57122 (do_test): Mark static.
57123 (TEST_FUNCTION): Define.
57124
57125 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57126 (IP_PMTUDISC_INTERFACE): Likewise.
57127 (IP_MULTICAST_IF): Likewise.
57128 (IP_MULTICAST_TTL): Likewise.
57129 (IP_MULTICAST_LOOP): Likewise.
57130 (IP_ADD_MEMBERSHIP): Likewise.
57131 (IP_DROP_MEMBERSHIP): Likewise.
57132 (IP_UNBLOCK_SOURCE): Likewise.
57133 (IP_BLOCK_SOURCE): Likewise.
57134 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57135 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57136 (IP_MSFILTER): Likewise.
57137 (MCAST_JOIN_GROUP): Likewise.
57138 (MCAST_BLOCK_SOURCE): Likewise.
57139 (MCAST_UNBLOCK_SOURCE): Likewise.
57140 (MCAST_LEAVE_GROUP): Likewise.
57141 (MCAST_JOIN_SOURCE_GROUP): Likewise.
57142 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57143 (MCAST_MSFILTER): Likewise.
57144 (IP_MULTICAST_ALL): Likewise.
57145 (IP_UNICAST_IF): Likewise.
57146
57147 * timezone/Makefile: Delete $(have-ksh) check.
57148 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57149 * timezone/tzselect.ksh: Add +x mode bits.
57150
57151 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57152 (ANON_INODE_FS_MAGIC): Likewise.
57153 (BDEVFS_MAGIC): Likewise.
57154 (BINFMTFS_MAGIC): Likewise.
57155 (BTRFS_TEST_MAGIC): Likewise.
57156 (CRAMFS_MAGIC_WEND): Likewise.
57157 (DEBUGFS_MAGIC): Likewise.
57158 (ECRYPTFS_SUPER_MAGIC): Likewise.
57159 (EXT3_SUPER_MAGIC): Likewise.
57160 (EXT4_SUPER_MAGIC): Likewise.
57161 (FUTEXFS_SUPER_MAGIC): Likewise.
57162 (HOSTFS_SUPER_MAGIC): Likewise.
57163 (HUGETLBFS_MAGIC): Likewise.
57164 (MINIX3_SUPER_MAGIC): Likewise.
57165 (MTD_INODE_FS_MAGIC): Likewise.
57166 (NILFS_SUPER_MAGIC): Likewise.
57167 (OPENPROM_SUPER_MAGIC): Likewise.
57168 (PIPEFS_MAGIC): Likewise.
57169 (PSTOREFS_MAGIC): Likewise.
57170 (QNX6_SUPER_MAGIC): Likewise.
57171 (RAMFS_MAGIC): Likewise.
57172 (REISERFS_SUPER_MAGIC_STRING): Likewise.
57173 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57174 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57175 (SECURITYFS_MAGIC): Likewise.
57176 (SELINUX_MAGIC): Likewise.
57177 (SMACK_MAGIC): Likewise.
57178 (SOCKFS_MAGIC): Likewise.
57179 (SQUASHFS_MAGIC): Likewise.
57180 (STACK_END_MAGIC): Likewise.
57181 (TMPFS_MAGIC): Likewise.
57182 (USBDEVICE_SUPER_MAGIC): Likewise.
57183 (V9FS_MAGIC): Likewise.
57184 (XENFS_SUPER_MAGIC): Likewise.
57185 (CRAMFS_MAGIC): Fix typo in comment.
57186 (EXT2_SUPER_MAGIC): Update comment.
57187 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57188
57189 2014-02-08 Joseph Myers <joseph@codesourcery.com>
57190
57191 * sysdeps/arm: Move directory from ports/sysdeps/arm.
57192 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57193 * sysdeps/unix/sysv/linux/arm: Move directory from
57194 ports/sysdeps/unix/sysv/linux/arm.
57195 * README: Update listing for arm-*-linux-gnueabi.
57196
57197 * README: Remove mention of am33.
57198
57199 2014-02-07 Roland McGrath <roland@hack.frob.com>
57200
57201 * bits/sigset.h (__sigemptyset): Use a statement expression rather
57202 than the comma operator, to avoid "rhs of comma has no effect"
57203 compiler warnings.
57204 (__sigfillset, __sigandset, __sigorset): Likewise.
57205 * include/signal.h (__sigemptyset): Likewise.
57206 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57207
57208 2014-02-07 Allan McRae <allan@archlinux.org>
57209
57210 * version.h (RELEASE): Set to "development".
57211 (VERSION): Set to "2.19.90"
57212 * NEWS: Add 2.20 section.
57213
57214 2014-02-06 Carlos O'Donell <carlos@redhat.com>
57215
57216 [BZ #16529]
57217 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57218
57219 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57220
57221 * manual/contrib.texi: Update entry for Carlos O'Donell,
57222 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57223
57224 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
57225
57226 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57227
57228 * sysdeps/unix/sysv/linux/kernel-features.h
57229 [__LINUX_KERNEL_VERSION >= 0x020621]
57230 (__ASSUME_PROC_PID_TASK_COMM): Define.
57231
57232 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
57233
57234 [BZ #16398]
57235 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57236 conversion when destination buffer does not have enough space.
57237 * libio/tst-ftell-partial-wide.c: New test case.
57238 * libio/Makefile (tests): Add tst-ftell-partial-wide.
57239
57240 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57241 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
57242 Leonard and Allan McRae.
57243
57244 2014-02-04 David S. Miller <davem@davemloft.net>
57245
57246 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57247 32-bit.
57248
57249 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57250
57251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57252 New file
57253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57254 New file
57255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57256 New file.
57257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57258 New file.
57259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57260 New file.
57261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57262 New file.
57263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57264 New file.
57265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57266 New file.
57267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57268 New file.
57269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57270 New file.
57271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57272 New file.
57273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57274 New file.
57275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57276 New file.
57277
57278 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57279
57280 * nptl/shlib-versions: Change powerpc*le start to 2.17.
57281 * shlib-versions: Likewise.
57282
57283 2014-02-04 Roland McGrath <roland@hack.frob.com>
57284 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57285
57286 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57287 (abilist-pattern): New variable, set to %-le.abilist.
57288
57289 * Makerules (abilist-pattern): New variable.
57290 (vpath): Use $(abilist-pattern) in place of %.abilist.
57291 (check-abi-% pattern rule): Likewise.
57292 (check-abi, update-abi): Likewise.
57293
57294 2014-02-04 Eric Wong <normalperson@yhbt.net>
57295
57296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57297
57298 2014-02-03 Carlos O'Donell <carlos@redhat.com>
57299
57300 * manual/startup.texi: Add next, previous, and top entries for
57301 the `Program Arguments' and `Environment Variables' nodes.
57302
57303 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
57304
57305 * manual/macros.texi: Add comments before MTASC-safety macros.
57306
57307 * manual/users.texi: Document MTASC-safety properties.
57308
57309 * manual/threads.texi (pthread_key_create, pthread_key_delete)
57310 (pthread_getspecific, pthread_setspecific): Format with
57311 @deftypefun, and add @safety note.
57312 * manual/signal.texi: Move comments that analyze the above
57313 functions to their home place.
57314
57315 2014-02-03 Allan McRae <allan@archlinux.org>
57316
57317 * po/sl.po: Update Slovenian translation from translation project.
57318
57319 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
57320
57321 * manual/time.texi (timegm): Add missing blank after @c.
57322 Reported by Joseph Myers <joseph@codesourcery.com>.
57323
57324 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
57325
57326 * manual/check-safety.sh: New.
57327 * manual/Makefile ($(objpfx)stamp-summary): Run it.
57328
57329 * manual/terminal.texi: Document MTASC-safety properties.
57330
57331 * manual/filesys.texi: Document MTASC-safety properties.
57332
57333 * manual/errno.texi: Document MTASC-safety properties.
57334
57335 * manual/intro.texi: Document safety identifiers and
57336 conditionals.
57337
57338 * manual/string.texi (wcstok): Fix prototype.
57339 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57340
57341 * manual/time.texi: Document MTASC-safety properties.
57342
57343 * manual/string.texi: Document MTASC-safety properties.
57344
57345 * manual/threads.texi: Document MTASC-safety properties.
57346
57347 * manual/stdio.texi: Document MTASC-safety properties.
57348
57349 * manual/syslog.texi: Document MTASC-safety properties.
57350
57351 * manual/sysinfo.texi: Document MTASC-safety properties.
57352
57353 * manual/startup.texi: Document MTASC-safety properties.
57354
57355 * manual/socket.texi: Document MTASC-safety properties.
57356
57357 * manual/signal.texi: Document MTASC-safety properties.
57358
57359 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
57360
57361 * manual/setjmp.texi: Document MTASC-safety properties.
57362
57363 * manual/search.texi: Document MTASC-safety properties.
57364
57365 * manual/resource.texi: Document MTASC-safety properties.
57366
57367 * manual/process.texi: Document MTASC-safety properties.
57368
57369 * manual/platform.texi: Document MTASC-safety properties.
57370
57371 * manual/pipe.texi: Document MTASC-safety properties.
57372
57373 * manual/pattern.texi: Document MTASC-safety properties.
57374
57375 * manual/message.texi: Document MTASC-safety properties.
57376
57377 [BZ #12751]
57378 * manual/memory.texi: Document MTASC-safety properties.
57379
57380 * manual/math.texi: Document MTASC-safety properties.
57381
57382 * manual/locale.texi: Document MTASC-safety properties.
57383
57384 * manual/llio.texi: Document MTASC-safety properties.
57385
57386 * manual/libdl.texi: New.
57387
57388 * manual/lang.texi: Document MTASC-safety properties.
57389
57390 * manual/job.texi: Document MTASC-safety properties.
57391
57392 * manual/getopt.texi: Document MTASC-safety properties.
57393
57394 * manual/ctype.texi: Document MTASC-safety properties.
57395
57396 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
57397
57398 [BZ #16046]
57399 * csu/libc-tls.c (static_map): Remove variable.
57400 (__libc_setup_tls): Use main executable's link map for TLS data.
57401 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57402 casing for LM_ID_BASE and GL(dl_nns).
57403 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57404 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
57405 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57406 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57407 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57408 member.
57409 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57410 l_phnum members.
57411
57412 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
57413
57414 * manual/debug.texi: Document MTASC-safety properties.
57415
57416 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
57417
57418 [BZ #16510]
57419 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57420 of __x86_64__ when disabling x87 inline functions.
57421
57422 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
57423
57424 * manual/charset.texi: Document MTASC-safety properties.
57425
57426 * manual/crypt.texi: Document MTASC-safety properties.
57427
57428 * manual/conf.texi: Document MTASC-safety properties.
57429
57430 * manual/arith.texi: Document MTASC-safety properties.
57431
57432 * manual/argp.texi: Document MTASC-safety properties.
57433
57434 * manual/macros.texi: Introduce macros to document multi
57435 thread, asynchronous signal and asynchronous cancellation
57436 safety properties.
57437 * manual/intro.texi: Introduce the properties themselves.
57438
57439 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57440
57441 * sysdeps/sh/sh4/Makefile: New file.
57442
57443 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
57444
57445 * math/gen-libm-test.pl ($srcdir): New variable.
57446 ($auto_input): Use it.
57447
57448 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57449
57450 [BZ #16506]
57451 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57452 access beyond array bounds when parsing netgroups file.
57453
57454 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57455 the old buffer before realloc.
57456
57457 2014-01-27 Allan McRae <allan@archlinux.org>
57458
57459 * po/fr.po: Update French translation from translation project.
57460
57461 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57462
57463 * sysdeps/sh/libm-test-ulps: Regenerate.
57464
57465 2014-01-24 David S. Miller <davem@davemloft.net>
57466
57467 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57468
57469 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57470
57471 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57472 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57473
57474 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57475
57476 [BZ #16474]
57477 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57478 string pointers after reallocation.
57479
57480 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57481
57482 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57483 __SH4A__ instead of __SH_FPU_ANY__.
57484
57485 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57486
57487 * sysdeps/sh/fpu_control.h: New file.
57488 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57489 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57490 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57491 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57492 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57493 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57494 * sysdeps/sh/sys/ucontext.h: Remove.
57495 * sysdeps/sh/sys: Remove directory.
57496
57497 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57498
57499 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57500 s390/sys/ucontext.h.
57501 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57502 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57503
57504 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
57505
57506 [BZ #15605]
57507 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57508
57509 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57510
57511 [BZ #16431]
57512 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57513 Adjust the vDSO correctly for internal calls.
57514 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57515
57516 2014-01-20 Allan McRae <allan@archlinux.org>
57517
57518 * po/ca.po: Update Catalan translation from translation project.
57519
57520 2014-01-16 Mike Frysinger <vapier@gentoo.org>
57521
57522 * sysdeps/s390/sotruss-lib.c: New file.
57523
57524 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57525
57526 [BZ #16430]
57527 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57528 (__GI___gettimeofday): Alias for a different internal symbol to avoid
57529 local calls issues by not having a PLT stub required for IFUNC calls.
57530 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57531
57532 2014-01-16 Joseph Myers <joseph@codesourcery.com>
57533
57534 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57535 * math/test-fpucw-static.c: Likewise.
57536
57537 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57538
57539 [BZ #16453]
57540 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57541
57542 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57543
57544 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57545 implementation for powerpc.
57546
57547 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
57548
57549 [BZ #14782]
57550 * sysdeps/posix/system.c (__libc_system): Do not enable
57551 asynchronous cancellation.
57552
57553 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57554
57555 [BZ #16427]
57556 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57557 handling only for numbers special also in the IEEE case.
57558
57559 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57560
57561 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57562
57563 2014-01-11 Allan McRae <allan@archlinux.org>
57564
57565 * po/bg.po: Update Bulgarian translation from translation project.
57566
57567 * po/de.po: Update German translation from translation project.
57568
57569 2014-01-10 Roland McGrath <roland@hack.frob.com>
57570
57571 * sysdeps/generic/gcc-compat.h: New file.
57572
57573 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57574
57575 * benchtests/asin-inputs: Correct slow inputs.
57576 * benchtests/acos-inputs: Likewise.
57577
57578 2014-01-10 Allan McRae <allan@archlinux.org>
57579
57580 * po:sv.po: Update Swedish translation from translation project.
57581
57582 * po/vi.po: Update Vietnamese translation from translation project.
57583
57584 * po/eo.po: Update Esperanto translation from translation project.
57585
57586 * po/cs.po: Update Czech translation from translation project.
57587
57588 * po/nl.po: Update Dutch translation from translation project.
57589
57590 * po/pl.po: Update Polish translation from translation project.
57591
57592 * po/ru.po: Update Russian translation from translation project.
57593
57594 * po/uk.po: Update Ukrainian translation from translation project.
57595
57596 2014-01-08 Brooks Moses <bmoses@google.com>
57597
57598 * elf/dl-load.c: Fix comment typo.
57599
57600 2014-01-08 Carlos O'Donell <carlos@redhat.com>
57601
57602 * po/header.pot: Rename to...
57603 * po/pot.header: ... this.
57604 * po/Makefile: Use pot.header.
57605
57606 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
57607 Maxim Kuvyrkov <maxim@kugelworks.com>
57608
57609 [BZ #16394]
57610 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57611 SRC and DEST against LEN.
57612
57613 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57614
57615 [BZ #16414]
57616 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57617 implementation.
57618 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57619
57620 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57621
57622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57623
57624 2014-01-08 Joseph Myers <joseph@codesourcery.com>
57625
57626 [BZ #16408]
57627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57628 for large positive arguments.
57629
57630 2014-01-07 Joseph Myers <joseph@codesourcery.com>
57631
57632 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57633
57634 * math/auto-libm-test-in: Mark various tests with
57635 xfail-rounding:ldbl-128ibm.
57636 * math/auto-libm-test-out: Regenerated.
57637
57638 [BZ #16407]
57639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57640 Increase overflow threshold.
57641
57642 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
57643
57644 [BZ #14286]
57645 * stdio-common/vfprintf.c: Check for integer overflow.
57646
57647 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57648
57649 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57650 the first argument and return value of __tls_get_addr_internal.
57651
57652 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57653
57654 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57655 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57656
57657 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57658
57659 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
57660 * sysdeps/s390/rtld-global-offsets.sym: New file.
57661 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
57662 GLIBC_2.19 symbol.
57663 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
57664 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
57665 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
57666 ... this.
57667 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
57668 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
57669 ... this.
57670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57671 Regenerate.
57672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57673 Regenerate.
57674 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
57675 halfs of GPRs for high_gprs contexts.
57676 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
57677 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
57678 field.
57679 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57680 uc_flags field.
57681 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
57682 64 bit versions:
57683 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
57684 for high GPRs (uc_high_gprs) and for future extensions
57685 (__reserved).
57686 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
57687 for future extensions (__reserved).
57688 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
57689 64 bit versions:
57690 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
57691 SC_HIGHGPRS offset definition.
57692 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
57693 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
57694
57695 * Versions.def: Add GLIBC_2.19 for libpthread.
57696 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
57697 siglongjmp for libpthread with GLIBC_2.19 symver.
57698 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
57699 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
57700 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57701 * sysdeps/s390/__longjmp.c: New file.
57702 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
57703 * sysdeps/s390/longjmp.c: New file.
57704 * sysdeps/s390/setjmp.S: New file.
57705 * sysdeps/s390/sigjmp.S: New file.
57706 * sysdeps/s390/v1-longjmp.c: New file.
57707 * sysdeps/s390/v1-setjmp.h: New file.
57708 * sysdeps/s390/v1-sigjmp.c: New file.
57709 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
57710 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
57711 GLIBC_2.19 version.
57712 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
57713 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
57714 versioned symbols for ____longjmp_chk.
57715 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
57716 Likewise.
57717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57718 Regenerate.
57719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57720 Regenerate.
57721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57722 Regenerate.
57723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57724 Regenerate.
57725 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
57726 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
57727 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
57728 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
57729 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
57730 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
57731 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
57732 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
57733 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
57734 * sysdeps/s390/rtld-__longjmp.c: New file.
57735 * sysdeps/s390/rtld-setjmp.S: New file.
57736
57737 2014-01-06 Joseph Myers <joseph@codesourcery.com>
57738
57739 [BZ #16400]
57740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57741 Return -__logl (x) for small positive arguments without evaluating
57742 a polynomial.
57743
57744 2014-01-06 Mike Frysinger <vapier@gentoo.org>
57745
57746 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
57747 Rename to ...
57748 (__ptrace_peeksiginfo_args): ... this.
57749 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57751 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57752
57753 2014-01-06 Allan McRae <allan@archlinux.org>
57754
57755 * inet/netinet/in.h: Fix typo in comment.
57756
57757 2014-01-05 Andreas Jaeger <aj@suse.de>
57758
57759 * sysdeps/i386/fpu/libm-test-ulps: Update.
57760
57761 2014-01-05 Allan McRae <allan@archlinux.org>
57762
57763 * po/libc.pot: Regenerated.
57764
57765 * malloc/memusagestat.c: Fix gettext call formatting.
57766
57767 2014-01-04 Sami Kerola <kerolasa@iki.fi>
57768
57769 * nscd/nscd.c: Improve usage() output.
57770
57771 2014-01-04 Mike Frysinger <vapier@gentoo.org>
57772
57773 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
57774 * sysdeps/unix/sysv/linux/configure: Regenerated.
57775 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
57776 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57777
57778 2014-01-03 Joseph Myers <joseph@codesourcery.com>
57779
57780 [BZ #16390]
57781 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57782 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57783
57784 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57785
57786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57787 extra tokens at end of #undef directive.
57788 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57789 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57790 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57791
57792 2014-01-03 Joseph Myers <joseph@codesourcery.com>
57793
57794 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57795
57796 * math/auto-libm-test-in: Mark various tests with
57797 xfail-rounding:ldbl-128ibm.
57798 * math/auto-libm-test-out: Regenerated.
57799
57800 2014-01-02 Joseph Myers <joseph@codesourcery.com>
57801
57802 [BZ #16386]
57803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57804 numbers with subnormal high part when calculating exponent.
57805
57806 [BZ #16385]
57807 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57808 fabs.
57809
57810 [BZ #16384]
57811 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57812 M_LN2l.
57813 (__ieee754_acoshl): Use __log1pl not __log1p.
57814
57815 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
57816
57817 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57818 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57819 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57820 (grow_heap, heap_trim, _int_new_arena, get_free_list)
57821 (reused_arena, arena_get2): Convert to GNU style.
57822 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57823 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57824 (memalign_check, __malloc_set_state): Likewise.
57825 * malloc/mallocbug.c (main): Likewise.
57826 * malloc/malloc.c (__malloc_assert, malloc_init_state)
57827 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57828 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57829 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57830 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57831 (__posix_memalign, malloc_info): Likewise.
57832 * malloc/malloc.h: Likewise.
57833 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57834 (mallochook, memalignhook, reallochook, mabort): Likewise.
57835 * malloc/mcheck.h: Likewise.
57836 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57837 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57838 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57839 * malloc/morecore.c (__default_morecore): Likewise.
57840 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57841 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57842 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57843 (print_and_abort): Likewise.
57844 * malloc/obstack.h: Likewise.
57845 * malloc/set-freeres.c (__libc_freeres): Likewise.
57846 * malloc/tst-mallocstate.c (main): Likewise.
57847 * malloc/tst-mtrace.c (main): Likewise.
57848 * malloc/tst-realloc.c (do_test): Likewise.
57849
57850 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57851
57852 [BZ #16366]
57853 * nscd/netgroupcache.c (do_notfound): New function.
57854 (addgetnetgrentX): Use it.
57855
57856 [BZ # 16365]
57857 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57858 NSS_STATUS_NOTFOUND.
57859
57860 2014-01-01 Joseph Myers <joseph@codesourcery.com>
57861
57862 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57864
57865 2014-01-01 Allan McRae <allan@archlinux.org>
57866
57867 * scripts/update-copyrights: Update configure input file suffix.
57868
57869 * NEWS: Update copyright year.
57870 * catgets/gencat.c: Likewise.
57871 * csu/version.c: Likewise.
57872 * debug/catchsegv.sh: Likewise.
57873 * debug/pcprofiledump.c: Likewise.
57874 * debug/xtrace.sh: Likewise.
57875 * elf/ldconfig.c: Likewise.
57876 * elf/ldd.bash.in: Likewise.
57877 * elf/pldd.c: Likewise.
57878 * elf/sotruss.ksh: Likewise.
57879 * elf/sprof.c: Likewise.
57880 * iconv/iconv_prog.c: Likewise.
57881 * iconv/iconvconfig.c: Likewise.
57882 * locale/programs/locale.c: Likewise.
57883 * locale/programs/localedef.c: Likewise.
57884 * login/programs/pt_chown.c: Likewise.
57885 * malloc/memusage.sh: Likewise.
57886 * malloc/memusagestat.c: Likewise.
57887 * malloc/mtrace.pl: Likewise.
57888 * manual/libc.texinfo: Likewise.
57889 * nscd/nscd.c: Likewise.
57890 * nss/getent.c: Likewise.
57891 * nss/makedb.c: Likewise.
57892 * posix/getconf.c: Likewise.
57893 * scripts/test-installation.pl: Likewise.
57894
57895 * All files with FSF copyright notices: Update copyright dates
57896 using scripts/update-copyrights.
57897 * intl/plural.c: Regenerated.
57898 * locale/programs/charmap-kw.h: Likewise.
57899 * locale/programs/locfile-kw.h: Likewise.
57900
57901 2013-12-31 Mike Frysinger <vapier@gentoo.org>
57902
57903 * sysdeps/unix/sysv/linux/configure: Regenerated.
57904 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57905 the linux/fanotify.h header.
57906 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57907 HAVE_LINUX_FANOTIFY_H is defined.
57908
57909 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
57910
57911 * benchtests/cos-inputs: New inputs.
57912 * benchtests/sin-inputs: Likewise.
57913
57914 * benchtests/atan-inputs: New inputs. Fix name of multiple
57915 precision fallback inputs.
57916
57917 * benchtests/atanh-inputs: New inputs.
57918 * benchtests/tanh-inputs: Likewise.
57919
57920 * benchtests/acosh-inputs: New inputs.
57921 * benchtests/asinh-inputs: Likewise.
57922
57923 * benchtests/cosh-inputs: New inputs.
57924 * benchtests/sinh-inputs: Likewise.
57925
57926 * benchtests/acos-inputs: Add more inputs.
57927 * benchtests/asin-inputs: Likewise.
57928
57929 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
57930
57931 [BZ #16375]
57932 * manual/arith.texi: Fix spelling.
57933 * manual/charset.texi: Likewise.
57934 * manual/errno.texi: Likewise.
57935 * manual/filesys.texi: Likewise.
57936 * manual/lang.texi: Likewise.
57937 * manual/llio.texi: Likewise.
57938 * manual/locale.texi: Likewise.
57939 * manual/message.texi: Likewise.
57940 * manual/resource.texi: Likewise.
57941 * manual/search.texi: Likewise.
57942 * manual/setjmp.texi: Likewise.
57943 * manual/stdio.texi: Likewise.
57944 * manual/string.texi: Likewise.
57945 * manual/sysinfo.texi: Likewise.
57946 * manual/time.texi: Likewise.
57947
57948 2013-12-27 Carlos O'Donell <carlos@redhat.com>
57949
57950 * po/sl.po: New file.
57951
57952 2013-12-27 Mike Frysinger <vapier@gentoo.org>
57953
57954 * .gitignore: Add core/.gdbinit/.gdb_history.
57955
57956 2013-12-27 Allan McRae <allan@archlinux.org>
57957
57958 [BZ #16369]
57959 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57960 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57961
57962 2013-12-24 Brooks Moses <bmoses@google.com>
57963
57964 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57965 all compilers that claim C++98 compliance, not just GCC.
57966 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57967 Likewise.
57968
57969 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
57970
57971 * NEWS: Restore accidentally deleted bug-fix entries.
57972
57973 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
57974 Ondřej Bílka <neleai@seznam.cz>
57975
57976 [BZ #15073]
57977 * malloc/malloc.c (_int_free): Perform sanity check only if we
57978 have_lock.
57979
57980 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
57981
57982 [BZ #12986]
57983 * manual/stdio.texi (String Input Conversions): Clarify that character
57984 classes are not supported.
57985
57986 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57987
57988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57989
57990 2013-12-22 Joseph Myers <joseph@codesourcery.com>
57991
57992 [BZ #16337]
57993 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57994 Calculate results for small negative arguments directly rather
57995 than using reflection formula with special underflow handling.
57996
57997 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57998 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57999 sysdeps/unix/bsd/bsd4.4/syscalls.list.
58000 (fchflags): Likewise.
58001 (revoke): Likewise.
58002 (setlogin): Likewise.
58003 (sigaltstack): Likewise.
58004 (wait4): Likewise.
58005 (sigblock): Remove.
58006 (sigsetmask): Likewise.
58007 (wait3): Likewise.
58008 (waitpid): Likewise.
58009 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58010 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58011 file.
58012 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58013 * sysdeps/unix/bsd/Makefile: ... here.
58014 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58015 * sysdeps/unix/bsd/Versions: ... here.
58016 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58017 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58018 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58019 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58020 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58021 * sysdeps/unix/bsd/sigblock.c: ... here.
58022 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58023 * sysdeps/unix/bsd/sigsetmask.c: ... here.
58024 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58025 * sysdeps/unix/bsd/sigvec.c: ... here.
58026 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58027 * sysdeps/unix/bsd/tcdrain.c: ... here.
58028 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58029 * sysdeps/unix/bsd/tcgetattr.c: ... here.
58030 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58031 * sysdeps/unix/bsd/tcsetattr.c: ... here.
58032 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58033 * sysdeps/unix/bsd/wait.c: ... here.
58034 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58035 * sysdeps/unix/bsd/wait3.c: ... here.
58036 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58037 * sysdeps/unix/bsd/waitpid.c: ... here.
58038
58039 2013-12-21 Joseph Myers <joseph@codesourcery.com>
58040
58041 [BZ #16356]
58042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58043 round-to-nearest for [!USE_AS_EXPM1L].
58044 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58045 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
58046 more tests of exp and exp10. Expect some exp10 tests to miss
58047 exceptions or fail in directed rounding modes.
58048 * math/auto-libm-test-out: Regenerated.
58049 * math/libm-test.inc (exp10_tonearest_test_data): New array.
58050 (exp10_test_tonearest): New function.
58051 (exp10_towardzero_test_data): New array.
58052 (exp10_test_towardzero): New function.
58053 (exp10_downward_test_data): New array.
58054 (exp10_test_downward): New function.
58055 (exp10_upward_test_data): New array.
58056 (exp10_test_upward): New function.
58057 (main): Call the new functions.
58058 * sysdeps/i386/fpu/libm-test-ulps: Update.
58059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58060
58061 2013-12-20 Joseph Myers <joseph@codesourcery.com>
58062
58063 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58064 asinh, atan, atan2, atanh, cbrt, cos and cosh.
58065 * math/auto-libm-test-out: Regenerated.
58066 * math/libm-test.inc (acosh_test_data): Add more tests.
58067 (atanh_test_data): Likewise.
58068 (ceil_test_data): Likewise.
58069 (copysign_test_data): Likewise.
58070 * sysdeps/i386/fpu/libm-test-ulps: Update.
58071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58072
58073 * timezone/checktab.awk: Update from tzcode 2013i.
58074 * timezone/private.h: Likewise.
58075 * timezone/scheck.c: Likewise.
58076 * timezone/tzfile.h: Likewise.
58077 * timezone/tzselect.ksh: Likewise.
58078 * timezone/zdump.c: Likewise.
58079 * timezone/zic.c: Likewise.
58080
58081 * math/auto-libm-test-in: Add tests of cpow.
58082 * math/auto-libm-test-out: Regenerated.
58083 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58084 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58085 mpc_cc_c.
58086 (func_calc_desc): Add mpc_cc_c union field.
58087 (test_functions): Add cpow.
58088 (special_fill_2pi): New function.
58089 (special_real_inputs): Add 2pi.
58090 (calc_generic_results): Handle mpc_cc_c.
58091 * sysdeps/i386/fpu/libm-test-ulps: Update.
58092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58093
58094 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58095 csqrt, ctan and ctanh.
58096 * math/auto-libm-test-out: Regenerated.
58097 * math/libm-test.inc (TEST_COND_x86_64): New macro.
58098 (TEST_COND_x86): Likewise.
58099 (ccos_test_data): Use AUTO_TESTS_c_c.
58100 (ccosh_test_data): Likewise.
58101 (cexp_test_data): Likewise.
58102 (clog_test_data): Likewise.
58103 (csqrt_test_data): Likewise.
58104 (ctan_test_data): Likewise.
58105 (ctan_tonearest_test_data): Likewise.
58106 (ctan_towardzero_test_data): Likewise.
58107 (ctan_downward_test_data): Likewise.
58108 (ctan_upward_test_data): Likewise.
58109 (ctanh_test_data): Likewise.
58110 (ctanh_tonearest_test_data): Likewise.
58111 (ctanh_towardzero_test_data): Likewise.
58112 (ctanh_downward_test_data): Likewise.
58113 (ctanh_upward_test_data): Likewise.
58114 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58115 mpc_c_c.
58116 (func_calc_desc): Add mpc_c_c union field.
58117 (FUNC_mpc_c_c): New macro.
58118 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58119 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58120 ctanh.
58121 (special_fill_min_subnorm_p120): New function.
58122 (special_real_inputs): Add min_subnorm_p120.
58123 (calc_generic_results): Handle mpc_c_c.
58124 * sysdeps/i386/fpu/libm-test-ulps: Update.
58125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58126
58127 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
58128
58129 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58130 (do_sin_slow): New functions.
58131 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58132 (cslow2, csloww1, csloww2): Use the new functions.
58133
58134 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58135 Use M to change sign of result instead of X. Assume X is
58136 positive.
58137 (csloww1): Likewise.
58138 (__sin): Adjust.
58139 (__cos): Adjust.
58140
58141 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58142 arguments A and DA.
58143 (__sin): Adjust.
58144 (__cos): Likewise.
58145
58146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58147 (__cos): Likewise.
58148 (sloww1): Don't adjust sign of DX.
58149 (csloww1): Likewise.
58150 (sloww2): Use X directly and don't adjust sign of DX.
58151 (csloww2): Likewise.
58152
58153 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58154
58155 * math/auto-libm-test-in: Add tests of cabs and carg.
58156 * math/auto-libm-test-out: Regenerated.
58157 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58158 (carg_test_data): Likewise.
58159 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58160 mpc_c_f.
58161 (func_calc_desc): Add mpc_c_f union field.
58162 (test_functions): Add cabs and carg.
58163 (calc_generic_results): Handle mpc_c_f.
58164
58165 * sysdeps/powerpc/powerpc32/libgcc-compat.S
58166 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58167 as a macro and a compat symbol.
58168 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58169 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58170 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58171 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58172 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58174 not use .hidden.
58175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58176 Likewise.
58177 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58178 Likewise.
58179 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58180 Likewise.
58181 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58182 Likewise.
58183 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58184 Likewise.
58185 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58186 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58187 from GLIBC_2.3.2.
58188
58189 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58190
58191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58192
58193 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58194
58195 * manual/texinfo.tex: Update to version 2013-11-26.10 with
58196 trailing whitespace removed.
58197 * scripts/config.guess: Update to version 2013-11-29.
58198 * scripts/config.sub: Update to version 2013-10-01.
58199
58200 * math/auto-libm-test-in: Add tests of sincos.
58201 * math/auto-libm-test-out: Regenerated.
58202 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58203 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58204 mpfr_f_11.
58205 (func_calc_desc): Add mpfr_f_11 union field.
58206 (test_functions): Add sincos.
58207 (calc_generic_results): Handle mpfr_f_11.
58208 * sysdeps/i386/fpu/libm-test-ulps: Update.
58209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58210
58211 2013-12-19 Andreas Schwab <schwab@suse.de>
58212
58213 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58214 CALL_MCOUNT.
58215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58216 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58217 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58218
58219 2013-12-19 Joseph Myers <joseph@codesourcery.com>
58220
58221 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58222 * sysdeps/i386/fpu/libm-test-ulps: Update.
58223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58224
58225 [BZ #16293]
58226 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58227 round-to-nearest mode when using frndint.
58228 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58229 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58230 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58231 Likewise.
58232 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
58233 sinh test to fail.
58234 * math/auto-libm-test-out: Regenerated.
58235 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58236 (TEST_COND_x86): Likewise.
58237 (expm1_tonearest_test_data): New array.
58238 (expm1_test_tonearest): New function.
58239 (expm1_towardzero_test_data): New array.
58240 (expm1_test_towardzero): New function.
58241 (expm1_downward_test_data): New array.
58242 (expm1_test_downward): New function.
58243 (expm1_upward_test_data): New array.
58244 (expm1_test_upward): New function.
58245 (main): Run the new test functions.
58246 * sysdeps/i386/fpu/libm-test-ulps: Update.
58247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58248
58249 * include/features.h: Update comment documenting feature test
58250 macros. Mention _DEFAULT_SOURCE in comment.
58251 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58252 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58253 _BSD_SOURCE and _SVID_SOURCE.
58254 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58255 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58256 !_SVID_SOURCE]: Likewise.
58257 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58258 (__USE_POSIX_IMPLICITLY): Define.
58259 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58260 (_POSIX_SOURCE): Undefine and redefine.
58261 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58262 (_POSIX_C_SOURCE): Likewise.
58263 * manual/creature.texi (_DEFAULT_SOURCE): Document.
58264 (Feature Test Macros): Update documentation of default features.
58265
58266 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
58267
58268 * benchtests/Makefile: Add bench-strtok.
58269 * benchtests/bench-strtok.c: New file: strtok benchtest.
58270
58271 2013-12-19 Allan McRae <allan@archlinux.org>
58272
58273 * manual/install.texi: Suppress menu for plain text output.
58274 * INSTALL: Regenerated.
58275
58276 2013-12-18 Brooks Moses <bmoses@google.com>
58277
58278 [BZ #15846]
58279 * misc/getauxval.c: Include errno.h.
58280 (__getauxval): Set errno to ENOENT if the requested type is not
58281 found.
58282 * misc/sys/auxv.h (getauxval): Document that it may set errno;
58283 don't declare with __attribute_const__.
58284 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58285 * manual/startup.texi: Document that getauxval sets errno.
58286
58287 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58288
58289 * math/auto-libm-test-in: Add tests of jn and yn.
58290 * math/auto-libm-test-out: Regenerated.
58291 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58292 (yn_test_data): Likewise.
58293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58294 mpfr_if_f.
58295 (func_calc_desc): Add mpfr_if_f union field.
58296 (FUNC_mpfr_if_f): New macro.
58297 (test_functions): Add jn and yn.
58298 (calc_generic_results): Assert type of second input for
58299 mpfr_ff_f. Handle mpfr_if_f.
58300 (output_for_one_input_case): Disable all checking for arguments
58301 fitting floating-point types in case of an integer argument.
58302 * sysdeps/i386/fpu/libm-test-ulps: Update.
58303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58304
58305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58306 Don't expect fegetround reference in libm.so.
58307
58308 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58309
58310 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58311 $(config-cflags-nofma).
58312
58313 2013-12-18 Joseph Myers <joseph@codesourcery.com>
58314
58315 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58316 * math/auto-libm-test-out: Regenerated.
58317
58318 [BZ #16338]
58319 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58320 to determine exponent and adjust argument to have exponent of -1.
58321 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58322 log2.
58323 * math/auto-libm-test-out: Regenerated.
58324 * sysdeps/i386/fpu/libm-test-ulps: Update.
58325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58326
58327 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
58328
58329 * manual/probes.texi: Remove cases when per-thread arenas are
58330 disabled.
58331
58332 2013-12-18 Andreas Schwab <schwab@suse.de>
58333
58334 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58335 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58336 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58337 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58338 * sysdeps/i386/i686/multiarch/Makefile: Update.
58339 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58340
58341 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58342
58343 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58344 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58345
58346 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
58347
58348 [BZ #15968]
58349 Support TZ transition times < 00:00:00.
58350 This is needed for version-3 tz-format files; it supports time
58351 stamps past 2037 for America/Godthab (the only entry in the tz
58352 database for which this change is relevant).
58353 * manual/time.texi (TZ Variable): Document transition times
58354 from -167:59:59 through -00:00:01.
58355 * time/tzset.c (tz_rule): Time of day is now signed.
58356 (__tzset_parse_tz): Parse negative time of day.
58357
58358 Document TZ transition times >= 25:00:00.
58359 * manual/time.texi (TZ Variable): Document transition times from
58360 25:00:00 through 167:59:59. These are already supported, and this
58361 support will help with version-3 tz-format files.
58362
58363 * manual/time.texi (TZ Variable): Modernize North America example
58364 to reflect current (i.e., 2007-and-later) daylight saving rules.
58365
58366 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58367
58368 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58369
58370 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58371 * sysdeps/unix/bsd/bits/stat.h: Likewise.
58372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58374 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58375 * sysdeps/unix/bsd/bsdstat.h: Likewise.
58376 * sysdeps/unix/bsd/clock.c: Likewise.
58377 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58378 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58379 * sysdeps/unix/bsd/init-posix.c: Likewise.
58380 * sysdeps/unix/bsd/poll.c: Likewise.
58381 * sysdeps/unix/bsd/ptsname.c: Likewise.
58382 * sysdeps/unix/bsd/seekdir.c: Likewise.
58383 * sysdeps/unix/bsd/setegid.c: Likewise.
58384 * sysdeps/unix/bsd/seteuid.c: Likewise.
58385 * sysdeps/unix/bsd/setgid.c: Likewise.
58386 * sysdeps/unix/bsd/setrgid.c: Likewise.
58387 * sysdeps/unix/bsd/setruid.c: Likewise.
58388 * sysdeps/unix/bsd/setsid.c: Likewise.
58389 * sysdeps/unix/bsd/setuid.c: Likewise.
58390 * sysdeps/unix/bsd/sigaction.c: Likewise.
58391 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58392 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58393 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58394 * sysdeps/unix/bsd/telldir.c: Likewise.
58395 * sysdeps/unix/bsd/times.c: Likewise.
58396 * sysdeps/unix/bsd/usleep.c: Likewise.
58397
58398 * misc/Makefile (install-lib): Remove libbsd-compat.a.
58399 ($(objpfx)libbsd-compat.a): Remove rule.
58400
58401 * include/features.h (__FAVOR_BSD): Do not define.
58402 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58403 features conflicting with POSIX.
58404 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58405 (_BSD_SOURCE): Remove description of not being a subset of other
58406 feature test macros.
58407 * manual/job.texi (getpgrp): Do not document BSD version.
58408 (getpgid): Do not document by reference to BSD getpgrp.
58409 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58410 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58411 * signal/signal.h [__FAVOR_BSD]: Likewise.
58412 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58413 instead of making contents conditional on [__FAVOR_BSD].
58414 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58415
58416 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58417
58418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58419
58420 2013-12-17 Joseph Myers <joseph@codesourcery.com>
58421
58422 [BZ #16314]
58423 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58424 values below 2**-450, not 2**-500.
58425 * math/auto-libm-test-in: Don't allow spurious underflow from
58426 hypot.
58427 * math/auto-libm-test-out: Regenerated.
58428
58429 [BZ #16316]
58430 [BZ #16330]
58431 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58432 values of ha and hb and sort them after adjusting subnormal
58433 arguments.
58434 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58435 Likewise.
58436 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58437 values of ea and eb and sort them after adjusting subnormal
58438 arguments.
58439 * math/auto-libm-test-in: Do not expect some hypot tests of
58440 subnormals to fail. Add more hypot tests.
58441 * math/auto-libm-test-out: Regenerated.
58442
58443 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58444
58445 [BZ #13304]
58446 * sysdeps/sh/s_fma.c: New file.
58447 * sysdeps/sh/s_fmaf.c: New file.
58448 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
58449 version.
58450 * sysdeps/sh/Implies: Add sh/soft-fp.
58451
58452 2013-12-16 Roland McGrath <roland@hack.frob.com>
58453
58454 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
58455 level of indirection to members `objname', `errstring', `malloced'.
58456 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58457 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
58458 it as the __longjmp argument (just pass 1 instead).
58459 (_dl_catch_error): Initialize C with argument pointers and address of
58460 volatile local ERRCODE rather than copying values out of C at return.
58461
58462 2013-12-16 Joseph Myers <joseph@codesourcery.com>
58463
58464 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58465 * math/auto-libm-test-out: Regenerated.
58466 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58467 (hypot_test_data): Likewise.
58468 (pow_test_data): Likewise.
58469 (pow_tonearest_test_data): Likewise.
58470 * math/gen-auto-libm-tests.c (func_calc_method): Add value
58471 mpfr_ff_f.
58472 (func_calc_desc): Add mpfr_ff_f union field.
58473 (FUNC_mpfr_ff_f): New macro.
58474 (test_functions): Add atan2, hypot and pow.
58475 (special_fill_min): New function.
58476 (special_fill_minus_min): Likewise.
58477 (special_fill_min_subnorm): Likewise.
58478 (special_fill_minus_min_subnorm): Likewise.
58479 (special_real_inputs): Add min, -min, min_subnorm and
58480 -min_subnorm.
58481 (calc_generic_results): Handle mpfr_ff_f.
58482 * sysdeps/i386/fpu/libm-test-ulps: Update.
58483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58484
58485 2013-12-16 Will Newton <will.newton@linaro.org>
58486
58487 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58488 (Aligned Memory Blocks): Add documentation for aligned_alloc
58489 and suggest it as an alternative to posix_memalign.
58490 (Hooks for Malloc): Document __memalign_hook is also called
58491 for aligned_alloc. (Summary of Malloc): Add summary for
58492 aligned alloc. Document __memalign_hook is also called
58493 for aligned_alloc.
58494
58495 2013-12-16 Will Newton <will.newton@linaro.org>
58496
58497 * manual/memory.texi (Malloc Examples): Clarify default
58498 alignment documentation. Suggest posix_memalign rather
58499 than memalign or valloc.
58500 (Aligned Memory Blocks): Remove suggestion to use memalign
58501 or valloc. Remove obsolete comment about BSD.
58502 Document memalign errno values and mark the function obsolete.
58503 Document posix_memalign returned error codes. Mark valloc
58504 as obsolete. (Hooks for Malloc): __memalign_hook is also
58505 called for posix_memalign and valloc.
58506 (Summary of Malloc): Add posix_memalign to function summary.
58507 __memalign_hook is also called for posix_memalign and valloc.
58508
58509 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58510
58511 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58512 TAYLOR_SIN.
58513 (__sin): Adjust.
58514 (__cos): Likewise.
58515 (sloww): Use mynumber union. Expand ternary operator into
58516 if-else statements.
58517 (cslow): use mynumber union.
58518
58519 2013-12-16 Allan McRae <allan@archlinux.org>
58520
58521 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58522 * configure: Regenerated.
58523
58524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58525
58526 [BZ #14120]
58527 * configure.ac: Added --enable-maintainer-mode. Check for
58528 autoconf when enabled.
58529 * configure: Regenerated.
58530
58531 * nscd/nscd.service: New file.
58532 * nscd/nscd.tmpfiles: New file.
58533
58534 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
58535
58536 [BZ #12100]
58537 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58538 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58539 * sysdeps/x86_64/multiarch/strstr.c: ... here.
58540 (strstr): Add __strstr_sse2_unaligned ifunc.
58541 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58542 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58543 (strcasestr): Remove __strcasestr_sse42 ifunc.
58544 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58545 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58547
58548 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58549
58550 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58551 * sysdeps/sh/bits/fenv.h: ... here.
58552 * sysdeps/sh/sh4/fpu/bits: Remove directory.
58553
58554 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58555
58556 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58557
58558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58559 hypotf multiarch implementations.
58560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58561 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58563 multiarch hypot for PPC64.
58564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58565 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58566 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58567 multiarch hypotf for PPC64.
58568
58569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58570 modff multiarch implementations.
58571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58574 multiarch modf for PPC64.
58575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58578 multiarch modff for PPC64.
58579
58580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58581 and logl multiarch implementations.
58582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58585 multiarch logb for PPC64.
58586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58589 multiarch logb for PPC64.
58590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58593 multiarch logb for PPC64.
58594
58595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58596 isinff multiarch implementation.
58597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58598 file.
58599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58601 multiarch isinf for PPC64.
58602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58603 file.
58604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58605 multiarch isinff for PPC64.
58606
58607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58608 finitef multiarch implementation.
58609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58610 file.
58611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58613 multiarch finite for PPC64.
58614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58615 file.
58616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58617 multiarch finitef for PPC64.
58618
58619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58620 lrint multiarch implementation.
58621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58622 file.
58623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58625 multiarch llrint for PPC64.
58626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58627 multiarch lrint for PPC64.
58628
58629 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58630 copysignf multiarch implementation.
58631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58632 file.
58633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58634 file.
58635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58636 multiarch copysign for PPC64.
58637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58638 multiarch copysignf for PPC64.
58639
58640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58641 multiarch implementation.
58642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58643 file.
58644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58645 file.
58646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58647 file.
58648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58649 file.
58650 multiarch llround for PPC64.
58651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58652 multiarch trunc for PPC64.
58653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58654 multiarch truncf for PPC64.
58655
58656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58657 multiarch implementation.
58658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
58659 file.
58660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
58661 file.
58662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
58663 file.
58664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
58665 file.
58666 multiarch llround for PPC64.
58667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
58668 multiarch round for PPC64.
58669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
58670 multiarch roundf for PPC64.
58671
58672 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
58673 multiarch implementation.
58674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
58675 file.
58676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
58677 file.
58678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
58679 file.
58680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
58681 file.
58682 multiarch llround for PPC64.
58683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
58684 multiarch floor for PPC64.
58685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
58686 multiarch floorf for PPC64.
58687
58688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
58689 multiarch implementation.
58690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
58691 file.
58692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
58693 file.
58694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
58695 file.
58696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
58697 file.
58698 multiarch llround for PPC64.
58699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
58700 multiarch ceil for PPC64.
58701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
58702 multiarch ceilf for PPC64.
58703
58704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58705 multiarch implementation.
58706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
58707 file.
58708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
58709 file.
58710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
58711 file.
58712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
58713 multiarch llround for PPC64.
58714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
58715 multiarch lround for PPC64.
58716
58717 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
58718 multiarch implementation.
58719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
58720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
58721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
58722 file.
58723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
58724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
58725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
58726 multiarch isnan for PPC64.
58727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
58728 multiarch isnanf for PPC64.
58729
58730 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
58731 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
58732 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
58733 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
58734 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
58735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
58736
58737 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
58738 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58741
58742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
58743 multiarch implementations.
58744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58745 (__libc_ifunc_impl_list): Likewise.
58746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
58747 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
58748 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
58749 multiarch stpcpy for PPC64.
58750
58751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
58752 multiarch implementations.
58753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58754 (__libc_ifunc_impl_list): Likewise.
58755 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
58756 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
58757 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
58758 multiarch strcpy for PPC64.
58759
58760 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
58761 redefine function name.
58762 (_wordcopy_fwd_dest_aligned): Likewise.
58763 (_wordcopy_bwd_aligned): Likewise.
58764 (_wordcopy_bwd_dest_aligned): Likewise.
58765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
58766 multiarch implementations.
58767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58768 (__libc_ifunc_impl_list): Likewise.
58769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
58770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
58771 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
58772 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
58773 multiarch wcscpy for PPC64.
58774
58775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
58776 multiarch implementations.
58777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58778 (__libc_ifunc_impl_list): Likewise.
58779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58780 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58781 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58783 multiarch wcscpy for PPC64.
58784
58785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58786 multiarch implementations.
58787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58788 (__libc_ifunc_impl_list): Likewise.
58789 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58790 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58791 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58792 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58793 multiarch wcsrchr for PPC64.
58794
58795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58796 multiarch implementations.
58797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58798 (__libc_ifunc_impl_list): Likewise.
58799 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58800 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58801 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58802 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58803 multiarch wcschr for PPC64.
58804
58805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58806 multiarch implementations.
58807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58808 (__libc_ifunc_impl_list): Likewise.
58809 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58810 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58811 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58812 multiarch strchrnul for PPC64.
58813
58814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58815 implementations.
58816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58817 (__libc_ifunc_impl_list): Likewise.
58818 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58819 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58820 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58821 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58822 strchr for PPC64.
58823
58824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58825 implementations.
58826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58827 (__libc_ifunc_impl_list): Likewise.
58828 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58829 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58830 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58831 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58832 strncmp for PPC64.
58833
58834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58835 multiarch implementations.
58836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58837 (__libc_ifunc_impl_list): Likewise.
58838 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58839 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58840 strncasecmp for PPC64.
58841 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58842 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58843 multiarch strncasecmp_l for PPC64.
58844
58845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58846 multiarch implementations.
58847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58848 (__libc_ifunc_impl_list): Likewise.
58849 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58850 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58851 multiarch strcasecmp for PPC64.
58852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58853 file.
58854 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58855 multiarch strcasecmp_l for PPC64.
58856
58857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58858 implementations.
58859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58860 (__libc_ifunc_impl_list): Likewise.
58861 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58862 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58863 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58864 strnlen for PPC64.
58865
58866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58867 implementations.
58868 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58869 (__libc_ifunc_impl_list): Likewise.
58870 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58871 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58872 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58873 strlen for PPC64.
58874
58875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58876 implementations.
58877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58878 (__libc_ifunc_impl_list): Likewise.
58879 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58880 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58881 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58882 rawmemrchr for PPC64.
58883
58884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58885 implementation.
58886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58887 (__libc_ifunc_impl_list): Likewise.
58888 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58889 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58890 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58891 memrchr for PPC64.
58892
58893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58894 implementation.
58895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58896 (__libc_ifunc_impl_list): Likewise.
58897 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58898 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58899 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58900 memchr for PPC64.
58901
58902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58903 implementation.
58904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58905 (__libc_ifunc_impl_list): Likewise.
58906 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58907 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58908 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58909 mempcpy for PPC64.
58910
58911 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58912 avoid cretion of __bzero symbol.
58913 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58914 Likewise.
58915 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58916 Likewise.
58917 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58918 Likewise.
58919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58920 multiarch implementations.
58921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58922 (__libc_ifunc_impl_list): Likewise.
58923 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58924 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58925 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58926 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58927 bzero for PPC32.
58928 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58929 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58930 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58931 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58932 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58933 memset for PPC64.
58934 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58935
58936 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58938 implementations.
58939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58940 (__libc_ifunc_impl_list): Likewise.
58941 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58942 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58943 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58944 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58945 memcmp for PPC64.
58946
58947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58948 multiarch for POWER/PPC64.
58949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58950 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58955 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58957 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58958 memcpy for PPC64.
58959
58960 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58961 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58962 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58963 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58964 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58965 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58966 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58967 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58968 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58969 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58970 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58971 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58972 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58973 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58974 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58982
58983 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58984
58985 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58986
58987 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58988
58989 * benchtests/Makefile (bench): Add exp2 and log2.
58990 (LDLIBS-bench-exp2): Add -lm.
58991 (LDLIBS-bench-log2): Likewise.
58992 * benchtests/exp2-inputs: New inputs file.
58993 * benchtests/log2-inputs: New inputs file.
58994 * benchtests/log-inputs: Add new inputs.
58995 * benchtests/tan-inputs: Likewise.
58996
58997 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58998
58999 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59000 definition...
59001 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59002 (csloww2): ... from here.
59003
59004 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59005 instead of structures.
59006 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59007 (POLYNOMIAL): Likewise.
59008 (TAYLOR_SLOW): Likewise.
59009 (__sin): Likewise.
59010 (__cos): Likewise.
59011 (slow1): Likewise.
59012 (slow2): Likewise.
59013 (sloww): Likewise.
59014 (sloww1); Likewise.
59015 (sloww2): Likewise.
59016 (bsloww1): Likewise.
59017 (bsloww2): Likewise.
59018 (cslow2): Likewise.
59019 (csloww): Likewise.
59020 (csloww1): Likewise.
59021 (csloww2): Likewise.
59022
59023 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
59024
59025 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59026 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59027 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59028 * malloc/hooks.c (realloc_check): Likewise.
59029
59030 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59031 * malloc/arena.c: Remove PER_THREAD conditional.
59032 [!PER_THREAD]: Remove code.
59033 (ptmalloc_unlock_all2): Likewise.
59034 (ptmalloc_init): Likewise.
59035 (_int_new_arena): Likewise.
59036 (arena_get2): Likewise.
59037 * malloc/hooks.c (__malloc_get_state): Likewise.
59038 (__malloc_set_state): Likewise.
59039 * malloc/malloc.c: Likewise.
59040 (struct malloc_state): Likewise.
59041 (struct malloc_par): Likewise.
59042 (__libc_realloc): Likewise.
59043 (__libc_mallopt): Likewise.
59044
59045 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59046
59047 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59048
59049 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
59050
59051 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59052 macro to a function. Check for zero perturb_byte.
59053 (_int_malloc, _int_free): Remove zero perturb_byte checks.
59054
59055 * malloc/malloc.c: (force_reg): Remove.
59056 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59057 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59058 force_reg by atomic_forced_read.
59059 * malloc/arena.c (ptmalloc_init): Likewise.
59060 * malloc/hooks.c (top_check): Likewise.
59061
59062 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59063
59064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59065
59066 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
59067
59068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59069
59070 2013-12-08 Joseph Myers <joseph@codesourcery.com>
59071
59072 * math/auto-libm-test-in: Add tests of lgamma.
59073 * math/auto-libm-test-out: Regenerated.
59074 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59075 (M_LOG_2_SQRT_PIl): Likewise.
59076 (lgamma_test_data): Use AUTO_TESTS_f_f1.
59077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
59078 mpfr_f_f1.
59079 (func_calc_desc): Add mpfr_f_f1 union field.
59080 (ARGS1): New macro.
59081 (ARGS2): Likewise.
59082 (ARGS3): Likewise.
59083 (ARGS4): Likewise.
59084 (RET1): Likewise.
59085 (RET2): Likewise.
59086 (CALC): Likewise.
59087 (FUNC): Likewise.
59088 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59089 (test_functions): Add lgamma.
59090 (calc_generic_results): Handle mpfr_f_f1.
59091 * sysdeps/i386/fpu/libm-test-ulps: Update.
59092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59093
59094 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59095
59096 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59097 __mpn_add_n for PowerPC64/POWER7.
59098 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59099 __mpn_sub_n for PowerPC64/POWER7.
59100
59101 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59102 __mpn_addmul_1 for PowerPC64.
59103 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59104 __mpn_submul_1 for PowerPC64.
59105 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59106 for PowerPC64.
59107 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59108 for PowerPC64.
59109
59110 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
59111
59112 [BZ #15089]
59113 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59114
59115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59116
59117 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59118
59119 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59120 add multiarch folders.
59121 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59122 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59123 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59124 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59125 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59126 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59127 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59128 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59129 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59130 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59131 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59138
59139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59140 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59142 New file.
59143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59144 New file.
59145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59146 multiarch __ieee754_hypot for PowerPC32.
59147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59148 New file.
59149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59150 New file.
59151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59152 multiarch __ieee754_hypotf for PowerPC32.
59153
59154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59155 long_double_symbol only if __logbl is defined.
59156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59157 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59159 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59161 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59163 path for implementation.
59164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59165 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59167 logb, and logbl multiarch implementations for PowerPC32.
59168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59169 file.
59170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59171 file.
59172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59173 multiarch logb for PowerPC32.
59174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59175 file.
59176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59177 file.
59178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59179 multiarch logbf for PowerPC32.
59180 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59182 file.
59183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59184 multiarch logbl implementation for PowerPC32.
59185
59186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59187 and modff multiarch implementations.
59188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59189 New file.
59190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59191 New file.
59192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59193 multiarch modf for PowerPC32.
59194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59195 New file.
59196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59197 New file.
59198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59199 multiarch modff for PowerPC32.
59200
59201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59202 and lrintf multiarch implementations.
59203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59204 New file.
59205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59206 New file.
59207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59208 multiarch lrint for PowerPC32.
59209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59210 file: multiarch lrintf for PowerPC32.
59211
59212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59213 and lroundf multiarch implementations.
59214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59215 New file.
59216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59217 New file.
59218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59219 New file.
59220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59221 multiarch lround for PowerPC32.
59222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59223 file: multiarch lroundf for PowerPC32.
59224
59225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59226 copysign and copysignf multiarch implementations.
59227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59228 New file.
59229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59230 New file.
59231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59232 file: multiarch copysign for PowerPC32.
59233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59234 file: multiarch copysignf for PowerPC32.
59235
59236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59237 and truncf multiarch implementations.
59238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59239 New file.
59240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59241 file.
59242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59243 multiarch trunc for PowerPC32.
59244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59245 New file.
59246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59247 New file.
59248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59249 multiarch truncf for PowerPC32.
59250
59251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59252 and roundf multiarch implementations.
59253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59254 New file.
59255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59256 file.
59257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59258 multiarch round for PowerPC32.
59259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59260 New file.
59261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59262 New file.
59263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59264 multiarch roundf for PowerPC32.
59265
59266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59267 and floorf multiarch implementations.
59268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59269 New file.
59270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59271 file.
59272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59273 multiarch floor for PowerPC32.
59274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59275 New file.
59276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59277 New file.
59278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59279 multiarch floorf for PowerPC32.
59280
59281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59282 and ceilf multiarch implementations.
59283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59284 New file.
59285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59286 file.
59287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59288 multiarch ceil for PowerPC32.
59289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59290 New file.
59291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59292 file.
59293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59294 multiarch ceilf for PowerPC32.
59295
59296 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59297 is defined.
59298 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59299 FINITEF is defined.
59300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59301 and finitef multiarch implementations.
59302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59303 New file.
59304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59305 file.
59306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59307 multiarch finite for PowerPC32.
59308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59309 New file.
59310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59311 file: multiarch finitef for PowerPC32.
59312
59313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59314 and isinff multiarch implementations.
59315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59316 file.
59317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59318 file.
59319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59320 multiarch isinf for PowerPC32.
59321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59322 New file.
59323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59324 multiarch isinff for PowerPC32.
59325
59326 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59327 alias when __isnan is defined.
59328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59329 and isnanf multiarch implementations.
59330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59331 file.
59332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59333 file.
59334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59335 file.
59336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59337 file.
59338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59339 multiarch isnan for PowerPC32.
59340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59341 New file.
59342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59343 New file.
59344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59345 multiarch isnanf for PowerPC32.
59346
59347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59348 and sqrtf multiarch implementations.
59349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59350 file.
59351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59352 file.
59353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59354 multiarch sqrt for PowerPC32.
59355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59356 file.
59357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59358 file.
59359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59360 multiarch sqrtf for PowerPC32.
59361
59362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59363 and llroundf multiarch implementations.
59364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59365 New file.
59366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59367 New file.
59368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59369 New file.
59370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59371 file: multiarch llround for PowerPC32.
59372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59373 file: multiarch llroundf for PowerPC32.
59374
59375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59376 multiarch PowerPC32 fpu implementations.
59377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59378 New file.
59379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59380 New file.
59381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59382 multiarch llrint for PowerPC32.
59383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59384 New file.
59385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59386 New file.
59387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59388 file.
59389
59390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59391
59392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59393 file.
59394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59395 file.
59396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59397 file.
59398 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59399 multiarch wordcopy for PPC32.
59400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59401 wordcopy objects.
59402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59403 (__libc_ifunc_impl_list): Likewise.
59404 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59405 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59407 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59409 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59410
59411 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59413 file.
59414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59415 file.
59416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59417 file.
59418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59419 multiarch wcscpy for PPC32.
59420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59421 multiarch objects.
59422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59423 (__libc_ifunc_impl_list): Likewise.
59424 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59425 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59426 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59427 sysdeps/powerpc/power6/wcscpy.c.
59428
59429 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59431 file.
59432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59433 file.
59434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59435 file.
59436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59437 multiarch wcsrchr for PPC32.
59438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59439 multiarch objects.
59440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59441 (__libc_ifunc_impl_list): Likewise.
59442 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59443 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59444 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59445 sysdeps/powerpc/power6/wcsrchr.c.
59446
59447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59448 file.
59449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59450 file.
59451 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59453 multiarch wcschr for PPc32.
59454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59455 multiarch objects.
59456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59457 (__libc_ifunc_impl_list): Likewise.
59458 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59459 * sysdeps/powerpc/power6/wcschr.c: ... to here.
59460 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59461 sysdeps/powerpc/power6/wcschr.c.
59462
59463 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59465 file.
59466 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59467 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59468 file: multiarch strchr for PPC32.
59469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59470 multiarch objects.
59471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59472 (__libc_ifunc_impl_list): Likewise.
59473
59474 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59475 name.
59476 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59477 file.
59478 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59479 file.
59480 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59481 multiarch strchrnul for PPC32.
59482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59483 multiarch objects.
59484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59485 (__libc_ifunc_impl_list): Likewise.
59486
59487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59488 file.
59489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59490 multiarch strncasecmp for PPC32.
59491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59492 file.
59493 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59494 multiarch strncasecmp_l for PPC32.
59495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59496 strncasecmp multiarch objects.
59497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59498 (__libc_ifunc_impl_list): Likewise.
59499
59500 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59501 file.
59502 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59503 multiarch strncasecmp for PPC32.
59504 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59505 New file.
59506 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59507 multiarch strcasecmp_l for PPC32.
59508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59509 multiarch objects.
59510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59511 (__libc_ifunc_impl_list): Likewise.
59512
59513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59514 file.
59515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59516 file.
59517 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59518 multiarch strncmp for PPC32.
59519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59520 multiarch objects.
59521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59522 (__libc_ifunc_impl_list): Likewise.
59523
59524 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59525 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59526 file.
59527 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59528 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59530 multiarch objects.
59531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59532 (__libc_ifunc_impl_list): Likewise.
59533
59534 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59535 file.
59536 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59537 file.
59538 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59539 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59540 multiarch objects.
59541 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59542 (__libc_ifunc_impl_list): Likewise.
59543
59544 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59545 file.
59546 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59547 file.
59548 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59549 multiarch rawmemchr for PPC32.
59550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59551 multiarch objects.
59552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59553 (__libc_ifunc_impl_list): Likewise.
59554
59555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59556 file.
59557 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59558 file.
59559 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59560 file: memrchr multiarch for PPC32.
59561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59562 multiarch objects.
59563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59564 (__libc_ifunc_impl_list): Likewise.
59565
59566 * string/memchr.c (__memchr): Using macro to redefine symbol name.
59567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59568 file.
59569 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59570 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59571 multiarch memchr for PPC32.
59572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59573 multiarch objects.
59574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59575 (__libc_ifunc_impl_list): Likewise.
59576
59577 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59578 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59579 file.
59580 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59581 file.
59582 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59583 file: multiarch mempcpy for PPC32.
59584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59585 multiarch objects.
59586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59587 (__libc_ifunc_impl_list): Likewise.
59588
59589 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59591 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59592 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59593 multiarch bzero for PPC32.
59594 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59595 file.
59596 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59597 file.
59598 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59599 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59600 file: multiarch memset for PPC32.
59601 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59602 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59603 memset multiarch objects.
59604 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59605 (__libc_ifunc_impl_list): Likewise.
59606
59607 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59608 file.
59609 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59611 memcmp for PPC32.
59612 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59614 multiarch objects.
59615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59616 (__libc_ifunc_impl_list): Likewise.
59617
59618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59619 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59621 file.
59622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59623 file.
59624 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59625 file.
59626 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59627 multiarch memcpy for PPC32.
59628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59629 multiarch objects.
59630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59631 (__libc_ifunc_impl_list): Likewise.
59632
59633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59634 support multiarch for POWER/PPC32.
59635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59636 Likewise.
59637 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59639 Implies file to make multiarch folder appers before the fpu and
59640 default folder for power4 configuration.
59641
59642 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
59643
59644 * scripts/bench.pl: Append volatile keyword to type.
59645
59646 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59647
59648 * sysdeps/sh/sotruss-lib.c: New file.
59649 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59650
59651 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59652
59653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59654
59655 2013-12-05 Joseph Myers <joseph@codesourcery.com>
59656
59657 [BZ #6810]
59658 * math/w_tgamma.c: Include <errno.h>.
59659 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
59660 * math/w_tgammaf.c: Include <errno.h>.
59661 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
59662 * math/w_tgammal.c: Include <errno.h>.
59663 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
59664 * math/auto-libm-test-in: Do not allow missing errno on tgamma
59665 underflow. Add more tgamma tests.
59666 * math/auto-libm-test-out: Regenerated.
59667 * sysdeps/i386/fpu/libm-test-ulps: Update.
59668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59669
59670 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
59671 sin, sinh, tan, tanh, tgamma, y0 and y1.
59672 * math/auto-libm-test-out: Regenerated.
59673 * math/libm-test.inc (TEST_COND_x86_64): New macro.
59674 (TEST_COND_x86): Likewise.
59675 (M_E2l): Remove macro.
59676 (M_E3l): Likewise.
59677 (M_2_SQRT_PIl): Likewise.
59678 (M_SQRT_PIl): Likewise.
59679 (M_1_DIV_El): Likewise.
59680 (log_test_data): Use AUTO_TESTS_f_f.
59681 (log10_test_data): Likewise.
59682 (log1p_test_data): Likewise.
59683 (log2_test_data): Likewise.
59684 (sin_test_data): Likewise.
59685 (sin_tonearest_test_data): Likewise.
59686 (sin_towardzero_test_data): Likewise.
59687 (sin_downward_test_data): Likewise.
59688 (sin_upward_test_data): Likewise.
59689 (sinh_test_data): Likewise.
59690 (sinh_tonearest_test_data): Likewise.
59691 (sinh_towardzero_test_data): Likewise.
59692 (sinh_downward_test_data): Likewise.
59693 (sinh_upward_test_data): Likewise.
59694 (tan_test_data): Likewise.
59695 (tan_tonearest_test_data): Likewise.
59696 (tan_towardzero_test_data): Likewise.
59697 (tan_downward_test_data): Likewise.
59698 (tan_upward_test_data): Likewise.
59699 (tanh_test_data): Likewise.
59700 (tgamma_test_data): Likewise.
59701 (y0_test_data): Likewise.
59702 (y1_test_data): Likewise.
59703 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
59704 (special_real_inputs): Add pi/4.
59705 * sysdeps/i386/fpu/libm-test-ulps: Update.
59706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59707
59708 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59709
59710 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
59711 "longjmp_target" static probes.
59712 (__longjmp): Rename to __longjmp_symbol.
59713 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59714 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
59715 on which longjmp to generate.
59716 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59717 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
59718 probe.
59719 (__sigsetjmp): Rename to __sigsetjmp_symbol.
59720 (__sigjmp_save): Rename to __sigjmp_save_symbol.
59721 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
59722 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
59723 and __sigjmp_save_symbol based on which sigsetjmp to generated.
59724 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
59726 __longjmp_symbol based on which __longjmp to generate.
59727 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
59728 probe.
59729 (setjmp): Rename to setjmp_symbol.
59730 (__sigsetjmp): Rename to __sigsetjmp_symbol.
59731 (_setjmp): Rename to _setjmp_symbol.
59732 (__sigsetjmp): Rename to __sigsetjmp_symbol.
59733 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
59734 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
59735 which setjmp to generate.
59736 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
59737 "longjmp_target" static probes.
59738
59739 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
59740
59741 * benchtests/README: Add note about output arguments.
59742 * benchtests/bench-sincos.c: Remove file.
59743 * benchtests/sincos-inputs: New file.
59744 * scripts/bench.pl: Identify output arguments and define
59745 static variables for them.
59746
59747 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
59748
59749 [BZ #15941]
59750 * Makefile (INSTALL): Add install-plain.texi as the primary
59751 dependency.
59752 * manual/install-plain.texi: New file.
59753 * manual/install.texi: Include node directive only for
59754 non-plaintext output.
59755
59756 2013-12-04 Joseph Myers <joseph@codesourcery.com>
59757
59758 * stdlib/longlong.h: Update from GCC.
59759
59760 [BZ #6807]
59761 [BZ #15901]
59762 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
59763 * math/w_j0f.c (y0f): Likewise.
59764 * math/w_j0l.c (__y0l): Likewise.
59765 * math/w_j1.c (y1): Likewise.
59766 * math/w_j1f.c (y1f): Likewise.
59767 * math/w_j1l.c (__y1l): Likewise.
59768 * math/w_jn.c (yn): Likewise.
59769 * math/w_jnf.c (ynf): Likewise.
59770 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
59771 Bessel function pole errors in _POSIX_ mode. Use NAN as return
59772 value for Bessel function domain errors outside _SVID_ mode.
59773 Adjust sign of return value for yn (negative integer, 0).
59774 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
59775 by zero in return for negative x and set sign appropriately for
59776 negative n.
59777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59778 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59779 * math/libm-test.inc (y0_test_data): Add more tests and adjust
59780 expectations in error cases.
59781 (y1_test_data): Likewise.
59782 (yn_test_data): Likewise.
59783 * sysdeps/i386/fpu/libm-test-ulps: Update.
59784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59785
59786 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59787
59788 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59789 "64" to "64-v1". Add "64-v2".
59790 (abi-64-options): Rename to ...
59791 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
59792 (abi-64-condition): Rename to ...
59793 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
59794 (abi-64-ld-soname): Rename to ...
59795 (abi-64-v1-ld-soname): ... this.
59796 (abi-64-v2-options): Define.
59797 (abi-64-v2-condition): Likewise.
59798 (abi-64-v2-ld-soname): Likewise.
59799 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59800 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59804
59805 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59806 Alan Modra <amodra@gmail.com>
59807
59808 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59809 New versions for use with the ELFv2 ABI.
59810 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59811 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59812 declaration.
59813 (struct La_ppc64v2_retval): Likewise.
59814 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59815 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59816 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59817 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59818 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59819 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59820 Do not save or restore CR.
59821 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59822 (_dl_profile_resolve): Do no save or restore CR. Support extended
59823 return values for ELFv2 ABI. Fix location of FPR return registers.
59824 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59825 updated values for _CALL_ELF == 2.
59826 (La_regs, La_retval, int_retval): Likewise.
59827
59828 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59829
59830 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59831 (FRAME_MIN_SIZE_PARM): Likewise.
59832 (FRAME_BACKCHAIN): Likewise.
59833 (FRAME_CR_SAVE): Likewise.
59834 (FRAME_LR_SAVE): Likewise.
59835 (FRAME_TOC_SAVE): Likewise.
59836 (FRAME_PARM_SAVE): Likewise.
59837 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59838 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59839 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59840 (call_mcount_parm_offset): New macro.
59841 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59842 (PROF): Use symbolic stack frame offsets.
59843 (TAIL_CALL_SYSCALL_ERROR): Likewise.
59844 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59845 Redefine in terms of FRAME_MIN_SIZE.
59846 (_dl_runtime_resolve): Use symbolic stack frame offsets.
59847 (_dl_profile_resolve): Likewise. Update comment.
59848 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59849 symbols stack frame offsets.
59850 (__sigsetjmp): Likewise.
59851 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59852 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59853 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59854 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59855
59856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59857 (FRAME_BACKCHAIN): Remove.
59858 (FRAME_CR_SAVE): Likewise.
59859 (FRAME_LR_SAVE): Likewise.
59860 (FRAME_COMPILER_DW): Likewise.
59861 (FRAME_LINKER_DW): 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 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59868 (CHECK_SP): Use symbolic stack frame offsets.
59869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59870 zone" instead of caller's parameter save area for temp storage.
59871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59872 Likewise. Also, use symbolic stack frame offsets.
59873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59874 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59875 our own stack frame instead of the caller's.
59876 (__socket): Use symbolic stack frame offsets.
59877
59878 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59879 Alan Modra <amodra@gmail.com>
59880
59881 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59882 Define.
59883 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59884 (PPC64_LOCAL_ENTRY_OFFSET): Define.
59885 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59886 New function.
59887 (elf_machine_fixup_plt): Call it.
59888 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
59889 reloc arguments.
59890 (elf_machine_rela): Update call to elf_machine_plt_conflict.
59891 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59892 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59893 r2 before calling target.
59894
59895 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59896 Alan Modra <amodra@gmail.com>
59897
59898 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59899 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59900 versions of macros to support ELFv2 ABI.
59901 (LOCALENTRY): New macro.
59902 (ENTRY, EALIGN): Use it.
59903 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59904 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59905 fall through into ENTRY entry point.
59906 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59907 Only define if _CALL_ELF != 2.
59908
59909 (elf_machine_matches_host): Verify ABI version matches.
59910 (RTLD_START): Use LOCALENTRY.
59911 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59912 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59913 (PLT_ENTRY_WORDS): New macro.
59914 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59915 (elf_machine_runtime_setup): Support ELFv2 ABI.
59916 (elf_machine_fixup_plt): Likewise.
59917 (elf_machine_plt_conflict): Likewise.
59918 (resolve_ifunc): Likewise.
59919 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59920 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59921 Likewise.
59922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59923 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59925 (makecontext): Support ELFv2 ABI.
59926 * elf/elf.h (EF_PPC64_ABI): Define.
59927
59928 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59929
59930 * sysdeps/powerpc/powerpc64/sysdep.h
59931 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59932 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59933 (ENTRY) [ASSEMBLER]: ... but instead here ...
59934 (EALIGN) [ASSEMBLER]: ... and here.
59935 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59936 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59937 (ENTRY_2) [!ASSEMBLER]: Use it.
59938 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59939 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
59940 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59941 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59942 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59944 Use PPC64_LOAD_FUNCPTR.
59945
59946 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59947
59948 2013-12-04 Alan Modra <amodra@gmail.com>
59949
59950 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59951 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59952 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59953 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59954
59955 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59956 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59957 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59958 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59959 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59960 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59961
59962 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
59963
59964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59965 (__makecontext): Fix incorrect CFI when backtracing out of
59966 context created via makecontext.
59967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59968 (__setcontext): Fix incorrect CFI during switch to new context.
59969 (__novec_setcontext): Likewise.
59970
59971 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
59972
59973 [BZ #4772]
59974 * time/strptime_l.c (__strptime_internal): Allow modifiers
59975 in strptime.
59976 * time/tst-strptime.c (day_tests): Add testcase.
59977
59978 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
59979
59980 * scripts/bench.pl: Skip over blank lines.
59981
59982 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
59983
59984 [BZ #926]
59985 * manual/time.texi (Calendar Time): Clarify what timezone functions
59986 use.
59987
59988 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59989
59990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59991
59992 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
59993
59994 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59995 implementation.
59996 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59997 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59998 * debug/memset_chk.c (__memset_chk): Likewise.
59999 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60000 * debug/strncpy_chk.c: Likewise.
60001
60002 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60003
60004 [BZ #15268]
60005 [BZ #15425]
60006 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60007 (__ieee754_exp): For possibly underflowing results, check size of
60008 result and force underflow exception if required.
60009 * math/auto-libm-test-in: Add more tests of exp.
60010 * math/auto-libm-test-out: Regenerated.
60011 * sysdeps/i386/fpu/libm-test-ulps: Update.
60012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60013
60014 [BZ #16283]
60015 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60016 * math/w_exp2f.c (__exp2f): Likewise.
60017 * math/w_exp2l.c (__exp2l): Likewise.
60018 * math/auto-libm-test-in: Do not allow missing errno on exp2
60019 underflow.
60020 * math/auto-libm-test-out: Regenerated.
60021
60022 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
60023
60024 [BZ #16274]
60025 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60026 handle filename validation.
60027 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60028 (do_open): Delete.
60029
60030 2013-12-03 Joseph Myers <joseph@codesourcery.com>
60031
60032 [BZ #6786]
60033 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60034 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60035 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60036 <float.h>.
60037 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60038 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60039 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60040 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60041 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60042 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60043 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60044 * math/auto-libm-test-in: Don't allow missing errno from erfc.
60045 Add more erfc tests.
60046 * math/auto-libm-test-out: Regenerated.
60047 * sysdeps/i386/fpu/libm-test-ulps: Update.
60048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60049
60050 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60051 exp2, expm1, j0 and j1.
60052 * math/auto-libm-test-out: Regenerated.
60053 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60054 (erfc_test_data): Likewise.
60055 (exp_test_data): Likewise.
60056 (exp_tonearest_test_data): Likewise.
60057 (exp_towardzero_test_data): Likewise.
60058 (exp_downward_test_data): Likewise.
60059 (exp_upward_test_data): Likewise.
60060 (exp10_test_data): Likewise.
60061 (exp2_test_data): Likewise.
60062 (expm1_test_data): Likewise.
60063 (j0_test_data): Likewise.
60064 (j1_test_data): Likewise.
60065 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60066 (input_flag_type): Add flag_xfail_rounding.
60067 (input_flags): Add xfail-rounding.
60068 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60069 (output_for_one_input_case): Handle flag_xfail_rounding.
60070 * sysdeps/i386/fpu/libm-test-ulps: Update.
60071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60072
60073 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
60074
60075 [BZ #16289]
60076 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60077 division by 0.
60078
60079 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
60080
60081 [BZ #16195]
60082 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60083 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60084 (STAP_PROBE0): New macro.
60085 (STAP_PROBE1): Likewise.
60086 (STAP_PROBE2): Likewise.
60087 (STAP_PROBE3): Likewise.
60088 (STAP_PROBE4): Likewise.
60089
60090 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
60091
60092 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60093
60094 2013-12-02 Steve Ellcey <sellcey@mips.com>
60095
60096 * benchtests/Makefile (bench): Add sqrt.
60097 (LDLIBS-bench-sqrt): New.
60098 * benchtests/sqrt-input: New.
60099
60100 2013-12-02 Pavel Simerda <psimerda@redhat.com>
60101
60102 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60103 (GAIH_EAI): Likewise.
60104 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60105 (gaih_inet): Likewise.
60106 (getaddrinfo): Don't use GAIH_EAI.
60107
60108 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60109 (struct gaih): Remove definition.
60110
60111 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
60112
60113 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60114 Use HERRNOP directly.
60115
60116 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60117
60118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60119
60120 2013-11-30 Joseph Myers <joseph@codesourcery.com>
60121
60122 * math/gen-auto-libm-tests.c (test_functions): Add more
60123 single-argument functions.
60124 (special_fill_pi_2): New function.
60125 (special_fill_minus_pi_2): Likewise.
60126 (special_fill_pi_6): Likewise.
60127 (special_fill_minus_pi_6): Likewise.
60128 (special_fill_pi_3): Likewise.
60129 (special_fill_2pi_3): Likewise.
60130 (special_fill_e): Likewise.
60131 (special_fill_1_e): Likewise.
60132 (special_fill_e_minus_1): Likewise.
60133 (special_real_inputs): Add more special inputs.
60134 (output_for_one_input_case): Do not require ERANGE on underflow to
60135 zero if round-to-nearest result does not underflow to zero, unless
60136 exact results required.
60137 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60138 atan, atanh, cbrt, cos and cosh.
60139 * math/auto-libm-test-out: Regenerated.
60140 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60141 (acos_tonearest_test_data): Likewise.
60142 (acos_towardzero_test_data): Likewise.
60143 (acos_downward_test_data): Likewise.
60144 (acos_upward_test_data): Likewise.
60145 (acosh_test_data): Likewise.
60146 (asin_test_data): Likewise.
60147 (asin_tonearest_test_data): Likewise.
60148 (asin_towardzero_test_data): Likewise.
60149 (asin_upward_test_data): Likewise.
60150 (asinh_test_data): Likewise.
60151 (atan_test_data): Likewise.
60152 (atanh_test_data): Likewise.
60153 (cbrt_test_data): Likewise.
60154 (cos_test_data): Likewise.
60155 (cos_tonearest_test_data): Likewise.
60156 (cos_towardzero_test_data): Likewise.
60157 (cos_downward_test_data): Likewise.
60158 (cos_upward_test_data): Likewise.
60159 (cosh_test_data): Likewise.
60160 (cosh_tonearest_test_data): Likewise.
60161 (cosh_towardzero_test_data): Likewise.
60162 (cosh_downward_test_data): Likewise.
60163 (cosh_upward_test_data): Likewise.
60164 * sysdeps/i386/fpu/libm-test-ulps: Update.
60165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60166
60167 2013-11-29 Joseph Myers <joseph@codesourcery.com>
60168
60169 [BZ #6787]
60170 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60171 * math/w_exp10f.c (__exp10f): Likewise.
60172 * math/w_exp10l.c (__exp10l): Likewise.
60173 * math/libm-test.inc (exp10_test_data): Add more tests and expect
60174 errno settings in existing tests.
60175
60176 [BZ #14032]
60177 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60178 precision control set to double precision.
60179 * sysdeps/i386/fpu/w_sqrt.c: New file.
60180 * math/auto-libm-test-in: Add more tests.
60181 * math/auto-libm-test-out: Update.
60182
60183 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60184 (sqrt_test_tonearest): New function.
60185 (sqrt_towardzero_test_data): New variable.
60186 (sqrt_test_towardzero): New function.
60187 (sqrt_downward_test_data): New variable.
60188 (sqrt_test_downward): New function.
60189 (sqrt_upward_test_data): New variable.
60190 (sqrt_test_upward): New function.
60191 (main): Call the new functions.
60192
60193 * math/gen-auto-libm-tests.c: New file.
60194 * math/auto-libm-test-in: Likewise.
60195 * math/auto-libm-test-out: New generated file.
60196 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60197 variables.
60198 (%beautify): Add generated representations of zero.
60199 (top level): Set $auto_input and call parse_auto_input.
60200 (beautify): Remove trailing "f" from hex float constants.
60201 (parse_args): Handle XFAIL_TEST.
60202 (convert_condition): New function.
60203 (or_value): Likewise.
60204 (or_cond_value): Likewise.
60205 (generate_testfile): Handle AUTO_TESTS_* lines.
60206 (parse_auto_input): New function.
60207 * math/libm-test.inc (XFAIL_TEST): New macro.
60208 (ERRNO_UNCHANGED): Update value.
60209 (ERRNO_EDOM): Likewise.
60210 (ERRNO_ERANGE): Likewise.
60211 (IGNORE_RESULT): Likewise.
60212 (TEST_COND_flt_32): New macro.
60213 (TEST_COND_dbl_64): Likewise.
60214 (TEST_COND_ldbl_96_intel): Likewise.
60215 (TEST_COND_ldbl_96_m68k): Likewise.
60216 (TEST_COND_ldbl_128): Likewise.
60217 (TEST_COND_ldbl_128ibm): Likewise.
60218 (TEST_COND_long32): Likewise.
60219 (TEST_COND_long64): Likewise.
60220 (TEST_COND_before_rounding): Likewise.
60221 (TEST_COND_after_rounding): Likewise.
60222 (enable_test): Handle XFAIL_TEST flag.
60223 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60224 with finite results.
60225 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60226 auto-libm-test-out.
60227
60228 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
60229 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60230
60231 [BZ #16214]
60232 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60233 __tls_get_addr_internal instead of __tls_get_offset in order to
60234 avoid GOT pointer dependency. Make rtld export
60235 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60236 __tls_get_addr since we are a __tls_get_offset platform.
60237 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60238 GOT pointer being set up before.
60239 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60240
60241 2013-11-28 Joseph Myers <joseph@codesourcery.com>
60242
60243 * manual/math.texi (Errors in Math Functions): Document accuracy
60244 goals.
60245
60246 [BZ #15004]
60247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60248 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60249 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60251 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60252 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60253 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60254 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60255 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60256 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60258 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60259 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60260 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60262 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60263
60264 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60265 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60266 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60267 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60268 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60269 Likewise.
60270 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60271 Likewise.
60272 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60273 Likewise.
60274 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60275 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60276 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60277 atomic-feupdateenv and flt-rounds.
60278 * sysdeps/powerpc/nofpu/Versions (libc): Add
60279 __atomic_feholdexcept, __atomic_feclearexcept,
60280 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60281 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60282 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60283 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60284 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60285 here.
60286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60287 Update.
60288
60289 * manual/arith.texi (FP Exceptions): Document that exceptions may
60290 not be raised when matherr is used.
60291 (Math Error Reporting): Document overflow in directed rounding
60292 modes. Document that errno may not be set when finite values are
60293 returned on overflow. Document intent to set errno on underflow
60294 only for underflow to zero.
60295
60296 [BZ #16271]
60297 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60298 round-to-nearest then adjust result for other rounding modes.
60299 * include/fenv.h (fegetround): Use libm_hidden_proto.
60300 * math/fegetround.c (fegetround): Use libm_hidden_def.
60301 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60302 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60303 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60304 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60305 Likewise.
60306 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60307 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60308 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60309 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60310
60311 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60312
60313 [BZ #16077]
60314 * nss/Versions (libnss_files): Add
60315 _nss_files_gethostbyname3_r.
60316 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60317 New function.
60318 (HOST_DB_LOOKUP): Remove macro.
60319 (_nss_files_gethostbyname_r): Implement function without the
60320 HOST_DB_LOOKUP macro.
60321 (_nss_files_gethostbyname2_r): Likewise.
60322
60323 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
60324
60325 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60326
60327 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
60328
60329 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60330 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60331 warning.
60332
60333 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60334
60335 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60336 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60337 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60338 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60339 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60340 __fe_nomask_env_priv and attribute_hidden.
60341 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60342 (libc_feupdateenv_test_ppc): Likewise.
60343 (libc_feresetround_ppc): Likewise.
60344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60345 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60346 compat_symbol macro.
60347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60348 (__fe_nomask_env): Likewise.
60349 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60350
60351 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60352
60353 * string/Makefile: Remove ifunc tests.
60354 * string/test-string.h: Define TEST_IFUNC.
60355 * string/test-bcopy-ifunc.c: Remove.
60356 * string/test-bzero-ifunc.c: Likewise.
60357 * string/test-memccpy-ifunc.c: Likewise.
60358 * string/test-memchr-ifunc.c: Likewise.
60359 * string/test-memcmp-ifunc.c: Likewise.
60360 * string/test-memcpy-ifunc.c: Likewise.
60361 * string/test-memmem-ifunc.c: Likewise.
60362 * string/test-memmove-ifunc.c: Likewise.
60363 * string/test-mempcpy-ifunc.c: Likewise.
60364 * string/test-memrchr-ifunc.c: Likewise.
60365 * string/test-memset-ifunc.c: Likewise.
60366 * string/test-rawmemchr-ifunc.c: Likewise.
60367 * string/test-stpcpy-ifunc.c: Likewise.
60368 * string/test-stpncpy-ifunc.c: Likewise.
60369 * string/test-strcasecmp-ifunc.c: Likewise.
60370 * string/test-strcasestr-ifunc.c: Likewise.
60371 * string/test-strcat-ifunc.c: Likewise.
60372 * string/test-strchr-ifunc.c: Likewise.
60373 * string/test-strchrnul-ifunc.c: Likewise.
60374 * string/test-strcmp-ifunc.c: Likewise.
60375 * string/test-strcpy-ifunc.c: Likewise.
60376 * string/test-strcspn-ifunc.c: Likewise.
60377 * string/test-strlen-ifunc.c: Likewise.
60378 * string/test-strncasecmp-ifunc.c: Likewise.
60379 * string/test-strncat-ifunc.c: Likewise.
60380 * string/test-strncmp-ifunc.c: Likewise.
60381 * string/test-strncpy-ifunc.c: Likewise.
60382 * string/test-strnlen-ifunc.c: Likewise.
60383 * string/test-strpbrk-ifunc.c: Likewise.
60384 * string/test-strrchr-ifunc.c: Likewise.
60385 * string/test-strspn-ifunc.c: Likewise.
60386 * string/test-strstr-ifunc.c: Likewise.
60387
60388 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60389
60390 * benchtests/Makefile: Remove ifunc tests.
60391 * benchtests/bench-string.h: Define TEST_IFUNC.
60392 * benchtests/bench-bcopy-ifunc.c: Remove.
60393 * benchtests/bench-bzero-ifunc.c: Likewise.
60394 * benchtests/bench-memccpy-ifunc.c: Likewise.
60395 * benchtests/bench-memchr-ifunc.c: Likewise.
60396 * benchtests/bench-memcmp-ifunc.c: Likewise.
60397 * benchtests/bench-memcpy-ifunc.c: Likewise.
60398 * benchtests/bench-memmem-ifunc.c: Likewise.
60399 * benchtests/bench-memmove-ifunc.c: Likewise.
60400 * benchtests/bench-mempcpy-ifunc.c: Likewise.
60401 * benchtests/bench-memrchr-ifunc.c: Likewise.
60402 * benchtests/bench-memset-ifunc.c: Likewise.
60403 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60404 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60405 * benchtests/bench-stpcpy-ifunc.c: Likewise.
60406 * benchtests/bench-stpncpy-ifunc.c: Likewise.
60407 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60408 * benchtests/bench-strcasestr-ifunc.c: Likewise.
60409 * benchtests/bench-strcat-ifunc.c: Likewise.
60410 * benchtests/bench-strchr-ifunc.c: Likewise.
60411 * benchtests/bench-strchrnul-ifunc.c: Likewise.
60412 * benchtests/bench-strcmp-ifunc.c: Likewise.
60413 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60414 * benchtests/bench-strcpy-ifunc.c: Likewise.
60415 * benchtests/bench-strcspn-ifunc.c: Likewise.
60416 * benchtests/bench-strlen-ifunc.c: Likewise.
60417 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60418 * benchtests/bench-strncat-ifunc.c: Likewise.
60419 * benchtests/bench-strncmp-ifunc.c: Likewise.
60420 * benchtests/bench-strncpy-ifunc.c: Likewise.
60421 * benchtests/bench-strnlen-ifunc.c: Likewise.
60422 * benchtests/bench-strpbrk-ifunc.c: Likewise.
60423 * benchtests/bench-strrchr-ifunc.c: Likewise.
60424 * benchtests/bench-strsep-ifunc.c: Likewise.
60425 * benchtests/bench-strspn-ifunc.c: Likewise.
60426 * benchtests/bench-strstr-ifunc.c: Likewise.
60427
60428 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60429
60430 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60431
60432 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60433
60434 * resolv/netdb.h: Use __glibc_reserved instead __unused.
60435 * rt/aio.h: Likewise.
60436 * sysdeps/gnu/bits/utmp.h: Likewise.
60437 * sysdeps/gnu/bits/utmpx.h: Likewise.
60438 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60439 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60440 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60441 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60442 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60443 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60444 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60445 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60446 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60447 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60448 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60449 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60450 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60452 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60453 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60454 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60455 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60456 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60457 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60458 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60459 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60460 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60461 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60462 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60464 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60465 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60466 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60467 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60468 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60469 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60470 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60471 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60472 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60473 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60474 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60475 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60476 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60477 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60478 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60479 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60480
60481 2013-11-25 Carlos O'Donell <carlos@redhat.com>
60482
60483 [BZ #16245]
60484 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60485 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60486
60487 2013-11-25 Joseph Myers <joseph@codesourcery.com>
60488
60489 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60490 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60491 Likewise.
60492
60493 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60494
60495 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60496 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60497 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60498 (__fesetround): Remove define.
60499 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60500 rounding and exceptions handling.
60501 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60502 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60503 (__fe_nomask_env): Likewise.
60504 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60505 __fegetround instead of fegetround.
60506 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60507 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60508
60509 2013-11-21 Roland McGrath <roland@hack.frob.com>
60510
60511 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60512 it's there.
60513
60514 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60515
60516 2013-11-21 Meador Inge <meadori@codesourcery.com>
60517
60518 [BZ #11157]
60519 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60520 (encrypt_r): Likewise.
60521 * malloc/obstack.h (obstack_free): Likewise.
60522 * posix/unistd.h (encrypt): Likewise.
60523
60524 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
60525
60526 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60527 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60528 DL_CALL_DT_FINI() that call the functions directly.
60529 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60530 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60531 * elf/dl-fini.c: Likewise.
60532
60533 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
60534
60535 * malloc/hooks.c (memalign_check): Add alignment rounding.
60536 * malloc/malloc.c (_mid_memalign): New function.
60537 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60538 Implement by calling _mid_memalign.
60539 * manual/probes.texi (Memory Allocation Probes): Remove
60540 memory_valloc_retry and memory_pvalloc_retry.
60541
60542 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60543
60544 * locale/programs/locarchive.c (open_archive): Add const
60545 qualifier to ARCHIVEFNAME and copy default fname to
60546 DEFAULT_FNAME.
60547
60548 [BZ #15601]
60549 * libio/tst-widetext.input: Rename Oriya to Odia.
60550 * locale/iso-639.def: Likewise.
60551
60552 * manual/probes.texi (Mathematical Function Probes): Add
60553 documentation for sin, cos, asin and acos probes.
60554 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60555 (__sin32): Add slowasin probe.
60556 (__cos32): Add slowacos probe.
60557 (__mpsin): Add slowsin probe.
60558 (__mpcos): Add slowcos probe.
60559
60560 2013-11-19 Joseph Myers <joseph@codesourcery.com>
60561
60562 [BZ #15483]
60563 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60564 thread-local __sim_exceptions_thread and global
60565 __sim_exceptions_global.
60566 (__sim_disabled_exceptions): Change to thread-local
60567 __sim_disabled_exceptions_thread and global
60568 __sim_disabled_exceptions_global.
60569 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60570 and global __sim_round_mode_global.
60571 (__simulate_exceptions): Use thread-local floating-point state and
60572 set global state from it as needed.
60573 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60574 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60575 __sim_round_mode_thread.
60576 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60577 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60578 and global __sim_exceptions_global.
60579 (__sim_disabled_exceptions): Change to thread-local
60580 __sim_disabled_exceptions_thread and global
60581 __sim_disabled_exceptions_global.
60582 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60583 and global __sim_round_mode_global.
60584 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60585 (SIM_SET_GLOBAL): Likewise.
60586 * sysdeps/powerpc/soft-fp/sfp-machine.h
60587 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60588 __sim_round_mode_thread.
60589 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60590 __sim_disabled_exceptions_thread.
60591 (__sim_exceptions): Change to __sim_exceptions_thread.
60592 (__sim_disabled_exceptions): Change to
60593 __sim_disabled_exceptions_thread.
60594 (__sim_round_mode): Change to __sim_round_mode_thread.
60595 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60596 thread-local floating-point state and set global state from it as
60597 needed.
60598 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60599 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60600 (__sim_disabled_exceptions): Remove extern declaration.
60601 (feenableexcept): Use thread-local floating-point state and set
60602 global state from it as needed.
60603 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60604 extern declaration.
60605 (__sim_disabled_exceptions): Likewise.
60606 (__sim_round_mode): Likewise.
60607 (__fegetenv): Use thread-local floating-point state.
60608 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60609 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60610 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60611 floating-point state and set global state from it as needed.
60612 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60613 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60614 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60615 Likewise.
60616 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60617 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60618 Likewise.
60619 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60620 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60621 Use __sim_round_mode_thread.
60622 * math/test-fenv-tls.c: New file.
60623 * math/Makefile (tests): Add test-fenv-tls.
60624 ($(objpfx)test-fenv-tls): Depend on
60625 $(common-objpfx)nptl/libpthread.so.
60626
60627 2013-11-19 Andreas Schwab <schwab@suse.de>
60628
60629 * locale/programs/locale.c (show_info): Decode wordarray elements.
60630 * locale/categories.def (LC_MONETARY): Add element for
60631 _NL_MONETARY_CRNCYSTR.
60632 * locale/C-monetary.c (conversion_rate): New variable.
60633 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60634 element.
60635
60636 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
60637
60638 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60639 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60640
60641 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60642
60643 * elf/Makefile (tst-auxv): New test.
60644 * elf/tst-auxv.c: New
60645 * elf/rtld.c (dl_main): Adjust AT_EXECFN
60646
60647 2013-11-18 Joseph Myers <joseph@codesourcery.com>
60648
60649 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60650 (hidden_proto): Caller changed.
60651 (hidden_tls_proto): New macro.
60652 (libc_hidden_tls_proto): Likewise.
60653 (rtld_hidden_tls_proto): Likewise.
60654 (libm_hidden_tls_proto): Likewise.
60655 (libresolv_hidden_tls_proto): Likewise.
60656 (librt_hidden_tls_proto): Likewise.
60657 (libdl_hidden_tls_proto): Likewise.
60658 (libnss_files_hidden_tls_proto): Likewise.
60659 (libnsl_hidden_tls_proto): Likewise.
60660 (libnss_nisplus_hidden_tls_proto): Likewise.
60661 (libutil_hidden_tls_proto): Likewise.
60662
60663 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
60664
60665 [BZ #10253]
60666 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
60667 (decompose_rpath): Defer expansion to fillin_rpath.
60668 (_dl_init_paths): Pass linkmap to fillin_rpath.
60669
60670 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
60671
60672 * benchtests/Makefile: Add strsep.
60673 * benchtests/bench-strsep.c: New file: strsep benchtest.
60674 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
60675
60676 2013-11-18 Andreas Schwab <schwab@suse.de>
60677
60678 * locale/programs/locale.c (show_info) [case byte]: Check for
60679 '\377' instead of '\177'.
60680 * locale/C-monetary.c (not_available): Always use "\377".
60681 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
60682 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
60683 detect unavailable sign_posn locale elements.
60684 * locale/localeconv.c (__localeconv): For grouping and
60685 mon_grouping handle "\177" and "\377" like no grouping.
60686 (INT_ELEM): New macro. Use it to set all numeric members.
60687 * locale/programs/ld-monetary.c (monetary_read)
60688 <tok_mon_grouping>: Normalize single -1 to the empty string.
60689 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
60690 Likewise.
60691
60692 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
60693
60694 [BZ #16055]
60695 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
60696 when we match (nil).
60697 * stdio-common/tst-sscanf.c (struct test): Add testcase.
60698
60699 2013-11-16 Joseph Myers <joseph@codesourcery.com>
60700
60701 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
60702 (NO_TEST_INLINE): Update value.
60703 (ERRNO_UNCHANGED): Likewise.
60704 (ERRNO_EDOM): Likewise.
60705 (ERRNO_ERANGE): Likewise.
60706 (IGNORE_RESULT): Likewise.
60707 (check_float_internal): Check signs of NaN results if
60708 TEST_NAN_SIGN used.
60709 (check_complex): Pass TEST_NAN_SIGN flag through to second
60710 check_float_internal call.
60711 (copysign_test_data): Add tests with quiet NaNs as second
60712 argument. Use TEST_NAN_SIGN.
60713 (fabs_test_data): Add test of negative quiet NaN argument. Use
60714 TEST_NAN_SIGN.
60715 (signbit_test_data): Add tests of quiet NaN argument.
60716 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
60717
60718 * math/gen-libm-test.pl (show_exceptions): Take extra argument
60719 $ignore_result.
60720 (parse_args): Handle function results specified as IGNORE.
60721 * math/libm-test.inc (IGNORE_RESULT): New macro.
60722 (check_float_internal): Do not check numerical result if flag
60723 IGNORE_RESULT set.
60724 (check_complex): Pass through IGNORE_RESULT to second
60725 check_float_internal call.
60726 (check_int): Do not check numerical result if flag IGNORE_RESULT
60727 set.
60728 (check_long): Likewise.
60729 (check_bool): Likewise.
60730 (check_longlong): Likewise.
60731 (lrint_test_data): Add tests of infinite and NaN arguments.
60732 (lrint_tonearest_test_data): Likewise.
60733 (lrint_towardzero_test_data): Likewise.
60734 (lrint_downward_test_data): Likewise.
60735 (lrint_upward_test_data): Likewise.
60736 (llrint_test_data): Likewise.
60737 (llrint_tonearest_test_data): Likewise.
60738 (llrint_towardzero_test_data): Likewise.
60739 (llrint_downward_test_data): Likewise.
60740 (llrint_upward_test_data): Likewise.
60741 (lround_test_data): Likewise.
60742 (llround_test_data): Likewise.
60743
60744 * math/libm-test.inc (NO_TEST_INLINE): New macro.
60745 (ERRNO_UNCHANGED): Update value.
60746 (ERRNO_EDOM): Likewise.
60747 (ERRNO_ERANGE): Likewise.
60748 (NO_TEST_INLINE_FLOAT): New macro.
60749 (NO_TEST_INLINE_DOUBLE): Likewise.
60750 (enable_test): New function.
60751 (RUN_TEST_f_f): Check enable_test before running test.
60752 (RUN_TEST_2_f): Likewise.
60753 (RUN_TEST_fff_f): Likewise.
60754 (RUN_TEST_c_f): Likewise.
60755 (RUN_TEST_f_f1): Likewise.
60756 (RUN_TEST_fF_f1): Likewise.
60757 (RUN_TEST_fI_f1): Likewise.
60758 (RUN_TEST_ffI_f1): Likewise.
60759 (RUN_TEST_c_c): Likewise.
60760 (RUN_TEST_cc_c): Likewise.
60761 (RUN_TEST_f_i): Likewise.
60762 (RUN_TEST_f_i_tg): Likewise.
60763 (RUN_TEST_ff_i_tg): Likewise.
60764 (RUN_TEST_f_b): Likewise.
60765 (RUN_TEST_f_b_tg): Likewise.
60766 (RUN_TEST_f_l): Likewise.
60767 (RUN_TEST_f_L): Likewise.
60768 (RUN_TEST_fFF_11): Likewise.
60769 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
60770 conditionals.
60771 (cosh_test_data): Likewise.
60772 (exp_test_data): Likewise.
60773 (expm1_test_data): Likewise.
60774 (hypot_test_data): Likewise.
60775 (pow_test_data): Likewise.
60776 (sinh_test_data): Likewise.
60777 (tanh_test_data): Likewise.
60778 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60779 flags argument.
60780
60781 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60782 tests with quiet NaN input and output.
60783 (acosh_test_data): Likewise.
60784 (asin_test_data): Likewise.
60785 (asinh_test_data): Likewise.
60786 (atan_test_data): Likewise.
60787 (atanh_test_data): Likewise.
60788 (atan2_test_data): Likewise.
60789 (cbrt_test_data): Likewise.
60790 (cos_test_data): Likewise.
60791 (cosh_test_data): Likewise.
60792 (erf_test_data): Likewise.
60793 (erfc_test_data): Likewise.
60794 (exp_test_data): Likewise.
60795 (exp10_test_data): Likewise.
60796 (exp2_test_data): Likewise.
60797 (expm1_test_data): Likewise.
60798 (hypot_test_data): Likewise.
60799 (j0_test_data): Likewise.
60800 (j1_test_data): Likewise.
60801 (jn_test_data): Likewise.
60802 (lgamma_test_data): Likewise.
60803 (log_test_data): Likewise.
60804 (log10_test_data): Likewise.
60805 (log1p_test_data): Likewise.
60806 (log2_test_data): Likewise.
60807 (pow_test_data): Likewise.
60808 (scalb_test_data): Likewise.
60809 (sin_test_data): Likewise.
60810 (sincos_test_data): Likewise.
60811 (sinh_test_data): Likewise.
60812 (tan_test_data): Likewise.
60813 (tanh_test_data): Likewise.
60814 (tgamma_test_data): Likewise.
60815 (y0_test_data): Likewise.
60816 (y1_test_data): Likewise.
60817 (yn_test_data): Likewise.
60818
60819 [BZ #16167]
60820 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60821 argument being NaN and avoid computations with second argument in
60822 that case.
60823 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60824 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60825 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60826
60827 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
60828
60829 * locale/iso-639.def: Add Chitwani Tharu (the).
60830
60831 2013-11-14 Andreas Schwab <schwab@suse.de>
60832
60833 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60834 word instead of empty string.
60835
60836 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60837
60838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60839 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60841 (__fe_nomask_env): Likewise.
60842
60843 2013-11-13 Steve Ellcey <sellcey@mips.com>
60844
60845 * benchtests/bench-timing.h: Include time.h.
60846
60847 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
60848
60849 [BZ #15997]
60850 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60851 to 3.4.0 for x32.
60852 * sysdeps/unix/sysv/linux/configure: Regenerated.
60853
60854 2013-11-13 Joseph Myers <joseph@codesourcery.com>
60855
60856 [BZ #16151]
60857 * stdlib/strtod_l.c (round_and_return): Do not consider
60858 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60859 exponent one less than half the least subnormal exponent.
60860 * stdlib/test-strtod-round-data: Add more tests.
60861 * stdlib/tst-strtod-round.c (tests): Regenerated.
60862
60863 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60864
60865 [BZ #14143]
60866 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60867 (__fe_mask_env): Likewise.
60868 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60869 libm_hidden_proto and add function prototype.
60870 (__fe_mask_env): Add function prototype.
60871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60872 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60874 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60876 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60877
60878 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60879
60880 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60881 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60882
60883 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
60884
60885 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60886 of htab_find_slot().
60887
60888 2013-11-11 David S. Miller <davem@davemloft.net>
60889
60890 [BZ #16150]
60891 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60892 symbol in the non-vis3 case in static builds.
60893 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60894 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60895 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60896 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60897
60898 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
60899
60900 [BZ #387]
60901 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60902 it is empty.
60903
60904 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60905
60906 * benchtests/Makefile: Add bench-strtod.
60907 * benchtests/bench-strtod.c: New file: strtod benchtest
60908
60909 2013-11-11 Andreas Schwab <schwab@suse.de>
60910
60911 [BZ #16153]
60912 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60913 terminating NUL in key length.
60914
60915 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60916
60917 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60918 Add artificial ODP entry for vDSO symbol for PPC64.
60919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60920 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60921
60922 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
60923
60924 [BZ #15374]
60925 * nss/getent.c (services_keys): Recognize services starting with digit.
60926
60927 2013-11-06 David S. Miller <davem@davemloft.net>
60928
60929 [BZ #15985]
60930 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60931 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60932
60933 2013-11-06 Will Newton <will.newton@linaro.org>
60934
60935 * manual/memory.texi (Malloc Examples): Remove register
60936 keyword from examples.
60937
60938 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
60939
60940 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60941
60942 2013-11-04 Joseph Myers <joseph@codesourcery.com>
60943
60944 [BZ #6981]
60945 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60946 depending on [__GCC_IEC_559 > 0].
60947 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60948 depending on [__GCC_IEC_559_COMPLEX > 0].
60949
60950 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
60951
60952 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60953 to iso-639.def.
60954
60955 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
60956
60957 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60958
60959 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
60960
60961 [BZ #16112]
60962 * malloc/malloc (malloc_info): Do not handle first bin as
60963 special case.
60964
60965 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
60966
60967 * locale/iso-639.def: Add Central Nahuatl (nhn).
60968
60969 2013-11-01 Bruno Haible <bruno@clisp.org>
60970
60971 [BZ #7003]
60972 * manual/math.texi (BSD Random): Specify range upper bound as
60973 in POSIX.
60974
60975 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
60976
60977 * locale/iso-639.def: Add Meadow Mari (mhr).
60978
60979 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
60980
60981 [BZ #14752], [BZ #15763]
60982 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60983 Validate name.
60984 * rt/tst_shm.c: Add test for escaping directory.
60985
60986 2013-10-31 Andreas Schwab <schwab@suse.de>
60987
60988 [BZ #15917]
60989 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60990 followed by 'x' as part of digit sequence.
60991 * stdio-common/tst-sscanf.c (double_tests2): New tests.
60992
60993 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60994
60995 [BZ #16037]
60996 * configure.ac: allow GNU Make 4.0 and greater.
60997 * configure: Regenerated.
60998
60999 2013-10-30 Will Newton <will.newton@linaro.org>
61000
61001 [BZ #16038]
61002 * malloc/hooks.c (memalign_check): Limit alignment to the
61003 maximum representable power of two.
61004 * malloc/malloc.c (__libc_memalign): Likewise.
61005 * malloc/tst-memalign.c (do_test): Add test for very
61006 large alignment values.
61007 * malloc/tst-posix_memalign.c (do_test): Likewise.
61008
61009 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61010
61011 [BZ #11087]
61012 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61013 (munmap_chunk): Likewise.
61014 (mremap_chunk): Likewise.
61015
61016 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
61017
61018 [BZ #15799]
61019 * stdlib/div.c (div): Remove obsolete code.
61020 * stdlib/ldiv.c (ldiv): Likewise.
61021 * stdlib/lldiv.c (lldiv): Likewise.
61022
61023 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
61024
61025 [BZ #16071]
61026 * nss/nss_files/files-XXX.c (get_contents_ret): New
61027 enumerator.
61028 (get_contents): New function.
61029 (internal_getent): Use it. Expand size of LINEBUFLEN.
61030
61031 2013-10-30 Mike Frysinger <vapier@gentoo.org>
61032
61033 * configure.in: Moved to ...
61034 * configure.ac: ... here. Change reference to configure.in
61035 to configure.ac.
61036 * sysdeps/arm/preconfigure.ac: ... here.
61037 configure.in to configure.ac.
61038 * sysdeps/gnu/configure.in: Moved to ...
61039 * sysdeps/gnu/configure.ac: ... here.
61040 * sysdeps/i386/configure.in: Moved to ...
61041 * sysdeps/i386/configure.ac: ... here.
61042 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61043 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61044 * sysdeps/mach/configure.in: Moved to ...
61045 * sysdeps/mach/configure.ac: ... here.
61046 * sysdeps/mach/hurd/configure.in: Moved to ...
61047 * sysdeps/mach/hurd/configure.ac: ... here.
61048 * sysdeps/powerpc/configure.in: Moved to ...
61049 * sysdeps/powerpc/configure.ac: ... here.
61050 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61051 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61052 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61053 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61054 * sysdeps/s390/s390-32/configure.in: Moved to ...
61055 * sysdeps/s390/s390-32/configure.ac: ... here.
61056 * sysdeps/s390/s390-64/configure.in: Moved to ...
61057 * sysdeps/s390/s390-64/configure.ac: ... here.
61058 * sysdeps/sh/configure.in: Moved to ...
61059 * sysdeps/sh/configure.ac: ... here.
61060 * sysdeps/sparc/configure.in: Moved to ...
61061 * sysdeps/sparc/configure.ac: ... here.
61062 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61063 * sysdeps/unix/sysv/linux/configure.ac: ... here.
61064 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61065 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61066 * sysdeps/x86_64/configure.in: Moved to ...
61067 * sysdeps/x86_64/configure.ac: ... here.
61068 * sysdeps/x86_64/preconfigure.in: Moved to ...
61069 * sysdeps/x86_64/preconfigure.ac: ... here.
61070 * aclocal.m4: Change reference to configure.in to configure.ac.
61071 * config.h.in: Likewise.
61072 * manual/install.texi: Likewise.
61073 * manual/maint.texi: Likewise.
61074 * Makefile: Likewise.
61075 * malloc/Makefile: Likewise.
61076 * nscd/Makefile: Likewise.
61077 * Makeconfig: Change reference to configure.in and
61078 preconfigure.in to configure.ac and preconfigure.ac
61079 respectively.
61080 * INSTALL: Regenerated.
61081 * configure: Likewise.
61082 * sysdeps/gnu/configure: Likewise.
61083 * sysdeps/i386/configure: Likewise.
61084 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61085 * sysdeps/mach/configure: Likewise.
61086 * sysdeps/mach/hurd/configure: Likewise.
61087 * sysdeps/powerpc/configure: Likewise.
61088 * sysdeps/powerpc/powerpc32/configure: Likewise.
61089 * sysdeps/powerpc/powerpc64/configure: Likewise.
61090 * sysdeps/s390/s390-32/configure: Likewise.
61091 * sysdeps/s390/s390-64/configure: Likewise.
61092 * sysdeps/sh/configure: Likewise.
61093 * sysdeps/sparc/configure: Likewise.
61094 * sysdeps/unix/sysv/linux/configure: Likewise.
61095 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61096 * sysdeps/x86_64/configure: Likewise.
61097 * sysdeps/x86_64/preconfigure: Likewise.
61098
61099 2013-10-29 Andreas Schwab <schwab@suse.de>
61100
61101 * stdio-common/Makefile (tst-swscanf-ENV): Define.
61102
61103 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61104
61105 * benchtests/pow-inputs: Add new inputs.
61106
61107 * benchtests/exp-inputs: Add new inputs.
61108
61109 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61110 conditional check for return value.
61111 (__cos32): Likewise.
61112
61113 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61114
61115 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61116 to provide a boost for large inputs with word alignment.
61117 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61118 implementation based on optimized PPC64 strcpy.
61119 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61120 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61121 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61122 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61123
61124 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61125
61126 [BZ #2801]
61127 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61128
61129 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61130
61131 [BZ #14876]
61132 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61133 * time/tst-strptime.c (day_tests): Add testcase.
61134
61135 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
61136
61137 [BZ #14029]
61138 * manual/pattern.texi: Acknowledge that fnmatch can fail.
61139
61140 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
61141
61142 [BZ #16074]
61143 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61144 MAP_FAILED on error.
61145
61146 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
61147
61148 [BZ #16072]
61149 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61150 heap for large requests.
61151
61152 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
61153
61154 [BZ #9954]
61155 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61156 result if the result has no associated interface.
61157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61158 interface for all 127.X.Y.Z addresses.
61159
61160 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
61161
61162 * locale/iso-639.def: Add Ligurian (lij)
61163
61164 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
61165
61166 [BZ #15825]
61167 * sunrpc/rpc_main.c: Document rpcgen -5.
61168
61169 2013-10-19 Michael Stahl <mstahl@redhat.com>
61170
61171 * elf/rtld.c (do_preload): Print the reason why preloading failed.
61172
61173 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61174
61175 [BZ #10278]
61176 * posix/glob.c: Match only directories when trailing slash is present.
61177 * posix/tst-gnuglob.c (my_opendir): Do not open files.
61178 (main): Add testcase.
61179
61180 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
61181
61182 [BZ #15670]
61183 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61184
61185 2013-10-18 Carlos O'Donell <carlos@redhat.com>
61186
61187 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61188 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61189 AUTH_DES and cindex for FIPS 140-2.
61190 (DES Encryption): Add cindex FIPS 46-3.
61191
61192 * locale/locarchive.h (struct locarhandle): Add fname.
61193 * locale/programs/localedef.c (main): Pass ARGV[remaining]
61194 if an optional argument was specified to --list-archive,
61195 otherwise NULL.
61196 * locale/programs/locarchive.c (show_archive_content): Take new
61197 argument fname and pass it via ah.fname to open_archive.
61198 * locale/programs/localedef.h: Update decl.
61199 (open_archive): If AH->fname is non-null, open that file
61200 rather than the default file name, and don't ignore ENOENT.
61201 (create_archive): Set AH.fname to NULL.
61202 (delete_locales_from_archive): Likewise.
61203 (add_locales_to_archive): Likewise.
61204 * locale/programs/locfile.c (write_all_categories): Likewise.
61205
61206 2013-10-18 Joseph Myers <joseph@codesourcery.com>
61207 Aldy Hernandez <aldyh@redhat.com>
61208
61209 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61210 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61211 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61212 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61213 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61214 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61215 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61216 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61217 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61218 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61219 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61220 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61221 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61222 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61223 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61224 Likewise.
61225 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61226 Likewise.
61227 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61228 Likewise.
61229 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61230 Likewise.
61231 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61232 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61233 Likewise.
61234 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61235 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61236 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61237 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61238 Likewise.
61239 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61240 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61241 * sysdeps/powerpc/preconfigure: Likewise.
61242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61243 Likewise.
61244 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61245 Replace contents of file by #include of <fenv_libc.h>.
61246 * sysdeps/powerpc/soft-fp/sfp-machine.h
61247 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61248 and <sys/prctl.h>.
61249 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61253 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61256 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61257 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61258 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61259 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61260 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61262 Allow copysignl PLT reference to be missing.
61263
61264 2013-10-18 Richard Sandiford <richard@codesourcery.com>
61265 Joseph Myers <joseph@codesourcery.com
61266
61267 [BZ #15948]
61268 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61269 single character.
61270 (add_to_tablewc): Assert sequence of wide characters is nonempty.
61271
61272 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61273
61274 * elf/tst-tls-dlinfo.c: Don't include tls.h.
61275 * elf/tst-tls1.c: Likewise.
61276 * elf/tst-tls10.h: Likewise.
61277 * elf/tst-tls14.c: Likewise.
61278 * elf/tst-tls2.c: Likewise.
61279 * elf/tst-tls3.c: Likewise.
61280 * elf/tst-tls4.c: Likewise.
61281 * elf/tst-tls5.c: Likewise.
61282 * elf/tst-tls6.c: Likewise.
61283 * elf/tst-tls7.c: Likewise.
61284 * elf/tst-tls8.c: Likewise.
61285 * elf/tst-tls9.c: Likewise.
61286 * elf/tst-tlsmod1.c: Likewise.
61287 * elf/tst-tlsmod13.c: Likewise.
61288 * elf/tst-tlsmod13a.c: Likewise.
61289 * elf/tst-tlsmod14a.c: Likewise.
61290 * elf/tst-tlsmod16a.c: Likewise.
61291 * elf/tst-tlsmod16b.c: Likewise.
61292 * elf/tst-tlsmod2.c: Likewise.
61293 * elf/tst-tlsmod3.c: Likewise.
61294 * elf/tst-tlsmod4.c: Likewise.
61295 * elf/tst-tlsmod5.c: Likewise.
61296 * elf/tst-tlsmod6.c: Likewise.
61297
61298 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
61299
61300 [BZ #12486]
61301 * malloc/malloc.c: remove checks for statistics.
61302
61303 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61304
61305 [BZ #15277]
61306 * inet/inet_net.c (inet_network): Detect additional invalid strings.
61307 * inet/tst-network.c: Add testcase.
61308
61309 2013-10-17 Andreas Schwab <schwab@suse.de>
61310
61311 [BZ #15218]
61312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61313 to determine canonical name.
61314
61315 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
61316
61317 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61318 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61319 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61320 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61321 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61322 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61323 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61324 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61325 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61326 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61327 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61328 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61329 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61330 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61331 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61332 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61334 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61336 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61340 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61341 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61342 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61343 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61344 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61346 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61349 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61351 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61354 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61355 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61357 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61358 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61361 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61362 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61363 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61364 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61365 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61366 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61367 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61369 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61371 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61372 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61373 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61374 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61375
61376 2013-10-17 Joseph Myers <joseph@codesourcery.com>
61377
61378 [BZ #16041]
61379 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61380 make result into a quiet NaN.
61381
61382 2013-10-16 Joseph Myers <joseph@codesourcery.com>
61383
61384 * soft-fp/adddf3.c: Fix horizontal whitespace.
61385 * soft-fp/addsf3.c: Likewise.
61386 * soft-fp/addtf3.c: Likewise.
61387 * soft-fp/divdf3.c: Likewise.
61388 * soft-fp/divsf3.c: Likewise.
61389 * soft-fp/divtf3.c: Likewise.
61390 * soft-fp/double.h: Likewise.
61391 * soft-fp/eqdf2.c: Likewise.
61392 * soft-fp/eqsf2.c: Likewise.
61393 * soft-fp/eqtf2.c: Likewise.
61394 * soft-fp/extenddftf2.c: Likewise.
61395 * soft-fp/extended.h: Likewise.
61396 * soft-fp/extendsfdf2.c: Likewise.
61397 * soft-fp/extendsftf2.c: Likewise.
61398 * soft-fp/extendxftf2.c: Likewise.
61399 * soft-fp/fixdfdi.c: Likewise.
61400 * soft-fp/fixdfsi.c: Likewise.
61401 * soft-fp/fixdfti.c: Likewise.
61402 * soft-fp/fixsfdi.c: Likewise.
61403 * soft-fp/fixsfsi.c: Likewise.
61404 * soft-fp/fixsfti.c: Likewise.
61405 * soft-fp/fixtfdi.c: Likewise.
61406 * soft-fp/fixtfsi.c: Likewise.
61407 * soft-fp/fixtfti.c: Likewise.
61408 * soft-fp/fixunsdfdi.c: Likewise.
61409 * soft-fp/fixunsdfsi.c: Likewise.
61410 * soft-fp/fixunsdfti.c: Likewise.
61411 * soft-fp/fixunssfdi.c: Likewise.
61412 * soft-fp/fixunssfsi.c: Likewise.
61413 * soft-fp/fixunssfti.c: Likewise.
61414 * soft-fp/fixunstfdi.c: Likewise.
61415 * soft-fp/fixunstfsi.c: Likewise.
61416 * soft-fp/fixunstfti.c: Likewise.
61417 * soft-fp/floatdidf.c: Likewise.
61418 * soft-fp/floatdisf.c: Likewise.
61419 * soft-fp/floatditf.c: Likewise.
61420 * soft-fp/floatsidf.c: Likewise.
61421 * soft-fp/floatsisf.c: Likewise.
61422 * soft-fp/floatsitf.c: Likewise.
61423 * soft-fp/floattidf.c: Likewise.
61424 * soft-fp/floattisf.c: Likewise.
61425 * soft-fp/floattitf.c: Likewise.
61426 * soft-fp/floatundidf.c: Likewise.
61427 * soft-fp/floatundisf.c: Likewise.
61428 * soft-fp/floatunditf.c: Likewise.
61429 * soft-fp/floatunsidf.c: Likewise.
61430 * soft-fp/floatunsisf.c: Likewise.
61431 * soft-fp/floatunsitf.c: Likewise.
61432 * soft-fp/floatuntidf.c: Likewise.
61433 * soft-fp/floatuntisf.c: Likewise.
61434 * soft-fp/floatuntitf.c: Likewise.
61435 * soft-fp/fmadf4.c: Likewise.
61436 * soft-fp/fmasf4.c: Likewise.
61437 * soft-fp/fmatf4.c: Likewise.
61438 * soft-fp/gedf2.c: Likewise.
61439 * soft-fp/gesf2.c: Likewise.
61440 * soft-fp/getf2.c: Likewise.
61441 * soft-fp/ledf2.c: Likewise.
61442 * soft-fp/lesf2.c: Likewise.
61443 * soft-fp/letf2.c: Likewise.
61444 * soft-fp/muldf3.c: Likewise.
61445 * soft-fp/mulsf3.c: Likewise.
61446 * soft-fp/multf3.c: Likewise.
61447 * soft-fp/negdf2.c: Likewise.
61448 * soft-fp/negsf2.c: Likewise.
61449 * soft-fp/negtf2.c: Likewise.
61450 * soft-fp/op-1.h: Likewise.
61451 * soft-fp/op-2.h: Likewise.
61452 * soft-fp/op-4.h: Likewise.
61453 * soft-fp/op-8.h: Likewise.
61454 * soft-fp/op-common.h: Likewise.
61455 * soft-fp/quad.h: Likewise.
61456 * soft-fp/single.h: Likewise.
61457 * soft-fp/soft-fp.h: Likewise.
61458 * soft-fp/sqrtdf2.c: Likewise.
61459 * soft-fp/sqrtsf2.c: Likewise.
61460 * soft-fp/sqrttf2.c: Likewise.
61461 * soft-fp/subdf3.c: Likewise.
61462 * soft-fp/subsf3.c: Likewise.
61463 * soft-fp/subtf3.c: Likewise.
61464 * soft-fp/truncdfsf2.c: Likewise.
61465 * soft-fp/trunctfdf2.c: Likewise.
61466 * soft-fp/trunctfsf2.c: Likewise.
61467 * soft-fp/trunctfxf2.c: Likewise.
61468 * soft-fp/unorddf2.c: Likewise.
61469 * soft-fp/unordsf2.c: Likewise.
61470 * soft-fp/unordtf2.c: Likewise.
61471
61472 2013-10-15 Joseph Myers <joseph@codesourcery.com>
61473
61474 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61475 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61476
61477 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
61478
61479 * elf/dl-libc.c: Clear initfini list after freeing.
61480
61481 2013-10-14 Joseph Myers <joseph@codesourcery.com>
61482
61483 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61484 * soft-fp/addsf3.c: Likewise.
61485 * soft-fp/addtf3.c: Likewise.
61486 * soft-fp/divdf3.c: Likewise.
61487 * soft-fp/divsf3.c: Likewise.
61488 * soft-fp/divtf3.c: Likewise.
61489 * soft-fp/double.h: Likewise.
61490 * soft-fp/eqdf2.c: Likewise.
61491 * soft-fp/eqsf2.c: Likewise.
61492 * soft-fp/eqtf2.c: Likewise.
61493 * soft-fp/extenddftf2.c: Likewise.
61494 * soft-fp/extended.h: Likewise.
61495 * soft-fp/extendsfdf2.c: Likewise.
61496 * soft-fp/extendsftf2.c: Likewise.
61497 * soft-fp/extendxftf2.c: Likewise.
61498 * soft-fp/fixdfdi.c: Likewise.
61499 * soft-fp/fixdfsi.c: Likewise.
61500 * soft-fp/fixdfti.c: Likewise.
61501 * soft-fp/fixsfdi.c: Likewise.
61502 * soft-fp/fixsfsi.c: Likewise.
61503 * soft-fp/fixsfti.c: Likewise.
61504 * soft-fp/fixtfdi.c: Likewise.
61505 * soft-fp/fixtfsi.c: Likewise.
61506 * soft-fp/fixtfti.c: Likewise.
61507 * soft-fp/fixunsdfdi.c: Likewise.
61508 * soft-fp/fixunsdfsi.c: Likewise.
61509 * soft-fp/fixunsdfti.c: Likewise.
61510 * soft-fp/fixunssfdi.c: Likewise.
61511 * soft-fp/fixunssfsi.c: Likewise.
61512 * soft-fp/fixunssfti.c: Likewise.
61513 * soft-fp/fixunstfdi.c: Likewise.
61514 * soft-fp/fixunstfsi.c: Likewise.
61515 * soft-fp/fixunstfti.c: Likewise.
61516 * soft-fp/floatdidf.c: Likewise.
61517 * soft-fp/floatdisf.c: Likewise.
61518 * soft-fp/floatditf.c: Likewise.
61519 * soft-fp/floatsidf.c: Likewise.
61520 * soft-fp/floatsisf.c: Likewise.
61521 * soft-fp/floatsitf.c: Likewise.
61522 * soft-fp/floattidf.c: Likewise.
61523 * soft-fp/floattisf.c: Likewise.
61524 * soft-fp/floattitf.c: Likewise.
61525 * soft-fp/floatundidf.c: Likewise.
61526 * soft-fp/floatundisf.c: Likewise.
61527 * soft-fp/floatunsidf.c: Likewise.
61528 * soft-fp/floatunsisf.c: Likewise.
61529 * soft-fp/floatuntidf.c: Likewise.
61530 * soft-fp/floatuntisf.c: Likewise.
61531 * soft-fp/floatuntitf.c: Likewise.
61532 * soft-fp/fmadf4.c: Likewise.
61533 * soft-fp/fmasf4.c: Likewise.
61534 * soft-fp/fmatf4.c: Likewise.
61535 * soft-fp/gedf2.c: Likewise.
61536 * soft-fp/gesf2.c: Likewise.
61537 * soft-fp/getf2.c: Likewise.
61538 * soft-fp/ledf2.c: Likewise.
61539 * soft-fp/lesf2.c: Likewise.
61540 * soft-fp/letf2.c: Likewise.
61541 * soft-fp/muldf3.c: Likewise.
61542 * soft-fp/mulsf3.c: Likewise.
61543 * soft-fp/multf3.c: Likewise.
61544 * soft-fp/negdf2.c: Likewise.
61545 * soft-fp/negsf2.c: Likewise.
61546 * soft-fp/negtf2.c: Likewise.
61547 * soft-fp/op-1.h: Likewise.
61548 * soft-fp/op-2.h: Likewise.
61549 * soft-fp/op-4.h: Likewise.
61550 * soft-fp/op-8.h: Likewise.
61551 * soft-fp/op-common.h: Likewise.
61552 * soft-fp/quad.h: Likewise.
61553 * soft-fp/single.h: Likewise.
61554 * soft-fp/soft-fp.h: Likewise.
61555 * soft-fp/sqrtdf2.c: Likewise.
61556 * soft-fp/sqrtsf2.c: Likewise.
61557 * soft-fp/sqrttf2.c: Likewise.
61558 * soft-fp/subdf3.c: Likewise.
61559 * soft-fp/subsf3.c: Likewise.
61560 * soft-fp/subtf3.c: Likewise.
61561 * soft-fp/truncdfsf2.c: Likewise.
61562 * soft-fp/trunctfdf2.c: Likewise.
61563 * soft-fp/trunctfsf2.c: Likewise.
61564 * soft-fp/trunctfxf2.c: Likewise.
61565 * soft-fp/unorddf2.c: Likewise.
61566 * soft-fp/unordsf2.c: Likewise.
61567 * soft-fp/unordtf2.c: Likewise.
61568
61569 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
61570
61571 [BZ #15672]
61572 * misc/error.c (error_tail): Fix possible buffer overflow.
61573
61574 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
61575
61576 [BZ #13028]
61577 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61578 address.
61579
61580 2013-10-14 P. J. McDermott <pj@pehjota.net>
61581
61582 [BZ #832]
61583 * elf/ldd.bash.in (try_trace): New function. Delete previous code
61584 testing pipefail option.
61585
61586 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61587
61588 * soft-fp/double.h: Indent preprocessor directives inside #if.
61589 * soft-fp/extended.h: Likewise.
61590 * soft-fp/op-2.h: Likewise.
61591 * soft-fp/op-4.h: Likewise.
61592 * soft-fp/op-common.h: Likewise.
61593 * soft-fp/quad.h: Likewise.
61594 * soft-fp/single.h: Likewise.
61595 * soft-fp/soft-fp.h: Likewise.
61596
61597 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
61598
61599 * iconv/iconv_prog.c: Fix typos.
61600 * stdio-common/psiginfo-data.h: Likewise.
61601
61602 2013-10-12 Reuben Thomas <rrt@sc3d.org>
61603
61604 [BZ #15764]
61605 * locale/setlocale.c: Fix typo.
61606
61607 2013-10-12 Joseph Myers <joseph@codesourcery.com>
61608
61609 [BZ #16036]
61610 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61611 signaling NaN arguments.
61612 * soft-fp/unordsf2.c (__unordsf2): Likewise.
61613 * soft-fp/unordtf2.c (__unordtf2): Likewise.
61614
61615 [BZ #14910]
61616 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61617 unordered operands.
61618 * soft-fp/gesf2.c (__gesf2): Likewise.
61619 * soft-fp/getf2.c (__getf2): Likewise.
61620 * soft-fp/ledf2.c (__ledf2): Likewise.
61621 * soft-fp/lesf2.c (__lesf2): Likewise.
61622 * soft-fp/letf2.c (__letf2): Likewise.
61623
61624 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61625 * soft-fp/eqsf2.c (__eqsf2): Likewise.
61626 * soft-fp/eqtf2.c (__eqtf2): Likewise.
61627 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61628 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61629 * soft-fp/fixdfti.c (__fixdfti): Likewise.
61630 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61631 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61632 * soft-fp/fixsfti.c (__fixsfti): Likewise.
61633 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61634 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61635 * soft-fp/fixtfti.c (__fixtfti): Likewise.
61636 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61637 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61638 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61639 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61640 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61641 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61642 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61643 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61644 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61645 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61646 * soft-fp/floatdisf.c (__floatdisf): Likewise.
61647 * soft-fp/floatsisf.c (__floatsisf): Likewise.
61648 * soft-fp/floattidf.c (__floattidf): Likewise.
61649 * soft-fp/floattisf.c (__floattisf): Likewise.
61650 * soft-fp/floattitf.c (__floattitf): Likewise.
61651 * soft-fp/floatundidf.c (__floatundidf): Likewise.
61652 * soft-fp/floatundisf.c (__floatundisf): Likewise.
61653 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61654 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61655 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61656 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61657 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
61658 * soft-fp/gesf2.c (__gesf2): Likewise.
61659 * soft-fp/getf2.c (__getf2): Likewise.
61660 * soft-fp/ledf2.c (__ledf2): Likewise.
61661 * soft-fp/lesf2.c (__lesf2): Likewise.
61662 * soft-fp/letf2.c (__letf2): Likewise.
61663
61664 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
61665 Undefine and redefine.
61666 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
61667 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
61668 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
61669 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
61670 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61671 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
61672 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61673 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
61674 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61675 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
61676 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61677 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
61678 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61679 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
61680 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61681
61682 [BZ #16032]
61683 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
61684 without decrementing exponent if mantissa >= that for the
61685 denominator, not >.
61686 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
61687 denominator, not >. Decrement exponent in < case instead of
61688 incrementing in >= case.
61689 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
61690 without decrementing exponent if mantissa >= that for the
61691 denominator, not >.
61692
61693 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
61694 computing saturated result for unsigned overflow.
61695
61696 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61697 Jeff Law <law@redhat.com>
61698
61699 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
61700 (atan2Mp): Add systemtap probe marker.
61701 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
61702 (__ieee754_log): Add systemtap probe marker.
61703 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
61704 (atanMp): Add systemtap probe marker.
61705 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
61706 (tanMp): Add systemtap probe marker.
61707 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
61708 (__slowexp): Add systemtap probe marker.
61709 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
61710 (__slowpow): Add systemtap probe marker.
61711 * manual/probes.texi: Document probes.
61712
61713 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
61714
61715 [BZ #15362]
61716 * libio/fileops.c (_IO_new_file_write): Return count of bytes
61717 written.
61718 (_IO_new_file_xsputn): Don't return EOF if nothing has been
61719 written.
61720 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
61721 written to buffer but not flushed.
61722 * libio/iofwrite_u.c: Likewise.
61723 * libio/iopadn.c: Return bytes returned even if EOF was
61724 encountered.
61725 * libio/iowpadn.c: Likewise.
61726 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
61727 if _IO_padn does not write the whole buffer.
61728 [!COMPILE_WPRINTF] (PAD): Likewise.
61729
61730 2013-10-10 David S. Miller <davem@davemloft.net>
61731
61732 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
61733 directory block.
61734
61735 2013-10-10 Joseph Myers <joseph@codesourcery.com>
61736
61737 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
61738 instead of FSF address.
61739 * soft-fp/fixdfti.c: Likewise.
61740 * soft-fp/fixsfti.c: Likewise.
61741 * soft-fp/fixtfti.c: Likewise.
61742 * soft-fp/fixunsdfti.c: Likewise.
61743 * soft-fp/fixunssfti.c: Likewise.
61744 * soft-fp/fixunstfti.c: Likewise.
61745 * soft-fp/floattidf.c: Likewise.
61746 * soft-fp/floattisf.c: Likewise.
61747 * soft-fp/floattitf.c: Likewise.
61748 * soft-fp/floatuntidf.c: Likewise.
61749 * soft-fp/floatuntisf.c: Likewise.
61750 * soft-fp/floatuntitf.c: Likewise.
61751 * soft-fp/trunctfxf2.c: Likewise.
61752
61753 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
61754 * soft-fp/fixdfti.c: Likewise.
61755 * soft-fp/fixsfti.c: Likewise.
61756 * soft-fp/fixtfti.c: Likewise.
61757 * soft-fp/fixunsdfti.c: Likewise.
61758 * soft-fp/fixunssfti.c: Likewise.
61759 * soft-fp/fixunstfti.c: Likewise.
61760 * soft-fp/floattidf.c: Likewise.
61761 * soft-fp/floattisf.c: Likewise.
61762 * soft-fp/floattitf.c: Likewise.
61763 * soft-fp/floatuntidf.c: Likewise.
61764 * soft-fp/floatuntisf.c: Likewise.
61765 * soft-fp/floatuntitf.c: Likewise.
61766 * soft-fp/trunctfxf2.c: Likewise.
61767
61768 2013-10-10 David S. Miller <davem@davemloft.net>
61769
61770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61771
61772 2013-10-10 Joseph Myers <joseph@codsourcery.com>
61773
61774 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
61775 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
61776 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61777 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61778 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61779 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61780 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61781
61782 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61783 for NaNs before doing comparisons on argument.
61784 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61785 Likewise.
61786
61787 2013-10-10 Will Newton <will.newton@linaro.org>
61788
61789 * malloc/hooks.c (memalign_check): Ensure the value of bytes
61790 passed to _int_memalign does not overflow.
61791
61792 2013-10-10 Torvald Riegel <triegel@redhat.com>
61793
61794 * scripts/bench.pl: Add include-sources directive.
61795 * benchtests/README: Update documentation.
61796
61797 2013-10-10 Joseph Myers <joseph@codesourcery.com>
61798
61799 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61800 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61801 instead of FP_INIT_ROUNDMODE.
61802 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61803 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61804
61805 [BZ #16034]
61806 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
61807 copy class of input value.
61808 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
61809 not handle exceptions.
61810 * soft-fp/negsf2.c (__negsf2): Likewise.
61811 * soft-fp/negtf2.c (__negtf2): Likewise.
61812 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61813
61814 2013-10-09 Joseph Myers <joseph@codesourcery.com>
61815
61816 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61817 semicolon. From Linux kernel.
61818
61819 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
61820
61821 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61822
61823 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
61824
61825 [BZ #156]
61826 * manual/socket.texi: Added statement about buffer
61827 for gethostbyname2_r.
61828
61829 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
61830
61831 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61832 Use .p2align directive instead, throughout.
61833 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61834 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61835 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61838 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61839 * sysdeps/x86_64/strchr.S: Likewise.
61840 * sysdeps/x86_64/strrchr.S: Likewise.
61841
61842 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
61843
61844 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61845
61846 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61847
61848 * sysdeps/generic/math_private.h (__mpsin1): Remove
61849 declaration.
61850 (__mpcos1): Likewise.
61851 (__mpsin): New argument __range_reduce.
61852 (__mpcos): Likewise.
61853 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61854 (slow): Use __mpsin and __mpcos.
61855 (slow1): Likewise.
61856 (slow2): Likewise.
61857 (sloww): Likewise.
61858 (sloww1): Likewise.
61859 (sloww2): Likewise.
61860 (bsloww): Likewise.
61861 (bsloww1): Likewise.
61862 (bsloww2): Likewise.
61863 (cslow2): Likewise.
61864 (csloww): Likewise.
61865 (csloww1): Likewise.
61866 (csloww2): Likewise.
61867 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61868 range_reduce. Merge in __mpsin1.
61869 (__mpcos): Likewise.
61870 (__mpsin1): Remove.
61871 (__mpcos1): Likewise.
61872
61873 2013-10-07 Joseph Myers <joseph@codesourcery.com>
61874
61875 * locale/loadlocale.c (_nl_intern_locale_data): Use
61876 LOCFILE_ALIGNED_P.
61877 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61878 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61879 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61880 obstack data is appropriately aligned.
61881 (obstack_int32_grow_fast): Likewise.
61882 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61883 * locale/programs/locfile.c (add_locale_uint32): Likewise.
61884 (add_locale_uint32_array): Likewise.
61885
61886 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
61887
61888 * benchtests/Makefile: Remove ARGLIST and RET variables.
61889 ($(objpfx)bench-%.c): Pass only function name to the script.
61890 * benchtests/README: Update documentation.
61891 * benchtests/acos-inputs: Add new directives.
61892 * benchtests/acosh-inputs: Likewise.
61893 * benchtests/asin-inputs: Likewise.
61894 * benchtests/asinh-inputs: Likewise.
61895 * benchtests/atan-inputs: Likewise.
61896 * benchtests/atanh-inputs: Likewise.
61897 * benchtests/cos-inputs: Likewise.
61898 * benchtests/cosh-inputs: Likewise.
61899 * benchtests/exp-inputs: Likewise.
61900 * benchtests/log-inputs: Likewise.
61901 * benchtests/pow-inputs: Likewise.
61902 * benchtests/rint-inputs: Likewise.
61903 * benchtests/sin-inputs: Likewise.
61904 * benchtests/sinh-inputs: Likewise.
61905 * benchtests/tan-inputs: Likewise.
61906 * benchtests/tanh-inputs: Likewise.
61907 * scripts/bench.pl: Add support for new directives.
61908
61909 2013-10-07 Alan Modra <amodra@gmail.com>
61910
61911 * README: Fix careless merge.
61912
61913 2013-10-05 Alan Modra <amodra@gmail.com>
61914
61915 * NEWS: Mention powerpc64le support and bugs fixed.
61916 * README: Both big-endian and little-endian powerpc64 supported.
61917
61918 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
61919
61920 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61921 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61922 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61923 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61924
61925 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
61926
61927 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61928 match prototype.
61929
61930 2013-10-04 Joseph Myers <joseph@codesourcery.com>
61931
61932 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61933 Move -mhard-float appending from
61934 ports/sysdeps/powerpc/powerpc32/Makefile.
61935 [$(with-fp) = yes] (ASFLAGS): Likewise.
61936 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61937 * sysdeps/powerpc/nofpu: Move directory from
61938 ports/sysdeps/powerpc/nofpu.
61939 * sysdeps/powerpc/soft-fp: Move directory from
61940 ports/sysdeps/powerpc/soft-fp.
61941 * sysdeps/powerpc/powerpc32/405: Move directory from
61942 ports/sysdeps/powerpc/powerpc32/405.
61943 * sysdeps/powerpc/powerpc32/440: Move directory from
61944 ports/sysdeps/powerpc/powerpc32/440.
61945 * sysdeps/powerpc/powerpc32/464: Move directory from
61946 ports/sysdeps/powerpc/powerpc32/464.
61947 * sysdeps/powerpc/powerpc32/476: Move directory from
61948 ports/sysdeps/powerpc/powerpc32/476.
61949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61952 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61954 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61956 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61958 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61959 * README: Update for powerpc-*-linux-gnu software floating point
61960 support in libc.
61961
61962 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61963 case to powerpc/powerpc32*.
61964 * sysdeps/unix/sysv/linux/configure: Regenerated.
61965
61966 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61967 (_FPU_MASK_OM): Define as 0x04.
61968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61970 0x00c10080.
61971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61972 0x0000003c.
61973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61974
61975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61976 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61977 getcontext_e500.
61978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61979 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61980 setcontext_e500.
61981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61982 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61983 and setcontext_e500.
61984
61985 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
61986
61987 * locale/iso-3166.def: Update iso-1366.def and related occurrences
61988
61989 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61990
61991 * manual/threads.texi (Default Thread Attributes): Fix typo.
61992
61993 2013-10-04 Will Newton <will.newton@linaro.org>
61994
61995 * malloc/Makefile: Add tst-memalign.
61996 * malloc/tst-memalign.c: New file.
61997
61998 * malloc/tst-posix_memalign.c: Add comments.
61999 (do_test): Add comments and call free on all potentially
62000 allocated pointers. Add space after cast.
62001
62002 * malloc/tst-pvalloc.c: Add comments.
62003 (do_test): Add comments and call free on all potentially
62004 allocated pointers. Remove duplicate check for NULL pointer.
62005 Add space after cast.
62006
62007 * malloc/tst-valloc.c: Add comments.
62008 (do_test): Add comments and call free on all potentially
62009 allocated pointers. Remove duplicate check for NULL pointer.
62010 Add space after cast.
62011
62012 2013-10-04 Alan Modra <amodra@gmail.com>
62013
62014 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62015 Use stdint types in rather than __attribute__((mode())).
62016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62017
62018 2013-10-04 Alan Modra <amodra@gmail.com>
62019
62020 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62021 Correct handling of unaligned relocs for little-endian.
62022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62023
62024 2013-10-04 Alan Modra <amodra@gmail.com>
62025
62026 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62027 * configure: Regenerate.
62028 * nptl/shlib-versions: Powerpc*le starts at 2.18.
62029 * shlib-versions: Likewise.
62030
62031 2013-10-04 Alan Modra <amodra@gmail.com>
62032
62033 * string/tester.c (test_memrchr): Increment reported test cycle.
62034
62035 2013-10-04 Alan Modra <amodra@gmail.com>
62036
62037 * string/test-memcpy.c (do_one_test): When reporting errors, print
62038 string address and don't overrun end of string.
62039
62040 2013-10-04 Alan Modra <amodra@gmail.com>
62041
62042 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62043 insrdi. Make better use of reg selection to speed exit slightly.
62044 Schedule entry path a little better. Remove useless "are we done"
62045 checks on entry to main loop. Handle wrapping around zero address.
62046 Correct main loop count. Handle single left-over word from main
62047 loop inline rather than by using loop_small. Remove extra word
62048 case in loop_small caused by wrong loop count. Add little-endian
62049 support.
62050 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
62052 cache hint.
62053 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62054 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62055 support. Avoid rlwimi.
62056 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62057
62058 2013-10-04 Alan Modra <amodra@gmail.com>
62059
62060 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62061 insrdi. Formatting.
62062 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62063 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62064 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62065 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62066 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62067 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62068
62069 2013-10-04 Alan Modra <amodra@gmail.com>
62070
62071 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62074 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62075 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62076 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62077 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62078 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62079 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
62080 use of regs. Use power7 mtocrf. Tidy function tails.
62081
62082 2013-10-04 Alan Modra <amodra@gmail.com>
62083
62084 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62085 Formatting. Consistently use rXXX register defines or rN defines.
62086 Use early exit labels that avoid restoring unused non-volatile regs.
62087 Make cr field use more consistent with rWORDn compares. Rename
62088 regs used as shift registers for unaligned loop, using rN defines
62089 for short lifetime/multiple use regs.
62090 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62091 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
62092 addi 1,1,64 to pop stack frame. Simplify return value code.
62093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62094
62095 2013-10-04 Alan Modra <amodra@gmail.com>
62096
62097 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62098 support. Correct typos, formatting. Optimize tail. Use insrdi
62099 rather than rlwimi.
62100 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62101 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62102 little-endian support. Correct typos.
62103 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
62104 rather than rlwimi.
62105 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
62106 in loop and entry code to keep "and." results.
62107 (strchr): Add little-endian support. Comment. Move cntlzd
62108 earlier in tail.
62109 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62110
62111 2013-10-04 Alan Modra <amodra@gmail.com>
62112
62113 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62114 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62115 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62116 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62117
62118 2013-10-04 Alan Modra <amodra@gmail.com>
62119
62120 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62121 (rTMP): Define as r11.
62122 (strcmp): Add little-endian support. Optimise tail.
62123 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62124 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62125 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62126 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62127 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62129 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62130
62131 2013-10-04 Alan Modra <amodra@gmail.com>
62132
62133 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62134 little-endian support. Remove unnecessary "are we done" tests.
62135 Handle "s" wrapping around zero and extremely large "size".
62136 Correct main loop count. Handle single left-over word from main
62137 loop inline rather than by using small_loop. Correct comments.
62138 Delete "zero" tail, use "end_max" instead.
62139 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62140
62141 2013-10-04 Alan Modra <amodra@gmail.com>
62142
62143 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62144 support. Don't branch over align.
62145 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62146 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62147 support. Rearrange tmp reg use to suit. Comment.
62148 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62149
62150 2013-10-04 Alan Modra <amodra@gmail.com>
62151
62152 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62153
62154 2013-10-04 Alan Modra <amodra@gmail.com>
62155
62156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62157 conditional form of branch and link when obtaining pc.
62158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62159
62160 2013-10-04 Alan Modra <amodra@gmail.com>
62161
62162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62163 HIWORD/LOWORD.
62164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62166
62167 2013-10-04 Alan Modra <amodra@gmail.com>
62168
62169 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62170 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62171 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62172 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62173 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62174 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62175 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62176 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62177 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62178 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62179
62180 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62181 Alistair Popple <alistair@ozlabs.au.ibm.com>
62182 Alan Modra <amodra@gmail.com>
62183
62184 [BZ #15723]
62185 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62186 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62187 _dl_hwcap access for little-endian.
62188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
62189 destroy vmx regs when saving unaligned.
62190 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62191 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
62192 destroy vmx regs when saving unaligned.
62193
62194 2013-10-04 Alan Modra <amodra@gmail.com>
62195
62196 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62197 Don't use a union to pack hi/low value.
62198
62199 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62200
62201 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62202 for little-endian.
62203 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62205 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62206 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62207 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62208
62209 2013-10-04 Alan Modra <amodra@gmail.com>
62210
62211 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62212 constants to usual value for .cst8 section, and remove redundant
62213 high address load.
62214 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62215 constant for 0x1p52. Load little-endian words of double from
62216 correct stack offsets.
62217
62218 2013-10-04 Alan Modra <amodra@gmail.com>
62219
62220 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62221 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62222 words of double from correct stack offsets.
62223 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62224 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62225 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62228 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62229 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62230 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62231 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62232 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62233 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62234 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62235 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62236 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62237 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62238 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62239 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62240
62241 2013-10-04 Alan Modra <amodra@gmail.com>
62242
62243 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62244 64-bit int/double union.
62245 (_FPU_SETCW): Likewise.
62246 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62247 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62248
62249 2013-10-04 Alan Modra <amodra@gmail.com>
62250
62251 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62252 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62253
62254 2013-10-04 Alan Modra <amodra@gmail.com>
62255
62256 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62257 use vector int constants.
62258 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62259
62260 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62261
62262 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62263 array with long long.
62264 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62265 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62266 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62267 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62268 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62269 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62270 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62271 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62272 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62273 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62274 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62275 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62276 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62277
62278 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
62279
62280 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62281 (__signbit): Likewise. Correct for little-endian.
62282 (__signbitl): Call __signbit.
62283 (lrint): Correct for little-endian.
62284 (lrintf): Call lrint.
62285
62286 2013-10-04 Alan Modra <amodra@gmail.com>
62287
62288 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62289 union 32-bit int array member with 64-bit int array.
62290 (t515, tm256): Double rather than long double.
62291 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62292
62293 2013-10-04 Alan Modra <amodra@gmail.com>
62294
62295 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62296 Delete.
62297 (IEEE854_LONG_DOUBLE_BIAS): Delete.
62298 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62299 version of math_ldbl.h.
62300
62301 2013-10-04 Alan Modra <amodra@gmail.com>
62302
62303 [BZ #15734], [BZ #15735]
62304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62305 all uses of ieee875 long double macros and unions. Simplify test
62306 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
62307 ldbl_extract_mantissa value for ix,iy exponents. Properly
62308 normalize after ldbl_extract_mantissa, and don't add hidden bit
62309 already handled. Don't treat low word of ieee854 mantissa like
62310 low word of IBM long double and mask off bit when testing for
62311 zero.
62312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62313 all uses of ieee875 long double macros and unions. Simplify tests
62314 for 0.0L and inf. Correct double adjustment of k. Delete dead code
62315 adjusting ha,hb. Simplify code setting kld. Delete two600 and
62316 two1022, instead use their values. Recognise that tests for large
62317 "a" and small "b" are mutually exclusive. Rename vars. Comment.
62318 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62319 Rewrite all uses of ieee875 long double macros and unions. Simplify
62320 test for 0.0L and nan. Correct negation.
62321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62322 ieee875 long double macros and unions. Correct output for large
62323 magnitude x. Correct absolute value calculation.
62324 (__erfcl): Likewise.
62325 * math/libm-test.inc: Add tests for errors discovered in IBM long
62326 double versions of fmodl, remainderl, erfl and erfcl.
62327
62328 2013-10-04 Alan Modra <amodra@gmail.com>
62329
62330 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62331 all uses of ieee854 long double macros and unions. Simplify tests
62332 for long doubles that are fully specified by the high double.
62333 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62334 Likewise.
62335 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62336 Remove dead code too.
62337 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62338 (__ieee754_ynl): Likewise.
62339 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62340 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62342 Remove dead code too.
62343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62344 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62346 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62347 Simplify.
62348 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62349 Simplify.
62350 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62351 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62352 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62353 Comment on variable precision.
62354 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62355 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62356 Likewise.
62357 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62360 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62361 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62362
62363 2013-10-04 Alan Modra <amodra@gmail.com>
62364
62365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62366 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62367 all uses of ieee854 long double macros and unions.
62368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62370 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62372 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62373 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62374 Likewise.
62375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62376 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62378 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62379 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62381 Simplify sign and nan test too.
62382 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62383 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62384 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62385 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62386 Likewise.
62387 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62388 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62389 Likewise.
62390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62391 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62392 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62393 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62394 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62396
62397 2013-10-04 Alan Modra <amodra@gmail.com>
62398
62399 * stdio-common/printf_size.c (__printf_size): Don't use
62400 union ieee854_long_double in fpnum union.
62401 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
62402 signbit macro to retrieve sign from long double.
62403 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62404 retrieve sign from long double.
62405 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62406 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62407 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62408 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62409 * math/test-misc.c (main): Don't use union ieee854_long_double.
62410
62411 2013-10-04 Alan Modra <amodra@gmail.com>
62412
62413 [BZ #15680]
62414 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62415 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62416 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62417 calculation. Remove unnecessary test for denormal exponent.
62418 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62419 Correct handling of denormals. Avoid undefined shift behaviour.
62420 Correct normalisation of low mantissa when low double is denormal.
62421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62422 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
62423 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62424 Correct normalisation of low mantissa. Test for overflow of high
62425 mantissa and normalise.
62426 (ldbl_nearbyint): Use more readable constant for two52.
62427 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62428 (__mpn_construct_long_double): Fix test for overflow of high
62429 mantissa and correct normalisation. Avoid undefined shift.
62430
62431 2013-10-04 Alan Modra <amodra@gmail.com>
62432
62433 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62434 (union ibm_extended_long_double): Define as an array of ieee754_double.
62435 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62436 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62437 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62438 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62440 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62441 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62442 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62443 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62444 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62445 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62446
62447 2013-10-03 Joseph Myers <joseph@codesourcery.com>
62448
62449 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62450 page size instead of calling getpagesize.
62451
62452 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62453 (LOCFILE_ALIGN_MASK): Likewise.
62454 (LOCFILE_ALIGN_UP): Likewise.
62455 (LOCFILE_ALIGNED_P): Likewise.
62456 * locale/programs/ld-collate.c (collate_output): Use the new
62457 macros instead of __alignof__ (int32_t).
62458 * locale/weight.h (findidx): Likewise.
62459
62460 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
62461
62462 [BZ #431]
62463 * manual/string.texi: Fix strncat and wcsncat.
62464
62465 2013-10-03 Brooks Moses <bmoses@google.com>
62466
62467 [BZ #15915]
62468 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62469 * Makerules: ...here, and adjust associated comments.
62470
62471 2013-10-02 Will Newton <will.newton@linaro.org>
62472
62473 * malloc/Makefile: Add tst-pvalloc.
62474 * malloc/tst-pvalloc.c: New file.
62475
62476 2013-10-02 Will Newton <will.newton@linaro.org>
62477
62478 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62479 improve test coverage.
62480
62481 2013-10-02 Will Newton <will.newton@linaro.org>
62482
62483 * malloc/Makefile: Add tst-posix_memalign.
62484 * malloc/tst-posix_memalign.c: New file.
62485
62486 2013-10-01 Eric Blake <eblake@redhat.com>
62487
62488 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62489 Use __THROWNL rather than __THROW on static functions.
62490
62491 2013-09-30 Petr Machata <pmachata@redhat.com>
62492
62493 * elf/elf.h (R_AARCH64_ABS16): New macro.
62494 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62495 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62496 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62497 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62498 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62499 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62500 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62501 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62502 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62503 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62504 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62505 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62506 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62507 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62508 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62509 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62510 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62511 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62512 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62513 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62514 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62515 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62516 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62517 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62518 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62519 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62520 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62521 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62522 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62523 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62524 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62525 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62526 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62527 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62528 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62529 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62530 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62531 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62532 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62533 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62534 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62535 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62536 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62537 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62538 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62539 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62540 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62541 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62542 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62543 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62544 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62545 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62546 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62547 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62548 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62549 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62550 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62551 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62552 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62553 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62554 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62555 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62556 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62557 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62558 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62559 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62560 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62561 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62562 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62563 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62564 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62565 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62566 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62567 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62568 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62569 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62570 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62571 (R_AARCH64_TLSDESC_LDR): Likewise.
62572 (R_AARCH64_TLSDESC_ADD): Likewise.
62573 (R_AARCH64_TLSDESC_CALL): Likewise.
62574
62575 2013-09-30 Andreas Schwab <schwab@suse.de>
62576
62577 [BZ #15048]
62578 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62579 the nss database lookup.
62580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62581 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62582
62583 2013-09-28 Mike Frysinger <vapier@gentoo.org>
62584
62585 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62586
62587 2013-09-28 P. J. McDermott <pj@pehjota.net>
62588
62589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62590 ${Bash-specific parameter/pattern/string} parameter expansion.
62591 * sysdeps/unix/make-syscalls.sh: Likewise.
62592
62593 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62594
62595 * sysdeps/sh/stackguard-macros.h: New file.
62596
62597 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
62598
62599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62601 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62602 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62603 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62604 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62605
62606 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62607
62608 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62609 Fix thread ID register.
62610
62611 2013-09-25 Joseph Myers <joseph@codesourcery.com>
62612
62613 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62614 [POSIX || UNIX98]: Require rather than permitting all symbols from
62615 <time.h>.
62616 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62617 element of struct sched_param.
62618 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62619 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62620 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62621 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62622 constant.
62623
62624 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
62625
62626 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62627 argument calculation.
62628
62629 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62630
62631 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62632 Expect macro.
62633 [POSIX] (pthread_attr_t): Do not require type.
62634 [POSIX] (pthread_cond_t): Likewise.
62635 [POSIX] (pthread_condattr_t): Likewise.
62636 [POSIX] (pthread_key_t): Likewise.
62637 [POSIX] (pthread_mutex_t): Likewise.
62638 [POSIX] (pthread_mutexattr_t): Likewise.
62639 [POSIX] (pthread_once_t): Likewise.
62640 [POSIX] (pthread_t): Likewise.
62641 [POSIX-based standards] (pthread_atfork): Expect function.
62642
62643 2013-09-24 Joseph Myers <joseph@codesourcery.com>
62644 Richard Sandiford <richard@codesourcery.com>
62645
62646 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62647 (swap_endianness_p): New extern variable.
62648 (set_big_endian): New inline function.
62649 (maybe_swap_uint32): Likewise.
62650 (maybe_swap_uint32_array): Likewise.
62651 (maybe_swap_uint32_obstack): Likewise.
62652 * locale/programs/locfile.c: Include <stdbool.h>.
62653 (swap_endianness_p): New variable.
62654 (add_locale_uint32): Call maybe_swap_uint32.
62655 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62656 (write_locale_data): Call maybe_swap_uint32_array.
62657 * locale/programs/ld-collate.c (obstack_int32_grow): Call
62658 maybe_swap_uint32.
62659 (obstack_int32_grow_fast): Likewise.
62660 (output_weightwc): Call maybe_swap_uint32_obstack.
62661 (collate_output): Likewise.
62662 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
62663 (OPT_LITTLE_ENDIAN): Likewise.
62664 (options): Add --little-endian and --big-endian options.
62665 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
62666 * locale/programs/locarchive.c: Include "locfile.h".
62667 (GET): New macro.
62668 (SET): Likewise.
62669 (INC): Likewise.
62670 (create_archive): Use the new macros to access fields of
62671 structures directly mapped from or written to locale archives.
62672 (oldlocrecentcmp): Likewise.
62673 (enlarge_archive): Likewise.
62674 (insert_name): Likewise.
62675 (add_alias): Likewise.
62676 (add_locale): Likewise.
62677 (delete_locales_from_archive): Likewise.
62678 (show_archive_content): Likewise.
62679 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
62680 locale data.
62681
62682 2013-09-24 Roland McGrath <roland@hack.frob.com>
62683
62684 * manual/freemanuals.texi: Updated from (newly) canonical copy at
62685 http://www.gnu.org/doc/freemanuals.texi.
62686 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
62687
62688 2013-09-24 Will Newton <will.newton@linaro.org>
62689
62690 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
62691 macro.
62692
62693 2013-09-23 Joseph Myers <joseph@codesourcery.com>
62694
62695 * locale/hashval.h (compute_hashval): Interpret bytes of key as
62696 unsigned char.
62697
62698 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
62699
62700 * manual/threads.texi (POSIX Threads): Fix a typo.
62701
62702 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
62703
62704 [BZ #14547]
62705 * string/tst-strcoll-overflow.c: New test case.
62706 * string/Makefile (xtests): Add tst-strcoll-overflow.
62707 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
62708 cache if string sizes may cause integer overflow.
62709
62710 [BZ #14547]
62711 * string/strcoll_l.c (coll_seq): New members rule, idx,
62712 save_idx and back_us.
62713 (get_next_seq_nocache): New function.
62714 (do_compare_nocache): New function.
62715 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
62716 when malloc fails.
62717
62718 2013-09-23 Carlos O'Donell <carlos@redhat.com>
62719
62720 [BZ #15754]
62721 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
62722 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
62723 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
62724
62725 [BZ #15754]
62726 * elf/Makefile (tests): Add tst-ptrguard1.
62727 (tests-static): Add tst-ptrguard1-static.
62728 (tst-ptrguard1-ARGS): Define.
62729 (tst-ptrguard1-static-ARGS): Define.
62730 * elf/tst-ptrguard1.c: New file.
62731 * elf/tst-ptrguard1-static.c: New file.
62732 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
62733 * sysdeps/i386/stackguard-macros.h: Likewise.
62734 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62735 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62736 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62737 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62738 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62739 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62740
62741 2013-09-23 Hector Marco <hecmargi@upv.es>
62742 Ismael Ripoll <iripoll@disca.upv.es>
62743 Carlos O'Donell <carlos@redhat.com>
62744
62745 [BZ #15754]
62746 * sysdeps/generic/stackguard-macros.h: Define
62747 __pointer_chk_guard_local and POINTER_CHK_GUARD.
62748 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
62749 Define __pointer_chk_guard_local.
62750 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
62751 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
62752
62753 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
62754
62755 [BZ #15859]
62756 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
62757
62758 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
62759
62760 * include/string.h (__ffs): Declare as hidden.
62761 * string/ffs.c (__ffs): Define as hidden.
62762 * sysdeps/i386/ffs.c (__ffs): Likewise.
62763 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
62764 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
62765 * sysdeps/s390/ffs.c (__ffs): Likewise.
62766 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
62767
62768 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
62769
62770 * NEWS: Mention malloc probes.
62771
62772 * malloc/arena.c (new_heap): New memory_heap_new probe.
62773 (grow_heap): New memory_heap_more probe.
62774 (shrink_heap): New memory_heap_less probe.
62775 (heap_trim): New memory_heap_free probe.
62776 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62777 (systrim): New memory_sbrk_less probe.
62778 * manual/probes.texi: Document them.
62779
62780 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62781 * manual/probes.texi: Document it.
62782
62783 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62784 (__libc_realloc): Add memory_realloc_retry probe.
62785 (__libc_memalign): Add memory_memalign_retry probe.
62786 (__libc_valloc): Add memory_valloc_retry probe.
62787 (__libc_pvalloc): Add memory_pvalloc_retry probe.
62788 (__libc_calloc): Add memory_calloc_retry probe.
62789 * manual/probes.texi: Document them.
62790
62791 * malloc/arena.c (get_free_list): Add probe
62792 memory_arena_reuse_free_list.
62793 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62794 and memory_arena_reuse.
62795 (arena_get2) [!PER_THREAD]: Likewise.
62796 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62797 memory_arena_reuse_realloc.
62798 * manual/probes.texi: Document them.
62799
62800 * malloc/malloc.c (__libc_free): Add
62801 memory_mallopt_free_dyn_thresholds probe.
62802 (__libc_mallopt): Add multiple memory_mallopt probes.
62803 * manual/probes.texi: Document them.
62804
62805 * malloc/malloc.c: Include stap-probe.h.
62806 (__libc_mallopt): Add memory_mallopt probe.
62807 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62808 * manual/probes.texi: New.
62809 * manual/Makefile (chapters): Add probes.
62810 * manual/threads.texi: Set next node.
62811
62812 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
62813
62814 [BZ #15963, #13985]
62815 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62816 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62817 Add `Chinese' to `nan' entry name.
62818
62819 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62820
62821 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62822 (POLYNOMIAL): Likewise.
62823 (TAYLOR_SINCOS): Likewise.
62824 (TAYLOR_SLOW): Likewise.
62825 (__sin): Use TAYLOR_SINCOS.
62826 (__cos): Likewise.
62827 (slow): Use TAYLOR_SLOW.
62828 (sloww): Likewise.
62829 (bsloww): Likewise.
62830 (csloww): Likewise.
62831
62832 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62833
62834 * stdlib/strtod_l.c: Fix buffer overrun.
62835
62836 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62837
62838 * benchtests/Makefile (bench): Add sincos.
62839 * benchtests/bench-sincos.c: New file.
62840
62841 * math/libm-test.inc (cos_test_data): New test inputs.
62842 (sin_test_data): Likewise.
62843
62844 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62845 macro.
62846 (__sin): Use it.
62847 (__cos): Likewise.
62848 (slow1): Likewise.
62849 (slow2): Likewise.
62850 (sloww1): Likewise.
62851 (sloww2): Likewise.
62852 (bsloww1): Likewise.
62853 (bsloww2): Likewise.
62854 (cslow2): Likewise.
62855 (csloww1): Likewise.
62856 (csloww2): Likewise.
62857
62858 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62859 function.
62860 (__sin): Use it.
62861 (__cos): Likewise.
62862
62863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62864 gotos.
62865 (__cos): Likewise.
62866
62867 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
62868
62869 * config.h.in (HAVE_MIPS_NAN2008): New macro.
62870 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62871 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62872 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62873 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62874 * elf/cache.c (print_entry): Handle the new cache flags.
62875
62876 2013-09-18 Joseph Myers <joseph@codesourcery.com>
62877 Aldy Hernandez <aldyh@redhat.com>
62878
62879 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62880 Change condition to [_SOFT_FLOAT].
62881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62893 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62895 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62896 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62897 declaration.
62898
62899 2013-09-18 Joseph Myers <joseph@codesourcery.com>
62900
62901 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62902 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62903 (__longjmp): Use LOAD_GP to load saved GPRs.
62904 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62905 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62906 (__sigsetjmp): Use SAVE_GP to save GPRs.
62907
62908 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62909 Do not append -msoft-float.
62910 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62911
62912 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
62913
62914 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62915
62916 2013-09-17 Joseph Myers <joseph@codesourcery.com>
62917
62918 [BZ #15966]
62919 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62920 (_FPU_GETCW): Use initial "__" on variable and field names but not
62921 on macro parameter name.
62922 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
62923 parentheses around reference to macro parameter.
62924
62925 2013-09-13 Richard Sandiford <richard@codesourcery.com>
62926
62927 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62928 prototype.
62929 (ctype_startup): Use uint32_t in cast and sizeof for
62930 ctype->charnames.
62931
62932 2013-09-11 Jia Liu <proljc@gmail.com>
62933
62934 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62935 __daddr_t_defined.
62936 [__FreeBSD__]: Likewise.
62937
62938 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
62939
62940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62941 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62942 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62943 (strchr): Remove __strchr_sse42 ifunc selection.
62944 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62945 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62946
62947 2013-09-11 Will Newton <will.newton@linaro.org>
62948
62949 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62950 parameter to RES. Remove hardcoded 1000 value.
62951 * benchtests/bench-skeleton.c (main): Pass RES parameter
62952 to TIMING_INIT and multiply result by 1000.
62953
62954 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62955
62956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62957
62958 2013-09-11 Andreas Schwab <schwab@suse.de>
62959
62960 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62961 if not defined.
62962 (O_TMPFILE) [__USE_GNU]: Define.
62963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62964 Define.
62965
62966 2013-09-11 Will Newton <will.newton@linaro.org>
62967
62968 [BZ #15857]
62969 * malloc/malloc.c (__libc_memalign): Check the value of bytes
62970 does not overflow.
62971
62972 2013-09-11 Will Newton <will.newton@linaro.org>
62973
62974 [BZ #15856]
62975 * malloc/malloc.c (__libc_valloc): Check the value of bytes
62976 does not overflow.
62977
62978 2013-09-11 Will Newton <will.newton@linaro.org>
62979
62980 [BZ #15855]
62981 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62982 does not overflow.
62983
62984 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
62985
62986 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62988 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62989 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62990 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62991
62992 2013-09-10 Allan McRae <allan@archlinux.org>
62993
62994 [BZ #15748]
62995 * manual/arith.texi (Parsing of Floats): Clarify
62996 cross-reference.
62997
62998 [BZ #15849]
62999 * manual/install.texi (Running make install): Mention
63000 --enable-pt-chown.
63001 * INSTALL: Regenerated.
63002
63003 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
63004
63005 * csu/init-first.c (_init): Remove the !SHARED condition around
63006 FPU control word initialization.
63007 * elf/dl-support.c (_dl_fpu_control): New variable.
63008 (_dl_aux_init) <AT_FPUCW>: Initialize it.
63009 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63010 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63011 * math/test-fpucw-static.c: New file.
63012 * math/test-fpucw-ieee.c: New file.
63013 * math/test-fpucw-ieee-static.c: New file.
63014 * math/Makefile (tests): Add `test-fpucw-ieee' and
63015 `$(tests-static)'.
63016 (tests-static): New variable.
63017 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63018 dependency to...
63019 [($(build-shared),yes)]
63020 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63021 ... this.
63022 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63023 New dependency.
63024
63025 2013-09-09 Allan McRae <allan@archlinux.org>
63026
63027 [BZ #15939]
63028 * manual/string.texi (Collation Functions): Fix typo in
63029 strcoll example.
63030 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63031
63032 [BZ #15893]
63033 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63034
63035 [BZ #15892]
63036 * libio/memstream.c (open_memstream): Fix memory leak.
63037 * libio/wmemstream.c (open_wmemstream): Likewise.
63038
63039 [BZ #15895]
63040 * nscd/netgroupcache.c: Fix nesting of ifdefs.
63041
63042 2013-09-09 Will Newton <will.newton@linaro.org>
63043
63044 * malloc/Makefile: Add tst-realloc to tests.
63045 * malloc/tst-realloc.c: New file.
63046
63047 2013-09-09 Allan McRae <allan@archlinux.org>
63048
63049 [BZ #15844]
63050 * COPYING: Update from GNU website to fix FSF address.
63051 * COPYING.LIB: Likewise.
63052
63053 2013-09-06 David S. Miller <davem@davemloft.net>
63054
63055 * po/zh_TW.po: Update Chinese (traditional) translation from
63056 translation project.
63057
63058 2013-09-06 Richard Sandiford <richard@codesourcery.com>
63059 Joseph Myers <joseph@codesourcery.com>
63060
63061 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63062 "localeinfo.h".
63063 (obstack_chunk_alloc): New macro.
63064 (obstack_chunk_free): Likewise.
63065 (record_offset): New function.
63066 (init_locale_data): Likewise.
63067 (align_locale_data): Likewise.
63068 (add_locale_empty): Likewise.
63069 (add_locale_raw_data): Likewise.
63070 (add_locale_raw_obstack): Likewise.
63071 (add_locale_string): Likewise.
63072 (add_locale_wstring): Likewise.
63073 (add_locale_uint32): Likewise.
63074 (add_locale_uint32_array): Likewise.
63075 (add_locale_char): Likewise.
63076 (start_locale_structure): Likewise.
63077 (end_locale_structure): Likewise.
63078 (start_locale_prelude): Likewise.
63079 (end_locale_prelude): Likewise.
63080 (write_locale_data): Take locale_file structure rather than an
63081 iovec.
63082 * locale/programs/locfile.h: Include "obstack.h".
63083 (struct locale_file): Change to store locale file contents instead
63084 of header.
63085 (init_locale_data): New prototype.
63086 (align_locale_data): Likewise.
63087 (add_locale_empty): Likewise.
63088 (add_locale_raw_data): Likewise.
63089 (add_locale_raw_obstack): Likewise.
63090 (add_locale_string): Likewise.
63091 (add_locale_wstring): Likewise.
63092 (add_locale_uint32): Likewise.
63093 (add_locale_uint32_array): Likewise.
63094 (add_locale_char): Likewise.
63095 (start_locale_structure): Likewise.
63096 (end_locale_structure): Likewise.
63097 (start_locale_prelude): Likewise.
63098 (end_locale_prelude): Likewise.
63099 (write_locale_data): Update prototype.
63100 * locale/programs/3level.h (struct TABLE): Remove result field.
63101 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63102 Use new locale_file interface.
63103 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63104 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63105 * locale/programs/ld-address.c (address_output): Use new
63106 locale_file interface.
63107 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63108 NO_ADD_LOCALE.
63109 (collate_finish): Don't call collseq_table_finalize.
63110 (collate_output): Use new locale_file interface.
63111 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63112 in file.
63113 (NO_FINALIZE): Change to NO_ADD_LOCALE.
63114 (TABLE): Move defines earlier in file.
63115 (ELEMENT): Likewise.
63116 (DEFAULT): Likewise.
63117 (wctrans_table_add): Move macro and inline function earlier in
63118 file.
63119 (struct wctype_table): Move type earlier in file.
63120 (add_locale_wctype_table): New static prototype.
63121 (struct locale_ctype_t): Use logical types instead of struct iovec
63122 pointers for members.
63123 (ctype_output): Use new locale_file interface.
63124 (wctype_table_finalize): Change to add_locale_wctype_table. Use
63125 new locale_file interface.
63126 (allocate_arrays): Update for use of new locale_file interface.
63127 * locale/programs/ld-identification.c (identification_output): Use
63128 new locale_file interface.
63129 * locale/programs/ld-measurement.c (measurement_output): Likewise.
63130 * locale/programs/ld-messages.c (messages_output): Likewise.
63131 * locale/programs/ld-monetary.c (monetary_output): Likewise.
63132 * locale/programs/ld-name.c (name_output): Likewise.
63133 * locale/programs/ld-numeric.c (numeric_output): Likewise.
63134 * locale/programs/ld-paper.c (paper_output): Likewise.
63135 * locale/programs/ld-telephone.c (telephone_output): Likewise.
63136 * locale/programs/ld-time.c (time_output): Likewise.
63137
63138 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63139
63140 * benchtests/Makefile: Add memrchr benchmark.
63141 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63142 benchmark as memrchr.
63143 * benchtests/bench-memrchr-ifunc.c: New file.
63144 * benchtests/bench-memrchr.c: New file.
63145
63146 2013-09-06 Will Newton <will.newton@linaro.org>
63147
63148 * benchtests/Makefile (string-bench): Add memcpy.
63149
63150 2013-09-05 Carlos O'Donell <carlos@redhat.com>
63151 Cong Wang <amwang@redhat.com>
63152
63153 [BZ #15850]
63154 * sysdeps/unix/sysv/linux/bits/in.h
63155 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63156 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63157 before __USE_KERNEL_IPV6_DEFS uses.
63158 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63159 IPPROTO_BEETPH.
63160 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63161 sockaddr_in6, or ipv6_mreq.
63162
63163 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63164
63165 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63166 memory access for final bytes in some large inputs.
63167 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63168
63169 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63170
63171 * string/test-memrchr.c: New file.
63172 * string/test-memrchr-ifunc.c: New file.
63173 * string/Makefile: Add new memrchr testcase.
63174
63175 2013-09-05 Mike Frysinger <vapier@gentoo.org>
63176
63177 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63178 fanotify_init returns EPERM.
63179
63180 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63181
63182 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63183 errors.
63184 (top level): Treat second token from macro or constant entries for
63185 allowed headers as allowed.
63186 * include/complex.h: Condition internal declarations on
63187 [!_ISOMAC].
63188 * include/fenv.h: Condition include of <stdbool.h> and internal
63189 declarations on [!_ISOMAC].
63190
63191 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
63192
63193 [BZ #15923]
63194 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63195
63196 2013-09-04 Joseph Myers <joseph@codesourcery.com>
63197
63198 * configure.in (--enable-versioning): Remove configure option.
63199 (libc_cv_asm_symver_directive): Remove configure test.
63200 (libc_cv_ld_version_script_option): Likewise.
63201 (VERSIONING): Remove variable and AC_SUBST.
63202 (DO_VERSIONING): Remove AC_DEFINE.
63203 * configure: Regenerated.
63204 * config.h.in (DO_VERSIONING): Remove macro.
63205 * Makerules [$(versioning) = yes]: Change conditionals to
63206 [$(build-shared) = yes].
63207 * config.make.in (versioning): Remove variable.
63208 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63209 [$(build-shared) = yes].
63210 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63211 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63212 * elf/Makefile [$(versioning) = yes]: Change conditionals to
63213 [$(build-shared) = yes].
63214 * extra-lib.mk [$(versioning) = yes]: Likewise.
63215 * hurd/Makefile [$(versioning) = yes]: Likewise.
63216 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63217 [SHARED].
63218 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63219 [SHARED].
63220 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63221 [SHARED && !NO_HIDDEN].
63222 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63223 [SHARED].
63224 [SHARED && DO_VERSIONING]: Likewise..
63225 * libio/Makefile [$(versioning) = yes]: Change conditionals to
63226 [$(build-shared) = yes].
63227 * manual/install.texi (--disable-versioning): Remove
63228 documentation.
63229 * INSTALL: Regenerated.
63230 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63231 to [SHARED].
63232 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63233 [$(build-shared) = yes].
63234 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63235 * sysdeps/i386/i686/multiarch/strstr-c.c
63236 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63237 [SHARED && !NO_HIDDEN].
63238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63239 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63240 * sysdeps/powerpc/powerpc32/dl-machine.c
63241 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63242 * sysdeps/powerpc/powerpc32/sysdep.h
63243 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63244 to [SHARED && PIC && !NO_HIDDEN].
63245 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63246 conditional to [SHARED].
63247
63248 2013-09-04 Will Newton <will.newton@linaro.org>
63249
63250 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63251 * benchtests/bench-string.h: Include bench-timing.h instead
63252 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63253 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63254 call to HP_TIMING_DIFF_INIT.
63255 * benchtests/bench-memccpy.c: Use bench-timing.h macros
63256 instead of hp-timing.h macros.
63257 * benchtests/bench-memchr.c: Likewise.
63258 * benchtests/bench-memcmp.c: Likewise.
63259 * benchtests/bench-memcpy.c: Likewise.
63260 * benchtests/bench-memmem.c: Likewise.
63261 * benchtests/bench-memmove.c: Likewise.
63262 * benchtests/bench-memset.c: Likewise.
63263 * benchtests/bench-rawmemchr.c: Likewise.
63264 * benchtests/bench-strcasecmp.c: Likewise.
63265 * benchtests/bench-strcasestr.c: Likewise.
63266 * benchtests/bench-strcat.c: Likewise.
63267 * benchtests/bench-strchr.c: Likewise.
63268 * benchtests/bench-strcmp.c: Likewise.
63269 * benchtests/bench-strcpy.c: Likewise.
63270 * benchtests/bench-strcpy_chk.c: Likewise.
63271 * benchtests/bench-strlen.c: Likewise.
63272 * benchtests/bench-strncasecmp.c: Likewise.
63273 * benchtests/bench-strncat.c: Likewise.
63274 * benchtests/bench-strncmp.c: Likewise.
63275 * benchtests/bench-strncpy.c: Likewise.
63276 * benchtests/bench-strnlen.c: Likewise.
63277 * benchtests/bench-strpbrk.c: Likewise.
63278 * benchtests/bench-strrchr.c: Likewise.
63279 * benchtests/bench-strspn.c: Likewise.
63280 * benchtests/bench-strstr.c: Likewise.
63281
63282 2013-09-04 Will Newton <will.newton@linaro.org>
63283
63284 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63285
63286 2013-09-03 Joseph Myers <joseph@codesourcery.com>
63287
63288 [BZ #15427]
63289 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63290 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63291 * math/libm-test.inc (lgamma_test_data): Add more tests.
63292 * sysdeps/i386/fpu/libm-test-ulps: Update.
63293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63294
63295 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
63296
63297 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63299 Add ifunc.
63300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63301 Add strcmp-sse2-unaligned
63302 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63303
63304 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63305
63306 * Versions.def (libc): Add GLIBC_2.19.
63307
63308 2013-09-02 Mike Frysinger <vapier@gentoo.org>
63309
63310 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63311 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63312
63313 2013-09-02 Joseph Myers <joseph@codesourcery.com>
63314
63315 [BZ #14155]
63316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63317 intermediate calculations in recurrence.
63318 (__ieee754_ynf): Likewise.
63319 * math/libm-test.inc (jn_test_data): Do not allow spurious
63320 underflow exception. Add more tests.
63321 (yn_test_data): Add more tests.
63322 * sysdeps/i386/fpu/libm-test-ulps: Update.
63323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63324
63325 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
63326
63327 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63328
63329 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63330
63331 * csu/init-first.c: Fix then/than typos.
63332 * locale/programs/ld-collate.c: Likewise.
63333 * locale/programs/linereader.h: Likewise.
63334 * manual/charset.texi: Likewise.
63335 * manual/filesys.texi: Likewise.
63336 * manual/stdio.texi: Likewise.
63337 * manual/string.texi: Likewise.
63338 * stdlib/fmtmsg.c: Likewise.
63339 * sysdeps/i386/stpncpy.S: Likewise.
63340 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63341 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63342 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63343 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63344
63345 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63346
63347 * elf/dl-open.c: Fix typos.
63348 * iconvdata/gbbig5.c: Likewise.
63349 * iconvdata/iso-2022-jp.c: Likewise.
63350 * iconv/gconv_int.h: Likewise.
63351 * iconv/loop.c: Likewise.
63352 * nis/rpcsvc/nis.h: Likewise.
63353 * resolv/ns_name.c: Likewise.
63354 * stdio-common/vfscanf.c: Likewise.
63355 * streams/stropts.h: Likewise.
63356 * sunrpc/rpc_thread.c: Likewise.
63357 * sysdeps/i386/strpbrk.S: Likewise.
63358 * sysdeps/ieee754/k_standard.c: Likewise.
63359 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63361 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63362 * sysdeps/mach/hurd/profil.c: Likewise.
63363 * sysdeps/s390/dl-procinfo.h: Likewise.
63364 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63365 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63366 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63367 * sysdeps/x86_64/dl-trampoline.S: Likewise.
63368 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63369
63370 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
63371
63372 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63374
63375 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63376
63377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63378 aix specific files.
63379 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63380 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63381 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63382 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63383 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63384 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63385 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63386 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63387
63388 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63389 Roland McGrath <roland@hack.frob.com>
63390
63391 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63392 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63393
63394 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
63395
63396 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63397 __executable_start symbol instead of _start.
63398
63399 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
63400
63401 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63402 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63403 Move macros to...
63404 * sysdeps/gnu/ldsodefs.h: ... this new file.
63405
63406 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63407 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63408 instead of ELFOSABI_LINUX.
63409
63410 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63411 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63412 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63413 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63414 Likewise.
63415 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63416 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63417 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63418 Likewise.
63419 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63420 (ibm_extended_long_double): Add ieee_nan member.
63421 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63422 (do_test): New function.
63423
63424 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63425 TEST_TRUNC.
63426 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63427 functions, renamed from truncdfsf_test, trunctfsf_test,
63428 trunctfdf_test.
63429 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63430 functions.
63431 (do_test): Run all these.
63432
63433 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
63434
63435 * argp/argp-help.c: Fix typos.
63436 * argp/argp-parse.c: Likewise.
63437 * debug/backtracesyms.c: Likewise.
63438 * elf/elf.h: Likewise.
63439 * malloc/malloc.c: Likewise.
63440 * nis/nis_print.c: Likewise.
63441 * resolv/res_comp.c: Likewise.
63442 * stdlib/stdlib.h: Likewise.
63443 * sunrpc/clnt_tcp.c: Likewise.
63444 * sunrpc/clnt_udp.c: Likewise.
63445 * sunrpc/clnt_unix.c: Likewise.
63446 * sysdeps/unix/bsd/ptsname.c: Likewise.
63447 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63450 Likewise.
63451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63452 Likewise.
63453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63454 Likewise.
63455 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63456
63457 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63458
63459 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63461
63462 2013-08-27 Mike Frysinger <vapier@gentoo.org>
63463
63464 [BZ #15897]
63465 * dlfcn/Makefile (tests): Add bug-dl-leaf.
63466 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63467 ($(objpfx)bug-dl-leaf): New rule.
63468 ($(objpfx)bug-dl-leaf.so): Likewise.
63469 ($(objpfx)bug-dl-leaf.out): Likewise.
63470 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63471 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63472 * dlfcn/bug-dl-leaf.c: New test.
63473 * dlfcn/bug-dl-leaf-lib.c: Likewise.
63474 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63475 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63476 (dlclose): Likewise.
63477 (dlmopen): Likewise.
63478
63479 2013-08-27 Roland McGrath <roland@hack.frob.com>
63480
63481 * include/netdb.h [!_ISOMAC]:
63482 Don't include <tls.h>.
63483 (h_errno, __libc_h_errno): Move declaration and macros out of
63484 [_LIBC_REENTRANT].
63485
63486 * include/resolv.h [_RESOLV_H_]:
63487 Don't include <tls.h>.
63488 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63489 * resolv/res_libc.c: Don't include <tls.h>.
63490 (_res): Use __attribute__ ((nocommon)) in place of
63491 __attribute__ ((section (".bss"))).
63492
63493 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63494 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63495
63496 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63497
63498 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63499 only under [SIOCGIFCONF && SIOCGIFNETMASK].
63500
63501 * resolv/res_mkquery.c: Include <sys/time.h>.
63502
63503 * inet/ifreq.c: Moved to ...
63504 * sysdeps/unix/ifreq.c: ... here.
63505 * inet/ifreq.c: New file, true stub version.
63506
63507 * socket/sa_len.c: New file.
63508 * socket/Makefile (aux): Add it.
63509 * sysdeps/unix/sysv/linux/Makefile
63510 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63511 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63512 and #include <socket/sa_len.c>.
63513 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63514 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63515
63516 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63517 * bits/socket.h: ... here.
63518
63519 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63520 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63521 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63522
63523 2013-08-27 Andreas Schwab <schwab@suse.de>
63524
63525 [BZ #15736]
63526 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63527 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63528 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63529 * string/test-strcasecmp.c (test_main): Run tests in several
63530 locales.
63531 * string/test-strncasecmp.c (test_main): Likewise.
63532
63533 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63534 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63535 to __strcasecmp_nonascii and __strncasecmp_nonascii.
63536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63537 (__strncasecmp_ssse3) [PIC]: Likewise.
63538
63539 2013-08-26 Roland McGrath <roland@hack.frob.com>
63540
63541 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63542
63543 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63544 instead of explicitly declaring xdecrypt.
63545 * nis/nss_nis/nis-publickey.c: Likewise.
63546
63547 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63548
63549 [BZ #15890]
63550 * nscd/aicache.c: Include res_hconf.h.
63551 (addhstaiX): Initialize res_hconf.
63552
63553 2013-08-26 Andreas Schwab <schwab@suse.de>
63554
63555 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63556 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63557
63558 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63559
63560 * nscd/aicache.c (addhstaiX): Fix indentation.
63561
63562 2013-08-25 Mike Frysinger <vapier@gentoo.org>
63563
63564 * configure.ac: Quote $build_pt_chown test.
63565 * configure: Regenerated.
63566
63567 2013-08-23 Joseph Myers <joseph@codesourcery.com>
63568
63569 [BZ #15532]
63570 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63571 * math/s_cexpf.c (__cexpf): Likewise.
63572 * math/s_cexpl.c (__cexpl): Likewise.
63573 * math/libm-test.inc (cexp_test_data): Correct expected return
63574 value for NaN + i0. Add another test.
63575
63576 2013-08-22 David S. Miller <davem@davemloft.net>
63577
63578 * po/ca.po: Update Catalan translation from translation project.
63579 * po/uk.po: Add Ukrainian translations from translation project.
63580
63581 2013-08-21 Joseph Myers <joseph@codesourcery.com>
63582
63583 [BZ #15797]
63584 * math/s_fdim.c (__fdim): Check for infinite arguments if result
63585 is infinite, not alongside NaN test.
63586 * math/s_fdimf.c (__fdimf): Likewise.
63587 * math/s_fdiml.c (__fdiml): Likewise.
63588 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
63589 errno is unchanged.
63590
63591 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
63592
63593 * argp/argp-help.c: Fix typos.
63594 * crypt/speeds.c: Likewise.
63595 * csu/check_fds.c: Likewise.
63596 * elf/dl-load.c: Likewise.
63597 * elf/dl-open.c: Likewise.
63598 * elf/reldep3.c: Likewise.
63599 * elf/reldep.c: Likewise.
63600 * elf/sprof.c: Likewise.
63601 * iconv/iconv_charmap.c: Likewise.
63602 * iconv/skeleton.c: Likewise.
63603 * iconv/strtab.c: Likewise.
63604 * io/lockf64.c: Likewise.
63605 * libio/libioP.h: Likewise.
63606 * resolv/gai_notify.c: Likewise.
63607 * resolv/ns_name.c: Likewise.
63608 * resolv/ns_samedomain.c: Likewise.
63609 * resolv/res_send.c: Likewise.
63610 * stdlib/random.c: Likewise.
63611 * sunrpc/rpc/xdr.h: Likewise.
63612 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63613 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63614 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63615 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63616 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63617 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63619 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63620 * sysdeps/mach/hurd/check_fds.c: Likewise.
63621 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63622 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63623 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63624 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63625 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63626 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63627 * sysdeps/pthread/aio_notify.c: Likewise.
63628 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63629 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63630 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63631 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63632 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63633
63634 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63635
63636 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63637 version if bit_Slow_SSE4_2 is set.
63638 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63639 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63640
63641 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63642
63643 [BZ #15867]
63644 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63645 trampoline stack frame information.
63646 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63648 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63649 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63650 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63651 * sysdeps/unix/sysv/linux/powerpc/init-first.c
63652 (_libc_vdso_platform_setup): Initialize the signal trampolines.
63653 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63654 sa_flags value.
63655 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63656 interrupting a syscall and set with option SA_SIGINFO.
63657
63658 2013-08-20 Joseph Myers <joseph@codesourcery.com>
63659
63660 [BZ #15531]
63661 * math/s_cproj.c (__cproj): Only return an infinity if one part of
63662 argument is infinite.
63663 * math/s_cprojf.c (__cprojf): Likewise.
63664 * math/s_cprojl.c (__cprojl): Likewise.
63665 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
63666 * math/libm-test.inc (cproj_test_data): Add more tests.
63667
63668 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
63669
63670 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
63671 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
63672 size. Use __ffs to determine corresponding shift.
63673
63674 2013-08-20 Joseph Myers <joseph@codesourcery.com>
63675 Roland McGrath <roland@hack.frob.com>
63676
63677 * Makefile (INSTALL): Remove trailing blank lines from output of
63678 makeinfo.
63679
63680 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63681
63682 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
63683 Align 32 bit compat elf_greg to 8 bytes.
63684
63685 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
63686
63687 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
63688
63689 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
63690
63691 * string/strcoll_l.c (coll_seq): New structure.
63692 (get_next_seq_cached): New function.
63693 (get_next_seq): New function.
63694 (do_compare): New function.
63695 (STRCOLL): Use GNU style definition. Simplify implementation
63696 by using get_next_seq, get_next_seq_cached and do_compare.
63697
63698 2013-08-16 Florian Weimer <fweimer@redhat.com>
63699
63700 [BZ #14699]
63701 CVE-2013-4237
63702 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63703 member.
63704 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
63705 member.
63706 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
63707 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
63708 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
63709 conditional.
63710 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
63711 GETDENTS_64BIT_ALIGNED.
63712 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63713 * manual/filesys.texi (Reading/Closing Directory): Document
63714 ENAMETOOLONG return value of readdir_r. Recommend readdir more
63715 strongly.
63716 * manual/conf.texi (Limits for Files): Add portability note to
63717 NAME_MAX, PATH_MAX.
63718 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
63719
63720 2013-08-13 Andreas Schwab <schwab@suse.de>
63721
63722 [BZ #15749]
63723 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
63724 of fabs.
63725 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
63726 LDBL_MAX_EXP >= 16384]: Add tests for it.
63727
63728 2013-08-12 David S. Miller <davem@davemloft.net>
63729
63730 * version.h (RELEASE): Set to "development".
63731 (VERSION): Set to "2.18.90".
63732 * NEWS: Add 2.19 section.
63733
63734 2013-08-03 David S. Miller <davem@davemloft.net>
63735
63736 * po/ko.po: Update Korean translation from translation project.
63737
63738 2013-08-01 David S. Miller <davem@davemloft.net>
63739
63740 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
63741 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
63742 Bilka.
63743
63744 2013-07-30 David S. Miller <davem@davemloft.net>
63745
63746 * po/fr.po: Update French translation from translation project.
63747
63748 2013-07-28 David S. Miller <davem@davemloft.net>
63749
63750 * po/cs.po: Update Czech translation from translation project.
63751
63752 * po/sv.po: Update Swedish translation from translation project.
63753
63754 2013-07-27 David S. Miller <davem@davemloft.net>
63755
63756 * po/eo.po: Update Esperanto translation from translation project.
63757
63758 * po/vi.po: Update Vietnamese translation from translation project.
63759
63760 * po/de.po: Update German translation from translation project.
63761
63762 2013-07-26 David S. Miller <davem@davemloft.net>
63763
63764 * po/bg.po: Update Bulgarian translation from translation project.
63765
63766 * po/nl.po: Update Dutch translation from translation project.
63767 * po/pl.po: Update Polish translation from translation project.
63768 * po/ru.po: Update Russian translation from translation project.
63769
63770 2013-07-24 David S. Miller <davem@davemloft.net>
63771
63772 * po/libc.pot: Update.
63773
63774 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63775
63776 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63777 variable page size.
63778 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63779 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63780 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63781
63782 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63783
63784 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63785
63786 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
63787 Andreas Schwab <schwab@suse.de>
63788 Roland McGrath <roland@hack.frob.com>
63789 Joseph Myers <joseph@codesourcery.com>
63790 Carlos O'Donell <carlos@redhat.com>
63791
63792 [BZ #15755]
63793 * config.h.in: Define HAVE_PT_CHOWN.
63794 * config.make.in (build-pt-chown): New variable.
63795 * configure.in (--enable-pt_chown): New configure option.
63796 * configure: Regenerate.
63797 * login/Makefile: Include Makeconfig. Build pt_chown only if
63798 build-pt-chown is enabled.
63799 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63800 pt_chown to fix pty ownership.
63801 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63802 CLOSE_ALL_FDS.
63803 * manual/install.texi (Configuring and compiling): Mention
63804 --enable-pt_chown. Add @findex for grantpt.
63805 * INSTALL: Regenerate.
63806
63807 2013-07-20 David S. Miller <davem@davemloft.net>
63808
63809 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63810 difference between 32-bit and 64-bit.
63811
63812 2013-07-15 Carlos O'Donell <carlos@redhat.com>
63813
63814 [BZ #15711]
63815 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63816 Avoid system header dependency with -ffreestanding.
63817 ($(objpfx)bits/syscall%d): Likewise.
63818
63819 2013-07-13 David S. Miller <davem@davemloft.net>
63820
63821 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63822 underflows from atanl/atan2l due to bug 15319.
63823 (casinh_test_data): Likewise.
63824
63825 2013-07-07 David S. Miller <davem@davemloft.net>
63826
63827 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63828
63829 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
63830
63831 * sysdeps/i386/fpu/libm-test-ulps: Update.
63832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63833
63834 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
63835
63836 * configure.in (--enable-lock-elision): Fix message text.
63837 * INSTALL: Regenerate.
63838 * configure: Regenerate.
63839
63840 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63841
63842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63843
63844 2013-07-03 Andreas Jaeger <aj@suse.de>
63845
63846 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63847 define.
63848 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63849 (ptrace_peeksiginfo_args): Add.
63850 (__ptrace_peeksiginfo_flags): Add.
63851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63853 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63854
63855 2013-07-03 Allan McRae <allan@archlinux.org>
63856
63857 * sysdeps/i386/fpu/libm-test-ulps: Update.
63858
63859 2013-07-02 David S. Miller <davem@davemloft.net>
63860
63861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63862
63863 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
63864
63865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63866
63867 2013-07-02 Joseph Myers <joseph@codesourcery.com>
63868
63869 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63871
63872 2013-07-02 Andi Kleen <ak@linux.intel.com>
63873
63874 * config.h.in (ENABLE_LOCK_ELISION): Add.
63875 * configure.in (--enable-lock-elision): Add option.
63876 * manual/install.texi: Document --enable lock elision.
63877 * configure: Regenerate
63878 * INSTALL: Regenerate.
63879
63880 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
63881
63882 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63883 SSE4.2 strcasecmp for libc.a.
63884 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63885
63886 2013-07-02 Joseph Myers <joseph@codesourcery.com>
63887
63888 [BZ #13304]
63889 * soft-fp/op-common.h (_FP_FMA): New macro.
63890 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63891 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
63892 (_FP_MUL_MEAT_1_imm): ... here.
63893 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
63894 (_FP_MUL_MEAT_1_wide): ... here.
63895 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
63896 (_FP_MUL_MEAT_1_hard): ... here.
63897 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63898 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
63899 (_FP_MUL_MEAT_2_wide): ... here.
63900 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
63901 (_FP_MUL_MEAT_2_wide_3mul): ... here.
63902 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
63903 (_FP_MUL_MEAT_2_gmp): ... here.
63904 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63905 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
63906 (_FP_MUL_MEAT_4_wide): ... here.
63907 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
63908 (_FP_MUL_MEAT_4_gmp): ... here.
63909 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63910 (_FP_WFRACBITS_DW_S): Likewise.
63911 (_FP_WFRACXBITS_DW_S): Likewise.
63912 (_FP_HIGHBIT_DW_S): Likewise.
63913 (FP_FMA_S): Likewise.
63914 (_FP_FRAC_HIGH_DW_S): Likewise.
63915 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63916 (_FP_WFRACBITS_DW_D): Likewise.
63917 (_FP_WFRACXBITS_DW_D): Likewise.
63918 (_FP_HIGHBIT_DW_D): Likewise.
63919 (FP_FMA_D): Likewise.
63920 (_FP_FRAC_HIGH_DW_D): Likewise.
63921 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63922 (_FP_WFRACBITS_DW_E): Likewise.
63923 (_FP_WFRACXBITS_DW_E): Likewise.
63924 (_FP_HIGHBIT_DW_E): Likewise.
63925 (FP_FMA_E): Likewise.
63926 (_FP_FRAC_HIGH_DW_E): Likewise.
63927 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63928 (_FP_WFRACBITS_DW_Q): Likewise.
63929 (_FP_WFRACXBITS_DW_Q): Likewise.
63930 (_FP_HIGHBIT_DW_Q): Likewise.
63931 (FP_FMA_Q): Likewise.
63932 (_FP_FRAC_HIGH_DW_Q): Likewise.
63933 * soft-fp/fmasf4.c: New file.
63934 * soft-fp/fmadf4.c: Likewise.
63935 * soft-fp/fmatf4.c: Likewise.
63936
63937 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63938
63939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63940 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63941 Silvermont.
63942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63943 macro.
63944 (index_Slow_SSE4_2): Likewise.
63945 (index_Prefer_PMINUB_for_stringop): Likewise.
63946 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63947 bit_Slow_SSE4_2 is set.
63948 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63949 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63950
63951 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63952
63953 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63954 rtld_global._dl_hwcap2.
63955 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63956 POWER8.
63957 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63958 POWER8 feature descriptions defined in _dl_hwcap2.
63959 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63960 string handling for POWER8 feature bits.
63961 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63962 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63963 _dl_powerpc_cap_flags.
63964 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63965 * sysdeps/powerpc/rtld-global-offsets.sym
63966 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63967 _dl_hwcap2 in the rtld_global_ro structure.
63968
63969 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
63970
63971 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63972 hardware capabilities in support of AT_HWCAP2.
63973 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63974 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63975 GLRO(dl_hwcap2).
63976 (_dl_show_auxv): Add support for calling _dl_procinfo to display
63977 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
63978 explicitly the unknown a_type display mechanism is used.
63979 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63980 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63981 struct member.
63982 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63983 to macro prototype for AT_HWCAP2 support.
63984 * sysdeps/i386/dl-procinfo.h: Likewise.
63985 * sysdeps/s390/dl-procinfo.h: Likewise.
63986 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63987 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
63988 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
63989 return -1 for unknown a_type display fallback.
63990 * sysdeps/sparc/dl-procinfo.h: Likewise.
63991 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63992 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63993
63994 2013-06-28 Joseph Myers <joseph@codesourcery.com>
63995
63996 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63997 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63998
63999 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
64000
64001 [BZ #12492]
64002 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64003 mprotect making __stack_prot writable.
64004
64005 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
64006 Joseph Myers <joseph@codesourcery.com>
64007
64008 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64009 as being properly aligned.
64010
64011 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
64012
64013 * dlfcn/modstatic5.c: New file.
64014 * dlfcn/tststatic5.c: New file.
64015 * dlfcn/Makefile (tests): Add tststatic5.
64016 (tests-static): Likewise.
64017 (modules-names): Add modstatic5.
64018 (tststatic5-ENV): New variable.
64019 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64020
64021 [BZ #15022]
64022 * elf/dl-support.c (_dl_main_map): New variable.
64023 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64024 (_dl_nns, _dl_load_adds): Set to 1.
64025 (_dl_initial_searchlist): Refer to _dl_main_map.
64026 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64027 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64028 call to _dl_get_origin.
64029 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64030 around call_map.
64031 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64032 * dlfcn/modstatic3.c: New file.
64033 * dlfcn/tststatic3.c: New file.
64034 * dlfcn/tststatic4.c: New file.
64035 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64036 (tests-static): Likewise.
64037 (modules-names): Add modstatic3.
64038 (tststatic3-ENV, tststatic4-ENV): New variables.
64039 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64040 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64041
64042 2013-06-26 Joseph Myers <joseph@codesourcery.com>
64043
64044 * configure.in (CC): Require GCC version 4.4 or later.
64045 * configure: Regenerated.
64046 * manual/install.texi (Tools for Compilation): Update GCC version
64047 requirement.
64048 * INSTALL: Regenerated.
64049
64050 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64051
64052 [BZ #15674]
64053 * string/test-memcmp.c (check2): New.
64054 (main): Call check2.
64055
64056 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64057
64058 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
64059
64060 [BZ #15022]
64061 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64062 over to...
64063 (dl_open_worker) [!SHARED]: ... here.
64064
64065 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64066
64067 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64068
64069 2013-06-25 Richard Henderson <rth@redhat.com>
64070
64071 * locale/programs/locarchive.c: Include <libc-internal.h>
64072
64073 2013-06-25 Joseph Myers <joseph@codesourcery.com>
64074
64075 * manual/texinfo.tex: Update to version 2013-06-21.17, with
64076 trailing whitespace removed.
64077
64078 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64079
64080 [BZ #10283]
64081 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64082 * locale/programs/locarchive.c: Include libc-mmap.h.
64083 (prepare_address_space): Take two new outputs (the mmap base and len).
64084 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
64085 values.
64086 (create_archive): Declare new mmap base and len values for
64087 prepare_address_space, and store the result in ah.
64088 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64089 (enlarge_archive): If ah->mmap_base is not NULL, use that and
64090 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64091 Declare new mmap base and len values for
64092 prepare_address_space, and store the result in new_ah.
64093 (open_archive): Declare new mmap base and len values for
64094 prepare_address_space, and store the result in ah.
64095 (close_archive): If ah->mmap_base is not NULL, use that and
64096 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64097 * sysdeps/generic/libc-mmap.h: New file.
64098
64099 2013-06-24 Mike Frysinger <vapier@gentoo.org>
64100
64101 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64102 (ALIGN_UP): Likewise.
64103 (PTR_ALIGN_DOWN): Likewise.
64104 (PTR_ALIGN_UP): Likewise.
64105
64106 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64107
64108 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64109 entry mapped to PPC_PLATFORM_POWER8.
64110 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64111 POWER8.
64112 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64113 (_dl_string_platform): Add case for exporting platform position for
64114 POWER8.
64115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64116 search path to sysdeps/powerpc/powerpc32/power8 directory.
64117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64118 search path to sysdeps/powerpc/powerpc64/power8 directory.
64119 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64120 power7 directories.
64121 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64122 power7 directories.
64123
64124 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
64125
64126 * INSTALL: Regenerate.
64127
64128 * nscd/connections.c (nscd_init): Fix comment.
64129
64130 2013-06-22 Joseph Myers <joseph@codesourcery.com>
64131
64132 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64133
64134 [BZ #15667]
64135 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64136 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64137
64138 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64139
64140 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64141 DL_DST_REQ_STATIC.
64142 (DL_DST_REQ_STATIC): Remove macro.
64143
64144 2013-06-21 Joseph Myers <joseph@codesourcery.com>
64145
64146 [BZ #7006]
64147 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64148 with a shift of 0 bits.
64149
64150 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
64151
64152 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64153 $(tststatic-ENV).
64154
64155 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64156
64157 [BZ #15655]
64158 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64159
64160 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64161
64162 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64163 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64164 accepts -fno-tree-loop-distribute-patterns.
64165 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64166 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64167 recursive call.
64168 * string/memset.c (memset): Likewise.
64169 * string/test-memmove.c (simple_memmove): Disable loop transformation
64170 to library calls.
64171 * string/test-memset.c (simple_memset): Likewise.
64172 * benchtests/bench-memmove.c (simple_memmove): Likewise.
64173 * benchtests/bench-memset.c (simple_memset): Likewise.
64174 * configure: Regenerated.
64175
64176 2013-06-20 Joseph Myers <joseph@codesourcery.com>
64177
64178 * math/test-misc.c (main): Ignore fesetround failure when failures
64179 of subsequent rounding tests would be ignored.
64180
64181 [BZ #15654]
64182 * math/fedisblxcpt.c (fedisableexcept): Return 0.
64183 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64184 * math/fegetenv.c (__fegetenv): Return 0.
64185 * math/fegetexcept.c (fegetexcept): Return 0.
64186 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64187 FE_TONEAREST.
64188 * math/feholdexcpt.c (feholdexcept): Return 0.
64189 * math/fesetenv.c (__fesetenv): Return 0.
64190 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64191 argument FE_TONEAREST.
64192 * math/feupdateenv.c (__feupdateenv): Return 0.
64193 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64194
64195 2013-06-18 Roland McGrath <roland@hack.frob.com>
64196
64197 * elf/rtld-Rules (rtld-compile-command.S): New variable.
64198 (rtld-compile-command.s, rtld-compile-command.c): New variables.
64199 ($(objpfx)rtld-%.os rules): Use them.
64200
64201 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64202
64203 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64204 fields.
64205
64206 2013-06-17 Roland McGrath <roland@hack.frob.com>
64207
64208 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64209 length of target pattern, then descending length of dependency pattern.
64210 * configure.in (AWK): Require gawk 3.1.2 or newer.
64211 * manual/install.texi (Tools for Compilation): Say that we do.
64212 * configure: Regenerated.
64213
64214 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64215 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64216 * scripts/sysd-rules.awk: ... this new script.
64217 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64218 than a glob-style pattern.
64219
64220 2013-06-17 Joseph Myers <joseph@codesourcery.com>
64221
64222 * math/test-misc.c (main): Do not treat incorrectly rounded
64223 conversions as failure unless ROUNDING_TESTS passes.
64224
64225 2013-06-15 Joseph Myers <joseph@codesourcery.com>
64226
64227 [BZ #15631]
64228 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64229 restore exception state around main square root computation, then
64230 check for inexactness explicitly.
64231
64232 * math/libm-test.inc (fma_test_data): Add another test.
64233
64234 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
64235
64236 * manual/threads.texi (Non-POSIX Extensions): New document
64237 node. Document pthread_getattr_default_np and
64238 pthread_setattr_default_np.
64239
64240 * Versions.def (libpthread): Add GLIBC_2.18.
64241 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64243 Likewise.
64244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64245 Likewise.
64246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64247 Likewise.
64248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64249 Likewise.
64250 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64251 Likewise.
64252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64253 Likewise.
64254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64255 Likewise.
64256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64257 Likewise.
64258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64259 Likewise.
64260
64261 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
64262
64263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64264 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64265
64266 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
64267 H.J. Lu <hjl.tools@gmail.com>
64268
64269 [BZ #15627]
64270 * sysdeps/x86_64/rtld-memset.c: Remove file.
64271 * sysdeps/x86_64/rtld-memset.S: New file.
64272
64273 2013-06-14 Joseph Myers <joseph@codesourcery.com>
64274
64275 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64276 (test_in_one_mode): Take arguments for whether the rounding mode
64277 is supported for each floating-point type.
64278 (do_test): Pass new arguments to test_in_one_mode using
64279 ROUNDING_TESTS.
64280
64281 2013-06-13 Roland McGrath <roland@hack.frob.com>
64282
64283 * posix/tst-waitid.c (do_test): Distinguish different instances of
64284 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
64285 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64286 before entering the kernel for waitpid.
64287
64288 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64289
64290 * NEWS: Fix note on clock function precision. Text by Roland
64291 McGrath.
64292
64293 2013-06-13 Roland McGrath <roland@hack.frob.com>
64294
64295 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64296 it into place only when and if the sanity check passes.
64297
64298 2013-06-13 Joseph Myers <joseph@codesourcery.com>
64299
64300 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64301 output for whether conversion result is exact. Take argument
64302 indicating whether type is IBM long double.
64303 (round_for_all): Change need_exact field to ibm_ld.
64304 * stdlib/tst-strtod-round.c (struct exactness): New type.
64305 (struct test): Change bool ld_ok field to struct exactness exact.
64306 (TEST): Update all definitions for change to field.
64307 (tests): Regenerate array contents.
64308 (test_in_one_mode): Take pointer to new field instead of old ld_ok
64309 field value. Check for IBM long double here.
64310 (do_test): Update calls to test_in_one_mode.
64311
64312 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
64313
64314 [BZ #12515]
64315 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64316 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64317
64318 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64319
64320 [BZ #15605]
64321 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64322 generated by the compiler on loop optimizations.
64323 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64324 general definitions.
64325
64326 2013-06-12 Joseph Myers <joseph@codesourcery.com>
64327
64328 * math/bug-nextafter.c: Include <math-tests.h>.
64329 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64330 the relevant type.
64331 * math/bug-nexttoward.c: Include <math-tests.h>.
64332 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64333 the relevant type.
64334 * math/test-misc.c: Include <math-tests.h>.
64335 (main): Only test for exceptions if EXCEPTION_TESTS is true for
64336 the relevant type.
64337
64338 2013-06-12 Andreas Jaeger <aj@suse.de>
64339
64340 * po/ia.po: Update Interlingua translation from translation
64341 project.
64342
64343 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
64344
64345 * include/fenv.h: Include stdbool.h.
64346 (struct rm_ctx): New structure.
64347 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64348 Define macro.
64349 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64350 (SET_RESTORE_ROUNDF): Likewise.
64351 (SET_RESTORE_ROUNDL): Likewise.
64352 (SET_RESTORE_ROUND_NOEX): Likewise.
64353 (SET_RESTORE_ROUND_NOEXF): Likewise.
64354 (SET_RESTORE_ROUND_NOEXL): Likewise.
64355 (SET_RESTORE_ROUND_53BIT): Likewise.
64356 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64357 (libc_feresetround_noexf_ctx): Likewise.
64358 (libc_feresetround_noexl_ctx): Likewise.
64359 (libc_feholdsetround_53bit_ctx): Likewise.
64360 (libc_feresetround_53bit_ctx): Likewise.
64361 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64362 (libc_feholdexcept_setround_sse_ctx): New function.
64363 (libc_fesetenv_sse_ctx): Likewise.
64364 (libc_feupdateenv_sse_ctx): Likewise.
64365 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64366 (libc_feholdexcept_setround_387_ctx): Likewise.
64367 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64368 (libc_feholdsetround_387_prec_ctx): Likewise.
64369 (libc_feholdsetround_387_ctx): Likewise.
64370 (libc_feholdsetround_387_53bit_ctx): Likewise.
64371 (libc_feholdsetround_sse_ctx): Likewise.
64372 (libc_feresetround_sse_ctx): Likewise.
64373 (libc_feresetround_387_ctx): Likewise.
64374 (libc_feupdateenv_387_ctx): Likewise.
64375 (libc_feholdexcept_setroundf_ctx): Define macro.
64376 (libc_fesetenvf_ctx): Likewise.
64377 (libc_feupdateenvf_ctx): Likewise.
64378 (libc_feholdsetroundf_ctx): Likewise.
64379 (libc_feresetroundf_ctx): Likewise.
64380 (libc_feholdexcept_setround_ctx): Likewise.
64381 (libc_fesetenv_ctx): Likewise.
64382 (libc_feupdateenv_ctx): Likewise.
64383 (libc_feholdsetround_ctx): Likewise.
64384 (libc_feresetround_ctx): Likewise.
64385 (libc_feholdexcept_setroundl_ctx): Likewise.
64386 (libc_feupdateenvl_ctx): Likewise.
64387 (libc_feholdsetroundl_ctx): Likewise.
64388 (libc_feresetroundl_ctx): Likewise.
64389 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64390 (libc_feresetround_53bit_ctx): Likewise.
64391
64392 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64393
64394 * locale/iso-639.def: Convert to UTF-8.
64395
64396 2013-06-11 Joseph Myers <joseph@codesourcery.com>
64397
64398 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64399 (EXCEPTION_TESTS_double): Likewise.
64400 (EXCEPTION_TESTS_long_double): Likewise.
64401 (EXCEPTION_TESTS): Likewise.
64402 * math/libm-test.inc (test_exceptions): Only test exceptions if
64403 EXCEPTION_TESTS (FLOAT).
64404
64405 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64406
64407 * benchtests/Makefile (string-bench): Add strcpy_chk and
64408 stpcpy_chk.
64409 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64410 * benchtests/bench-stpcpy_chk.c: New file.
64411 * benchtests/bench-strcpy_chk-ifunc.c: New file.
64412 * benchtests/bench-strcpy_chk.c: New file.
64413 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64414 code.
64415 (do_test): Likewise.
64416
64417 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
64418
64419 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64420 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64421 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64422 with tabs where appropriate.
64423 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64424 dl-procinfo.h.
64425 [PPC_PLATFORM_PPC440]: Likewise.
64426 [PPC_PLATFORM_PPC464]: Likewise.
64427 [PPC_PLATFORM_PPC476]: Likewise.
64428 (_dl_string_platform): Add support for detecting ppc405, ppc440,
64429 ppc464, and ppc476 platform strings merging from ports/
64430 dl-procinfo.h.
64431
64432 2013-06-11 Andreas Schwab <schwab@suse.de>
64433
64434 [BZ #14991]
64435 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64436 (from_ucs4_idx): Regenerate.
64437 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64438 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64439 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64440 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64441 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64442 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64443 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64444 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64445 from FROM_LOOP and TO_LOOP specific macros.
64446 (BODY): Handle combining characters.
64447 * iconvdata/BIG5HKSCS.irreversible: Update.
64448 * iconvdata/BIG5HKSCS.precomposed: New file.
64449 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64450 characters.
64451 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64452
64453 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64454
64455 * include/sys/time.h: Fix indentation and add copyright header.
64456
64457 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64458 (do_test): Likewise.
64459 * string/test-memchr.c (do_one_test): Likewise.
64460 (do_test): Likewise.
64461 * string/test-memcmp.c (do_one_test): Likewise.
64462 (do_test): Likewise.
64463 * string/test-memcpy.c (do_one_test): Likewise.
64464 (do_test): Likewise.
64465 * string/test-memmem.c (do_one_test): Likewise.
64466 (do_test): Likewise.
64467 (do_random_tests): Likewise.
64468 * string/test-memmove.c (do_one_test): Likewise.
64469 (do_test): Likewise.
64470 * string/test-memset.c (do_one_test): Likewise.
64471 (do_test): Likewise.
64472 * string/test-rawmemchr.c (do_one_test): Likewise.
64473 (do_test): Likewise.
64474 * string/test-strcasecmp.c (do_one_test): Likewise.
64475 (do_test): Likewise.
64476 * string/test-strcasestr.c (do_one_test): Likewise.
64477 (do_test): Likewise.
64478 * string/test-strcat.c (do_one_test): Likewise.
64479 (do_test): Likewise.
64480 * string/test-strchr.c (do_one_test): Likewise.
64481 (do_test): Likewise.
64482 * string/test-strcmp.c (do_one_test): Likewise.
64483 (do_test): Likewise.
64484 * string/test-strcpy.c (do_one_test): Likewise.
64485 (do_test): Likewise.
64486 * string/test-string.h: Likewise.
64487 (test_init): Likewise.
64488 * string/test-strlen.c (do_one_test): Likewise.
64489 (do_test): Likewise.
64490 * string/test-strncasecmp.c (do_one_test): Likewise.
64491 (do_test): Likewise.
64492 * string/test-strncat.c (do_one_test): Likewise.
64493 (do_test): Likewise.
64494 * string/test-strncmp.c (do_one_test): Likewise.
64495 (do_test_limit): Likewise.
64496 (do_test): Likewise.
64497 * string/test-strncpy.c (do_one_test): Likewise.
64498 (do_test): Likewise.
64499 * string/test-strnlen.c (do_one_test): Likewise.
64500 (do_test): Likewise.
64501 * string/test-strpbrk.c (do_one_test): Likewise.
64502 (do_test): Likewise.
64503 * string/test-strrchr.c (do_one_test): Likewise.
64504 (do_test): Likewise.
64505 * string/test-strspn.c (do_one_test): Likewise.
64506 (do_test): Likewise.
64507 * string/test-strstr.c (do_one_test): Likewise.
64508 (do_test): Likewise.
64509
64510 * benchtests/Makefile (string-bench): Add string benchmarks.
64511 * benchtests/bench-bcopy-ifunc.c: New file.
64512 * benchtests/bench-bcopy.c: New file.
64513 * benchtests/bench-bzero-ifunc.c: New file.
64514 * benchtests/bench-bzero.c: New file.
64515 * benchtests/bench-memccpy-ifunc.c: New file.
64516 * benchtests/bench-memccpy.c: New file.
64517 * benchtests/bench-memchr-ifunc.c: New file.
64518 * benchtests/bench-memchr.c: New file.
64519 * benchtests/bench-memcmp-ifunc.c: New file.
64520 * benchtests/bench-memcmp.c: New file.
64521 * benchtests/bench-memmem-ifunc.c: New file.
64522 * benchtests/bench-memmem.c: New file.
64523 * benchtests/bench-memmove-ifunc.c: New file.
64524 * benchtests/bench-memmove.c: New file.
64525 * benchtests/bench-mempcpy-ifunc.c: New file.
64526 * benchtests/bench-mempcpy.c: New file.
64527 * benchtests/bench-memset-ifunc.c: New file.
64528 * benchtests/bench-memset.c: New file.
64529 * benchtests/bench-rawmemchr-ifunc.c: New file.
64530 * benchtests/bench-rawmemchr.c: New file.
64531 * benchtests/bench-stpcpy-ifunc.c: New file.
64532 * benchtests/bench-stpcpy.c: New file.
64533 * benchtests/bench-stpncpy-ifunc.c: New file.
64534 * benchtests/bench-stpncpy.c: New file.
64535 * benchtests/bench-strcasecmp-ifunc.c: New file.
64536 * benchtests/bench-strcasecmp.c: New file.
64537 * benchtests/bench-strcasestr-ifunc.c: New file.
64538 * benchtests/bench-strcasestr.c: New file.
64539 * benchtests/bench-strcat-ifunc.c: New file.
64540 * benchtests/bench-strcat.c: New file.
64541 * benchtests/bench-strchr-ifunc.c: New file.
64542 * benchtests/bench-strchr.c: New file.
64543 * benchtests/bench-strchrnul-ifunc.c: New file.
64544 * benchtests/bench-strchrnul.c: New file.
64545 * benchtests/bench-strcmp-ifunc.c: New file.
64546 * benchtests/bench-strcmp.c: New file.
64547 * benchtests/bench-strcpy-ifunc.c: New file.
64548 * benchtests/bench-strcpy.c: New file.
64549 * benchtests/bench-strcspn-ifunc.c: New file.
64550 * benchtests/bench-strcspn.c: New file.
64551 * benchtests/bench-strlen-ifunc.c: New file.
64552 * benchtests/bench-strlen.c: New file.
64553 * benchtests/bench-strncasecmp-ifunc.c: New file.
64554 * benchtests/bench-strncasecmp.c: New file.
64555 * benchtests/bench-strncat-ifunc.c: New file.
64556 * benchtests/bench-strncat.c: New file.
64557 * benchtests/bench-strncmp-ifunc.c: New file.
64558 * benchtests/bench-strncmp.c: New file.
64559 * benchtests/bench-strncpy-ifunc.c: New file.
64560 * benchtests/bench-strncpy.c: New file.
64561 * benchtests/bench-strnlen-ifunc.c: New file.
64562 * benchtests/bench-strnlen.c: New file.
64563 * benchtests/bench-strpbrk-ifunc.c: New file.
64564 * benchtests/bench-strpbrk.c: New file.
64565 * benchtests/bench-strrchr-ifunc.c: New file.
64566 * benchtests/bench-strrchr.c: New file.
64567 * benchtests/bench-strspn-ifunc.c: New file.
64568 * benchtests/bench-strspn.c: New file.
64569 * benchtests/bench-strstr-ifunc.c: New file.
64570 * benchtests/bench-strstr.c: New file.
64571
64572 * benchtests/Makefile: Disable parallel execution of targets.
64573 (string-bench): Add memcpy.
64574 (benchset): New variable to store a list of benchmark sets.
64575 (bench-func): Renamed from bench.
64576 (bench-set): New target.
64577 (bench): Depend on bench-func and bench-set.
64578 * benchtests/README: Add section on benchmark sets.
64579 * benchtests/bench-memcpy-ifunc.c: New file.
64580 * benchtests/bench-memcpy.c: New file.
64581 * benchtests/bench-string.h: New file.
64582
64583 2013-06-11 Andreas Schwab <schwab@suse.de>
64584
64585 [BZ #15577]
64586 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64587 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64588 values in the triple.
64589 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64590 terminator in the group key.
64591
64592 2013-06-11 Andreas Jaeger <aj@suse.de>
64593
64594 * po/zh_TW.po: Update Chinese (traditional) translation from
64595 translation project.
64596
64597 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
64598
64599 * include/time.h (__clock_gettime): Add libc_hidden_proto.
64600 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64601 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
64602 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64603 (clock_getcpuclockid): Likewise.
64604 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64605 Add weak_alias and libc_hidden_def.
64606 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64607 * rt/clock_gettime.c (clock_gettime): Rename to
64608 __clock_gettime. Add weak_alias and libc_hidden_def.
64609 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64610 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64611 __clock_nanosleep. Add weak_alias and libc_hidden_def.
64612 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64613 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64614 Likewise.
64615 * rt/clock_settime.c (clock_settime): Rename to
64616 __clock_settime. Add weak_alias and libc_hidden_def.
64617 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64618
64619 2013-06-10 Joseph Myers <joseph@codesourcery.com>
64620
64621 * mach/err_boot.sub: Remove trailing whitespace.
64622 * mach/err_ipc.sub: Likewise.
64623 * mach/err_mach.sub: Likewise.
64624
64625 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64626 (ROUNDING_TESTS_double): Likewise.
64627 (ROUNDING_TESTS_long_double): Likewise.
64628 (ROUNDING_TESTS): Likewise.
64629 * math/libm-test.inc: Include <math-tests.h>.
64630 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64631 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64632 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64633 (IF_ROUND_INIT_FE_UPWARD): Likewise.
64634
64635 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
64636
64637 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64638 of assigning.
64639
64640 2013-06-08 Joseph Myers <joseph@codesourcery.com>
64641
64642 * sysdeps/gnu/errlist.awk: Do not generate space at end of
64643 otherwise empty TRANS lines.
64644 * sysdeps/gnu/errlist.c: Regenerated.
64645
64646 * catgets/gencat.c (error_print): Use (void) in function
64647 definition.
64648 * crypt/crypt_util.c (__init_des): Likewise.
64649 * crypt/speeds.c (Stop): Likewise.
64650 (main): Likewise.
64651 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64652 * inet/ruserpass.c (token): Likewise.
64653 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64654 * intl/localealias.c (extend_alias_table): Likewise.
64655 * intl/plural-exp.c (init_germanic_plural): Likewise.
64656 * libio/fcloseall.c (__fcloseall): Likewise.
64657 * libio/genops.c (_IO_flush_all): Likewise.
64658 (_IO_flush_all_linebuffered): Likewise.
64659 (_IO_cleanup): Likewise.
64660 (_IO_iter_begin): Likewise.
64661 (_IO_iter_end): Likewise.
64662 (_IO_list_lock): Likewise.
64663 (_IO_list_unlock): Likewise.
64664 (_IO_list_resetlock): Likewise.
64665 * libio/getchar.c (getchar): Likewise.
64666 * libio/getchar_u.c (getchar_unlocked): Likewise.
64667 * libio/getwchar.c (getwchar): Likewise.
64668 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
64669 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
64670 * login/getpt.c (__getpt): Likewise.
64671 * login/tst-utmp.c (main): Likewise.
64672 * malloc/hooks.c (__malloc_check_init): Likewise.
64673 * malloc/malloc.c (__malloc_stats): Likewise.
64674 * malloc/mtrace.c (tr_break): Likewise.
64675 (mtrace): Likewise.
64676 (muntrace): Likewise.
64677 * misc/fstab.c (endfsent): Likewise.
64678 * misc/getclktck.c (__getclktck): Likewise.
64679 * misc/getdtsz.c (__getdtablesize): Likewise.
64680 * misc/gethostid.c (gethostid): Likewise.
64681 * misc/getpagesize.c (__getpagesize): Likewise.
64682 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
64683 (__get_nprocs): Likewise.
64684 (__get_phys_pages): Likewise.
64685 (__get_avphys_pages): Likewise.
64686 * misc/getttyent.c (getttyent): Likewise.
64687 (setttyent): Likewise.
64688 (endttyent): Likewise.
64689 * misc/getusershell.c (getusershell): Likewise.
64690 (endusershell): Likewise.
64691 (setusershell): Likewise.
64692 (initshells): Likewise.
64693 * misc/hsearch.c (__hdestroy): Likewise.
64694 * misc/sync.c (sync): Likewise.
64695 * misc/syslog.c (closelog_internal): Likewise.
64696 (closelog): Likewise.
64697 * misc/ttyslot.c (ttyslot): Likewise.
64698 * misc/vhangup.c (vhangup): Likewise.
64699 * posix/fork.c (__fork): Likewise.
64700 * posix/getegid.c (__getegid): Likewise.
64701 * posix/geteuid.c (__geteuid): Likewise.
64702 * posix/getgid.c (__getgid): Likewise.
64703 * posix/getpid.c (__getpid): Likewise.
64704 * posix/getppid.c (__getppid): Likewise.
64705 * posix/getuid.c (__getuid): Likewise.
64706 * posix/pause.c (pause): Likewise.
64707 * posix/setpgrp.c (setpgrp): Likewise.
64708 * posix/setsid.c (__setsid): Likewise.
64709 * posix/test-vfork.c (noop): Likewise.
64710 * resolv/gethnamaddr.c (_endhtent): Likewise.
64711 (_gethtent): Likewise.
64712 (ht_endhostent): Likewise.
64713 (gethostent): Likewise.
64714 (dns_service): Likewise.
64715 * stdlib/drand48.c (drand48): Likewise.
64716 * stdlib/lrand48.c (lrand48): Likewise.
64717 * stdlib/mrand48.c (mrand48): Likewise.
64718 * stdlib/rand.c (rand): Likewise.
64719 * stdlib/random.c (__random): Likewise.
64720 * stdlib/setenv.c (clearenv): Likewise.
64721 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
64722 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
64723 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
64724 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
64725 (__get_nprocs): Likewise.
64726 (__get_phys_pages): Likewise.
64727 (__get_avphys_pages): Likewise.
64728 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
64729 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
64730 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
64731 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
64732 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
64733 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
64734 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
64735 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
64736 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
64737 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
64738 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
64739 * sysdeps/mach/hurd/sync.c (sync): Likewise.
64740 * sysdeps/posix/clock.c (clock): Likewise.
64741 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
64742 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
64743 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
64744 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
64745 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
64746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
64747 (__get_nprocs_conf): Likewise.
64748 (__get_phys_pages): Likewise.
64749 (__get_avphys_pages): Likewise.
64750 * time/clock.c (clock): Likewise.
64751 * time/tzset.c (__tzname_max): Likewise.
64752
64753 2013-06-07 Joseph Myers <joseph@codesourcery.com>
64754
64755 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
64756 (__bswap_32): Do not use "register".
64757 * crypt/crypt.c (_ufc_doit_r): Likewise.
64758 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
64759 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
64760 * gmon/gmon.c (__monstartup): Likewise.
64761 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
64762 * hurd/hurdmalloc.c (more_memory): Likewise.
64763 (malloc): Likewise.
64764 (free): Likewise.
64765 (realloc): Likewise.
64766 (malloc_fork_prepare): Likewise.
64767 (malloc_fork_parent): Likewise.
64768 (malloc_fork_child): Likewise.
64769 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
64770 (_svcauth_des): Likewise.
64771 * inet/inet_lnaof.c (inet_lnaof): Likewise.
64772 * inet/inet_net.c (inet_network): Likewise.
64773 * inet/inet_netof.c (inet_netof): Likewise.
64774 * inet/rcmd.c (__validuser2_sa): Likewise.
64775 * io/fts.c (fts_open): Likewise.
64776 (fts_load): Likewise.
64777 (fts_close): Likewise.
64778 (fts_read): Likewise.
64779 (fts_children): Likewise.
64780 (fts_build): Likewise.
64781 (fts_stat): Likewise.
64782 (fts_sort): Likewise.
64783 (fts_alloc): Likewise.
64784 (fts_lfree): Likewise.
64785 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64786 (_IO_file_xsgetn): Likewise.
64787 (_IO_file_xsgetn_mmap): Likewise.
64788 * libio/iofopncook.c (_IO_cookie_read): Likewise.
64789 (_IO_cookie_write): Likewise.
64790 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64791 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64792 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64793 * malloc/obstack.c (_obstack_begin): Likewise.
64794 (_obstack_begin_1): Likewise.
64795 (_obstack_newchunk): Likewise.
64796 (_obstack_allocated_p): Likewise.
64797 (obstack_free): Likewise.
64798 (_obstack_memory_used): Likewise.
64799 * misc/getttyent.c (getttynam): Likewise.
64800 (getttyent): Likewise.
64801 (skip): Likewise.
64802 (value): Likewise.
64803 * misc/getusershell.c (initshells): Likewise.
64804 * misc/syslog.c (__vsyslog_chk): Likewise.
64805 * misc/ttyslot.c (ttyslot): Likewise.
64806 * nis/nis_hash.c (__nis_hash): Likewise.
64807 * posix/fnmatch_loop.c (FCT): Likewise.
64808 * posix/getconf.c (print_all): Likewise.
64809 (main): Likewise.
64810 * posix/getopt.c (exchange): Likewise.
64811 * posix/glob.c (globfree): Likewise.
64812 (prefix_array): Likewise.
64813 (__glob_pattern_type): Likewise.
64814 * resolv/arpa/nameser.h (NS_GET16): Likewise.
64815 (NS_GET32): Likewise.
64816 (NS_PUT16): Likewise.
64817 (NS_PUT32): Likewise.
64818 * resolv/gethnamaddr.c (getanswer): Likewise.
64819 (gethostbyname2): Likewise.
64820 (gethostbyaddr): Likewise.
64821 (_gethtent): Likewise.
64822 (_gethtbyname2): Likewise.
64823 (_gethtbyaddr): Likewise.
64824 * resolv/ns_print.c (dst_s_get_int16): Likewise.
64825 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64826 * resolv/res_init.c (__res_vinit): Likewise.
64827 (net_mask): Likewise.
64828 * resolv/res_mkquery.c (outchar): Likewise.
64829 (PRINT): Likewise.
64830 * stdio-common/printf_fp.c (outchar): Likewise.
64831 (PRINT): Likewise.
64832 * stdio-common/printf_fphex.c (outchar): Likewise.
64833 (PRINT): Likewise.
64834 * stdio-common/printf_size.c (outchar): Likewise.
64835 (PRINT): Likewise.
64836 * stdio-common/test_rdwr.c (main): Likewise.
64837 * stdio-common/tfformat.c (matches): Likewise.
64838 * stdio-common/vfprintf.c (outchar): Likewise.
64839 (printf_unknown): Likewise.
64840 (buffered_vfprintf): Likewise.
64841 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64842 * stdio-common/xbug.c (AppendToBuffer): Likewise.
64843 (ReadFile): Likewise.
64844 * stdlib/qsort.c (SWAP): Likewise.
64845 (_quicksort): Likewise.
64846 * stdlib/setenv.c (__add_to_environ): Likewise.
64847 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64848 * stdlib/strtol_l.c (__strtol_l): Likewise.
64849 * stdlib/tst-strtod.c (main): Likewise.
64850 * stdlib/tst-strtol.c (main): Likewise.
64851 * stdlib/tst-strtoll.c (main): Likewise.
64852 * string/bits/string2.h (__strcmp_cc): Likewise.
64853 (__strcmp_cg): Likewise.
64854 (__strcspn_c1): Likewise.
64855 (__strcspn_c2): Likewise.
64856 (__strcspn_c3): Likewise.
64857 (__strspn_c1): Likewise.
64858 (__strspn_c2): Likewise.
64859 (__strspn_c3): Likewise.
64860 (__strsep_1c): Likewise.
64861 (__strsep_2c): Likewise.
64862 (__strsep_3c): Likewise.
64863 * string/memccpy.c (__memccpy): Likewise.
64864 * string/stpcpy.c (__stpcpy): Likewise.
64865 * string/strcmp.c (strcmp): Likewise.
64866 * string/strrchr.c (strrchr): Likewise.
64867 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64868 Likewise.
64869 * sysdeps/mach/hurd/getcwd.c
64870 (_hurd_canonicalize_directory_name_internal): Likewise.
64871 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64872 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64873 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64874 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64875 Likewise, in both definitions.
64876 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64877 definitions.
64878 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64879 64] (__bswap_64): Likewise.
64880 * time/test_time.c (main): Likewise.
64881 * time/tzfile.c (__tzfile_read): Likewise.
64882 (__tzfile_compute): Likewise.
64883 * time/tzset.c (__tzset_parse_tz): Likewise.
64884 (tzset_internal): Likewise.
64885 (compute_change): Likewise.
64886 * wcsmbs/wcscat.c (__wcscat): Likewise.
64887 * wcsmbs/wcschr.c (wcschr): Likewise.
64888 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64889 * wcsmbs/wcscspn.c (wcscspn): Likewise.
64890 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64891 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64892 * wcsmbs/wcsspn.c (wcsspn): Likewise.
64893 * wcsmbs/wcsstr.c (wcsstr): Likewise.
64894 * wcsmbs/wmemchr.c (wmemchr): Likewise.
64895 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64896 * wcsmbs/wmemset.c (wmemset): Likewise.
64897
64898 2013-06-06 Joseph Myers <joseph@codesourcery.com>
64899
64900 * scripts/config.guess: Update to version 2013-05-16.
64901 * scripts/config.sub: Update to version 2013-04-24.
64902 * scripts/install-sh: Update to version 2011-11-20.07.
64903 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64904 * scripts/move-if-change: Update to version 2012-01-06 07:23.
64905
64906 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
64907
64908 * debug/fgetws_u_chk.c: Fix leading whitespaces.
64909 * elf/sln.c: Likewise.
64910 * hurd/hurd/ioctl.h: Likewise.
64911 * hurd/hurdmalloc.c: Likewise.
64912 * hurd/xattr.c: Likewise.
64913 * include/shlib-compat.h: Likewise.
64914 * inet/ruserpass.c: Likewise.
64915 * libio/iofgets_u.c: Likewise.
64916 * libio/iofgetws_u.c: Likewise.
64917 * locale/programs/ld-identification.c: Likewise.
64918 * locale/programs/ld-time.c: Likewise.
64919 * mach/msg-destroy.c: Likewise.
64920 * nss/nss_files/files-netgrp.c: Likewise.
64921 * resolv/res_data.c: Likewise.
64922 * soft-fp/op-1.h: Likewise.
64923 * soft-fp/op-2.h: Likewise.
64924 * soft-fp/op-4.h: Likewise.
64925 * soft-fp/op-common.h: Likewise.
64926 * stdio-common/printf_fphex.c: Likewise.
64927 * stdlib/strtod_l.c: Likewise.
64928 * sunrpc/rpc/clnt.h: Likewise.
64929 * sysdeps/generic/framestate.c: Likewise.
64930 * sysdeps/i386/bsd-_setjmp.S: Likewise.
64931 * sysdeps/i386/bsd-setjmp.S: Likewise.
64932 * sysdeps/i386/__longjmp.S: Likewise.
64933 * sysdeps/i386/setjmp.S: Likewise.
64934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64935 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64937 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64938 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64939 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64940 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64941 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64942 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64943 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64944 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64945 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64946 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64947 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64948 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64949 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64950 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64951 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64952 * sysdeps/ieee754/support.c: Likewise.
64953 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64954 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64955 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64956 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64957 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64958 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64959 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64960 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64961 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64962 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64963 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64964 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64965 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64966 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64967 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64968 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64969 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64971
64972 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
64973
64974 * posix/transbug.c: Remove executable mode.
64975
64976 2013-06-05 Joseph Myers <joseph@codesourcery.com>
64977
64978 * crypt/speeds.c: Remove trailing whitespace.
64979 * dlfcn/default.c: Likewise.
64980 * elf/ifuncdep2.c: Likewise.
64981 * elf/ifuncmain1.c: Likewise.
64982 * elf/ifuncmain1vis.c: Likewise.
64983 * elf/testobj.h: Likewise.
64984 * elf/tst-stackguard1.c: Likewise.
64985 * gmon/sys/gmon.h: Likewise.
64986 * hurd/hurdmsg.c: Likewise.
64987 * hurd/new-fd.c: Likewise.
64988 * hurd/ports-get.c: Likewise.
64989 * iconvdata/ibm1008_420.c: Likewise.
64990 * inet/tst-getni1.c: Likewise.
64991 * inet/tst-getni2.c: Likewise.
64992 * libio/ioungetc.c: Likewise.
64993 * libio/wfiledoalloc.c: Likewise.
64994 * manual/libm-err-tab.pl: Likewise.
64995 * math/w_dremf.c: Likewise.
64996 * misc/ftruncate.c: Likewise.
64997 * posix/bug-glob2.c: Likewise.
64998 * posix/tst-pcre.c: Likewise.
64999 * posix/wait4.c: Likewise.
65000 * resolv/README: Likewise.
65001 * resolv/res_debug.h: Likewise.
65002 * resolv/tst-inet_ntop.c: Likewise.
65003 * setjmp/bug269-setjmp.c: Likewise.
65004 * soft-fp/extended.h: Likewise.
65005 * soft-fp/op-1.h: Likewise.
65006 * soft-fp/op-2.h: Likewise.
65007 * soft-fp/op-4.h: Likewise.
65008 * soft-fp/op-8.h: Likewise.
65009 * soft-fp/testit.c: Likewise.
65010 * stdio-common/bug16.c: Likewise.
65011 * stdlib/random.c: Likewise.
65012 * sunrpc/rpcsvc/rquota.x: Likewise.
65013 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65014 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65015 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65016 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65017 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65018 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65019 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65020 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65021 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65022 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65024 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65025 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65026 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65028 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65029 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65030 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65031 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65032 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65033 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65034 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65035 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65038 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65040 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65041 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65042 * sysdeps/ieee754/s_lib_version.c: Likewise.
65043 * sysdeps/mach/hurd/check_fds.c: Likewise.
65044 * sysdeps/mach/hurd/getsockname.c: Likewise.
65045 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65046 * sysdeps/mach/hurd/recvfrom.c: Likewise.
65047 * sysdeps/powerpc/bits/link.h: Likewise.
65048 * sysdeps/powerpc/dl-procinfo.c: Likewise.
65049 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65050 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65051 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65052 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65053 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65054 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65055 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65056 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65057 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65058 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65059 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65060 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65061 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65062 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65063 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65065 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65067 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65068 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65069 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65070 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65071 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65072 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65073 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65074 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65075 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65076 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65078 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65079 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65080 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65081 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65082 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65083 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65084 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65085 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65086 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65087 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65088 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65089 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65090 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65091 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65092 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65093 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65094 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65095 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65096 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65097 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65100 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65101 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65102 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65103 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65104 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65105 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65107 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65108 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65109 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65110 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65111 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65112 * sysdeps/powerpc/sysdep.h: Likewise.
65113 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65114 * sysdeps/s390/s390-64/sub_n.S: Likewise.
65115 * sysdeps/sh/dl-trampoline.S: Likewise.
65116 * sysdeps/sh/memset.S: Likewise.
65117 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65118 * sysdeps/sh/strlen.S: Likewise.
65119 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65120 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65121 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65122 * sysdeps/sparc/sparc32/rem.S: Likewise.
65123 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65124 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65125 * sysdeps/sparc/sparc32/strchr.S: Likewise.
65126 * sysdeps/sparc/sparc32/udiv.S: Likewise.
65127 * sysdeps/sparc/sparc32/urem.S: Likewise.
65128 * sysdeps/sparc/sparc64/add_n.S: Likewise.
65129 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65130 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65131 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65132 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65133 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65134 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65135 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65136 * sysdeps/unix/bsd/times.c: Likewise.
65137 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65138 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65142 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65143 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65144 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65146 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65147 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65148 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65149 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65150 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65151 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65152 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65153 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65154 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65155 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65156 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65157 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65158 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65159 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65160 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65161 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65162 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65163 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65164 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65165 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65166 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65167 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65168 * sysdeps/x86_64/strcspn.S: Likewise.
65169
65170 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
65171
65172 * locale/C-translit.h: Revert #include <stdint.h> because this is a
65173 generated file. Regenerate properly from gen-translit.pl.
65174 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
65175 locale/C-translit.h.
65176
65177 2013-06-05 Andreas Schwab <schwab@suse.de>
65178
65179 [BZ #15100]
65180 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65181 week as 6 instead of -1.
65182 * time/tst-strptime.c (day_tests): Add test case.
65183
65184 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
65185
65186 * sysdeps/generic/math_private.h
65187 (libc_feholdexcept_setround_53bit): Replace with
65188 libc_feholdsetround_53bit.
65189 (libc_feupdateenv_53bit): Replace with
65190 libc_feresetround_53bit.
65191 (SET_RESTORE_ROUND_53BIT): Adjust.
65192
65193 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
65194
65195 * string/test-strchrnul.c: Add copyright header.
65196
65197 * posix/tst-getaddrinfo4.c: Increase test timeout.
65198
65199 2013-06-03 Carlos O'Donell <carlos@redhat.com>
65200
65201 [BZ #15536]
65202 * math/libm-test.inc (MAX_EXP): Remove
65203 (MIN_EXP): Define.
65204 (ulp): Use MIN_EXP - MANT_DIG.
65205 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65206
65207 2013-05-31 Carlos O'Donell <carlos@redhat.com>
65208
65209 * po/be.po: Revert last change.
65210 * po/zh_CN.po: Likewise.
65211 * po/header.pot: Likewise.
65212
65213 2013-05-31 Joseph Myers <joseph@codesourcery.com>
65214
65215 * Makefile ($(common-objpfx)linkobj/libc.so): Define
65216 link-libc-deps to empty as target-specific variable.
65217 * Makerules (link-libc-args): New variable.
65218 (libc-for-link): Likewise.
65219 (link-libc-deps): Likewise.
65220 (lib%.so): Depend on $(link-libc-deps). Link with
65221 $(link-libc-args).
65222 (build-module): Link with $(link-libc-args).
65223 (build-module-asneeded): Likewise.
65224 (build-module-helper-objlist): Filter out $(link-libc-deps) from
65225 list of objects.
65226 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65227 target-specific variable.
65228 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65229 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65230 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65231 libc.
65232 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65233 libc and ld.so.
65234 ($(objpfx)libpcprofile.so): Likewise.
65235 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65236 libc_nonshared.a.
65237 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65238 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65239 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65240 $(link-libc-deps).
65241 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65242 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65243 * login/Makefile ($(objpfx)libutil.so): Likewise.
65244 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65245 * math/Makefile ($(objpfx)libm.so): Likewise.
65246 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65247 $(objpfx)libnsl.so): Define libc-for-link as target-specific
65248 variable instead of depending directly on libc.
65249 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65250 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65251 $(link-libc-deps).
65252 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65253 libc.
65254 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65255 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65256 ($(objpfx)libanl.so): Likewise.
65257 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65258 ld.so.
65259 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65260 $(link-libc-deps).
65261 * sysdeps/i386/fpu/Makefile: Remove file.
65262 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65263 ($(objpfx)libm.so): Remove dependency on ld.so.
65264
65265 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
65266
65267 [BZ # 15553]
65268 * nis/yp_xdr.c (XDRMAXNAME): Define.
65269 (XDRMAXRECORD): Define.
65270 (xdr_domainname): Use XDRMAXNAME.
65271 (xdr_mapname): Likewise.
65272 (xdr_peername): Likewise.
65273 (xdr_keydat): Use XDRMAXRECORD.
65274 (xdr_valdat): Likewise.
65275
65276 2013-05-30 Jeff Law <law@redhat.com>
65277
65278 [BZ #14256]
65279 * manual/errno.texi (ESTALE): Update to account for more than
65280 just NFS file systems.
65281 * sysdeps/gnu/errlist.c: Regenerated.
65282
65283 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
65284
65285 [BZ #15465]
65286 * elf/Makefile (tests): Add tst-null-argv.
65287 (modules-names): Add tst-null-argv-lib.
65288 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65289 (tst-null-argv-ENV): Set environment for tst-null-argv.
65290 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65291 (RTLD_PROGNAME): New macro.
65292 * elf/tst-null-argv.c: New test case.
65293 * elf/tst-null-argv-lib.c: Library for test case.
65294 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65295 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65296 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65297 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65298 * elf/dl-init.c (call_init): Likewise.
65299 (_dl_init): Likewise.
65300 * elf/dl-load.c (print_search_path): Likewise.
65301 (_dl_map_object): Likewise.
65302 * elf/dl-lookup.c (do_lookup_x): Likewise.
65303 (add_dependency): Likewise.
65304 (_dl_lookup_symbol_x): Likewise.
65305 (_dl_debug_bindings): Likewise.
65306 * elf/dl-open.c (_dl_show_scope): Likewise.
65307 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65308 * elf/dl-version.c (match_symbol): Likewise.
65309 (_dl_check_map_versions): Likewise.
65310 * elf/rtld.c (dl_main): Likewise.
65311 (print_unresolved): Use RTLD_PROGNAME.
65312 (print_missing_version): Likewise.
65313 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65314 (elf_machine_rela): Likewise.
65315 * sysdeps/powerpc/powerpc32/dl-machine.c
65316 (__process_machine_rela): Likewise.
65317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65318 Likewise.
65319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65320 Likewise.
65321 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65322 Likewise.
65323 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65325 Likewise.
65326 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65327 Likewise.
65328 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65329
65330 2013-05-28 Carlos O'Donell <carlos@redhat.com>
65331
65332 * po/be.po: Add descriptive title.
65333 * po/zh_CN.po: Likewise.
65334 * po/header.pot: Likewise.
65335
65336 2013-05-28 Mike Frysinger <vapier@gentoo.org>
65337
65338 * locale/programs/locarchive.c (create_archive): Inlucde fname in
65339 error message.
65340 (enlarge_archive): Likewise.
65341
65342 2013-05-28 Ben North <ben@redfrontdoor.org>
65343
65344 * manual/arith.texi (frexp): It is the magnitude of the return
65345 value which lies in [0.5, 1), not the return value itself.
65346
65347 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65348
65349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65350
65351 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
65352
65353 * stdio-common/bug26.c (main): Correct fscanf template.
65354
65355 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65356 declare _dl_skip_args.
65357
65358 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65359 Don't declare.
65360
65361 * manual/platform.texi: Add missing @end deftypefun.
65362
65363 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65364
65365 [BZ #15529]
65366 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65367 bit of mantissa of 2^16382.
65368 * math/libm-test.inc (hypot_test_data): Add more tests.
65369
65370 * math/libm-test.inc: Add drem and pow10 to list of tested
65371 functions.
65372 (pow10_test): New function.
65373 (drem_test): Likewise.
65374 (drem_test_tonearest): Likewise.
65375 (drem_test_towardzero): Likewise.
65376 (drem_test_downward): Likewise.
65377 (drem_test_upward): Likewise.
65378 (main): Call the new functions.
65379
65380 * math/libm-test.inc (finite_test_data): Remove.
65381 (finite_test): Run tests from isfinite_test_data.
65382 (gamma_test_data): Remove.
65383 (gamma_test): Run tests from lgamma_test_data.
65384 * sysdeps/i386/fpu/libm-test-ulps: Update.
65385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65386
65387 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65388
65389 * manual/platform.texi: Add PowerPC PPR function set documentation.
65390 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65391 implementation.
65392
65393 2013-05-24 Carlos O'Donell <carlos@redhat.com>
65394
65395 * math/libm-test.inc (MAX_EXP): Define.
65396 (ULPDIFF): Define.
65397 (ulp): New function.
65398 (check_float_internal): Use ULPDIFF.
65399 (cpow_test): Disable failing test.
65400 (check_ulp): Test ulp() implementation.
65401 (main): Call check_ulp before starting tests.
65402
65403 2013-05-24 Joseph Myers <joseph@codesourcery.com>
65404
65405 * math/gen-libm-test.pl (generate_testfile): Do not handle
65406 START_DATA and END_DATA.
65407 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65408 END_DATA.
65409 (acos_tonearest_test_data): Likewise.
65410 (acos_towardzero_test_data): Likewise.
65411 (acos_downward_test_data): Likewise.
65412 (acos_upward_test_data): Likewise.
65413 (acosh_test_data): Likewise.
65414 (asin_test_data): Likewise.
65415 (asin_tonearest_test_data): Likewise.
65416 (asin_towardzero_test_data): Likewise.
65417 (asin_downward_test_data): Likewise.
65418 (asin_upward_test_data): Likewise.
65419 (asinh_test_data): Likewise.
65420 (atan_test_data): Likewise.
65421 (atanh_test_data): Likewise.
65422 (atan2_test_data): Likewise.
65423 (cabs_test_data): Likewise.
65424 (cacos_test_data): Likewise.
65425 (cacosh_test_data): Likewise.
65426 (carg_test_data): Likewise.
65427 (casin_test_data): Likewise.
65428 (casinh_test_data): Likewise.
65429 (catan_test_data): Likewise.
65430 (catanh_test_data): Likewise.
65431 (cbrt_test_data): Likewise.
65432 (ccos_test_data): Likewise.
65433 (ccosh_test_data): Likewise.
65434 (ceil_test_data): Likewise.
65435 (cexp_test_data): Likewise.
65436 (cimag_test_data): Likewise.
65437 (clog_test_data): Likewise.
65438 (clog10_test_data): Likewise.
65439 (conj_test_data): Likewise.
65440 (copysign_test_data): Likewise.
65441 (cos_test_data): Likewise.
65442 (cos_tonearest_test_data): Likewise.
65443 (cos_towardzero_test_data): Likewise.
65444 (cos_downward_test_data): Likewise.
65445 (cos_upward_test_data): Likewise.
65446 (cosh_test_data): Likewise.
65447 (cosh_tonearest_test_data): Likewise.
65448 (cosh_towardzero_test_data): Likewise.
65449 (cosh_downward_test_data): Likewise.
65450 (cosh_upward_test_data): Likewise.
65451 (cpow_test_data): Likewise.
65452 (cproj_test_data): Likewise.
65453 (creal_test_data): Likewise.
65454 (csin_test_data): Likewise.
65455 (csinh_test_data): Likewise.
65456 (csqrt_test_data): Likewise.
65457 (ctan_test_data): Likewise.
65458 (ctan_tonearest_test_data): Likewise.
65459 (ctan_towardzero_test_data): Likewise.
65460 (ctan_downward_test_data): Likewise.
65461 (ctan_upward_test_data): Likewise.
65462 (ctanh_test_data): Likewise.
65463 (ctanh_tonearest_test_data): Likewise.
65464 (ctanh_towardzero_test_data): Likewise.
65465 (ctanh_downward_test_data): Likewise.
65466 (ctanh_upward_test_data): Likewise.
65467 (erf_test_data): Likewise.
65468 (erfc_test_data): Likewise.
65469 (exp_test_data): Likewise.
65470 (exp_tonearest_test_data): Likewise.
65471 (exp_towardzero_test_data): Likewise.
65472 (exp_downward_test_data): Likewise.
65473 (exp_upward_test_data): Likewise.
65474 (exp10_test_data): Likewise.
65475 (exp2_test_data): Likewise.
65476 (expm1_test_data): Likewise.
65477 (fabs_test_data): Likewise.
65478 (fdim_test_data): Likewise.
65479 (finite_test_data): Likewise.
65480 (floor_test_data): Likewise.
65481 (fma_test_data): Likewise.
65482 (fma_towardzero_test_data): Likewise.
65483 (fma_downward_test_data): Likewise.
65484 (fma_upward_test_data): Likewise.
65485 (fmax_test_data): Likewise.
65486 (fmin_test_data): Likewise.
65487 (fmod_test_data): Likewise.
65488 (fpclassify_test_data): Likewise.
65489 (frexp_test_data): Likewise.
65490 (gamma_test_data): Likewise.
65491 (hypot_test_data): Likewise.
65492 (ilogb_test_data): Likewise.
65493 (isfinite_test_data): Likewise.
65494 (isgreater_test_data): Likewise.
65495 (isgreaterequal_test_data): Likewise.
65496 (isinf_test_data): Likewise.
65497 (isless_test_data): Likewise.
65498 (islessequal_test_data): Likewise.
65499 (islessgreater_test_data): Likewise.
65500 (isnan_test_data): Likewise.
65501 (isnormal_test_data): Likewise.
65502 (issignaling_test_data): Likewise.
65503 (isunordered_test_data): Likewise.
65504 (j0_test_data): Likewise.
65505 (j1_test_data): Likewise.
65506 (jn_test_data): Likewise.
65507 (ldexp_test_data): Likewise.
65508 (lgamma_test_data): Likewise.
65509 (lrint_test_data): Likewise.
65510 (lrint_tonearest_test_data): Likewise.
65511 (lrint_towardzero_test_data): Likewise.
65512 (lrint_downward_test_data): Likewise.
65513 (lrint_upward_test_data): Likewise.
65514 (llrint_test_data): Likewise.
65515 (llrint_tonearest_test_data): Likewise.
65516 (llrint_towardzero_test_data): Likewise.
65517 (llrint_downward_test_data): Likewise.
65518 (llrint_upward_test_data): Likewise.
65519 (log_test_data): Likewise.
65520 (log10_test_data): Likewise.
65521 (log1p_test_data): Likewise.
65522 (log2_test_data): Likewise.
65523 (logb_test_data): Likewise.
65524 (logb_downward_test_data): Likewise.
65525 (lround_test_data): Likewise.
65526 (llround_test_data): Likewise.
65527 (modf_test_data): Likewise.
65528 (nearbyint_test_data): Likewise.
65529 (nextafter_test_data): Likewise.
65530 (nexttoward_test_data): Likewise.
65531 (pow_test_data): Likewise.
65532 (pow_tonearest_test_data): Likewise.
65533 (pow_towardzero_test_data): Likewise.
65534 (pow_downward_test_data): Likewise.
65535 (pow_upward_test_data): Likewise.
65536 (remainder_test_data): Likewise.
65537 (remainder_tonearest_test_data): Likewise.
65538 (remainder_towardzero_test_data): Likewise.
65539 (remainder_downward_test_data): Likewise.
65540 (remainder_upward_test_data): Likewise.
65541 (remquo_test_data): Likewise.
65542 (rint_test_data): Likewise.
65543 (rint_tonearest_test_data): Likewise.
65544 (rint_towardzero_test_data): Likewise.
65545 (rint_downward_test_data): Likewise.
65546 (rint_upward_test_data): Likewise.
65547 (round_test_data): Likewise.
65548 (scalb_test_data): Likewise.
65549 (scalbn_test_data): Likewise.
65550 (scalbln_test_data): Likewise.
65551 (signbit_test_data): Likewise.
65552 (sin_test_data): Likewise.
65553 (sin_tonearest_test_data): Likewise.
65554 (sin_towardzero_test_data): Likewise.
65555 (sin_downward_test_data): Likewise.
65556 (sin_upward_test_data): Likewise.
65557 (sincos_test_data): Likewise.
65558 (sinh_test_data): Likewise.
65559 (sinh_tonearest_test_data): Likewise.
65560 (sinh_towardzero_test_data): Likewise.
65561 (sinh_downward_test_data): Likewise.
65562 (sinh_upward_test_data): Likewise.
65563 (sqrt_test_data): Likewise.
65564 (tan_test_data): Likewise.
65565 (tan_tonearest_test_data): Likewise.
65566 (tan_towardzero_test_data): Likewise.
65567 (tan_downward_test_data): Likewise.
65568 (tan_upward_test_data): Likewise.
65569 (tanh_test_data): Likewise.
65570 (tgamma_test_data): Likewise.
65571 (trunc_test_data): Likewise.
65572 (y0_test_data): Likewise.
65573 (y1_test_data): Likewise.
65574 (yn_test_data): Likewise.
65575 (significand_test_data): Likewise.
65576
65577 * math/gen-libm-test.pl (@functions): Remove variable.
65578 (generate_testfile): Don't handle START and END lines.
65579 * math/libm-test.inc (START): New macro.
65580 (END): Likewise.
65581 (END_COMPLEX): Likewise.
65582 (acos_test): Use END macro without arguments.
65583 (acos_test_tonearest): Likewise.
65584 (acos_test_towardzero): Likewise.
65585 (acos_test_downward): Likewise.
65586 (acos_test_upward): Likewise.
65587 (acosh_test): Likewise.
65588 (asin_test): Likewise.
65589 (asin_test_tonearest): Likewise.
65590 (asin_test_towardzero): Likewise.
65591 (asin_test_downward): Likewise.
65592 (asin_test_upward): Likewise.
65593 (asinh_test): Likewise.
65594 (atan_test): Likewise.
65595 (atanh_test): Likewise.
65596 (atan2_test): Likewise.
65597 (cabs_test): Likewise.
65598 (cacos_test): Use END_COMPLEX macro without arguments.
65599 (cacosh_test): Likewise.
65600 (carg_test): Use END macro without arguments.
65601 (casin_test): Use END_COMPLEX macro without arguments.
65602 (casinh_test): Likewise.
65603 (catan_test): Likewise.
65604 (catanh_test): Likewise.
65605 (cbrt_test): Use END macro without arguments.
65606 (ccos_test): Use END_COMPLEX macro without arguments.
65607 (ccosh_test): Likewise.
65608 (ceil_test): Use END macro without arguments.
65609 (cexp_test): Use END_COMPLEX macro without arguments.
65610 (cimag_test): Use END macro without arguments.
65611 (clog_test): Use END_COMPLEX macro without arguments.
65612 (clog10_test): Likewise.
65613 (conj_test): Likewise.
65614 (copysign_test): Use END macro without arguments.
65615 (cos_test): Likewise.
65616 (cos_test_tonearest): Likewise.
65617 (cos_test_towardzero): Likewise.
65618 (cos_test_downward): Likewise.
65619 (cos_test_upward): Likewise.
65620 (cosh_test): Likewise.
65621 (cosh_test_tonearest): Likewise.
65622 (cosh_test_towardzero): Likewise.
65623 (cosh_test_downward): Likewise.
65624 (cosh_test_upward): Likewise.
65625 (cpow_test): Use END_COMPLEX macro without arguments.
65626 (cproj_test): Likewise.
65627 (creal_test): Use END macro without arguments.
65628 (csin_test): Use END_COMPLEX macro without arguments.
65629 (csinh_test): Likewise.
65630 (csqrt_test): Likewise.
65631 (ctan_test): Likewise.
65632 (ctan_test_tonearest): Likewise.
65633 (ctan_test_towardzero): Likewise.
65634 (ctan_test_downward): Likewise.
65635 (ctan_test_upward): Likewise.
65636 (ctanh_test): Likewise.
65637 (ctanh_test_tonearest): Likewise.
65638 (ctanh_test_towardzero): Likewise.
65639 (ctanh_test_downward): Likewise.
65640 (ctanh_test_upward): Likewise.
65641 (erf_test): Use END macro without arguments.
65642 (erfc_test): Likewise.
65643 (exp_test): Likewise.
65644 (exp_test_tonearest): Likewise.
65645 (exp_test_towardzero): Likewise.
65646 (exp_test_downward): Likewise.
65647 (exp_test_upward): Likewise.
65648 (exp10_test): Likewise.
65649 (exp2_test): Likewise.
65650 (expm1_test): Likewise.
65651 (fabs_test): Likewise.
65652 (fdim_test): Likewise.
65653 (finite_test): Likewise.
65654 (floor_test): Likewise.
65655 (fma_test): Likewise.
65656 (fma_test_towardzero): Likewise.
65657 (fma_test_downward): Likewise.
65658 (fma_test_upward): Likewise.
65659 (fmax_test): Likewise.
65660 (fmin_test): Likewise.
65661 (fmod_test): Likewise.
65662 (fpclassify_test): Likewise.
65663 (frexp_test): Likewise.
65664 (gamma_test): Likewise.
65665 (hypot_test): Likewise.
65666 (ilogb_test): Likewise.
65667 (isfinite_test): Likewise.
65668 (isgreater_test): Likewise.
65669 (isgreaterequal_test): Likewise.
65670 (isinf_test): Likewise.
65671 (isless_test): Likewise.
65672 (islessequal_test): Likewise.
65673 (islessgreater_test): Likewise.
65674 (isnan_test): Likewise.
65675 (isnormal_test): Likewise.
65676 (issignaling_test): Likewise.
65677 (isunordered_test): Likewise.
65678 (j0_test): Likewise.
65679 (j1_test): Likewise.
65680 (jn_test): Likewise.
65681 (ldexp_test): Likewise.
65682 (lgamma_test): Likewise.
65683 (lrint_test): Likewise.
65684 (lrint_test_tonearest): Likewise.
65685 (lrint_test_towardzero): Likewise.
65686 (lrint_test_downward): Likewise.
65687 (lrint_test_upward): Likewise.
65688 (llrint_test): Likewise.
65689 (llrint_test_tonearest): Likewise.
65690 (llrint_test_towardzero): Likewise.
65691 (llrint_test_downward): Likewise.
65692 (llrint_test_upward): Likewise.
65693 (log_test): Likewise.
65694 (log10_test): Likewise.
65695 (log1p_test): Likewise.
65696 (log2_test): Likewise.
65697 (logb_test): Likewise.
65698 (logb_test_downward): Likewise.
65699 (lround_test): Likewise.
65700 (llround_test): Likewise.
65701 (modf_test): Likewise.
65702 (nearbyint_test): Likewise.
65703 (nextafter_test): Likewise.
65704 (nexttoward_test): Likewise.
65705 (pow_test): Likewise.
65706 (pow_test_tonearest): Likewise.
65707 (pow_test_towardzero): Likewise.
65708 (pow_test_downward): Likewise.
65709 (pow_test_upward): Likewise.
65710 (remainder_test): Likewise.
65711 (remainder_test_tonearest): Likewise.
65712 (remainder_test_towardzero): Likewise.
65713 (remainder_test_downward): Likewise.
65714 (remainder_test_upward): Likewise.
65715 (remquo_test): Likewise.
65716 (rint_test): Likewise.
65717 (rint_test_tonearest): Likewise.
65718 (rint_test_towardzero): Likewise.
65719 (rint_test_downward): Likewise.
65720 (rint_test_upward): Likewise.
65721 (round_test): Likewise.
65722 (scalb_test): Likewise.
65723 (scalbn_test): Likewise.
65724 (scalbln_test): Likewise.
65725 (signbit_test): Likewise.
65726 (sin_test): Likewise.
65727 (sin_test_tonearest): Likewise.
65728 (sin_test_towardzero): Likewise.
65729 (sin_test_downward): Likewise.
65730 (sin_test_upward): Likewise.
65731 (sincos_test): Likewise.
65732 (sinh_test): Likewise.
65733 (sinh_test_tonearest): Likewise.
65734 (sinh_test_towardzero): Likewise.
65735 (sinh_test_downward): Likewise.
65736 (sinh_test_upward): Likewise.
65737 (sqrt_test): Likewise.
65738 (tan_test): Likewise.
65739 (tan_test_tonearest): Likewise.
65740 (tan_test_towardzero): Likewise.
65741 (tan_test_downward): Likewise.
65742 (tan_test_upward): Likewise.
65743 (tanh_test): Likewise.
65744 (tgamma_test): Likewise.
65745 (trunc_test): Likewise.
65746 (y0_test): Likewise.
65747 (y1_test): Likewise.
65748 (yn_test): Likewise.
65749 (significand_test): Likewise.
65750
65751 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
65752
65753 [BZ #15381]
65754 * libio/genops.c (_IO_no_init): Initialize wide struct info.
65755
65756 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
65757
65758 [BZ #14894]
65759 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
65760 __ppc_mdoio and __ppc_mdoom.
65761 * manual/platform.texi: Document new functions __ppc_yield,
65762 __ppc_mdoio and __ppc_mdoom.
65763
65764 2013-05-22 Carlos O'Donell <carlos@redhat.com>
65765
65766 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
65767 (main): Mention "tls" pseudo-hwcap is legacy.
65768 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
65769
65770 2013-05-22 Joseph Myers <joseph@codesourcery.com>
65771
65772 * math/gen-libm-test.pl (parse_args): Output only string of
65773 arguments as text for test name, not full call or descriptions of
65774 tests for extra outputs.
65775 (generate_testfile): Do not pass function name to parse_args.
65776 Generate this_func variable from START.
65777 * math/libm-test.inc (struct test_f_f_data): Rename test_name
65778 field to arg_str.
65779 (struct test_ff_f_data): Likewise.
65780 (test_ff_f_data_nexttoward): Likewise.
65781 (struct test_fi_f_data): Likewise.
65782 (struct test_fl_f_data): Likewise.
65783 (struct test_if_f_data): Likewise.
65784 (struct test_fff_f_data): Likewise.
65785 (struct test_c_f_data): Likewise.
65786 (struct test_f_f1_data): Likewise. Remove field extra_name.
65787 (struct test_fF_f1_data): Likewise.
65788 (struct test_ffI_f1_data): Likewise.
65789 (struct test_c_c_data): Rename test_name field to arg_str.
65790 (struct test_cc_c_data): Likewise.
65791 (struct test_f_i_data): Likewise.
65792 (struct test_ff_i_data): Likewise.
65793 (struct test_f_l_data): Likewise.
65794 (struct test_f_L_data): Likewise.
65795 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
65796 and extra2_name.
65797 (COMMON_TEST_SETUP): New macro.
65798 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65799 (COMMON_TEST_CLEANUP): Likewise.
65800 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65801 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
65802 macros.
65803 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65804 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
65805 macros.
65806 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65807 (RUN_TEST_fff_f): Take argument string. Call new setup and
65808 cleanup macros.
65809 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65810 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
65811 macros.
65812 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65813 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
65814 macros.
65815 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65816 (RUN_TEST_fF_f1): Take argument string. Call new setup and
65817 cleanup macros.
65818 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65819 (RUN_TEST_fI_f1): Take argument string. Call new setup and
65820 cleanup macros.
65821 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65822 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
65823 cleanup macros.
65824 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65825 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
65826 macros.
65827 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65828 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
65829 macros.
65830 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65831 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
65832 macros.
65833 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65834 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
65835 cleanup macros.
65836 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65837 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
65838 cleanup macros.
65839 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65840 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
65841 macros.
65842 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65843 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
65844 cleanup macros.
65845 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65846 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
65847 macros.
65848 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65849 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
65850 macros.
65851 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65852 (RUN_TEST_fFF_11): Take argument string. Call new setup and
65853 cleanup macros.
65854 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65855
65856 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
65857
65858 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65859 to _sifields.sigfault.
65860 (si_addr_lsb): Define new macro.
65861 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65863 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65864
65865 2013-05-03 Carlos O'Donell <carlos at redhat.com>
65866
65867 [BZ #15441]
65868 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65869 returns -1.
65870 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65871 null return -1.
65872 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65873 loading the domain.
65874
65875 2013-05-22 Joseph Myers <joseph@codesourcery.com>
65876
65877 * math/gen-libm-test.pl (parse_args): Do not include expected
65878 result in test name.
65879 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65881 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65882 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65883 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65885
65886 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
65887
65888 * benchtests/Makefile: Sort function entries.
65889
65890 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65891 tanh, asinh, acosh, atanh.
65892 * benchtests/acos-inputs: New file.
65893 * benchtests/acosh-inputs: New file.
65894 * benchtests/asin-inputs: New file.
65895 * benchtests/asinh-inputs: New file.
65896 * benchtests/atanh-inputs: New file.
65897 * benchtests/cosh-inputs: New file.
65898 * benchtests/log-inputs: New file.
65899 * benchtests/sinh-inputs: New file.
65900 * benchtests/tanh-inputs: New file.
65901
65902 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
65903
65904 [BZ #15339]
65905 * posix/tst-getaddrinfo4.c: New test.
65906 * posix/Makefile (tests): Add it.
65907
65908 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
65909
65910 [BZ #15339]
65911 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65912 when no services were used.
65913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65914 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65915
65916 2013-05-21 Andreas Schwab <schwab@suse.de>
65917
65918 [BZ #15014]
65919 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65920 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65921 successful.
65922 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65923 redundant variable declarations and reallocation of buffer when
65924 parsing as IPv6 address. Always set NSS status when called from
65925 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
65926 buffer too small. Correct computation of needed size.
65927 * nss/Makefile (tests): Add test-digits-dots.
65928 * nss/test-digits-dots.c: New test.
65929
65930 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
65931
65932 * benchtests/Makefile: Remove instructions for adding
65933 benchmark tests.
65934 * benchtests/README: New file to explain how to execute and
65935 enhance the benchmark tests.
65936
65937 2013-05-21 Andreas Schwab <schwab@suse.de>
65938
65939 [BZ #15493]
65940 * setjmp/Makefile (tests): Add tst-sigsetjmp.
65941 * setjmp/tst-sigsetjmp.c: New test.
65942
65943 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
65944
65945 * sysdeps/x86_64/memset.S (memset): New implementation.
65946 (__bzero): Likewise.
65947 (__memset_tail): New function.
65948
65949 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
65950
65951 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65952 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65953 __memcpy_sse2_unaligned ifunc selection.
65954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65955 Add memcpy-sse2-unaligned.S.
65956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65957 Add: __memcpy_sse2_unaligned.
65958
65959 2013-05-19 Joseph Myers <joseph@codesourcery.com>
65960
65961 [BZ #15490]
65962 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65963 math_force_eval before restoring floating-point envrionment.
65964 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65966 Likewise.
65967 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65968 <math_private.h>.
65969 (__nearbyintl): Use math_force_eval before restoring
65970 floating-point environment.
65971 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65972
65973 * math/gen-libm-test.pl (special_functions): Remove.
65974 (parse_args): Don't handle TEST_extra. Handle functions with no
65975 return value.
65976 * math/libm-test.inc (struct test_sincos_data): Replace with
65977 struct test_fFF_11_data.
65978 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65979 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65980 (sincos_test_data): Change element type to struct
65981 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
65982 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65983 RUN_TEST_LOOP_sincos.
65984 * math/README.libm-test: Don't mention special handling of
65985 individual functions.
65986 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65987 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65988 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65989 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65990 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65992
65993 * math/gen-libm-test.pl (get_variable): Remove function.
65994 (parse_args): Don't show pointer parameters to call in test
65995 names. Use "extra output N" in test names for extra outputs
65996 rather than naming variables.
65997
65998 2013-05-18 Joseph Myers <joseph@codesourcery.com>
65999
66000 [BZ #15488]
66001 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66002 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66003 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66004 double tests.
66005 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66006 disable.
66007 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66008 check_long_double.
66009
66010 * math/gen-libm-test.pl (@tests): Remove variable.
66011 ($count): Likewise.
66012 (new_test): Remove function.
66013 (show_exceptions): New function.
66014 (special_functions): Use show_exceptions instead of new_test.
66015 (parse_args): Likewise.
66016 (generate_testfile): Pass only function name in generated call to
66017 print_max_error or print_complex_max_error.
66018 (get_ulps): Do not handle complex tests specially.
66019 (output_test): Rename to ...
66020 (get_all_ulps_for_test): ... this. Return a string rather than
66021 printing to a file. Require ulps to be present.
66022 (output_ulps): Generate arrays rather than #defines.
66023 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66024 (struct ulp_data): New type.
66025 (BUILD_COMPLEX_ULP): Remove macro.
66026 (compare_ulp_data): New function.
66027 (find_ulps): Likewise.
66028 (find_test_ulps): Likewise.
66029 (find_function_ulps): Likewise.
66030 (find_complex_function_ulps): Likewise.
66031 (print_max_error): Determine allowed ulps using
66032 find_function_ulps.
66033 (print_complex_max_error): Determine allowed ulps using
66034 find_complex_function_ulps.
66035 (check_float_internal): Determine max ulps using find_test_ulps.
66036 (check_float): Do not take max_ulp parameter. Update call to
66037 check_float_internal.
66038 (check_complex): Likewise.
66039 (check_int): Do not take max_ulp parameter.
66040 (check_long): Likewise.
66041 (check_bool): Likewise.
66042 (check_longlong): Likewise.
66043 (struct test_f_f_data): Remove max_ulp field.
66044 (struct test_ff_f_data): Likewise.
66045 (struct test_ff_f_data_nexttoward): Likewise.
66046 (struct test_fi_f_data): Likewise.
66047 (struct test_fl_f_data): Likewise.
66048 (struct test_if_f_data): Likewise.
66049 (struct test_fff_f_data): Likewise.
66050 (struct test_c_f_data): Likewise.
66051 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66052 (struct test_fF_f1_data): Likewise.
66053 (struct test_ffI_f1_data): Likewise.
66054 (struct test_c_c_data): Remove max_ulp field.
66055 (struct test_cc_c_data): Likewise.
66056 (struct test_f_i_data): Likewise.
66057 (struct test_ff_i_data): Likewise.
66058 (struct test_f_l_data): Likewise.
66059 (struct test_f_L_data): Likewise.
66060 (struct test_sincos_data): Likewise.
66061 (RUN_TEST_f_f): Do not handle ulps.
66062 (RUN_TEST_LOOP_f_f): Likewise.
66063 (RUN_TEST_2_f): Likewise.
66064 (RUN_TEST_LOOP_2_f): Likewise.
66065 (RUN_TEST_fff_f): Likewise.
66066 (RUN_TEST_LOOP_fff_f): Likewise.
66067 (RUN_TEST_c_f): Likewise.
66068 (RUN_TEST_LOOP_c_f): Likewise.
66069 (RUN_TEST_f_f1): Likewise.
66070 (RUN_TEST_LOOP_f_f1): Likewise.
66071 (RUN_TEST_fF_f1): Likewise.
66072 (RUN_TEST_LOOP_fF_f1): Likewise.
66073 (RUN_TEST_fI_f1): Likewise.
66074 (RUN_TEST_LOOP_fI_f1): Likewise.
66075 (RUN_TEST_ffI_f1): Likewise.
66076 (RUN_TEST_LOOP_ffI_f1): Likewise.
66077 (RUN_TEST_c_c): Likewise.
66078 (RUN_TEST_LOOP_c_c): Likewise.
66079 (RUN_TEST_cc_c): Likewise.
66080 (RUN_TEST_LOOP_cc_c): Likewise.
66081 (RUN_TEST_f_i): Likewise.
66082 (RUN_TEST_LOOP_f_i): Likewise.
66083 (RUN_TEST_f_i_tg): Likewise.
66084 (RUN_TEST_LOOP_f_i_tg): Likewise.
66085 (RUN_TEST_ff_i_tg): Likewise.
66086 (RUN_TEST_LOOP_ff_i_tg): Likewise.
66087 (RUN_TEST_f_b): Likewise.
66088 (RUN_TEST_LOOP_f_b): Likewise.
66089 (RUN_TEST_f_b_tg): Likewise.
66090 (RUN_TEST_LOOP_f_b_tg): Likewise.
66091 (RUN_TEST_f_l): Likewise.
66092 (RUN_TEST_LOOP_f_l): Likewise.
66093 (RUN_TEST_f_L): Likewise.
66094 (RUN_TEST_LOOP_f_L): Likewise.
66095 (RUN_TEST_sincos): Likewise.
66096 (RUN_TEST_LOOP_sincos): Likewise.
66097
66098 2013-05-17 Joseph Myers <joseph@codesourcery.com>
66099
66100 [BZ #15480]
66101 [BZ #15485]
66102 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66103 main case of finite arguments, set rounding mode to FE_TONEAREST
66104 and discard exceptions.
66105 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66106 exceptions.
66107 (remainder_tonearest_test_data): New variable.
66108 (remainder_test_tonearest): New function.
66109 (remainder_towardzero_test_data): New variable.
66110 (remainder_test_towardzero): New function.
66111 (remainder_downward_test_data): New variable.
66112 (remainder_test_downward): New function.
66113 (remainder_upward_test_data): New variable.
66114 (remainder_test_upward): New function.
66115 (main): Call the new test functions.
66116
66117 * math/libm-test.inc (struct test_f_f1_data): Remove field
66118 extra_init.
66119 (struct test_fF_f1_data): Likewise.
66120 (struct test_ffI_f1_data): Likewise.
66121 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
66122 based on value of EXTRA_EXPECTED.
66123 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66124 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
66125 EXTRA_VAR based on value of EXTRA_EXPECTED.
66126 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66127 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
66128 EXTRA_VAR based on value of EXTRA_EXPECTED.
66129 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66130 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
66131 EXTRA_VAR based on value of EXTRA_EXPECTED.
66132 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66133 * math/gen-libm-test.pl (parse_args): Don't output initializers
66134 for extra output values.
66135
66136 * math/libm-test.inc (check_int): Expect result to be exactly
66137 equal to expected value and do not handle ulps.
66138 (check_long): Likewise.
66139 (check_longlong): Likewise.
66140
66141 * math/libm-test.inc (ceil_test_data): Test for "inexact"
66142 exceptions.
66143 (cimag_test_data): Likewise.
66144 (conj_test_data): Likewise.
66145 (copysign_test_data): Likewise.
66146 (cproj_test_data): Likewise.
66147 (creal_test_data): Likewise.
66148 (fabs_test_data): Likewise.
66149 (fdim_test_data): Likewise.
66150 (finite_test_data): Likewise.
66151 (floor_test_data): Likewise.
66152 (fmax_test_data): Likewise.
66153 (fmin_test_data): Likewise.
66154 (fmod_test_data): Likewise.
66155 (fpclassify_test_data): Likewise.
66156 (frexp_test_data): Likewise.
66157 (ilogb_test_data): Likewise.
66158 (isfinite_test_data): Likewise.
66159 (isgreater_test_data): Likewise.
66160 (isgreaterequal_test_data): Likewise.
66161 (isinf_test_data): Likewise.
66162 (isless_test_data): Likewise.
66163 (islessequal_test_data): Likewise.
66164 (islessgreater_test_data): Likewise.
66165 (isnan_test_data): Likewise.
66166 (isnormal_test_data): Likewise.
66167 (issignaling_test_data): Likewise.
66168 (isunordered_test_data): Likewise.
66169 (ldexp_test_data): Likewise.
66170 (lrint_test_data): Likewise.
66171 (lrint_test_data) [TEST_FLOAT]: Disable one test.
66172 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66173 (lrint_tonearest_test_data): Test for "inexact" exceptions.
66174 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66175 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66176 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66177 test input.
66178 (lrint_towardzero_test_data): Test for "inexact" exceptions.
66179 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66180 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66181 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66182 that test input.
66183 (lrint_downward_test_data): Test for "inexact" exceptions.
66184 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66185 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66186 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66187 test input.
66188 (lrint_upward_test_data): Test for "inexact" exceptions.
66189 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66190 test input.
66191 (llrint_test_data): Test for "inexact" exceptions.
66192 (llrint_test_data) [TEST_FLOAT]: Disable one test.
66193 (llrint_tonearest_test_data): Test for "inexact" exceptions.
66194 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66195 (llrint_towardzero_test_data): Test for "inexact" exceptions.
66196 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66197 (llrint_downward_test_data): Test for "inexact" exceptions.
66198 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66199 (llrint_upward_test_data): Test for "inexact" exceptions.
66200 (logb_test_data): Likewise.
66201 (logb_downward_test_data): Likewise.
66202 (nextafter_test_data): Likewise.
66203 (nexttoward_test_data): Likewise.
66204 (remainder_test_data): Likewise.
66205 (remquo_test_data): Likewise.
66206 (scalbn_test_data): Likewise.
66207 (scalbln_test_data): Likewise.
66208 (signbit_test_data): Likewise.
66209 (sqrt_test_data): Likewise.
66210 (significand_test_data): Likewise.
66211
66212 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
66213
66214 [BZ #15424]
66215 * benchtests/bench-modf.c (struct args): Mark arg0 as
66216 volatile.
66217 * scripts/bench.pl: Mark members of struct args as volatile.
66218
66219 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66220
66221 [BZ # 15497]
66222 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66223 negative infinity on POWER6 or lower.
66224 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66225
66226 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
66227
66228 [BZ #15442]
66229 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66230 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66231 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66232 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66233 (_FP_SETQNAN): New macro.
66234 (_FP_SETQNAN_SEMIRAW): Likewise.
66235 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66236 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66237 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66238 (FP_EXTEND): Use _FP_FRAC_SNANP.
66239 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66240 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66241 into account.
66242 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66243 New macro.
66244 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66245 Likewise.
66246
66247 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66248
66249 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66250 with DIVIDE_BY_ZERO_EXCEPTION.
66251 (gamma_test_data): Likewise.
66252 (lgamma_test_data): Likewise.
66253 (log_test_data): Likewise.
66254 (log10_test_data): Likewise.
66255 (log2_test_data): Likewise.
66256 (tgamma_test_data): Likewise.
66257
66258 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66259 (acos_test_tonearest): Likewise.
66260 (acos_test_towardzero): Likewise.
66261 (acos_test_downward): Likewise.
66262 (acos_test_upward): Likewise.
66263 (acosh_test): Likewise.
66264 (asin_test): Likewise.
66265 (asin_test_tonearest): Likewise.
66266 (asin_test_towardzero): Likewise.
66267 (asin_test_downward): Likewise.
66268 (asin_test_upward): Likewise.
66269 (asinh_test): Likewise.
66270 (atan_test): Likewise.
66271 (atanh_test): Likewise.
66272 (atan2_test): Likewise.
66273 (cabs_test): Likewise.
66274 (cacos_test): Likewise.
66275 (cacosh_test): Likewise.
66276 (casin_test): Likewise.
66277 (casinh_test): Likewise.
66278 (catan_test): Likewise.
66279 (catanh_test): Likewise.
66280 (cbrt_test): Likewise.
66281 (ccos_test): Likewise.
66282 (ccosh_test): Likewise.
66283 (cexp_test): Likewise.
66284 (clog_test): Likewise.
66285 (clog10_test): Likewise.
66286 (cos_test): Likewise.
66287 (cos_test_tonearest): Likewise.
66288 (cos_test_towardzero): Likewise.
66289 (cos_test_downward): Likewise.
66290 (cos_test_upward): Likewise.
66291 (cosh_test): Likewise.
66292 (cosh_test_tonearest): Likewise.
66293 (cosh_test_towardzero): Likewise.
66294 (cosh_test_downward): Likewise.
66295 (cosh_test_upward): Likewise.
66296 (cpow_test): Likewise.
66297 (csin_test): Likewise.
66298 (csinh_test): Likewise.
66299 (csqrt_test): Likewise.
66300 (ctan_test): Likewise.
66301 (ctan_test_tonearest): Likewise.
66302 (ctan_test_towardzero): Likewise.
66303 (ctan_test_downward): Likewise.
66304 (ctan_test_upward): Likewise.
66305 (ctanh_test): Likewise.
66306 (ctanh_test_tonearest): Likewise.
66307 (ctanh_test_towardzero): Likewise.
66308 (ctanh_test_downward): Likewise.
66309 (ctanh_test_upward): Likewise.
66310 (erf_test): Likewise.
66311 (erfc_test): Likewise.
66312 (exp_test): Likewise.
66313 (exp_test_tonearest): Likewise.
66314 (exp_test_towardzero): Likewise.
66315 (exp_test_downward): Likewise.
66316 (exp_test_upward): Likewise.
66317 (exp10_test): Likewise.
66318 (exp2_test): Likewise.
66319 (expm1_test): Likewise.
66320 (fmod_test): Likewise.
66321 (gamma_test): Likewise.
66322 (hypot_test): Likewise.
66323 (j0_test): Likewise.
66324 (j1_test): Likewise.
66325 (jn_test): Likewise.
66326 (lgamma_test): Likewise.
66327 (log_test): Likewise.
66328 (log10_test): Likewise.
66329 (log1p_test): Likewise.
66330 (log2_test): Likewise.
66331 (logb_test_downward): Likewise.
66332 (pow_test): Likewise.
66333 (pow_test_tonearest): Likewise.
66334 (pow_test_towardzero): Likewise.
66335 (pow_test_downward): Likewise.
66336 (pow_test_upward): Likewise.
66337 (remainder_test): Likewise.
66338 (remquo_test): Likewise.
66339 (sin_test): Likewise.
66340 (sin_test_tonearest): Likewise.
66341 (sin_test_towardzero): Likewise.
66342 (sin_test_downward): Likewise.
66343 (sin_test_upward): Likewise.
66344 (sincos_test): Likewise.
66345 (sinh_test): Likewise.
66346 (sinh_test_tonearest): Likewise.
66347 (sinh_test_towardzero): Likewise.
66348 (sinh_test_downward): Likewise.
66349 (sinh_test_upward): Likewise.
66350 (sqrt_test): Likewise.
66351 (tan_test): Likewise.
66352 (tan_test_tonearest): Likewise.
66353 (tan_test_towardzero): Likewise.
66354 (tan_test_downward): Likewise.
66355 (tan_test_upward): Likewise.
66356 (tanh_test): Likewise.
66357 (tgamma_test): Likewise.
66358 (y0_test): Likewise.
66359 (y1_test): Likewise.
66360 (yn_test): Likewise.
66361
66362 * math/gen-libm-test.pl (adjust_arg): Remove function.
66363 (special_function): Remove argument $in_func. Only handle
66364 generating output for tables of tests, not inside functions.
66365 (parse_args): Likewise.
66366 (generate_testfile): Remove variable $in_func. Update call to
66367 parse_args.
66368 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66369 (MINUS_ZERO_INIT): Rename macro to minus_zero.
66370 (PLUS_INFTY_INIT): Rename macro to plus_infty.
66371 (MINUS_INFTY_INIT): Rename macro to minus_infty.
66372 (QNAN_VALUE_INIT): Rename macro to qnan_value.
66373 (MAX_VALUE_INIT): Rename macro to max_value.
66374 (MIN_VALUE_INIT): Rename macro to min_value.
66375 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66376 (plus_zero): Remove variable.
66377 (minus_zero): Likewise.
66378 (plus_infty): Likewise.
66379 (minus_infty): Likewise.
66380 (qnan_value): Likewise.
66381 (max_value): Likewise.
66382 (min_value): Likewise.
66383 (min_subnorm_value): Likewise.
66384
66385 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66386
66387 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66388 uint64_t or uint32_t usage.
66389 * crypt/sha256-block.c: Likewise.
66390 * crypt/sha256-crypt.c: Likewise.
66391 * crypt/sha256.c: Likewise.
66392 * crypt/sha512-block.c: Likewise.
66393 * crypt/sha512-crypt.c: Likewise.
66394 * crypt/sha512.c: Likewise.
66395 * debug/backtrace-tst.c: Likewise.
66396 * debug/pcprofiledump.c: Likewise.
66397 * elf/cache.c: Likewise.
66398 * elf/dl-cache.c: Likewise.
66399 * elf/dl-misc.c: Likewise.
66400 * elf/dl-profile.c: Likewise.
66401 * elf/dl-support.c: Likewise.
66402 * elf/ldconfig.c: Likewise.
66403 * elf/sprof.c: Likewise.
66404 * iconv/dummy-repertoire.c: Likewise.
66405 * iconv/iconv_charmap.c: Likewise.
66406 * iconv/skeleton.c: Likewise.
66407 * iconvdata/8bit-generic.c: Likewise.
66408 * iconvdata/cp737.h: Likewise.
66409 * iconvdata/cp775.h: Likewise.
66410 * iconvdata/ibm1008.h: Likewise.
66411 * iconvdata/ibm1025.h: Likewise.
66412 * iconvdata/ibm1046.h: Likewise.
66413 * iconvdata/ibm1097.h: Likewise.
66414 * iconvdata/ibm1112.h: Likewise.
66415 * iconvdata/ibm1122.h: Likewise.
66416 * iconvdata/ibm1123.h: Likewise.
66417 * iconvdata/ibm1124.h: Likewise.
66418 * iconvdata/ibm1129.h: Likewise.
66419 * iconvdata/ibm1130.h: Likewise.
66420 * iconvdata/ibm1132.h: Likewise.
66421 * iconvdata/ibm1133.h: Likewise.
66422 * iconvdata/ibm1137.h: Likewise.
66423 * iconvdata/ibm1140.h: Likewise.
66424 * iconvdata/ibm1141.h: Likewise.
66425 * iconvdata/ibm1142.h: Likewise.
66426 * iconvdata/ibm1143.h: Likewise.
66427 * iconvdata/ibm1144.h: Likewise.
66428 * iconvdata/ibm1145.h: Likewise.
66429 * iconvdata/ibm1146.h: Likewise.
66430 * iconvdata/ibm1147.h: Likewise.
66431 * iconvdata/ibm1148.h: Likewise.
66432 * iconvdata/ibm1149.h: Likewise.
66433 * iconvdata/ibm1153.h: Likewise.
66434 * iconvdata/ibm1154.h: Likewise.
66435 * iconvdata/ibm1155.h: Likewise.
66436 * iconvdata/ibm1156.h: Likewise.
66437 * iconvdata/ibm1157.h: Likewise.
66438 * iconvdata/ibm1158.h: Likewise.
66439 * iconvdata/ibm1160.h: Likewise.
66440 * iconvdata/ibm1161.h: Likewise.
66441 * iconvdata/ibm1162.h: Likewise.
66442 * iconvdata/ibm1163.h: Likewise.
66443 * iconvdata/ibm1164.h: Likewise.
66444 * iconvdata/ibm1166.h: Likewise.
66445 * iconvdata/ibm1167.h: Likewise.
66446 * iconvdata/ibm12712.h: Likewise.
66447 * iconvdata/ibm1390.h: Likewise.
66448 * iconvdata/ibm1399.h: Likewise.
66449 * iconvdata/ibm16804.h: Likewise.
66450 * iconvdata/ibm4517.h: Likewise.
66451 * iconvdata/ibm4899.h: Likewise.
66452 * iconvdata/ibm4909.h: Likewise.
66453 * iconvdata/ibm4971.h: Likewise.
66454 * iconvdata/ibm5347.h: Likewise.
66455 * iconvdata/ibm803.h: Likewise.
66456 * iconvdata/ibm856.h: Likewise.
66457 * iconvdata/ibm901.h: Likewise.
66458 * iconvdata/ibm902.h: Likewise.
66459 * iconvdata/ibm9030.h: Likewise.
66460 * iconvdata/ibm9066.h: Likewise.
66461 * iconvdata/ibm921.h: Likewise.
66462 * iconvdata/ibm922.h: Likewise.
66463 * iconvdata/ibm9448.h: Likewise.
66464 * iconvdata/isiri-3342.h: Likewise.
66465 * iconvdata/jis0201.h: Likewise.
66466 * include/link.h: Likewise.
66467 * include/netdb.h: Likewise.
66468 * inet/check_native.c: Likewise.
66469 * inet/check_pf.c: Likewise.
66470 * inet/getipv4sourcefilter.c: Likewise.
66471 * inet/getnameinfo.c: Likewise.
66472 * inet/getsourcefilter.c: Likewise.
66473 * inet/htonl.c: Likewise.
66474 * inet/setipv4sourcefilter.c: Likewise.
66475 * inet/setsourcefilter.c: Likewise.
66476 * inet/test-inet6_opt.c: Likewise.
66477 * inet/tst-network.c: Likewise.
66478 * locale/C-collate.c: Likewise.
66479 * locale/C-ctype.c: Likewise.
66480 * locale/C-time.c: Likewise.
66481 * locale/C-translit.h: Likewise.
66482 * locale/loadarchive.c: Likewise.
66483 * locale/programs/3level.h: Likewise.
66484 * locale/programs/charmap.c: Likewise.
66485 * locale/programs/charmap.h: Likewise.
66486 * locale/programs/ld-address.c: Likewise.
66487 * locale/programs/ld-collate.c: Likewise.
66488 * locale/programs/ld-ctype.c: Likewise.
66489 * locale/programs/ld-identification.c: Likewise.
66490 * locale/programs/ld-measurement.c: Likewise.
66491 * locale/programs/ld-messages.c: Likewise.
66492 * locale/programs/ld-monetary.c: Likewise.
66493 * locale/programs/ld-name.c: Likewise.
66494 * locale/programs/ld-numeric.c: Likewise.
66495 * locale/programs/ld-paper.c: Likewise.
66496 * locale/programs/ld-telephone.c: Likewise.
66497 * locale/programs/ld-time.c: Likewise.
66498 * locale/programs/linereader.c: Likewise.
66499 * locale/programs/locale.c: Likewise.
66500 * locale/programs/locarchive.c: Likewise.
66501 * locale/programs/locfile.h: Likewise.
66502 * locale/programs/repertoire.c: Likewise.
66503 * locale/programs/simple-hash.c: Likewise.
66504 * locale/programs/simple-hash.h: Likewise.
66505 * malloc/memusage.c: Likewise.
66506 * malloc/memusagestat.c: Likewise.
66507 * nis/nis_defaults.c: Likewise.
66508 * nis/nis_hash.c: Likewise.
66509 * nis/nis_print.c: Likewise.
66510 * nis/nis_xdr.c: Likewise.
66511 * nscd/connections.c: Likewise.
66512 * nscd/hstcache.c: Likewise.
66513 * nscd/nscd_gethst_r.c: Likewise.
66514 * nscd/nscd_getserv_r.c: Likewise.
66515 * nscd/nscd_helper.c: Likewise.
66516 * nscd/servicescache.c: Likewise.
66517 * nss/makedb.c: Likewise.
66518 * nss/nss_db/db-XXX.c: Likewise.
66519 * nss/nss_db/db-initgroups.c: Likewise.
66520 * nss/nss_db/db-netgrp.c: Likewise.
66521 * nss/nss_files/files-network.c: Likewise.
66522 * nss/nss_files/files-parse.c: Likewise.
66523 * posix/bug-regex5.c: Likewise.
66524 * posix/fnmatch_loop.c: Likewise.
66525 * posix/regcomp.c: Likewise.
66526 * posix/regexec.c: Likewise.
66527 * posix/tst-rfc3484-2.c: Likewise.
66528 * posix/tst-rfc3484-3.c: Likewise.
66529 * posix/tst-rfc3484.c: Likewise.
66530 * resolv/nss_dns/dns-canon.c: Likewise.
66531 * resolv/nss_dns/dns-network.c: Likewise.
66532 * resolv/res_init.c: Likewise.
66533 * resolv/res_mkquery.c: Likewise.
66534 * resolv/tst-aton.c: Likewise.
66535 * stdlib/cxa_atexit.c: Likewise.
66536 * stdlib/cxa_finalize.c: Likewise.
66537 * stdlib/gen-fpioconst.c: Likewise.
66538 * stdlib/strtol_l.c: Likewise.
66539 * string/tst-endian.c: Likewise.
66540 * sunrpc/auth_des.c: Likewise.
66541 * sunrpc/clnt_udp.c: Likewise.
66542 * sunrpc/rtime.c: Likewise.
66543 * sunrpc/svcauth_des.c: Likewise.
66544 * sunrpc/xdr.c: Likewise.
66545 * sunrpc/xdr_intXX_t.c: Likewise.
66546 * sunrpc/xdr_rec.c: Likewise.
66547 * sysdeps/generic/ldconfig.h: Likewise.
66548 * sysdeps/generic/ldsodefs.h: Likewise.
66549 * sysdeps/generic/memusage.h: Likewise.
66550 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66552 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66553 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66554 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66556 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66558 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66559 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66560 * sysdeps/posix/getaddrinfo.c: Likewise.
66561 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66562 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66563 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66564 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66565 * sysdeps/powerpc/test-gettimebase.c: Likewise.
66566 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66567 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66568 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66569 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66570 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66571 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66572 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66573 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66574 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66575 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66576 * sysdeps/x86_64/dl-tls.h: Likewise.
66577 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66578 * time/alt_digit.c: Likewise.
66579 * time/era.c: Likewise.
66580 * wcsmbs/tst-c16c32-1.c: Likewise.
66581
66582 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66583
66584 * math/libm-test.inc (struct test_sincos_data): New type.
66585 (RUN_TEST_LOOP_sincos): New macro.
66586 (sincos_test_data): New variable.
66587 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66588
66589 2013-05-16 Richard Henderson <rth@redhat.com>
66590
66591 * math/atest-exp2.c (LIMB64): New macro.
66592 (CONSTSZ): New macro.
66593 (mp_exp1, mp_exp_m1, mp_log2): New variables.
66594 (hexdig): Move ...
66595 (print_mpn_fp): ... to function scope.
66596 (read_mpn_hex): Remove.
66597 (get_log2): Remove.
66598 (exp2_mpn): Use mp_log2.
66599 (main): Use mp_exp1.
66600
66601 2013-05-16 Joseph Myers <joseph@codesourcery.com>
66602
66603 * math/libm-test.inc: Remove comment about not testing "inexact"
66604 exceptions.
66605 (INEXACT_EXCEPTION): New macro.
66606 (NO_INEXACT_EXCEPTION): Likewise.
66607 (INVALID_EXCEPTION_OK): Update value.
66608 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66609 (OVERFLOW_EXCEPTION_OK): Likewise.
66610 (UNDERFLOW_EXCEPTION_OK): Likewise.
66611 (IGNORE_ZERO_INF_SIGN): Likewise.
66612 (ERRNO_UNCHANGED): Likewise.
66613 (ERRNO_EDOM): Likewise.
66614 (ERRNO_ERANGE): Likewise.
66615 (test_exceptions): Handle testing "inexact" exceptions.
66616 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66617 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66618 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66619 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66620 INEXACT_EXCEPTION.
66621 (rint_towardzero_test_data): Likewise.
66622 (rint_downward_test_data): Likewise.
66623 (rint_upward_test_data): Likewise.
66624
66625 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66626 with OVERFLOW_EXCEPTION.
66627 (exp10_test_data): Likewise.
66628 (exp2_test_data): Likewise.
66629 (expm1_test_data): Likewise.
66630 (lgamma_test_data): Likewise.
66631 (pow_test_data): Likewise.
66632 (tgamma_test_data): Likewise.
66633 (yn_test_data): Remove duplicate test of overflow.
66634
66635 * math/libm-test.inc (struct test_cc_c_data): New type.
66636 (RUN_TEST_LOOP_cc_c): New macro.
66637 (cpow_test_data): New variable.
66638 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66639
66640 * math/libm-test.inc (struct test_f_L_data): New type.
66641 (RUN_TEST_LOOP_f_L): New macro.
66642 (llrint_test_data): New variable.
66643 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66644 (llrint_tonearest_test_data): New variable.
66645 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66646 (llrint_towardzero_test_data): New variable.
66647 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66648 (llrint_downward_test_data): New variable.
66649 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66650 (llrint_upward_test_data): New variable.
66651 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66652 (llround_test_data): New variable.
66653 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66654
66655 2013-05-13 Peter Collingbourne <pcc@google.com>
66656
66657 * math/atest-exp2.c (get_log2): Remove const attribute.
66658
66659 2013-05-15 Joseph Myers <joseph@codesourcery.com>
66660
66661 * math/libm-test.inc (struct test_f_l_data): New type.
66662 (RUN_TEST_LOOP_f_l): New macro.
66663 (lrint_test_data): New variable.
66664 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
66665 (lrint_tonearest_test_data): New variable.
66666 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
66667 (lrint_towardzero_test_data): New variable.
66668 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
66669 (lrint_downward_test_data): New variable.
66670 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
66671 (lrint_upward_test_data): New variable.
66672 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
66673 (lround_test_data): New variable.
66674 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
66675
66676 2013-05-15 Peter Collingbourne <pcc@google.com>
66677
66678 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
66679 (EXTRACT_WORDS64) Use where appropriate.
66680 (INSERT_WORDS64) Likewise.
66681
66682 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
66683 constraints with x constraints.
66684 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
66685
66686 * malloc/obstack.c (_obstack_compat): Add initializer.
66687
66688 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
66689
66690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
66691 si_trapno and add si_addr_lsb to _sifields.sigfault.
66692 (si_trapno): Remove macro.
66693 (si_addr_lsb): Define new macro.
66694 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66695
66696 2013-05-15 Joseph Myers <joseph@codesourcery.com>
66697
66698 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
66699 instead of TEST_f_l.
66700 (llrint_test_tonearest): Likewise.
66701 (llrint_test_towardzero): Likewise.
66702 (llrint_test_downward): Likewise.
66703 (llrint_test_upward): Likewise.
66704 (llround_test): Likewise.
66705
66706 * math/libm-test.inc (struct test_f_i_data): Add comment.
66707 (RUN_TEST_LOOP_f_b): New macro.
66708 (RUN_TEST_LOOP_f_b_tg): Likewise.
66709 (finite_test_data): New variable.
66710 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
66711 (isfinite_test_data): New variable.
66712 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66713 (isinf_test_data): New variable.
66714 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66715 (isnan_test_data): New variable.
66716 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66717 (isnormal_test_data): New variable.
66718 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66719 (issignaling_test_data): New variable.
66720 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66721 (signbit_test_data): New variable.
66722 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66723
66724 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
66725 with INVALID_EXCEPTION.
66726 (acosh_test_data): Likewise.
66727 (asin_test_data): Likewise.
66728 (atanh_test_data): Likewise.
66729 (fmod_test_data): Likewise.
66730 (log_test_data): Likewise.
66731 (log10_test_data): Likewise.
66732 (log2_test_data): Likewise.
66733 (pow_test_data): Likewise.
66734 (sqrt_test_data): Likewise.
66735 (y0_test_data): Likewise.
66736 (y1_test_data): Likewise.
66737 (yn_test_data): Likewise.
66738
66739 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
66740 function contents.
66741
66742 * math/libm-test.inc (struct test_ff_i_data): New type.
66743 (RUN_TEST_LOOP_ff_i_tg): New macro.
66744 (isgreater_test_data): New variable.
66745 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66746 (isgreaterequal_test_data): New variable.
66747 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66748 (isless_test_data): New variable.
66749 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66750 (islessequal_test_data): New variable.
66751 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66752 (islessgreater_test_data): New variable.
66753 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66754 (isunordered_test_data): New variable.
66755 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66756
66757 2013-05-14 David S. Miller <davem@davemloft.net>
66758
66759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66760
66761 2013-05-14 Joseph Myers <joseph@codesourcery.com>
66762
66763 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
66764
66765 * math/libm-test.inc (struct test_fF_f1_data): Change type of
66766 extra_test to int.
66767 (struct test_f_i_data): Change type of max_ulp to int.
66768
66769 * math/libm-test.inc (test_ffI_f1_data): New type.
66770 (RUN_TEST_LOOP_ffI_f1): New macro.
66771 (remquo_test_data): New variable.
66772 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
66773
66774 * setjmp/tst-setjmp-fp.c: New file.
66775 * setjmp/Makefile (tests): Add tst-setjmp-fp.
66776 (link-libm): New variable.
66777 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66778
66779 * math/libm-test.inc (struct test_f_i_data): New type.
66780 (RUN_TEST_LOOP_f_i): New macro.
66781 (RUN_TEST_LOOP_f_i_tg): Likewise.
66782 (fpclassify_test_data): New variable.
66783 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66784 (ilogb_test_data): New variable.
66785 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66786
66787 * math/libm-test.inc (scalbln_test): Correct function name in END
66788 call.
66789
66790 * math/libm-test.inc (struct test_f_f1_data): Add comment.
66791 (RUN_TEST_LOOP_fI_f1): New macro.
66792 (frexp_test_data): New variable.
66793 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66794
66795 * math/libm-test.inc (struct test_fF_f1_data): New type.
66796 (RUN_TEST_LOOP_fF_f1): New macro.
66797 (modf_test_data): New variable.
66798 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66799
66800 * math/libm-test.inc (struct test_f_f1_data): New type.
66801 (RUN_TEST_LOOP_f_f1): New macro.
66802 (gamma_test_data): New variable.
66803 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66804 (lgamma_test_data): New variable.
66805 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66806
66807 2013-05-13 Carlos O'Donell <carlos@redhat.com>
66808
66809 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66810 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66811 (main): Comment "tls" pseudo-hwcap.
66812
66813 2013-05-13 Joseph Myers <joseph@codesourcery.com>
66814
66815 * math/libm-test.inc (struct test_fl_f_data): New type.
66816 (RUN_TEST_LOOP_fl_f): New variable.
66817 (scalbln_test_data): New variable.
66818 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66819
66820 * math/libm-test.inc (struct test_fi_f_data): New type.
66821 (RUN_TEST_LOOP_fi_f): New macro.
66822 (ldexp_test_data): New variable.
66823 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66824 (scalbn_test_data): New variable.
66825 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66826
66827 * math/libm-test.inc (struct test_c_f_data): New type.
66828 (RUN_TEST_LOOP_c_f): New macro.
66829 (cabs_test_data): New variable.
66830 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66831 (carg_test_data): New variable.
66832 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66833 (cimag_test_data): New variable.
66834 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66835 (creal_test_data): New variable.
66836 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66837
66838 * math/libm-test.inc (struct test_if_f_data): New type.
66839 (RUN_TEST_LOOP_if_f): New macro.
66840 (jn_test_data): New variable.
66841 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66842 (yn_test_data): New variable.
66843 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66844
66845 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66846
66847 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66848
66849 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66850 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66851
66852 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
66853
66854 * benchtests/Makefile (CPPFLAGS-nonlib): Add
66855 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66856 (bench-deps): Add bench-timing.h.
66857 * benchtests-bench-skeleton.c: Include bench-timing.h.
66858 (main): Use TIMING_* macros instead of clock_gettime.
66859 * benchtests/bench-timing.h: New file.
66860
66861 [BZ #14582]
66862 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66863 Renamed from _LIB_VERSION.
66864 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66865
66866 2013-05-12 Joseph Myers <joseph@codesourcery.com>
66867
66868 * math/libm-test.inc (struct test_fff_f_data): New type.
66869 (RUN_TEST_LOOP_fff_f): New macro.
66870 (fma_test_data): New variable.
66871 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66872 (fma_towardzero_test_data): New variable.
66873 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66874 (fma_downward_test_data): New variable.
66875 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66876 (fma_upward_test_data): New variable.
66877 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66878
66879 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66880 (struct test_c_c_data): New type.
66881 (RUN_TEST_LOOP_c_c): New macro.
66882 (cacos_test_data): New variable.
66883 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66884 (cacosh_test_data): New variable.
66885 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66886 (casin_test_data): New variable.
66887 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66888 (casinh_test_data): New variable.
66889 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66890 (catan_test_data): New variable.
66891 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66892 (catanh_test_data): New variable.
66893 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66894 (ccos_test_data): New variable.
66895 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66896 (ccosh_test_data): New variable.
66897 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66898 (cexp_test_data): New variable.
66899 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66900 (clog_test_data): New variable.
66901 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66902 (clog10_test_data): New variable.
66903 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66904 (conj_test_data): New variable.
66905 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66906 (cproj_test_data): New variable.
66907 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66908 (csin_test_data): New variable.
66909 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66910 (csinh_test_data): New variable.
66911 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66912 (csqrt_test_data): New variable.
66913 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66914 (ctan_test_data): New variable.
66915 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66916 (ctan_tonearest_test_data): New variable.
66917 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66918 (ctan_towardzero_test_data): New variable.
66919 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66920 (ctan_downward_test_data): New variable.
66921 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66922 (ctan_upward_test_data): New variable.
66923 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66924 (ctanh_test_data): New variable.
66925 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66926 (ctanh_tonearest_test_data): New variable.
66927 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66928 (ctanh_towardzero_test_data): New variable.
66929 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66930 (ctanh_downward_test_data): New variable.
66931 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66932 (ctanh_upward_test_data): New variable.
66933 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66934 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66935 of BUILD_COMPLEX.
66936
66937 * math/libm-test.inc (struct test_ff_f_data): New type.
66938 (struct test_ff_f_data_nexttoward): Likewise.
66939 (RUN_TEST_LOOP_2_f): New macro.
66940 (RUN_TEST_LOOP_ff_f): Likewise.
66941 (atan2_test_data): New variable.
66942 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66943 (copysign_test_data): New variable.
66944 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66945 (fdim_test_data): New variable.
66946 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66947 (fmax_test_data): New variable.
66948 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66949 (fmin_test_data): New variable.
66950 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66951 (fmod_test_data): New variable.
66952 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66953 (hypot_test_data): New variable.
66954 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66955 (nextafter_test_data): New variable.
66956 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66957 (nexttoward_test_data): New variable.
66958 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66959 (pow_test_data): New variable.
66960 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66961 (pow_tonearest_test_data): New variable.
66962 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66963 (pow_towardzero_test_data): New variable.
66964 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66965 (pow_downward_test_data): New variable.
66966 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66967 (pow_upward_test_data): New variable.
66968 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66969 (remainder_test_data): New variable.
66970 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66971 (scalb_test_data): New variable.
66972 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66973 * sysdeps/i386/fpu/libm-test-ulps: Update.
66974
66975 2013-05-11 Joseph Myers <joseph@codesourcery.com>
66976
66977 * math/libm-test.inc (fma_test): Use max_value instead of local
66978 variable fltmax.
66979 (nextafter_test): Likewise.
66980
66981 * math/libm-test.inc (acos_towardzero_test_data): New variable.
66982 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66983 (acos_downward_test_data): New variable.
66984 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66985 (acos_upward_test_data): New variable.
66986 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66987 (acosh_test_data): New variable.
66988 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66989 (asin_test_data): New variable.
66990 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66991 (asin_tonearest_test_data): New variable.
66992 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66993 (asin_towardzero_test_data): New variable.
66994 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66995 (asin_downward_test_data): New variable.
66996 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66997 (asin_upward_test_data): New variable.
66998 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66999 (asinh_test_data): New variable.
67000 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67001 (atan_test_data): New variable.
67002 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67003 (atanh_test_data): New variable.
67004 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67005 (cbrt_test_data): New variable.
67006 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67007 (ceil_test_data): New variable.
67008 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67009 (cos_test_data): New variable.
67010 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67011 (cos_tonearest_test_data): New variable.
67012 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67013 (cos_towardzero_test_data): New variable.
67014 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67015 (cos_downward_test_data): New variable.
67016 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67017 (cos_upward_test_data): New variable.
67018 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67019 (cosh_test_data): New variable.
67020 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67021 (cosh_tonearest_test_data): New variable.
67022 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67023 (cosh_towardzero_test_data): New variable.
67024 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67025 (cosh_downward_test_data): New variable.
67026 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67027 (cosh_upward_test_data): New variable.
67028 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67029 (erf_test_data): New variable.
67030 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67031 (erfc_test_data): New variable.
67032 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67033 (exp_test_data): New variable.
67034 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67035 (exp_tonearest_test_data): New variable.
67036 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67037 (exp_towardzero_test_data): New variable.
67038 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67039 (exp_downward_test_data): New variable.
67040 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67041 (exp_upward_test_data): New variable.
67042 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67043 (exp10_test_data): New variable.
67044 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67045 (exp2_test_data): New variable.
67046 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67047 (expm1_test_data): New variable.
67048 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67049 (fabs_test_data): New variable.
67050 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67051 (floor_test_data): New variable.
67052 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67053 (j0_test_data): New variable.
67054 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67055 (j1_test_data): New variable.
67056 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67057 (log_test_data): New variable.
67058 (log_test): Run tests with RUN_TEST_LOOP_f_f.
67059 (log10_test_data): New variable.
67060 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67061 (log1p_test_data): New variable.
67062 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67063 (log2_test_data): New variable.
67064 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67065 (logb_test_data): New variable.
67066 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67067 (logb_downward_test_data): New variable.
67068 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67069 (nearbyint_test_data): New variable.
67070 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67071 (rint_test_data): New variable.
67072 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67073 (rint_tonearest_test_data): New variable.
67074 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67075 (rint_towardzero_test_data): New variable.
67076 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67077 (rint_downward_test_data): New variable.
67078 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67079 (rint_upward_test_data): New variable.
67080 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67081 (round_test_data): New variable.
67082 (round_test): Run tests with RUN_TEST_LOOP_f_f.
67083 (sin_test_data): New variable.
67084 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67085 (sin_tonearest_test_data): New variable.
67086 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67087 (sin_towardzero_test_data): New variable.
67088 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67089 (sin_downward_test_data): New variable.
67090 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67091 (sin_upward_test_data): New variable.
67092 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67093 (sinh_test_data): New variable.
67094 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67095 (sinh_tonearest_test_data): New variable.
67096 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67097 (sinh_towardzero_test_data): New variable.
67098 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67099 (sinh_downward_test_data): New variable.
67100 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67101 (sinh_upward_test_data): New variable.
67102 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67103 (sqrt_test_data): New variable.
67104 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67105 (tan_test_data): New variable.
67106 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67107 (tan_tonearest_test_data): New variable.
67108 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67109 (tan_towardzero_test_data): New variable.
67110 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67111 (tan_downward_test_data): New variable.
67112 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67113 (tan_upward_test_data): New variable.
67114 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67115 (tanh_test_data): New variable.
67116 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67117 (tgamma_test_data): New variable.
67118 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67119 (trunc_test_data): New variable.
67120 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67121 (y0_test_data): New variable.
67122 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67123 (y1_test_data): New variable.
67124 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67125 (significand_test_data): New variable.
67126 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67127
67128 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
67129
67130 [BZ #12387]
67131 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67132
67133 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
67134
67135 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67136
67137 2013-05-10 Andreas Jaeger <aj@suse.de>
67138
67139 [BZ #15448]
67140 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67141 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67142
67143 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67144
67145 * math/gen-libm-test.pl (adjust_arg): New function.
67146 (special_functions): Handle generating output in both functions
67147 and arrays.
67148 (parse_args): Likewise.
67149 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
67150 $in_func argument to parse_args.
67151 * math/libm-test.inc (struct test_f_f_data): New type.
67152 (IF_ROUND_INIT_): New macro.
67153 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67154 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67155 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67156 (IF_ROUND_INIT_FE_UPWARD): Likewise.
67157 (ROUND_RESTORE_): Likewise.
67158 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67159 (ROUND_RESTORE_FE_TONEAREST): Likewise.
67160 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67161 (ROUND_RESTORE_FE_UPWARD): Likewise.
67162 (RUN_TEST_LOOP_f_f): New macro.
67163 (acos_test_data): New variable.
67164 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67165 (acos_tonearest_test_data): New variable.
67166 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67167
67168 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
67169
67170 * benchtests/bench-skeleton.c (startup): Fix coding style.
67171
67172 2013-05-10 Joseph Myers <joseph@codesourcery.com>
67173
67174 [BZ #6809]
67175 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67176 negative infinity argument.
67177 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67178 negative infinity argument.
67179 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67180 negative infinity argument.
67181 * math/libm-test.inc (tgamma_test): Expect errno to be set for
67182 domain errors.
67183
67184 2013-05-10 Florian Weimer <fweimer@redhat.com>
67185
67186 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67187 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67188 * iconv/iconv_prog.c (main): Likewise.
67189 * locale/programs/charmap-dir.c (charmap_readdir)
67190 (fopen_uncompressed): Likewise.
67191 * locale/programs/locfile.c (siblings_uncached)
67192 (write_locale_data): Use lstat64 instead of lstat.
67193 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67194 stat.
67195
67196 2013-05-10 Andreas Jaeger <aj@suse.de>
67197
67198 [BZ #15395]
67199 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67200 localization.
67201 Include <locale.h>.
67202
67203 2013-05-09 Carlos O'Donell <carlos@redhat.com>
67204
67205 * elf/dl-close.c (_dl_close_worker): Add comments.
67206
67207 2013-05-09 Joseph Myers <joseph@codesourcery.com>
67208
67209 [BZ #15359]
67210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67211 high part of pi/2.
67212 (__ieee754_rem_pio2l): Update comments.
67213
67214 [BZ #15429]
67215 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67216 high part of pi/2.
67217 (__ieee754_rem_pio2l): Update comments.
67218
67219 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67220 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67221
67222 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67223 M_PI_4l.
67224
67225 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67226 (M_PI_34_LOG10El): Likewise.
67227 (M_PI2_LOG10El): Likewise.
67228 (M_PI4_LOG10El): Likewise.
67229 (M_PI_LOG10El): Likewise.
67230
67231 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67232
67233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67234
67235 2013-05-08 Joseph Myers <joseph@codesourcery.com>
67236
67237 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67238 (MINUS_ZERO_INIT): Likewise.
67239 (PLUS_INFTY_INIT): Likewise.
67240 (MINUS_INFTY_INIT): Likewise.
67241 (QNAN_VALUE_INIT): Likewise.
67242 (MAX_VALUE_INIT): Likewise.
67243 (MIN_VALUE_INIT): Likewise.
67244 (MIN_SUBNORM_VALUE_INIT): Likewise.
67245 (plus_zero): Initialize with PLUS_ZERO_INIT.
67246 (minus_zero): Initialize with MINUS_ZERO_INIT.
67247 (plus_infty): Initialize with PLUS_INFTY_INIT.
67248 (minus_infty): Initialize with MINUS_INFTY_INIT.
67249 (qnan_value): Initialize with QNAN_VALUE_INIT.
67250 (max_value): Initialize with MAX_VALUE_INIT.
67251 (min_value): Initialize with MIN_VALUE_INIT.
67252 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67253
67254 * math/libm-test.inc (RUN_TEST_if_f): New macro.
67255 (jn_test): Use TEST_if_f instead of TEST_ff_f.
67256 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67257 (yn_test): Use TEST_if_f instead of TEST_ff_f.
67258
67259 * math/libm-test.inc (RUN_TEST_f_f): New macro.
67260 (RUN_TEST_2_f): Likewise.
67261 (RUN_TEST_ff_f): Likewise.
67262 (RUN_TEST_fi_f): Likewise.
67263 (RUN_TEST_fl_f): Likewise.
67264 (RUN_TEST_fff_f): Likewise.
67265 (RUN_TEST_c_f): Likewise.
67266 (RUN_TEST_f_f1): Likewise.
67267 (RUN_TEST_fF_f1): Likewise.
67268 (RUN_TEST_fI_f1): Likewise.
67269 (RUN_TEST_ffI_f1): Likewise.
67270 (RUN_TEST_c_c): Likewise.
67271 (RUN_TEST_cc_c): Likewise.
67272 (RUN_TEST_f_i): Likewise.
67273 (RUN_TEST_f_i_tg): Likewise.
67274 (RUN_TEST_ff_i_tg): Likewise.
67275 (RUN_TEST_f_b): Likewise.
67276 (RUN_TEST_f_b_tg): Likewise.
67277 (RUN_TEST_f_l): Likewise.
67278 (RUN_TEST_f_L): Likewise.
67279 (RUN_TEST_sincos): Likewise.
67280 * math/gen-libm-test.pl (new_test): Take new argument to indicate
67281 whether to show exceptions. Do not include ");\n" in return
67282 value.
67283 (special_functions): Output call to RUN_TEST_sincos instead of
67284 check_float calls. Update calls to new_test.
67285 (parse_args): Output call to single RUN_TEST_* macro instead of
67286 check_* calls and other assignments. Update calls to new_test.
67287
67288 [BZ #2546]
67289 [BZ #2560]
67290 [BZ #5159]
67291 [BZ #15426]
67292 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67293 input to result for tgamma overflow.
67294 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67295 (gamma_coeff): New variable.
67296 (NCOEFF): New macro.
67297 (gamma_positive): New function.
67298 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67299 underflow here. Use gamma_positive instead of exp (lgamma) for
67300 other arguments.
67301 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67302 (gamma_coeff): New variable.
67303 (NCOEFF): New macro.
67304 (gammaf_positive): New function.
67305 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67306 underflow here. Use gamma_positive instead of exp (lgamma) for
67307 other arguments.
67308 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67309 (gamma_coeff): New variable.
67310 (NCOEFF): New macro.
67311 (gammal_positive): New function.
67312 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67313 underflow here. Use gamma_positive instead of exp (lgamma) for
67314 other arguments.
67315 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67316 (gamma_coeff): New variable.
67317 (NCOEFF): New macro.
67318 (gammal_positive): New function.
67319 (__ieee754_gammal_r): Handle positive infinity, overflow and
67320 underflow here. Handle NaN the same as positive infinity. Remove
67321 check x < 0xffffffff for negative integers. Use gamma_positive
67322 instead of exp (lgamma) for other arguments.
67323 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67324 (gamma_coeff): New variable.
67325 (NCOEFF): New macro.
67326 (gammal_positive): New function.
67327 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67328 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67329 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67330 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67331 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67332 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67333 * sysdeps/generic/math_private.h (__gamma_productf): New
67334 prototype.
67335 (__gamma_product): Likewise.
67336 (__gamma_productl): Likewise.
67337 * math/Makefile (libm-calls): Add gamma_product.
67338 * math/libm-test.inc (tgamma_test): Add more tests.
67339 * sysdeps/i386/fpu/libm-test-ulps: Update.
67340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67341
67342 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
67343
67344 * benchtests/bench-skeleton.c (main): Preheat CPU.
67345
67346 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
67347
67348 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67349
67350 2013-05-07 Roland McGrath <roland@hack.frob.com>
67351
67352 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67353 and _dl_skip_args_internal.
67354
67355 2013-05-07 Carlos O'Donell <carlos@redhat.com>
67356
67357 * manual/message.texi (Message Translation): Talk about users.
67358 Message to key mapping impacts design.
67359
67360 2013-05-06 Roland McGrath <roland@hack.frob.com>
67361
67362 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67363
67364 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67365
67366 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67367 * sysdeps/wordsize-64/glob64.c: ... here.
67368
67369 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67370 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67371 New macros.
67372
67373 * debug/getlogin_r_chk.c: Moved to ...
67374 * login/getlogin_r_chk.c: ... here.
67375 * debug/Makefile (routines): Move getlogin_r_chk to ...
67376 * login/Makefile (routines): ... here.
67377 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67378 * login/Versions (libc: GLIBC_2.4): ... here.
67379
67380 * io/poll.c (__poll): Renamed from poll.
67381 Add libc_hidden_def.
67382 (poll): Define as weak alias.
67383
67384 * debug/ptsname_r_chk.c: Moved to ...
67385 * login/ptsname_r_chk.c: ... here.
67386 * debug/Makefile (routines): Move ptsname_r_chk to ...
67387 * login/Makefile (routines): ... here.
67388 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67389 * login/Versions (libc: GLIBC_2.4): ... here.
67390
67391 * posix/getlogin.c: Moved to ...
67392 * login/getlogin.c: ... here.
67393 * posix/getlogin_r.c: Moved to ...
67394 * login/getlogin_r.c: ... here.
67395 * posix/getlogin_r.c: Moved to ...
67396 * login/getlogin_r.c: ... here.
67397 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67398 * login/Makefile (routines): ... here.
67399 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67400 * login/Versions (libc: GLIBC_2.0): ... here.
67401
67402 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67403 (setrlimit): Define as weak alias.
67404
67405 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67406 Call __ names for open, ftruncate, and close.
67407 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67408 (truncate): Define as weak alias.
67409
67410 2013-05-06 Joseph Myers <joseph@codesourcery.com>
67411
67412 * math/gen-libm-test.pl (parse_args): Initialize x before each
67413 test of frexp, modf and remquo.
67414
67415 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67416 test signgam value.
67417
67418 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67419
67420 [BZ #15418]
67421 [BZ #15419]
67422 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67423 internal tests.
67424 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67425
67426 2013-05-06 Roland McGrath <roland@hack.frob.com>
67427
67428 * elf/dl-writev.h: New file.
67429 * elf/dl-misc.c: Include it.
67430 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67431 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67432
67433 2013-05-04 Joseph Myers <joseph@codesourcery.com>
67434
67435 * math/libm-test.inc (noXFails): Remove variable.
67436 (noXPasses): Likewise.
67437 (BUILD_COMPLEX_INT): Remove macro.
67438 (print_screen): Remove xfail argument.
67439 (print_screen_max_error): Likewise.
67440 (update_stats): Likewise.
67441 (print_max_error): Likewise. Update calls to other affected
67442 functions.
67443 (print_complex_max_error): Likewise.
67444 (test_single_exception): Update calls to print_screen.
67445 (test_single_errno): Likewise.
67446 (check_float_internal): Remove xfail argument. Update calls to
67447 other affected functions.
67448 (check_float): Likewise.
67449 (check_complex): Likewise.
67450 (check_int): Likewise.
67451 (check_long): Likewise.
67452 (check_bool): Likewise.
67453 (check_longlong): Likewise.
67454 (main): Don't print noXFails and noXPasses.
67455 * math/gen-libm-test.pl (top level): Don't mention expected
67456 failure handling in comment.
67457 (new_test): Don't handle expected failures.
67458 (parse_args): Don't mention expected failure handling in comment.
67459 (generate_testfile): Don't handle expected failures.
67460 (parse_ulps): Likewise.
67461 (print_ulps_file): Likewise.
67462 (get_failure): Remove function.
67463 (output_test): Don't handle expected failures.
67464 * make/README.libm-test: Don't mention expected failure handling.
67465
67466 * math/libm-test.inc (plus_zero): Make const. Add initializer.
67467 (minus_zero): Likewise.
67468 (plus_infty): Likewise.
67469 (minus_infty): Likewise.
67470 (qnan_value): Likewise.
67471 (max_value): Likewise.
67472 (min_value): Likewise.
67473 (min_subnorm_value): Likewise.
67474 (initialize): Do not initialize those variables dynamically.
67475
67476 2013-05-03 Roland McGrath <roland@hack.frob.com>
67477
67478 * io/open.c (__open_2): Moved to ...
67479 * io/open_2.c: ... this new file.
67480 * io/open64.c (__open64_2): Moved to ...
67481 * io/open64_2.c: ... this new file.
67482 * io/openat.c (__openat_2): Moved to ...
67483 * io/openat_2.c: ... this new file.
67484 * io/openat64.c (__openat64_2): Moved to ...
67485 * io/openat64_2.c: ... this new file.
67486 * io/Makefile (routines): Add them.
67487 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67488 * sysdeps/unix/sysv/linux/open_2.c: File removed.
67489 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67490 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67491 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67492 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67493 (__openat64): Add hidden_ver.
67494 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67495 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67496
67497 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67498 Separately conditionalize setting of GLRO(dl_sysinfo) so
67499 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67500 as well, but the actual setting is only under [NEED_DL_SYSINFO].
67501
67502 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67503
67504 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67505 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67506 definition.
67507 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67508 * sysdeps/unix/sysv/linux/powerpc/init-first.c
67509 (_libc_vdso_platform_setup): Add __vdso_time initialization.
67510 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67511 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67512
67513 2013-05-03 Joseph Myers <joseph@codesourcery.com>
67514
67515 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67516 test signgam value.
67517
67518 * math/libm-test.inc (hypot_test): Do not use
67519 IGNORE_ZERO_INF_SIGN.
67520
67521 2013-05-03 Andreas Jaeger <aj@suse.de>
67522
67523 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67524 Linux 3.9.
67525 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67526 (PF_MAX): Adjust for VSOCK change.
67527
67528 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67529
67530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67531
67532 2013-05-02 Carlos O'Donell <carlos@redhat.com>
67533
67534 [BZ #15264]
67535 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67536 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67537 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67538
67539 2013-05-02 David S. Miller <davem@davemloft.net>
67540
67541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67542
67543 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
67544
67545 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67546
67547 2013-05-01 Roland McGrath <roland@hack.frob.com>
67548
67549 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67550
67551 2013-05-01 Richard Smith <richard@metafoo.co.uk>
67552
67553 [BZ #14952]
67554 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67555 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67556 Use __attribute__ ((__gnu_inline__)).
67557 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67558 Don't use __attribute__ ((__gnu_inline__)).
67559
67560 2013-05-01 Joseph Myers <joseph@codesourcery.com>
67561
67562 [BZ #15423]
67563 * math/s_catan.c (__catan): Handle small real or imaginary part of
67564 input specially to avoid spurious underflow.
67565 * math/s_catanf.c (__catanf): Likewise.
67566 * math/s_catanh.c (__catanh): Likewise.
67567 * math/s_catanhf.c (__catanhf): Likewise.
67568 * math/s_catanhl.c (__catanhl): Likewise.
67569 * math/s_catanl.c (__catanl): Likewise.
67570 * math/libm-test.inc (catan_test): Add more tests.
67571 (catanh_test): Likewise.
67572 * sysdeps/i386/fpu/libm-test-ulps: Update.
67573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67574
67575 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67576
67577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67578
67579 2013-04-30 Joseph Myers <joseph@codesourcery.com>
67580
67581 [BZ #15416]
67582 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67583 accurately for denominator in atan2.
67584 * math/s_catanf.c (__catanf): Likewise.
67585 * math/s_catanh.c (__catanh): Likewise.
67586 * math/s_catanhf.c (__catanhf): Likewise.
67587 * math/s_catanhl.c (__catanhl): Likewise.
67588 * math/s_catanl.c (__catanl): Likewise.
67589 * math/libm-test.inc (catan_test): Add more tests.
67590 (catanh_test): Likewise.
67591 * sysdeps/i386/fpu/libm-test-ulps: Update.
67592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67593
67594 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67595
67596 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67597
67598 * benchtests/Makefile (bench): Remove slow benchmarks.
67599 * benchtests/atan-inputs: Add slow benchmark inputs.
67600 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67601 (BENCH_FUNC): Accept variant offset.
67602 (VARIANT): Define.
67603 * benchtests/bench-skeleton.c (main): Run benchmark for each
67604 variant.
67605 * benchtests/cos-inputs: Add slow benchmark inputs.
67606 * benchtests/exp-inputs: Likewise.
67607 * benchtests/pow-inputs: Likewise.
67608 * benchtests/sin-inputs: Likewise.
67609 * benchtests/slowatan-inputs: Remove.
67610 * benchtests/slowatan.c: Remove.
67611 * benchtests/slowcos-inputs: Remove.
67612 * benchtests/slowcos.c: Remove.
67613 * benchtests/slowexp-inputs: Remove.
67614 * benchtests/slowexp.c: Remove.
67615 * benchtests/slowpow-inputs: Remove.
67616 * benchtests/slowpow.c: Remove.
67617 * benchtests/slowsin-inputs: Remove.
67618 * benchtests/slowsin.c: Remove.
67619 * benchtests/slowtan-inputs: Remove.
67620 * benchtests/slowtan.c: Remove.
67621 * benchtests/tan-inputs: Add slow benchmark inputs.
67622 * scripts/bench.pl: Parse comments and directives.
67623
67624 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
67625 in CPPFLAGS.
67626 ($(objpfx)bench-%.c): Remove *-ITER.
67627 * benchtests/bench-modf.c: Remove definition of ITER.
67628 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67629 (main): Loop for DURATION seconds instead of fixed number of
67630 iterations.
67631 * scripts/bench.pl: Don't expect iterations in parameters.
67632
67633 2013-04-29 Roland McGrath <roland@hack.frob.com>
67634
67635 * io/fchdir.c (__fchdir): Renamed from fchdir.
67636 (fchdir): Define as weak alias.
67637
67638 2013-04-29 Joseph Myers <joseph@codesourcery.com>
67639
67640 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67641 (ERRNO_EDOM): Likewise.
67642 (ERRNO_ERANGE): Likewise.
67643 (noErrnoTests): New variable.
67644 (init_max_error): Set errno to 0.
67645 (test_single_errno): New function.
67646 (test_errno): Likewise.
67647 (check_float_internal): Call test_errno. Set errno to 0.
67648 (check_complex): Refer to errno tests in comment.
67649 (check_int): Call test_errno. Set errno to 0.
67650 (check_long): Likewise.
67651 (check_bool): Likewise.
67652 (check_longlong): Likewise.
67653 (cos_test): Use ERRNO_* flags for errno tests instead of
67654 check_int.
67655 (expm1_test): Likewise.
67656 (fmod_test): Likewise.
67657 (ilogb_test): Likewise.
67658 (lgamma_test): Likewise.
67659 (pow_test): Likewise.
67660 (remainder_test): Likewise.
67661 (sin_test): Likewise.
67662 (tan_test): Likewise.
67663 (yn_test): Likewise.
67664 (initialize): Set errno to 0.
67665 (main): Print number of errno tests.
67666 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
67667
67668 2013-04-29 Andreas Jaeger <aj@suse.de>
67669
67670 [BZ #15084]
67671 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
67672 and RES_USEVC.
67673
67674 [BZ #15085]
67675 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
67676 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
67677 unimplemented.
67678
67679 [BZ #15380]
67680 * stdlib/random.c (__initstate): Return NULL if
67681 __initstate fails.
67682
67683 [BZ #15086]
67684 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
67685 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
67686 RES_SNGLKUPREOP.
67687
67688 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67689
67690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67691
67692 2013-04-29 Joseph Myers <joseph@codesourcery.com>
67693
67694 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
67695 of individual tests.
67696 (casin_test): Likewise.
67697 (casinh_test): Likewise.
67698
67699 2013-04-27 Joseph Myers <joseph@codesourcery.com>
67700
67701 [BZ #15409]
67702 * math/s_catan.c (__catan): Handle arguments with large real or
67703 imaginary part separately without squaring.
67704 * math/s_catanf.c (__catanf): Likewise.
67705 * math/s_catanh.c (__catanh): Likewise.
67706 * math/s_catanhf.c (__catanhf): Likewise.
67707 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67708 and redefine.
67709 (__catanhl): Handle arguments with large real or imaginary part
67710 separately without squaring.
67711 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67712 and redefine.
67713 (__catanl): Handle arguments with large real or imaginary part
67714 separately without squaring.
67715 * math/libm-test.inc (catan_test): Add more tests.
67716 (catanh_test): Likewise.
67717 * sysdeps/i386/fpu/libm-test-ulps: Update.
67718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67719
67720 2013-04-27 Andreas Jaeger <aj@suse.de>
67721
67722 [BZ #15007]
67723 * stdlib/stdlib.h: Update guards for qecvt.
67724 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
67725 <stdlib.h>.
67726
67727 2013-04-27 Allan McRae <allan@archlinux.org>
67728
67729 * sysdeps/i386/fpu/libm-test-ulps: Update.
67730
67731 2013-04-26 Joseph Myers <joseph@codesourcery.com>
67732
67733 [BZ #15406]
67734 * math/s_catan.c: Include <float.h>.
67735 (__catan): Ensure underflow exception occurs for underflowed
67736 result.
67737 * math/s_catanf.c: Include <float.h>.
67738 (__catanf): Ensure underflow exception occurs for underflowed
67739 result.
67740 * math/s_catanh.c: Include <float.h>.
67741 (__catanh): Ensure underflow exception occurs for underflowed
67742 result.
67743 * math/s_catanhf.c: Include <float.h>.
67744 (__catanhf): Ensure underflow exception occurs for underflowed
67745 result.
67746 * math/s_catanhl.c: Include <float.h>.
67747 (__catanhl): Ensure underflow exception occurs for underflowed
67748 result.
67749 * math/s_catanl.c: Include <float.h>.
67750 (__catanl): Ensure underflow exception occurs for underflowed
67751 result.
67752 * math/libm-test.inc (catan_test): Add more tests.
67753 (catanh_test): Likewise.
67754
67755 [BZ #15405]
67756 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
67757 underflowed result.
67758 * math/s_ccoshf.c (__ccoshf): Likewise.
67759 * math/s_ccoshl.c (__ccoshl): Likewise.
67760 * math/s_csin.c (__csin): Likewise.
67761 * math/s_csinf.c (__csinf): Likewise.
67762 * math/s_csinh.c (__csinh): Likewise.
67763 * math/s_csinhf.c (__csinhf): Likewise.
67764 * math/s_csinhl.c (__csinhl): Likewise.
67765 * math/s_csinl.c (__csinl): Likewise.
67766 * math/libm-test.inc (ccos_test): Add more tests.
67767 (ccosh_test): Likewise.
67768 (csin_test): Likewise.
67769 (csinh_test): Likewise.
67770
67771 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67772
67773 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
67774 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
67775 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
67776 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67777 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67778 powerpc/power5+/fpu folders.
67779 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67780
67781
67782 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
67783
67784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67785
67786 2013-04-25 Joseph Myers <joseph@codesourcery.com>
67787
67788 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67789 additions to variable.
67790 [$(config-machine) = x86_64] (modules-names): Likewise.
67791 ($(objpfx)tst-audit3): Remove dependency.
67792 ($(objpfx)tst-audit3.out): Likewise.
67793 ($(objpfx)tst-audit4): Likewise.
67794 ($(objpfx)tst-audit4.out): Likewise.
67795 ($(objpfx)tst-audit5): Likewise.
67796 ($(objpfx)tst-audit5.out): Likewise.
67797 ($(objpfx)tst-audit6): Likewise.
67798 ($(objpfx)tst-audit6.out): Likewise.
67799 ($(objpfx)tst-audit7): Likewise.
67800 ($(objpfx)tst-audit7.out): Likewise.
67801 (tst-audit3-ENV): Remove variable.
67802 (tst-audit4-ENV): Likewise.
67803 (tst-audit5-ENV): Likewise.
67804 (tst-audit6-ENV): Likewise.
67805 (tst-audit7-ENV): Likewise.
67806 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67807 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67808 addition to variable.
67809 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67810 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67811 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67812 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67813 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67814 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67815 tst-audit3, tst-audit4 and tst-audit5.
67816 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67817 tst-audit6 and tst-audit7.
67818 [$(subdir) = elf] (modules-names): Add audit modules for those
67819 tests.
67820 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67821 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67822 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67823 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67824 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67825 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67826 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67827 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67828 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67829 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67830 [$(subdir) = elf] (tst-audit3-ENV): New variable.
67831 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67832 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67833 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67834 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67835 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67836 Likewise.
67837 [$(subdir) = elf && $(config-cflags-avx) = yes]
67838 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67839 [$(subdir) = elf && $(config-cflags-avx) = yes]
67840 (CFLAGS-tst-auditmod4a.c): Likewise.
67841 [$(subdir) = elf && $(config-cflags-avx) = yes]
67842 (CFLAGS-tst-auditmod4b.c): Likewise.
67843 [$(subdir) = elf && $(config-cflags-avx) = yes]
67844 (CFLAGS-tst-auditmod6b.c): Likewise.
67845 [$(subdir) = elf && $(config-cflags-avx) = yes]
67846 (CFLAGS-tst-auditmod6c.c): Likewise.
67847 [$(subdir) = elf && $(config-cflags-avx) = yes]
67848 (CFLAGS-tst-auditmod7b.c): Likewise.
67849 * elf/tst-audit3.c: Move to ...
67850 * sysdeps/x86_64/tst-audit3.c: ... here.
67851 * elf/tst-audit4.c: Move to ...
67852 * sysdeps/x86_64/tst-audit4.c: ... here.
67853 * elf/tst-audit5.c: Move to ...
67854 * sysdeps/x86_64/tst-audit5.c: ... here.
67855 * elf/tst-audit6.c: Move to ...
67856 * sysdeps/x86_64/tst-audit6.c: ... here.
67857 * elf/tst-audit7.c: Move to ...
67858 * sysdeps/x86_64/tst-audit7.c: ... here.
67859 * elf/tst-auditmod3a.c: Move to ...
67860 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67861 * elf/tst-auditmod3b.c: Move to ...
67862 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67863 * elf/tst-auditmod4a.c: Move to ...
67864 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67865 * elf/tst-auditmod4b.c: Move to ...
67866 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67867 * elf/tst-auditmod5a.c: Move to ...
67868 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67869 * elf/tst-auditmod5b.c: Move to ...
67870 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67871 * elf/tst-auditmod6a.c: Move to ...
67872 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67873 * elf/tst-auditmod6b.c: Move to ...
67874 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67875 * elf/tst-auditmod6c.c: Move to ...
67876 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67877 * elf/tst-auditmod7a.c: Move to ...
67878 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67879 * elf/tst-auditmod7b.c: Move to ...
67880 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67881
67882 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
67883
67884 [BZ #15366]
67885 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67886 define unconditionally.
67887 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67888 define unconditionally.
67889 (INT8_C, INT16_C, etc.): Likewise.
67890
67891 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
67892
67893 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67894 __ehdr_start with hidden visibility.
67895
67896 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67897
67898 2013-04-24 Carlos O'Donell <carlos@redhat.com>
67899
67900 * math/libm-test.inc (cos_test): Use accurate hex constants.
67901 (sincost_test): Likewise.
67902
67903 2013-04-24 Joseph Myers <joseph@codesourcery.com>
67904
67905 * math/libm-test.inc (catan_test): Add more tests.
67906 (catanh_test): Likewise.
67907
67908 * math/s_catanf.c (__catanf): Use suffixed floating-point
67909 constants.
67910 * math/s_catanhf.c (__catanhf): Likewise.
67911 * math/s_catanhl.c (__catanhl): Likewise.
67912 * math/s_catanl.c (__catanl): Likewise.
67913
67914 [BZ #15394]
67915 * math/s_catan.c (__catan): Calculate imaginary part of result
67916 with log1p not log unless computing log of number close to 0.
67917 * math/s_catanf.c (__catanf): Likewise.
67918 * math/s_catanl.c (__catanl): Likewise.
67919 * math/s_catanh.c (__catanh): Calculate real part of result with
67920 log1p not log unless computing log of number close to 0.
67921 * math/s_catanhf.c (__catanhf): Likewise.
67922 * math/s_catanhl.c (__catanhl): Likewise.
67923 * math/libm-test.inc (catan_test): Add more tests.
67924 (catanh_test): Likewise.
67925 * sysdeps/i386/fpu/libm-test-ulps: Update.
67926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67927
67928 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
67929
67930 * benchtests/Makefile: Mention files in which fast and slow
67931 paths of math functions are implemented.
67932
67933 2013-04-23 Roland McGrath <roland@hack.frob.com>
67934
67935 * sysdeps/posix/timespec_get.c: New file.
67936
67937 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67938
67939 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67940 POWER.
67941 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67942 for POWER.
67943 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67944 powerpc/power5/fpu folders.
67945 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67946 * benchtests/Makefile: Add modf testcase.
67947 * benchtests/bench-modf.c: New file: Benchmark test for mo
67948
67949 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
67950
67951 [BZ #14888]
67952 * time/Makefile (tests): Add tst-strptime-whitespace.
67953 * time/strptime_l.c (get_number): Use ISSPACE.
67954 (__strptime_internal): Likewise.
67955 * time/tst-strptime-whitespace.c: New test case.
67956
67957 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
67958
67959 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67960 member.
67961 (_nss_files_init): Set it here.
67962
67963 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
67964
67965 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67966 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67967 unsigned.
67968
67969 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
67970
67971 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67972
67973 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
67974
67975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67976 size just once.
67977
67978 2013-04-21 David S. Miller <davem@davemloft.net>
67979
67980 * po/ru.po: Update Russion translation from translation project.
67981
67982 2013-04-17 Adam Conrad <adconrad@0c3.net>
67983
67984 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67985 and setfsgid.
67986
67987 2013-04-17 Carlos O'Donell <carlos@redhat.com>
67988
67989 * configure.in: Remove i386 configure warning. Remove i386 case.
67990 * configure: Regenerate.
67991 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67992 Add example to error message.
67993 * sysdeps/i386/configure: Regenerate.
67994
67995 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
67996
67997 * benchtests/Makefile (bench): Add cos, tan, slowcos and
67998 slowtan.
67999 * benchtests/cos-inputs: New file.
68000 * benchtests/slowcos-inputs: New file.
68001 * benchtests/slowcos.c: New file.
68002 * benchtests/slowtan-inputs: New file.
68003 * benchtests/slowtan.c: New file.
68004 * benchtests/tan-inputs: New file.
68005
68006 2013-04-16 Roland McGrath <roland@hack.frob.com>
68007
68008 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68009 considered kosher.
68010
68011 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
68012
68013 * benchtests/Makefile: Include cppflags-iterator.mk to add
68014 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68015
68016 * Makefile.in (bench-clean): New target.
68017 * benchtests/Makefile (bench-clean): Likewise.
68018
68019 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
68020
68021 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68022
68023 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
68024
68025 * stdio-common/tstdiomisc.c: Fix coding-style violation.
68026
68027 2013-04-15 Andreas Schwab <schwab@suse.de>
68028
68029 * nscd/grpcache.c (cache_addgr): Properly check for short write.
68030 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68031 * nscd/pwdcache.c (cache_addpw): Likewise.
68032 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
68033 more than recsize.
68034
68035 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68036
68037 * benchtests/Makefile (bench): Write all output to
68038 bench-out.tmp together.
68039
68040 2013-04-15 Andreas Schwab <schwab@suse.de>
68041
68042 * nscd/nscd.c (main): Don't fork again after closing files.
68043
68044 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68045
68046 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68047
68048 * benchtests/Rules (bench-deps): Collect dependencies into a
68049 single variable. Add Makefile to dependencies.
68050 ($(objpfx)bench-%.c): Depend on bench-deps.
68051
68052 2013-04-12 Roland McGrath <roland@hack.frob.com>
68053 Xavier Roche <roche+kml2@exalead.com>
68054
68055 [BZ #15361]
68056 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68057 just that it's a file descriptor.
68058 * manual/llio.texi (Synchronizing AIO Operations): Update description
68059 for EBADF error from aio_fsync.
68060
68061 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
68062
68063 * Rules (bench): Move target definition...
68064 * benchtests/Makefile: ... here.
68065
68066 2013-04-11 Carlos O'Donell <carlos@redhat.com>
68067
68068 * math/libm-test.inc (cos_test): Fix PI/2 test.
68069 (sincos_test): Likewise.
68070 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68071 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68072
68073 2013-04-11 Andreas Schwab <schwab@suse.de>
68074
68075 [BZ #13988]
68076 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68077 accept exponent character only when digits were seen.
68078 * stdio-common/Makefile (tests): Add bug26.
68079 * stdio-common/bug26.c: New file.
68080
68081 [BZ #14293]
68082 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68083 non-freeable.
68084
68085 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
68086
68087 * Makeconfig (rtld-prefix): Define built linker prefix.
68088 * Rules (run-bench): Use it.
68089 * math/Makefile (run-regen-ulps): Likewise.
68090
68091 * Rules (bench): Remove eval.
68092
68093 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68094 Roland McGrath <roland@hack.frob.com>
68095 Ondrej Bilka <neleai@seznam.cz>
68096
68097 [BZ #15346]
68098 * time/getdate.c: Include ctype.h and alloca.h.
68099 (__getdate_r): Trim leading and trailing spaces of input.
68100 * time/tst-getdate.c (tests): Add tests with leading and
68101 trailing spaces.
68102
68103 2013-04-08 Roland McGrath <roland@hack.frob.com>
68104
68105 [BZ #14280]
68106 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68107 when computing value.
68108
68109 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68110
68111 * math/README.libm-test (How can I generate "libm-test-ulps"?):
68112 Use testrun.sh to run libm tests.
68113
68114 [BZ #15309]
68115 * elf/dl-open.c (dl_open_worker): memset all of seen array.
68116
68117 2013-04-06 Marko Myllynen <myllynen@redhat.com>
68118
68119 [BZ #15264]
68120 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68121
68122 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68123
68124 * Makefile.in (regen-ulps): New target.
68125 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68126 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68127 [ifneq (no,$(PERL)] (regen-ulps): New target.
68128 [ifeq (no,$(PERL)] (regen-ulps): New target.
68129 * math/libm-test.inc (ulps_file_name): Define.
68130 (output_dir): New variable.
68131 (options): Add "output-dir" option.
68132 (parse_opt): Handle 'o' case.
68133 (main): If output_dir is non-NULL use it as a prefix
68134 otherwise use "".
68135 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68136
68137 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68138
68139 [BZ #10060, #10062]
68140 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68141 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68142 fail configure if __sync_val_compare_and_swap is not inlined.
68143 * sysdeps/i386/configure: Regenerate.
68144 * configure.in: Build for i686 when configured for i386.
68145 * configure: Regenerate.
68146 * README: Remove i386 reference.
68147
68148 2013-04-06 Carlos O'Donell <carlos@redhat.com>
68149
68150 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68151 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68152
68153 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
68154
68155 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68156 (lmsnanval): New variables.
68157 (F): Add conversion tests.
68158 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68159 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68160
68161 * stdio-common/tstdiomisc.c (F): Properly collect individual
68162 tests' results.
68163
68164 [BZ #14686, #15336]
68165 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68166 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68167 Instead, use input NaN values or generate a qNaN by arithmetic
68168 operation. Also fix bugs to comply with the standard.
68169 * math/libm-test.inc (remainder_test): Add more tests.
68170
68171 [BZ #15335, #15342]
68172 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68174 input NaN values or generate a qNaN by arithmetic operation.
68175
68176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68177 unreachable code.
68178
68179 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68180 definitions.
68181
68182 2013-04-03 Joseph Myers <joseph@codesourcery.com>
68183
68184 [BZ #14478]
68185 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68186 underflowed result.
68187 * math/s_cexpf.c (__cexpf): Likewise.
68188 * math/s_cexpl.c (__cexpl): Likewise.
68189 * math/libm-test.inc (cexp_test): Add more tests.
68190
68191 2013-04-03 Andreas Schwab <schwab@suse.de>
68192
68193 [BZ #15330]
68194 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68195 order arrays from heap if bigger than alloca cutoff.
68196
68197 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
68198
68199 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68200 (SNAN_TESTS_double): Refer to GCC PR56831.
68201 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68202 GCC PR56828.
68203
68204 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
68205
68206 * Rules (bench): Move bench.out after the run is complete.
68207
68208 * Rules (bench): Echo currently running benchmark.
68209
68210 * benchtests/Makefile (bench): Add atan and slowatan.
68211 * benchtests/atan-inputs: New file.
68212 * benchtests/slowatan-inputs: New file.
68213 * benchtests/slowatan.c: New file.
68214
68215 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68216 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68217 its value.
68218
68219 [BZ #15305]
68220 * sysdeps/unix/sysv/linux/kernel-features.h
68221 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68222 __ASSUME_XFS_RESTRICTED_CHOWN.
68223 * sysdeps/unix/sysv/linux/pathconf.c
68224 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68225 Save and restore errno.
68226
68227 2013-04-02 Joseph Myers <joseph@codesourcery.com>
68228
68229 [BZ #15327]
68230 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68231 arguments using __kernel_casinh.
68232 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68233 arguments using __kernel_casinhf.
68234 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68235 arguments using __kernel_casinhl.
68236 * math/libm-test.inc (cacosh_test): Add more tests.
68237 * sysdeps/i386/fpu/libm-test-ulps: Update.
68238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68239
68240 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
68241
68242 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68243 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68244
68245 * bench/Makefile (bench): Add sin and slowsin.
68246 * benchtests/sin-inputs: New file.
68247 * benchtests/slowsin-inputs: New file.
68248 * benchtests/slowsin.c: New file.
68249
68250 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68251 (bench): Add slowexp and slowpow.
68252 (exp-ITER): Increase iterations.
68253 (pow-ITER): Likewise.
68254 * benchtests/exp-inputs: Change input.
68255 * benchtests/pow-inputs: Likewise.
68256 * benchtests/slowexp-inputs: New file.
68257 * benchtests/slowexp.c: New file.
68258 * benchtests/slowpow-inputs: New file.
68259 * benchtests/slowpow.c: New file.
68260
68261 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68262
68263 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68264 instructions.
68265 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68266 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68267 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68268 * benchtests/Makefile: Add rint benchtest.
68269 * benchtests/rint-inputs: Input for rint benchtest.
68270
68271 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
68272
68273 * Versions.def (libm): Add GLIBC_2.18.
68274 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68275 hidden libm prototypes.
68276 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68277 * math/Makefile (libm-calls): Add s_issignaling.
68278 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68279 __issignalingf, __issignalingl. Adjust all libm.abilist files.
68280 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68281 declaration.
68282 * math/math.h [__USE_GNU] (issignaling): New macro.
68283 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68284 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68285 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68286 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68287 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68288 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68289 * manual/arith.texi (issignaling): New section.
68290 * manual/libm-err-tab.pl (@all_functions): Update comment.
68291 * math/gen-libm-test.pl (parse_args): Apply special handling for
68292 issignaling.
68293 * math/libm-test.inc (print_float, issignaling_test): New
68294 functions.
68295 (check_float_internal): Add issignaling checks.
68296 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68297 default definition.
68298 * sysdeps/powerpc/math-tests.h: New file.
68299 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68300 tests.
68301 * math/test-snan.c (TEST_FUNC): Likewise.
68302
68303 2013-03-30 David S. Miller <davem@davemloft.net>
68304
68305 * po/de.po: Update from translation team.
68306
68307 2013-03-30 Joseph Myers <joseph@codesourcery.com>
68308
68309 [BZ #10357]
68310 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68311 imaginary part less than 1.0 and real part less than 0.5
68312 specially.
68313 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68314 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68315 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68316 (cacos_test): Add more tests.
68317 (casin_test): Likewise.
68318 (casinh_test): Likewise.
68319 * sysdeps/i386/fpu/libm-test-ulps: Update.
68320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68321
68322 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
68323
68324 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68325 ONE with its value.
68326
68327 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68328 (__pow_mp): Replace ONE and MONE with their values.
68329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68331 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68332 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68333 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68334 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68335
68336 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68337
68338 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68339 (__pow_mp): Replace ZERO and MZERO with their values.
68340 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68341 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68344 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68345 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68346 (__sqr): Likewise.
68347
68348 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68349
68350 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68351
68352 2013-03-28 Roland McGrath <roland@hack.frob.com>
68353
68354 * include/stdlib.h [!SHARED] (__call_tls_dtors):
68355 Declare with __attribute__ ((weak)).
68356 * stdlib/exit.c (__libc_atexit) [!SHARED]:
68357 Call __call_tls_dtors only if it's not NULL.
68358
68359 2013-03-28 Roland McGrath <roland@hack.frob.com>
68360
68361 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68362 didn't do it already, then set _dl_phdr and _dl_phnum based on the
68363 magic __ehdr_start linker symbol if it's defined.
68364 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68365 them up here if it was already done.
68366
68367 * elf/dl-support.c (_dl_phdr): Make pointer to const.
68368 (_dl_aux_init): Use const in cast when setting it.
68369 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68370 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68371 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68372
68373 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68374 Declare them here.
68375 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68376 * csu/libc-tls.c: Nor here.
68377 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68378
68379 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68380 (__libc_message): Never call vsyslog.
68381
68382 2013-03-28 Alan Modra <amodra@gmail.com>
68383
68384 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68385 Define as empty.
68386 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68387 Likewise.
68388
68389 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68390
68391 [BZ #15214]
68392 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68393 underflow.
68394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68395
68396 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
68397
68398 [BZ #15304]
68399 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68400 Don't add gid passed as argument.
68401
68402 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68403
68404 2013-03-27 Joseph Myers <joseph@codesourcery.com>
68405
68406 [BZ #15307]
68407 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68408 imaginary part between 1.0 and 1.5 and real part less than 0.5
68409 specially.
68410 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68411 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68412 * math/libm-test.inc (cacos_test): Add more tests.
68413 (casin_test): Likewise.
68414 (casinh_test): Likewise.
68415 * sysdeps/i386/fpu/libm-test-ulps: Update.
68416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68417
68418 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68419
68420 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68421 constants.
68422 (norm): Likewise.
68423 (denorm): Likewise.
68424 (__dbl_mp): Likewise.
68425 (add_magnitudes): Likewise.
68426 (sub_magnitudes): Likewise.
68427 (__add): Likewise.
68428 (__sub): Likewise.
68429 (__mul): Likewise.
68430 (__sqr): Likewise.
68431 (__inv): Likewise.
68432 (__dvd): Likewise.
68433
68434 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68435 commented code.
68436 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68437 (__dubcos): Likewise.
68438 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68439 (__ieee754_acos): Likewise.
68440 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68441 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68442 (__exp1): Likewise.
68443 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68445 (log1): Likewise.
68446 (my_log2): Likewise.
68447 (checkint): Likewise.
68448 * sysdeps/ieee754/dbl-64/e_remainder.c
68449 (__ieee754_remainder): Likewise.
68450 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68452 (bsloww): Likewise.
68453 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68454
68455 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68456 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68457 MANTISSA_STORE_T to store computations on mantissa. Use
68458 macros for rounding and division.
68459 (denorm): Likewise.
68460 (__dbl_mp): Likewise.
68461 (add_magnitudes): Likewise.
68462 (sub_magnitudes): Likewise.
68463 (__mul): Likewise.
68464 (__sqr): Likewise.
68465 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68466 powers of two in terms of TWOPOW macro.
68467 (mp_no): Make type of mantissa as MANTISSA_T.
68468 [!RADIXI]: Define RADIXI.
68469 [!TWO52]: Define TWO52.
68470 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68471
68472 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68473
68474 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68475 llroundl symbol when building for PPC32.
68476
68477 2013-03-24 Mark H Weaver <mhw@netris.org>
68478
68479 * manual/arith.texi (Normalization Functions): Fix prototypes for
68480 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68481
68482 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68483
68484 [BZ #13889]
68485 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68486 high value to check if expl overflow.
68487 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68488 to check for underflow and overflow.
68489 * math/libm-test.inc: Add exp test.
68490
68491 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
68492
68493 [BZ #11120]
68494 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68495 with NOT_IN_libc.
68496
68497 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68498
68499 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68500 symbol.
68501
68502 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
68503
68504 * math/gen-libm-test.pl (parse_args, special_functions): Properly
68505 wrap blocks consisting of several statements.
68506
68507 * sysdeps/generic/math-tests.h: New file.
68508 * sysdeps/i386/fpu/math-tests.h: Likewise.
68509 * math/test-snan.c: Include it.
68510 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68511
68512 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68513
68514 [BZ #15285]
68515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68516 (__ieee754_j0l): Do not improve calculations using cos of twice
68517 input for inputs above LDBL_MAX / 2.0L.
68518 (__ieee754_y0l): Likewise.
68519 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68520 (__ieee754_j1l): Do not improve calculations using cos of twice
68521 input for inputs above LDBL_MAX / 2.0L.
68522 (__ieee754_y1l): Likewise.
68523 * math/libm-test.inc (j0_test): Add another test.
68524 (j1_test): Likewise.
68525 (y0_test): Likewise.
68526 (y1_test): Likewise.
68527 * sysdeps/i386/fpu/libm-test-ulps: Update.
68528
68529 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68530
68531 * Rules ($(objpfx)bench-%.c): Include code from a C source
68532 file.
68533
68534 2013-03-21 Joseph Myers <joseph@codesourcery.com>
68535
68536 [BZ #15287]
68537 * math/k_casinh.c (__kernel_casinh): Handle arguments with
68538 imaginary part 1.0 and real part less than 0.5 specially.
68539 * math/k_casinhf.c (__kernel_casinhf): Likewise.
68540 * math/k_casinhl.c (__kernel_casinhl): Likewise.
68541 * math/libm-test.inc (cacos_test): Add more tests.
68542 (casin_test): Likewise.
68543 (casinh_test): Likewise.
68544 * sysdeps/i386/fpu/libm-test-ulps: Update.
68545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68546
68547 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
68548
68549 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68550 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68551
68552 2013-03-20 Joseph Myers <joseph@codesourcery.com>
68553
68554 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68555 * config.make.in (config-cflags-sse4): Remove variable.
68556 (config-cflags-avx): Likewise.
68557 (config-cflags-sse2avx): Likewise.
68558 (config-cflags-novzeroupper): Likewise.
68559 (config-asflags-i686): Likewise.
68560 (have-mfma4): Likewise.
68561 (have-as-vis3): Likewise.
68562 (MIG): Likewise.
68563 * configure.in (MIG): Do not AC_SUBST.
68564 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68565 (libc_cv_cc_sse4): Do not AC_SUBST.
68566 (libc_cv_cc_avx): Likewise.
68567 (libc_cv_cc_sse2avx): Likewise.
68568 (libc_cv_cc_novzeroupper): Likewise.
68569 (libc_cv_cc_fma4): Likewise.
68570 (libc_cv_as_i686): Likewise.
68571 (libc_cv_sparc_as_vis3): Likewise.
68572 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68573 LIBC_CONFIG_VAR.
68574 (config-asflags-i686): Likewise.
68575 (config-cflags-avx): Likewise.
68576 (config-cflags-sse2avx): Likewise.
68577 (have-mfma4): Likewise.
68578 (config-cflags-novzeroupper): Likewise.
68579 * sysdeps/mach/configure.in (MIG): Likewise.
68580 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68581 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68582 LIBC_CONFIG_VAR.
68583 (config-cflags-avx): Likewise.
68584 (config-cflags-sse2avx): Likewise.
68585 (have-mfma4): Likewise.
68586 (config-cflags-novzeroupper): Likewise.
68587 * configure: Regenerated.
68588 * sysdeps/i386/configure: Likewise.
68589 * sysdeps/mach/configure: Likewise.
68590 * sysdeps/sparc/configure: Likewise.
68591 * sysdeps/x86_64/configure: Likewise.
68592
68593 2013-03-20 Roland McGrath <roland@hack.frob.com>
68594
68595 [BZ #14812]
68596 * locale/programs/localedef.c (options): Put N_ translation marker
68597 on argument names, not just descriptions.
68598
68599 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
68600
68601 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68602
68603 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
68604
68605 [BZ #14176]
68606 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68607
68608 2013-03-19 Roland McGrath <roland@hack.frob.com>
68609
68610 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68611 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68612 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68613 [!BEFORE_ABORT] (before_abort): New function.
68614 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68615 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68616 (writev_for_fatal): New function.
68617 (WRITEV_FOR_FATAL): New macro; call that.
68618 (backtrace_and_maps): New function.
68619 (BEFORE_ABORT): New macro; call that.
68620 (struct str_list): Type removed.
68621 (__libc_message, __libc_fatal): Functions removed.
68622 Include <sysdeps/posix/libc_fatal.c> instead.
68623
68624 2013-03-19 Joseph Myers <joseph@codesourcery.com>
68625
68626 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68627 constants.
68628 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68629 double constants.
68630
68631 2013-03-19 Andreas Schwab <schwab@suse.de>
68632
68633 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68634 * sysdeps/gnu/configure: Regenerate.
68635
68636 * configure.in: Substitute libc_cv_rtlddir.
68637 * configure: Regenerate.
68638 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68639 * Makeconfig (rtlddir, inst_rtlddir): New variables.
68640 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68641 * elf/Makefile (install-others, CFLAGS-interp.c)
68642 (ldso_install, common-ldd-rewrite): Likewise.
68643 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68644 $(inst_slibdir)/$(rtld-installed-name).
68645 * scripts/rellns-sh: Add -p option.
68646 * Makerules (make-shlib-link): Use rellns-sh to get relative name
68647 for source.
68648
68649 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
68650
68651 * manual/nptl.texi: Renamed to ...
68652 * manual/threads.texi: ... this.
68653 * manual/Makefile (chapters): Update.
68654
68655 2013-03-18 Roland McGrath <roland@hack.frob.com>
68656
68657 [BZ #14812]
68658 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
68659 on argument names, not just descriptions.
68660 * malloc/memusagestat.c (options): Likewise.
68661 * nss/getent.c (options): Likewise.
68662
68663 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
68664
68665 [BZ #14812]
68666 * iconv/iconv_prog.c (options): Put N_ translation marker
68667 on argument names, not just descriptions.
68668 * iconv/iconvconfig.c (options): Likewise.
68669
68670 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
68671
68672 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
68673 implementation which is faster on all x86_64 architectures.
68674 Tested on AMD, Intel Nehalem, SNB, IVB.
68675 * sysdeps/x86_64/strnlen.S: Likewise.
68676
68677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68678 Remove all multiarch strlen and strnlen versions.
68679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
68680 Remove strlen and strnlen related parts.
68681
68682 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
68683 Inline strlen part.
68684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
68685
68686 * sysdeps/x86_64/multiarch/strlen.S: Remove.
68687 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
68688 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
68689 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
68690 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68691 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
68692
68693 2013-03-17 Carlos O'Donell <carlos@redhat.com>
68694
68695 * manual/memory.texi (Malloc Tunable Parameters):
68696 Sort parameters alphabetically. Add comments for missing entries.
68697
68698 2013-03-17 David S. Miller <davem@davemloft.net>
68699
68700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68701
68702 2013-03-16 Joseph Myers <joseph@codesourcery.com>
68703
68704 [BZ #15283]
68705 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
68706 for arguments at most half maximum finite value.
68707 * math/libm-test.inc (j0_test): Add more tests.
68708 (j1_test): Likewise.
68709 (y0_test): Likewise.
68710 (y1_test): Likewise.
68711 * sysdeps/i386/fpu/libm-test-ulps: Update.
68712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68713
68714 [BZ #14155]
68715 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
68716 1 / x and functions P and Q for arguments above 0x1p256L.
68717 (__ieee754_y0l): Likewise.
68718 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
68719 (__ieee754_y1l): Likewise.
68720 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
68721 (j1_test): Likewise.
68722 (y0_test): Likewise.
68723 (y1_test): Likewise.
68724
68725 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
68726
68727 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
68728 variable.
68729
68730 2013-03-15 Roland McGrath <roland@hack.frob.com>
68731
68732 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
68733 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
68734 zero since it's initialized to EXEC_PAGESIZE.
68735
68736 * sysdeps/unix/sysv/linux/ldsodefs.h
68737 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
68738 * sysdeps/generic/ldsodefs.h: ... here.
68739
68740 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
68741
68742 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
68743
68744 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
68745 math/test-snan.c.
68746 * math/test-snan.c: Renamed from
68747 sysdeps/powerpc/fpu/test-powerpc-snan.c.
68748 * math/Makefile (tests): Add test-snan.
68749 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
68750 test-powerpc-snan.
68751
68752 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
68753 SUFFIX. Initialize qNaN_var with __builtin_nan family of
68754 functions.
68755 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
68756 __builtin_nan family of functions.
68757 * math/libm-test.inc (initialize): Initialize qnan_value with
68758 __builtin_nan family of functions.
68759 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68760 Remove variables.
68761 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
68762 Remove functions.
68763 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
68764 storage class. Initialize qNaN_var and sNaN_var with
68765 __builtin_nan and __builtin_nans families of functions,
68766 respectively.
68767
68768 * math/libm-test.inc (acosh_test): Also test with qNaN input.
68769 (sqrt_test): Remove duplicate test with qNaN input.
68770 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
68771 (round_test, signbit_test, significand_test): Note missing +/-Inf
68772 as well as qNaN tests.
68773
68774 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
68775 qNaN_var. Fix a few strings, too.
68776 * math/libm-test.inc (nan_value): Rename to qnan_value.
68777 * math/gen-libm-test.pl (%beautify): Adjust to that.
68778 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68779 * math/test-misc.c (main): Likewise.
68780 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68781 to __qnan_bytes, and __qnan_union, respectively.
68782 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68783 Likewise.
68784 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68785 and lqnanval, respectively.
68786 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68787 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68788 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68789 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68790
68791 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68792 * math/test-misc.c (main) [__x86_64__]: Enable test for long
68793 doubles.
68794
68795 * math/test-misc.c (main): Fix copy'n'pastos.
68796 * misc/tst-efgcvt.c (special): Likewise.
68797
68798 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68799 Remove declarations.
68800
68801 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68802
68803 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68804 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68805 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68806 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68807
68808 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68809
68810 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68811 macro to return vdso values correctly in IFUNC implementations.
68812 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68813 Optimization by using IFUNC.
68814
68815 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68816 Richard Henderson <rth@redhat.com>
68817 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68818
68819 * Makefile.in (bench): New target.
68820 * NEWS: Mention the benchmark framework.
68821 * Rules (bench): Likewise.
68822 (binaries-bench): Generate binaries for functions to
68823 benchmark.
68824 * benchtests/Makefile: New makefile for benchmark tests.
68825 * benchtests/bench-skeleton.c: New skeleton file for benchmark
68826 programs.
68827 * benchtests/exp-inputs: New input file for EXP function.
68828 * benchtests/pow-inputs: New input file for POW function.
68829 * scripts/bench.pl: New script to generate source files for
68830 benchmark programs.
68831
68832 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
68833
68834 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68836 computations on mantissa. Use macros for rounding and
68837 division.
68838 (denorm): Likewise.
68839 (__dbl_mp): Likewise.
68840 (add_magnitudes): Likewise.
68841 (sub_magnitudes): Likewise.
68842 (__mul): Likewise.
68843 (__sqr): Likewise.
68844 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
68845 powers of two in terms of TWOPOW macro.
68846 (mp_no): Make type of mantissa as MANTISSA_T.
68847 [!RADIXI]: Define RADIXI.
68848 [!TWO52]: Define TWO52.
68849 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68850
68851 * manual/nptl.texi (cindex): Modify threads to pthreads.
68852
68853 2013-03-15 Joseph Myers <joseph@codesourcery.com>
68854
68855 * sysdeps/x86_64/preconfigure: Regenerated.
68856
68857 2013-03-14 Joseph Myers <joseph@codesourcery.com>
68858
68859 [BZ #14155]
68860 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68861 0x1p28 and above.
68862 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68863 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68864 0x1p28 and above.
68865 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68866 * math/libm-test.inc (j0_test): Do not allow one spurious
68867 underflow exception.
68868 (y1_test): Likewise.
68869
68870 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
68871
68872 * manual/Makefile (chapters): Add nptl.
68873 * manual/debug.texi (Debugging Support): Add link to Threads
68874 chapter.
68875 * manual/nptl.texi: New file.
68876
68877 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68878
68879 2013-03-14 Petr Baudis <pasky@ucw.cz>
68880
68881 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68882 for non-NULL pointer before the memory validity test. Pointed
68883 out by Holger Brunck <holger.brunck@keymile.com>.
68884
68885 2013-03-13 Andreas Schwab <schwab@suse.de>
68886
68887 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68888 instead of .os.
68889
68890 2013-03-13 Joseph Myers <joseph@codesourcery.com>
68891
68892 * timezone/zic.c: Update from tzcode 2013b.
68893
68894 2013-03-12 Carlos O'Donell <carlos@redhat.com>
68895
68896 * manual/install.texi (Configuring and compiling):
68897 Mention i686 and i586.
68898 * INSTALL: Regenerate.
68899
68900 2013-03-12 Roland McGrath <roland@hack.frob.com>
68901
68902 * sysdeps/init_array/elf-init.c: New file.
68903 * csu/elf-init.c
68904 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68905 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68906
68907 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68908 __gmon_start__ as global, but as static with a .preinit_array pointer.
68909 * sysdeps/init_array/gmon-start.c: New file. Use that.
68910 * sysdeps/init_array/crti.S: New file, empty except for comments.
68911 * sysdeps/init_array/crtn.S: Likewise.
68912
68913 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
68914
68915 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68916 definining bcopy.
68917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68918 Remove Prefer_SSE_for_memop.
68919 * sysdeps/x86_64/multiarch/init-arch.h: Remove
68920 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68921 HAS_PREFER_SSE_FOR_MEMOP.
68922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68923 memset-x86-64.
68924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68925 Remove bzero, memset ifunc support.
68926 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68927 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68928 * sysdeps/x86_64/multiarch/memset.S: Likewise.
68929 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68930
68931 2013-03-11 Andreas Schwab <schwab@suse.de>
68932
68933 [BZ #15234]
68934 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68935 by SHLIB_COMPAT.
68936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68937 (GLIBC_2.16): Remove pthread_atfork.
68938
68939 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
68940
68941 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68942 (ptestcases.h): Likewise.
68943
68944 2013-03-08 Roland McGrath <roland@hack.frob.com>
68945
68946 * Makeconfig ($(common-objpfx)config.status): Depend on
68947 sysdeps/*/preconfigure{,.in} too.
68948
68949 2013-03-08 Joseph Myers <joseph@codesourcery.com>
68950
68951 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68952 (__free_hook): Use void * instead of __malloc_ptr_t.
68953 (__malloc_hook): Likewise.
68954 (__realloc_hook): Likewise.
68955 (__memalign_hook): Likewise.
68956 (__after_morecore_hook): Likewise.
68957 * malloc/arena.c (save_malloc_hook): Likewise.
68958 (save_free_hook): Likewise.
68959 * malloc/hooks.c (malloc_hook_ini): Likewise.
68960 (realloc_hook_ini): Likewise.
68961 (memalign_hook_ini): Likewise.
68962 * malloc/malloc.c (malloc_hook_ini): Likewise.
68963 (realloc_hook_ini): Likewise.
68964 (memalign_hook_ini): Likewise.
68965 (__free_hook): Likewise.
68966 (__malloc_hook): Likewise.
68967 (__realloc_hook): Likewise.
68968 (__memalign_hook): Likewise.
68969 (__libc_malloc): Likewise.
68970 (__libc_free): Likewise.
68971 (__libc_realloc): Likewise.
68972 (__libc_memalign): Likewise.
68973 (__libc_valloc): Likewise.
68974 (__libc_pvalloc): Likewise.
68975 (__libc_calloc): Likewise.
68976 (__posix_memalign): Likewise.
68977 * malloc/morecore.c (__sbrk): Likewise.
68978 (__default_morecore): Likewise.
68979
68980 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68981
68982 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68983 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68984 __malloc_ptrdiff_t.
68985
68986 * malloc/malloc.h (__malloc_size_t): Remove macro.
68987 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68988 __malloc_size_t.
68989 (old_memalign_hook): Likewise.
68990 (old_realloc_hook): Likewise.
68991 (struct hdr): Likewise.
68992 (flood): Likewise.
68993 (mallochook): Likewise.
68994 (memalignhook): Likewise.
68995 (reallochook): Likewise.
68996 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68997 (tr_old_realloc_hook): Likewise.
68998 (tr_old_memalign_hook): Likewise.
68999 (tr_mallochook): Likewise.
69000 (tr_reallochook): Likewise.
69001 (tr_memalignhook): Likewise.
69002
69003 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69004
69005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69006 default_ldbl_pack and using as default implementation.
69007 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69008 implementation.
69009 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69010 redundant definition.
69011 (ldbl_insert_mantissa): Likewise.
69012 (ldbl_canonicalize): Likewise.
69013 (ldbl_nearbyint): Likewise.
69014 (ldbl_pack): Rename to ldbl_pack_ppc.
69015 (ldbl_unpack): Rename to ldbl_unpack_ppc.
69016 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69017 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69018
69019 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
69020
69021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69022 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69023 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69024 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69026 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69027 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69028 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69029
69030 2013-03-07 Andreas Jaeger <aj@suse.de>
69031
69032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69033 bits/mman-linux.h.
69034
69035 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
69036
69037 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69038 Include mpa.h and declare __MPEXP.
69039 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69040 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69041 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69042 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69044 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69045 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69046
69047 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69048 (__slowpow): Use long double EXPL and LOGL functions to
69049 compute POW.
69050 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69051 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69052 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69053 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69054 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69056
69057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69058 intermediate variable to calculate exponent.
69059 (__sqr): Likewise.
69060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69061 Likewise.
69062 (__sqr): Likewise.
69063
69064 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69065 [!NO__SQR]: Define __sqr.
69066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69067 and NO__SQR. Remove all code except __mul and __sqr. Include
69068 sysdeps/ieee754/dbl-64/mpa.c.
69069 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69070
69071 [BZ #12723]
69072 * posix/Makefile (tests): Add tst-pathconf.
69073 * posix/tst-pathconf.c: New test case.
69074 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69075 _PC_PIPE_BUF.
69076 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69077
69078 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
69079
69080 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69081
69082 2013-03-06 Andreas Jaeger <aj@suse.de>
69083
69084 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69085 definition via __MAP_ANONYMOUS.
69086
69087 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69088 it's not part of Linux headers.
69089
69090 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69091 (MAP_HUGE_MASK): Define.
69092
69093 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69094 Define.
69095 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69096 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69097 Define.
69098 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69099 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69100 Define.
69101 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69103 Define.
69104 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69105
69106 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69107 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69108 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69109 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69110 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69111 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69112
69113 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69114 Handle f2fs.
69115
69116 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69117 Handle f2fs and efivarfs.
69118
69119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69120 f2fs.
69121
69122 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69123 (EFIVARFS_MAGIC): Add.
69124 (F2FS_LINK_MAX): Add.
69125
69126 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69127
69128 * stdio-common/vfprintf.c: Replace __builtin_expect with
69129 __glibc_unlikely.
69130
69131 2013-03-06 Joseph Myers <joseph@codesourcery.com>
69132
69133 [BZ #13550]
69134 * sysdeps/generic/bp-sym.h: Remove file.
69135 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69136 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69137 <bp-sym.h> and <bp-asm.h>.
69138 (__longjmp): Don't use BP_SYM.
69139 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69140 and <bp-asm.h>.
69141 (memcpy): Don't use BP_SYM.
69142 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69143 <bp-sym.h> and <bp-asm.h>.
69144 (memcpy): Don't use BP_SYM.
69145 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69146 <bp-asm.h>.
69147 (memcpy): Don't use BP_SYM.
69148 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69149 <bp-asm.h>.
69150 (memset): Don't use BP_SYM.
69151 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69152 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69153 (__bzero): Don't use BP_SYM.
69154 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69155 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69156 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69157 <bp-sym.h> and <bp-asm.h>.
69158 (memcmp): Don't use BP_SYM. Remove comment about bounded
69159 pointers.
69160 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69161 <bp-sym.h> and <bp-asm.h>.
69162 (memcpy): Don't use BP_SYM.
69163 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69164 <bp-sym.h> and <bp-asm.h>.
69165 (memset): Don't use BP_SYM.
69166 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69167 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69168 (__bzero): Don't use BP_SYM.
69169 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69170 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69171 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69172 <bp-sym.h> and <bp-asm.h>.
69173 (strncmp): Don't use BP_SYM. Remove comment about bounded
69174 pointers.
69175 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69176 <bp-sym.h> and <bp-asm.h>.
69177 (memcpy): Don't use BP_SYM.
69178 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69179 <bp-sym.h> and <bp-asm.h>.
69180 (memset): Don't use BP_SYM.
69181 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69182 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69183 (__bzero): Don't use BP_SYM.
69184 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69185 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69186 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69187 <bp-sym.h> and <bp-asm.h>.
69188 (__memchr): Don't use BP_SYM.
69189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69190 <bp-sym.h> and <bp-asm.h>.
69191 (memcmp): Don't use BP_SYM. Remove comment about bounded
69192 pointers.
69193 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69194 <bp-sym.h> and <bp-asm.h>.
69195 (memcpy): Don't use BP_SYM.
69196 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69197 <bp-sym.h> and <bp-asm.h>.
69198 (__mempcpy): Don't use BP_SYM.
69199 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69200 <bp-sym.h> and <bp-asm.h>.
69201 (__memrchr): Don't use BP_SYM.
69202 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69203 <bp-sym.h> and <bp-asm.h>.
69204 (memset): Don't use BP_SYM.
69205 (__bzero): Likewise.
69206 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69207 <bp-sym.h> and <bp-asm.h>.
69208 (__rawmemchr): Don't use BP_SYM.
69209 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69210 <bp-sym.h> and <bp-asm.h>.
69211 (__STRCMP): Don't use BP_SYM.
69212 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69213 <bp-sym.h> and <bp-asm.h>.
69214 (strchr): Don't use BP_SYM.
69215 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69216 <bp-sym.h> and <bp-asm.h>.
69217 (__strchrnul): Don't use BP_SYM.
69218 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69219 <bp-sym.h> and <bp-asm.h>.
69220 (strlen): Don't use BP_SYM.
69221 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69222 <bp-sym.h> and <bp-asm.h>.
69223 (strncmp): Don't use BP_SYM. Remove comment about bounded
69224 pointers.
69225 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69226 <bp-sym.h> and <bp-asm.h>.
69227 (__strnlen): Don't use BP_SYM.
69228 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69229 <bp-sym.h> and <bp-asm.h>.
69230 (__GI__setjmp): Don't use BP_SYM.
69231 (_setjmp): Likewise.
69232 (__sigsetjmp): Likewise.
69233 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69234 (L(start_addresses)): Don't use BP_SYM.
69235 (_start): Likewise.
69236 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69237 <bp-asm.h>.
69238 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69239 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69240 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69241 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69242 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69243 <bp-asm.h>.
69244 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69245 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
69246 about bounded pointers.
69247 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69248 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69249 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69250 <bp-asm.h>.
69251 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69252 about bounded pointers. Remove GKM FIXME comments.
69253 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69254 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69255 <bp-asm.h>.
69256 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69257 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
69258 Remove GKM FIXME comments.
69259 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69260 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69261 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69262 <bp-asm.h>.
69263 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
69264 about bounded pointers. Remove GKM FIXME comment.
69265 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69266 and <bp-asm.h>.
69267 (strncmp): Don't use BP_SYM. Remove comment about bounded
69268 pointers.
69269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69270 <bp-sym.h> and <bp-asm.h>.
69271 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69273 <bp-sym.h> and <bp-asm.h>.
69274 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69275 comment.
69276
69277 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69278
69279 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69280 call free(NULL).
69281
69282 2013-03-05 David S. Miller <davem@davemloft.net>
69283
69284 * po/es.po: Update from translation team.
69285
69286 2013-03-05 Andreas Jaeger <aj@suse.de>
69287
69288 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69289 <bits/mman-linux.h>.
69290 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69291 is fine.
69292 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69293 <bits/mman-linux.h> to end of file.
69294 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69295 is fine.
69296 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69297 <bits/mman-linux.h> to end of file.
69298 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69299 is fine.
69300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69301 <bits/mman-linux.h> to end of file.
69302
69303 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69304 (MCL_CURRENT, MCL_FUTURE): Define here.
69305
69306 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69307
69308 [BZ #15232]
69309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69310 attribute_hidden.
69311 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69312
69313 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69314
69315 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69316 fourth parameter needed for rt_sigprocmask syscall.
69317 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69318 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69319 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69320 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69321 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69322 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69323
69324 2013-03-04 Joseph Myers <joseph@codesourcery.com>
69325
69326 [BZ #13550]
69327 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69328 comment about bounded pointers.
69329 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69330 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69331
69332 2013-03-04 Andreas Jaeger <aj@suse.de>
69333
69334 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69335 common definitions.
69336
69337 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69338 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69339 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69340 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69341 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69342 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69343
69344 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69345
69346 [BZ #15055]
69347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69348 __ieee754_sqrl instead of __sqrl.
69349
69350 2013-03-01 Joseph Myers <joseph@codesourcery.com>
69351
69352 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69353 * sysdeps/powerpc/fpu_control.h: ... here.
69354 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69355 * sysdeps/powerpc/bits/fenvinline.h: ... here.
69356 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69357 * sysdeps/powerpc/bits/mathinline.h: ... here.
69358
69359 2013-03-01 Roland McGrath <roland@hack.frob.com>
69360
69361 * elf/dl-hwcaps.c (_dl_important_hwcaps):
69362 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69363 to just [NEED_DL_SYSINFO_DSO].
69364 * elf/dl-support.c: Likewise.
69365 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69366 * elf/rtld.c (dl_main): Likewise.
69367 * elf/setup-vdso.h (setup_vdso): Likewise.
69368 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69369 * sysdeps/unix/sysv/linux/dl-sysdep.c
69370 (_dl_discover_osversion): Likewise.
69371
69372 2013-03-01 Carlos O'Donell <carlos@redhat.com>
69373
69374 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69375 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69376
69377 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
69378
69379 * NEWS: Mention libm performance improvements and non-x86 PI
69380 futex support.
69381
69382 * csu/libc-start.c (__pthread_initialize_minimal): Change
69383 function arguments.
69384 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69385
69386 2013-02-28 Joseph Myers <joseph@codesourcery.com>
69387
69388 [BZ #13550]
69389 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69390 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69391 <bp-sym.h> and <bp-asm.h>.
69392 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69393 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69394 and <bp-asm.h>.
69395 (memcpy): Don't use BP_SYM.
69396 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69397 <bp-asm.h>.
69398 (__mpn_add_n): Don't use BP_SYM.
69399 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69400 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69401 and <bp-asm.h>.
69402 (__mpn_addmul_1): Don't use BP_SYM.
69403 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69404 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69405 <bp-sym.h>.
69406 (_setjmp): Don't use BP_SYM.
69407 (__novmx_setjmp): Likewise.
69408 (__GI__setjmp): Likewise.
69409 (__vmx_setjmp): Likewise.
69410 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69411 <bp-sym.h>.
69412 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69413 (__bzero): Don't use BP_SYM.
69414 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69415 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69416 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69417 <bp-sym.h> and <bp-asm.h>.
69418 (memcpy): Don't use BP_SYM.
69419 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69420 <bp-sym.h> and <bp-asm.h>.
69421 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69422 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69423 <bp-sym.h> and <bp-asm.h>.
69424 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69425 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69426 <bp-asm.h>.
69427 (__mpn_lshift): Don't use BP_SYM.
69428 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69429 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69430 <bp-asm.h>.
69431 (memset): Don't use BP_SYM.
69432 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69433 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69434 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69435 <bp-asm.h>.
69436 (__mpn_mul_1): Don't use BP_SYM.
69437 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69438 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69439 <bp-sym.h> and <bp-asm.h>.
69440 (memcmp): Don't use BP_SYM.
69441 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69442 <bp-sym.h> and <bp-asm.h>.
69443 (memcpy): Don't use BP_SYM.
69444 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69445 <bp-sym.h> and <bp-asm.h>.
69446 (memset): Don't use BP_SYM.
69447 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69448 <bp-sym.h> and <bp-asm.h>.
69449 (strncmp): Don't use BP_SYM.
69450 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69451 <bp-sym.h> and <bp-asm.h>.
69452 (memcpy): Don't use BP_SYM.
69453 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69454 <bp-sym.h> and <bp-asm.h>.
69455 (memset): Don't use BP_SYM.
69456 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69457 <bp-sym.h> and <bp-asm.h>.
69458 (__memchr): Don't use BP_SYM.
69459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69460 <bp-sym.h> and <bp-asm.h>.
69461 (memcmp): Don't use BP_SYM.
69462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69463 <bp-sym.h> and <bp-asm.h>.
69464 (memcpy): Don't use BP_SYM.
69465 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69466 <bp-sym.h> and <bp-asm.h>.
69467 (__mempcpy): Don't use BP_SYM.
69468 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69469 <bp-sym.h> and <bp-asm.h>.
69470 (__memrchr): Don't use BP_SYM.
69471 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69472 <bp-sym.h> and <bp-asm.h>.
69473 (memset): Don't use BP_SYM.
69474 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69475 <bp-sym.h> and <bp-asm.h>.
69476 (__rawmemchr): Don't use BP_SYM.
69477 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69478 <bp-sym.h> and <bp-asm.h>.
69479 (__STRCMP): Don't use BP_SYM.
69480 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69481 <bp-sym.h> and <bp-asm.h>.
69482 (strchr): Don't use BP_SYM.
69483 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69484 <bp-sym.h> and <bp-asm.h>.
69485 (__strchrnul): Don't use BP_SYM.
69486 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69487 <bp-sym.h> and <bp-asm.h>.
69488 (strlen): Don't use BP_SYM.
69489 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69490 <bp-sym.h> and <bp-asm.h>.
69491 (strncmp): Don't use BP_SYM.
69492 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69493 <bp-sym.h> and <bp-asm.h>.
69494 (__strnlen): Don't use BP_SYM.
69495 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69496 <bp-asm.h>.
69497 (__mpn_rshift): Don't use BP_SYM.
69498 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69499 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69500 <bp-sym.h> and <bp-asm.h>.
69501 (__sigsetjmp): Don't use BP_SYM.
69502 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69503 (L(start_addresses)): Don't use BP_SYM.
69504 (_start): Likewise.
69505 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69506 <bp-asm.h>.
69507 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69508 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69509 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69510 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69511 <bp-asm.h>.
69512 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69513 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69514 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69515 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69516 <bp-asm.h>.
69517 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69518 comments.
69519 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69520 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69521 <bp-asm.h>.
69522 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
69523 FIXME comments.
69524 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69525 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69526 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69527 <bp-asm.h>.
69528 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
69529 comment.
69530 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69531 and <bp-asm.h>.
69532 (strncmp): Don't use BP_SYM,
69533 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69534 <bp-asm.h>.
69535 (__mpn_sub_n): Don't use BP_SYM.
69536 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69537 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69538 and <bp-asm.h>.
69539 (__mpn_submul_1): Don't use BP_SYM.
69540 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69542 <bp-sym.h> and <bp-asm.h>.
69543 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69545 <bp-sym.h> and <bp-asm.h>.
69546 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
69547 comment.
69548
69549 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69550
69551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69552 Use ZK to minimize writes to Z.
69553 (sub_magnitudes): Simplify code a bit.
69554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69555 Use ZK to minimize writes to Z.
69556 (sub_magnitudes): Simplify code a bit.
69557
69558 2013-02-27 Roland McGrath <roland@hack.frob.com>
69559
69560 * csu/gmon-start.c: Add special exception to license text.
69561
69562 2013-02-27 Richard Henderson <rth@redhat.com>
69563
69564 * scripts/config.guess: Update from config.git.
69565 * scripts/config.sub: Likewise.
69566
69567 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
69568
69569 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69570
69571 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69572
69573 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69574
69575 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69576
69577 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69578
69579 2013-02-26 Roland McGrath <roland@hack.frob.com>
69580
69581 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69582 [$(build-shared = yes].
69583
69584 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69585
69586 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69587 (__mul): Reduce iterations for calculating mantissa.
69588
69589 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69590 MPTWO.
69591 (__mpranred): Likewise.
69592
69593 [BZ #15160]
69594 * malloc/memusagestat.c (main): Draw graphs for heap and stack
69595 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69596
69597 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
69598
69599 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69600 Define __attribute__.
69601
69602 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69603
69604 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69605 unused.
69606 * posix/regex_internal.h (__attribute): Remove.
69607 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69608 (re_string_context_at): Likewise.
69609 (bitset_not): Use __attribute__ and mark function as possibly
69610 unused.
69611 (bitset_merge): Likewise.
69612 (bitset_mask): Likewise.
69613 (re_string_char_size_at): Likewise.
69614 (re_string_wchar_at): Likewise.
69615 (re_string_elem_size_at): Likewise.
69616
69617 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
69618
69619 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69620 code.
69621 (cc32): Likewise.
69622
69623 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69624 (__acr): Likewise.
69625 (__cpy): Likewise.
69626 (norm): Likewise.
69627 (denorm): Likewise.
69628 (__dbl_mp): Likewise.
69629 (add_magnitudes): Likewise.
69630 (sub_magnitudes): Likewise.
69631 (__mul): Likewise.
69632 (__inv): Likewise.
69633
69634 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69635 style.
69636
69637 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69638 style.
69639
69640 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69641 code.
69642
69643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69644 up changes with default code.
69645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69646 Likewise.
69647
69648 2013-02-24 Allan McRae <allan@archlinux.org>
69649
69650 * manual/socket.texi (The Internet Namespace): Order menu items
69651 to match that in the file.
69652
69653 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69654 node listing of the info page menu.
69655
69656 2013-02-21 Joseph Myers <joseph@codesourcery.com>
69657
69658 [BZ #13550]
69659 * sysdeps/i386/bp-asm.h: Remove file.
69660 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69661 (PARMS): Do not use macros from bp-asm.h.
69662 (S1): Likewise.
69663 (S2): Likewise.
69664 (SIZE): Likewise.
69665 (__mpn_add_n): Do not use BP_SYM
69666 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
69667 "bp-asm.h".
69668 (PARMS): Do not use macros from bp-asm.h.
69669 (S1): Likewise.
69670 (SIZE): Likewise.
69671 (__mpn_addmul_1): Do not use BP_SYM
69672 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
69673 "bp-asm.h".
69674 (PARMS): Do not use macros from bp-asm.h.
69675 (SIGMSK): Likewise.
69676 (_setjmp): Likewise. Do not use BP_SYM.
69677 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
69678 "bp-asm.h".
69679 (PARMS): Do not use macros from bp-asm.h.
69680 (SIGMSK): Likewise.
69681 (setjmp): Likewise. Do not use BP_SYM.
69682 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
69683 "bp-asm.h".
69684 (PARMS): Do not use macros from bp-asm.h.
69685 (__frexp): Do not use BP_SYM.
69686 (frexp): Likewise.
69687 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
69688 "bp-asm.h".
69689 (PARMS): Do not use macros from bp-asm.h.
69690 (__frexpf): Do not use BP_SYM.
69691 (frexpf): Likewise.
69692 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
69693 "bp-asm.h".
69694 (PARMS): Do not use macros from bp-asm.h.
69695 (__frexpl): Do not use BP_SYM.
69696 (frexpl): Likewise.
69697 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
69698 "bp-asm.h".
69699 (PARMS): Do not use macros from bp-asm.h.
69700 (__remquo): Do not use BP_SYM.
69701 (remquo): Likewise.
69702 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69703 "bp-asm.h".
69704 (PARMS): Do not use macros from bp-asm.h.
69705 (__remquof): Do not use BP_SYM.
69706 (remquof): Likewise.
69707 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
69708 "bp-asm.h".
69709 (PARMS): Do not use macros from bp-asm.h.
69710 (__remquol): Do not use BP_SYM.
69711 (remquol): Likewise.
69712 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
69713 "bp-asm.h".
69714 (PARMS): Do not use macros from bp-asm.h.
69715 (DEST): Likewise.
69716 (SRC): Likewise.
69717 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
69718 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69719 "bp-asm.h".
69720 (PARMS): Do not use macros from bp-asm.h.
69721 (strlen): Do not use BP_SYM.
69722 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
69723 "bp-asm.h".
69724 (PARMS): Do not use macros from bp-asm.h.
69725 (S1): Likewise.
69726 (S2): Likewise.
69727 (SIZE): Likewise.
69728 (__mpn_add_n): Do not use BP_SYM.
69729 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
69730 "bp-asm.h".
69731 (PARMS): Do not use macros from bp-asm.h.
69732 (S1): Likewise.
69733 (SIZE): Likewise.
69734 (__mpn_addmul_1): Do not use BP_SYM.
69735 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
69736 weak_alias.
69737 (bzero): Likewise.
69738 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
69739 "bp-asm.h".
69740 (PARMS): Do not use macros from bp-asm.h.
69741 (S): Likewise.
69742 (SIZE): Likewise.
69743 (__mpn_lshift): Do not use BP_SYM.
69744 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
69745 "bp-asm.h".
69746 (PARMS): Do not use macros from bp-asm.h.
69747 (DEST): Likewise.
69748 (SRC): Likewise.
69749 (LEN): Likewise.
69750 (memcpy): Likewise. Do not use BP_SYM.
69751 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
69752 libc_hidden_def and weak_alias.
69753 (mempcpy): Do not use BP_SYM in weak_alias.
69754 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
69755 "bp-asm.h".
69756 (PARMS): Do not use macros from bp-asm.h.
69757 (DEST): Likewise.
69758 (LEN): Likewise.
69759 [!BZERO_P] (CHR): Likewise.
69760 (memset): Likewise. Do not use BP_SYM.
69761 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
69762 "bp-asm.h".
69763 (PARMS): Do not use macros from bp-asm.h.
69764 (S1): Likewise.
69765 (SIZE): Likewise.
69766 (__mpn_mul_1): Do not use BP_SYM.
69767 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
69768 "bp-asm.h".
69769 (PARMS): Do not use macros from bp-asm.h.
69770 (S): Likewise.
69771 (SIZE): Likewise.
69772 (__mpn_rshift): Do not use BP_SYM.
69773 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
69774 "bp-asm.h".
69775 (PARMS): Do not use macros from bp-asm.h.
69776 (STR): Likewise.
69777 (CHR): Likewise.
69778 (strchr): Likewise. Do not use BP_SYM.
69779 (index): Do not use BP_SYM in weak_alias.
69780 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69781 "bp-asm.h".
69782 (PARMS): Do not use macros from bp-asm.h.
69783 (DEST): Likewise.
69784 (SRC): Likewise.
69785 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
69786 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69787 "bp-asm.h".
69788 (PARMS): Do not use macros from bp-asm.h.
69789 (strlen): Do not use BP_SYM.
69790 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69791 "bp-asm.h".
69792 (PARMS): Do not use macros from bp-asm.h.
69793 (S1): Likewise.
69794 (S2): Likewise.
69795 (SIZE): Likewise.
69796 (__mpn_sub_n): Do not use BP_SYM.
69797 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69798 "bp-asm.h".
69799 (PARMS): Do not use macros from bp-asm.h.
69800 (S1): Likewise.
69801 (SIZE): Likewise.
69802 (__mpn_submul_1): Do not use BP_SYM.
69803 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69804 "bp-asm.h".
69805 (PARMS): Do not use macros from bp-asm.h.
69806 (S1): Likewise.
69807 (S2): Likewise.
69808 (SIZE): Likewise.
69809 (__mpn_add_n): Do not use BP_SYM.
69810 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69811 weak_alias.
69812 (bzero): Likewise.
69813 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69814 "bp-asm.h".
69815 (PARMS): Do not use macros from bp-asm.h.
69816 (BLK2): Likewise.
69817 (LEN): Likewise.
69818 (memcmp): Do not use BP_SYM.
69819 (bcmp): Do not use BP_SYM in weak_alias.
69820 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69821 "bp-asm.h".
69822 (PARMS): Do not use macros from bp-asm.h.
69823 (DEST): Likewise.
69824 (SRC): Likewise.
69825 (LEN): Likewise.
69826 (memcpy): Likewise. Do not use BP_SYM.
69827 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
69828 "bp-asm.h".
69829 (PARMS): Do not use macros from bp-asm.h.
69830 (DEST): Likewise.
69831 (SRC): Likewise.
69832 (LEN): Likewise.
69833 (memmove): Likewise. Do not use BP_SYM.
69834 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69835 "bp-asm.h".
69836 (PARMS): Do not use macros from bp-asm.h.
69837 (DEST): Likewise.
69838 (SRC): Likewise.
69839 (LEN): Likewise.
69840 (__mempcpy): Likewise. Do not use BP_SYM.
69841 (mempcpy): Do not use BP_SYM in weak_alias.
69842 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69843 "bp-asm.h".
69844 (PARMS): Do not use macros from bp-asm.h.
69845 (DEST): Likewise.
69846 (LEN): Likewise.
69847 [!BZERO_P] (CHR): Likewise.
69848 (memset): Likewise. Do not use BP_SYM.
69849 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69850 "bp-asm.h".
69851 (PARMS): Do not use macros from bp-asm.h.
69852 (STR2): Likewise.
69853 (strcmp): Do not use BP_SYM.
69854 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69855 "bp-asm.h".
69856 (PARMS): Do not use macros from bp-asm.h.
69857 (STR): Likewise.
69858 (DELIM): Likewise.
69859 [USE_AS_STRTOK_R] (SAVE): Likewise.
69860 (FUNCTION): Likewise. Do not use BP_SYM.
69861 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69862 aliases.
69863 (strtok_r): Likewise.
69864 (__GI___strtok_r): Likewise.
69865 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69866 (PARMS): Do not use macros from bp-asm.h.
69867 (S): Likewise.
69868 (SIZE): Likewise.
69869 (__mpn_lshift): Do not use BP_SYM.
69870 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69871 (PARMS): Do not use macros from bp-asm.h.
69872 (STR): Likewise.
69873 (CHR): Likewise.
69874 (__memchr): Do not use BP_SYM.
69875 (memchr): Do not use BP_SYM in weak_alias.
69876 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69877 (PARMS): Do not use macros from bp-asm.h.
69878 (BLK2): Likewise.
69879 (LEN): Likewise.
69880 (memcmp): Do not use BP_SYM.
69881 (bcmp): Do not use BP_SYM in weak_alias.
69882 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69883 (PARMS): Do not use macros from bp-asm.h.
69884 (S1): Likewise.
69885 (SIZE): Likewise.
69886 (__mpn_mul_1): Do not use BP_SYM.
69887 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69888 "bp-asm.h".
69889 (PARMS): Do not use macros from bp-asm.h.
69890 (STR): Likewise.
69891 (CHR): Likewise.
69892 (__rawmemchr): Do not use BP_SYM.
69893 (rawmemchr): Do not use BP_SYM in weak_alias.
69894 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69895 (PARMS): Do not use macros from bp-asm.h.
69896 (S): Likewise.
69897 (SIZE): Likewise.
69898 (__mpn_rshift): Do not use BP_SYM.
69899 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69900 (PARMS): Do not use macros from bp-asm.h.
69901 (SIGMSK): Likewise.
69902 (__sigsetjmp): Likewise. Do not use BP_SYM.
69903 * sysdeps/i386/start.S: Do not include "bp-sym.h".
69904 (_start): Do not use BP_SYM.
69905 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69906 (PARMS): Do not use macros from bp-asm.h.
69907 (DEST): Likewise.
69908 (SRC): Likewise.
69909 (__stpcpy): Likewise. Do not use BP_SYM.
69910 (stpcpy): Do not use BP_SYM in weak_alias.
69911 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69912 "bp-asm.h".
69913 (PARMS): Do not use macros from bp-asm.h.
69914 (DEST): Likewise.
69915 (SRC): Likewise.
69916 (LEN): Likewise.
69917 (__stpncpy): Likewise. Do not use BP_SYM.
69918 (stpncpy): Do not use BP_SYM in weak_alias.
69919 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69920 (PARMS): Do not use macros from bp-asm.h.
69921 (STR): Likewise.
69922 (CHR): Likewise.
69923 (strchr): Likewise. Do not use BP_SYM.
69924 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69925 "bp-asm.h".
69926 (PARMS): Do not use macros from bp-asm.h.
69927 (STR): Likewise.
69928 (CHR): Likewise.
69929 (__strchrnul): Likewise. Do not use BP_SYM.
69930 (strchrnul): Do not use BP_SYM in weak_alias.
69931 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69932 "bp-asm.h".
69933 (PARMS): Do not use macros from bp-asm.h.
69934 (STOP): Likewise.
69935 (strcspn): Do not use BP_SYM.
69936 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69937 "bp-asm.h".
69938 (PARMS): Do not use macros from bp-asm.h.
69939 (STR): Likewise.
69940 (STOP): Likewise.
69941 (strpbrk): Likewise. Do not use BP_SYM.
69942 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69943 "bp-asm.h".
69944 (PARMS): Do not use macros from bp-asm.h.
69945 (STR): Likewise.
69946 (CHR): Likewise.
69947 (strrchr): Likewise. Do not use BP_SYM.
69948 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69949 (PARMS): Do not use macros from bp-asm.h.
69950 (SKIP): Likewise.
69951 (strspn): Do not use BP_SYM.
69952 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69953 (PARMS): Do not use macros from bp-asm.h.
69954 (STR): Likewise.
69955 (DELIM): Likewise.
69956 (SAVE): Likewise.
69957 (FUNCTION): Likewise. Do not use BP_SYM.
69958 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69959 aliases.
69960 (strtok_r): Likewise.
69961 (__GI___strtok_r): Likewise.
69962 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69963 (PARMS): Do not use macros from bp-asm.h.
69964 (S1): Likewise.
69965 (S2): Likewise.
69966 (SIZE): Likewise.
69967 (__mpn_sub_n): Do not use BP_SYM.
69968 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69969 "bp-asm.h".
69970 (PARMS): Do not use macros from bp-asm.h.
69971 (S1): Likewise.
69972 (SIZE): Likewise.
69973 (__mpn_submul_1): Do not use BP_SYM.
69974 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69975 <bp-sym.h>.
69976 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69977 and <bp-asm.h>.
69978 (PARMS): Do not use macros from bp-asm.h.
69979 (FLAGS): Likewise.
69980 (PTID): Likewise.
69981 (TLS): Likewise.
69982 (CTID): Likewise.
69983 (__clone): Do not use BP_SYM.
69984 (clone): Do not use BP_SYM in weak_alias.
69985 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69986 and <bp-asm.h>.
69987 (PARMS): Do not use macros from bp-asm.h.
69988 (LEN): Likewise.
69989 (__mmap64): Do not use BP_SYM.
69990 (mmap64): Do not use BP_SYM in weak_alias.
69991 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69992 <bp-sym.h> and <bp-asm.h>.
69993 (PARMS): Do not use macros from bp-asm.h.
69994 (__posix_fadvise64_l64): Do not use BP_SYM.
69995 * sysdeps/unix/sysv/linux/i386/semtimedop.S
69996 (PARMS): Do not use macros from bp-asm.h.
69997 (NSOPS): Likewise.
69998 (semtimedop): Do not use BP_SYM.
69999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70000 and <bp-asm.h>.
70001
70002 2013-02-21 Allan McRae <allan@archlinux.org>
70003
70004 * manual/message.texi (Charset conversion in gettext):
70005 Move @end statement to beginning of line.
70006
70007 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70008
70009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70010 static.
70011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70012 Likewise.
70013
70014 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70015 (denorm): Likewise.
70016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70018
70019 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70020
70021 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70022 tail-call to the resolved function if pltexit isn't needed.
70023
70024 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
70025
70026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70027 or Y being zero as being unlikely.
70028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70029 Likewise.
70030
70031 2013-02-20 Carlos O'Donell <carlos@redhat.com>
70032
70033 * manual/nss.texi (System Databases and Name Service Switch):
70034 Remove frobnicate @pxref.
70035
70036 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70037
70038 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70039 __attribute__ ((unused)) to __attribute__ ((__unused__)).
70040
70041 2013-02-20 Petr Machata <pmachata@redhat.com>
70042
70043 * elf/elf.h (R_ARM_TARGET1): New macro.
70044 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70045 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70046 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70047 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70048 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70049 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70050 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70051 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70052 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70053 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70054 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70055 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70056 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70057 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70058 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70059 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70060 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70061 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70062 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70063 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70064 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70065 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70066 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70067 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70068 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70069 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70070 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70071 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70072 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70073 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70074 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70075 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70076 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70077 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70078 (R_ARM_THM_GOT_BREL12): Likewise.
70079 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70080 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70081 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70082 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70083 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70084 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70085 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70086 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70087 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70088
70089 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
70090
70091 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70092 __attribute_used__ to __attribute__ ((unused)).
70093
70094 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
70095
70096 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70097 powerpc mpa.c.
70098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70099 comment formatting.
70100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70101
70102 2013-02-19 Joseph Myers <joseph@codesourcery.com>
70103
70104 [BZ #13550]
70105 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70106 Remove macro.
70107 (ENTER): Remove both macro definitions.
70108 (LEAVE): Likewise.
70109 (CHECK_BOUNDS_LOW): Likewise.
70110 (CHECK_BOUNDS_HIGH): Likewise.
70111 (CHECK_BOUNDS_BOTH): Likewise.
70112 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70113 (RETURN_BOUNDED_POINTER): Likewise.
70114 (RETURN_NULL_BOUNDED_POINTER): Likewise.
70115 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70116 (POP_ERRNO_LOCATION_RETURN): Likewise.
70117 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70118 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70119 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70120 macros.
70121 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70122 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70123 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70124 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70125 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70126 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70127 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70128 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70129 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70130 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70131 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70132 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70133 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70134 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70135 removed macros.
70136 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70137 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70138 macros.
70139 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70140 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70141 * sysdeps/i386/i586/memset.S (memset): Likewise.
70142 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70143 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70144 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70145 macros.
70146 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70147 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70148 Change uses of L(2) to L(out).
70149 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70150 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70151 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70152 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70153 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70154 removed macros.
70155 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70156 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70157 macros.
70158 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70159 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70160 (RETURN): Do not use macro LEAVE.
70161 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70162 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70163 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70164 * sysdeps/i386/i686/memset.S (memset): Likewise.
70165 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70166 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70167 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70168 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70169 Likewise.
70170 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70171 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
70172 L(1_2) and L(1_3) into L(1).
70173 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70174 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70175 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70176 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70177 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70178 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70179 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70180 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70181 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70182 macros.
70183 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70184 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70185 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70186 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70187 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70188 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70189 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70190 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70191 * sysdeps/i386/strcspn.S (strcspn): Likewise.
70192 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70193 * sysdeps/i386/strrchr.S (strrchr): Likewise.
70194 * sysdeps/i386/strspn.S (strspn): Likewise.
70195 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70196 conditional code.
70197 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70198 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70199 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70200 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
70201 L(1_3) into L(1_1).
70202 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70203 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70204 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70205 macros.
70206 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70207
70208 2013-02-19 Jakub Jelinek <jakub@redhat.com>
70209
70210 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70211 macro.
70212
70213 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
70214
70215 * math/atest-exp.c (exp_mpn): Remove ROUND.
70216 * math/atest-exp2.c (exp_mpn): Likewise.
70217 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70218
70219 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70220 * stdlib/tst-tls-atexit-lib.c: Likewise.
70221 * stdlib/tst-tls-atexit.c: Likewise.
70222
70223 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70224
70225 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70226 and __attribute_alloc_size__.
70227
70228 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70229
70230 * include/programs/xmalloc.h: Change __attribute_alloc_size to
70231 __attribute_alloc_size__.
70232 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70233 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70234
70235 2013-02-18 Mike Frysinger <vapier@gentoo.org>
70236
70237 * include/programs/xmalloc.h: New file.
70238 * catgets/gencat.c: Include it.
70239 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70240 * elf/pldd.c: Likewise.
70241 * iconv/iconv_charmap.c: Likewise.
70242 * iconv/iconvconfig.c: Likewise.
70243 * iconv/strtab.c: Likewise.
70244 * locale/programs/locale.c: Likewise.
70245 * locale/programs/localedef.h: Likewise.
70246 * locale/programs/simple-hash.c: Likewise.
70247 * nscd/nscd.h: Likewise.
70248 * nss/makedb.c: Likewise.
70249 * sysdeps/generic/ldconfig.h: Likewise.
70250
70251 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
70252
70253 * Versions.def: Add GLIBC_2.18.
70254 * include/link.h (struct link_map): New member l_tls_dtor_count.
70255 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70256 (__call_tls_dtors): Likewise.
70257 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70258 __cxa_thread_atexit_impl.
70259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70260 Likewise.
70261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70262 Likewise.
70263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70264 Likewise.
70265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70266 Likewise.
70267 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70269 Likewise.
70270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70271 Likewise.
70272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70274 Likewise.
70275 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70276 (tests): Add test case tst-tls-atexit.
70277 (modules-names): Add shared library for tst-tls-atexit.
70278 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70279 (GLIBC_PRIVATE): Add __call_tls_dtors.
70280 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70281 for libstdc++.
70282 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70283 * stdlib/tst-tls-atexit.c: New test case.
70284 * stdlib/tst-tls-atexit-lib.c: New test case.
70285
70286 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70287
70288 * elf/Versions (ld): Add _dl_find_dso_for_object.
70289 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70290 * elf/dl-open.c (_dl_find_dso_for_object): New function.
70291 (dl_open_worker): Use _dl_find_dso_for_object.
70292 * elf/dl-sym.c (do_sym): Likewise.
70293 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70294
70295 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70296
70297 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70298 Syntactic changes only.
70299 (_dl_runtime_profile): Do a tail-call to the resolved function.
70300
70301 2013-02-17 Joseph Myers <joseph@codesourcery.com>
70302
70303 [BZ #13550]
70304 * sysdeps/x86_64/bp-asm.h: Remove file.
70305 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70306 <bp-sym.h> and <bp-asm.h>.
70307 (__clone): Do not use BP_SYM.
70308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70309 <bp-sym.h> and <bp-asm.h>.
70310 * sysdeps/unix/x86_64/sysdep.S: Likewise.
70311 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70312 "bp-asm.h".
70313 (_setjmp): Do not use BP_SYM.
70314 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70315 "bp-asm.h".
70316 (setjmp): Do not use BP_SYM.
70317 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70318 libc_hidden_def.
70319 (mempcpy): Do not use BP_SYM in weak_alias.
70320 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70321 "bp-asm.h".
70322 (strchr): Do not use BP_SYM.
70323 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70324 "bp-asm.h".
70325 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70326 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70327 (_start): Do not use BP_SYM.
70328 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70329 "bp-asm.h".
70330 (strcat): Do not use BP_SYM.
70331 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70332 "bp-asm.h".
70333 (STRCMP): Do not use BP_SYM.
70334 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70335 "bp-asm.h".
70336 (STRCPY): Do not use BP_SYM.
70337 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70338 "bp-asm.h".
70339 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70340 "bp-asm.h".
70341 (FUNCTION): Do not use BP_SYM.
70342 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70343 weak_alias.
70344 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70345
70346 2013-02-17 Andreas Jaeger <aj@suse.de>
70347
70348 * time/Versions: Sort entries.
70349 * string/Versions: Likewise.
70350 * resolv/Versions: Likewise.
70351 * posix/Versions: Likewise.
70352 * iconv/Versions: Likewise.
70353 * elf/Versions: Likewise.
70354 * wcsmbs/Versions: Likewise.
70355
70356 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
70357
70358 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70359 loop termination condition.
70360
70361 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70362 variable to calculate EZ.
70363 (__sqr): Likewise.
70364
70365 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70366 the lower precision input.
70367
70368 2013-02-15 Joseph Myers <joseph@codesourcery.com>
70369
70370 [BZ #13550]
70371 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70372 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70373 (run-via-rtld-prefix): Do not handle %-bp tests.
70374 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70375 (all-object-suffixes): Remove .ob.
70376 (bppfx): Remove variable.
70377 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70378 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70379 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70380 [$(build-bounded) = yes] (libtype.ob): Likewise.
70381 * Makerules (elide-routines.ob): Remove variable.
70382 (do-tests-clean): Do not handle *-bp.out.
70383 (common-mostlyclean): Do not handle *-bp and *-bp.out.
70384 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70385 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70386 (tests): Do not include $(tests-bp.out).
70387 (xtests): Do not include $(xtests-bp.out).
70388 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70389 [$(build-bounded) = yes] ($(addprefix
70390 $(objpfx),$(binaries-bounded))): Remove rule.
70391 ($(objpfx)%-bp.out): Remove rule.
70392 * config.make.in (build-bounded): Remove variable.
70393 * crypt/Makefile [$(build-bounded) = yes]
70394 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70395 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70396 append to variable.
70397 [$(build-bounded) = yes] (install-lib): Likewise.
70398 [$(build-bounded) = yes] (generated): Likewise.
70399 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70400 Remove rule.
70401 * intl/Makefile [$(build-bounded) = yes]
70402 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70403 * math/Makefile [$(build-bounded) = yes]
70404 ($(tests:%=$(objpfx)%-bp): Likewise.
70405 * misc/Makefile [$(build-bounded) = yes]
70406 ($(objpfx)tst-tsearch-bp): Likewise.
70407 * nptl/Makeconfig (bounded-thread-library): Remove variable.
70408 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70409 Remove dependency.
70410 * string/Makefile (o-objects.ob): Remove variable.
70411 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70412 (CFLAGS-.ob): Remove variable.
70413 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70414 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70415 both definitions of variable.
70416 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70417 (ASFLAGS-.ob): Remove variable.
70418
70419 2013-02-14 Joseph Myers <joseph@codesourcery.com>
70420
70421 [BZ #13550]
70422 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70423 Remove __BOUNDED_POINTERS__ from condition.
70424 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70425 * string/bits/string2.h [!__NO_STRING_INLINES &&
70426 !__BOUNDED_POINTERS__]: Likewise.
70427 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70428 Likewise.
70429 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70430 Remove conditional code.
70431 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70432 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70433 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70434 condition.
70435
70436 [BZ #13550]
70437 * csu/libc-start.c: Do not include <bp-sym.h>.
70438 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70439 * elf/dl-open.c: Do not include <bp-sym.h>.
70440 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70441 * math/fegetenv.c: Do not include <bp-sym.h>.
70442 (fegetenv): Do not use BP_SYM in versioned symbols.
70443 * nptl/sysdeps/pthread/bits/libc-lockP.h
70444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70445 <bp-sym.h>.
70446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70447 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70449 (__pthread_mutex_destroy): Likewise.
70450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70451 (__pthread_mutex_lock): Likewise.
70452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70453 (__pthread_mutex_trylock): Likewise.
70454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70455 (__pthread_mutex_unlock): Likewise.
70456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70457 (__pthread_mutexattr_init): Likewise.
70458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70459 (__pthread_mutexattr_destroy): Likewise.
70460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70461 (__pthread_mutexattr_settype): Likewise.
70462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70463 (__pthread_rwlock_init): Likewise.
70464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70465 (__pthread_rwlock_destroy): Likewise.
70466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70467 (__pthread_rwlock_rdlock): Likewise.
70468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70469 (__pthread_rwlock_tryrdlock): Likewise.
70470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70471 (__pthread_rwlock_wrlock): Likewise.
70472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70473 (__pthread_rwlock_trywrlock): Likewise.
70474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70475 (__pthread_rwlock_unlock): Likewise.
70476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70477 (__pthread_key_create): Likewise.
70478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70479 (__pthread_setspecific): Likewise.
70480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70481 (__pthread_getspecific): Likewise.
70482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70483 Likewise.
70484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70485 (_pthread_cleanup_push_defer): Likewise.
70486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70487 (_pthread_cleanup_pop_restore): Likewise.
70488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70489 (pthread_setcancelstate): Likewise.
70490 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70491 <bp-sym.h>.
70492 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70493 (memchr): Do not use BP_SYM in weak_alias.
70494 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70495 (fegetenv): Do not use BP_SYM in versioned symbols.
70496 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70497 (fesetenv): Do not use BP_SYM in versioned symbols.
70498 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70499 (feupdateenv): Do not use BP_SYM in versioned symbols.
70500 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70501 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70502 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70503 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70504 (open64): Do not use BP_SYM in weak_alias.
70505 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70506 (fegetenv): Do not use BP_SYM in versioned symbols.
70507 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70508 (fesetenv): Do not use BP_SYM in versioned symbols.
70509 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70510 (feupdateenv): Do not use BP_SYM in versioned symbols.
70511 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70512 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70513 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70514 (feraiseexcept): Do not use BP_SYM in versioned symbols.
70515 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70516 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70517 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70518 <bp-sym.h>.
70519 (__libc_start_main): Do not use BP_SYM.
70520
70521 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
70522
70523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70524 redundant return line.
70525 (norm): Likewise.
70526 (denorm): Likewise.
70527 (dbl_mp): Likewise.
70528 (sub_magnitudes): Likewise.
70529 (__add): Likewise.
70530 (__sub): Likewise.
70531 (__mul): Likewise.
70532 (__inv): Likewise.
70533 (__dvd): Likewise.
70534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70535 (norm): Likewise.
70536 (denorm): Likewise.
70537 (dbl_mp): Likewise.
70538 (sub_magnitudes): Likewise.
70539 (__add): Likewise.
70540 (__sub): Likewise.
70541 (__mul): Likewise.
70542 (__inv): Likewise.
70543 (__dvd): Likewise.
70544
70545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70546 instead of __mul.
70547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70548 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70549 (cc32): Likewise.
70550
70551 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70552 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70554 of __mul for squares.
70555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70556 function
70557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70558 Likewise.
70559 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70560 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70561
70562 2013-02-13 Joseph Myers <joseph@codesourcery.com>
70563
70564 [BZ #13550]
70565 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70566 code.
70567 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70568 prototype or function definition. Rename ubp_* variables and
70569 parameters. Remove argv definitions conditional on
70570 [__BOUNDED_POINTERS__].
70571 * debug/backtrace.c (__backtrace): Do not use __unbounded.
70572 * elf/dl-runtime.c (_dl_fixup): Likewise.
70573 * include/set-hooks.h (RUN_HOOK): Likewise.
70574 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70575 definition.
70576 * string/strcpy.c (strcpy): Do not use __unbounded.
70577 * sysdeps/generic/frame.h (struct layout): Likewise.
70578 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70579 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70580 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70581 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70582 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70583 (__backtrace): Likewise.
70584 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70585 use __ptrvalue.
70586 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70587 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70588 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70589 Likewise.
70590 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70591 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70592 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70593 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70594 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70595 Do not use __unbounded.
70596 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70597 Rename __unboundedrlimits parameter to rlimits in prototype.
70598 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70599 Do not use __unbounded.
70600 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70601 not use __ptrvalue.
70602 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70603 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70604 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70605 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70606 __ptrvalue or __unbounded.
70607 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70608 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70609 use __unbounded.
70610 (__new_msgctl): Do not use __ptrvalue.
70611 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70612 __unbounded.
70613 (__libc_msgrcv): Do not use __ptrvalue.
70614 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70615 startup_info): Do not use __unbounded.
70616 (__libc_start_main): Likewise. Rename ubp_* variables and
70617 parameters. Remove argv definitions conditional on
70618 [__BOUNDED_POINTERS__].
70619 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70620 __ptrvalue.
70621 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70622 use __unbounded.
70623 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70624 or __ptrvalue.
70625 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70626 use __unbounded.
70627 (__new_shmctl): Do not use __ptrvalue.
70628 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70629 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70630 Likewise.
70631 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70632 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70633 (__libc_sigaction): Likewise.
70634 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70635 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70636 Likewise.
70637 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70638
70639 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
70640
70641 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70642
70643 * string/mempcpy.c: Implement by calling memcpy.
70644
70645 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
70646
70647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70648
70649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70650 evaluation.
70651
70652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70653 values in the mantissa.
70654
70655 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70656 minimize writes to Z.
70657 (sub_magnitudes): Simplify code a bit.
70658
70659 2013-02-12 Roland McGrath <roland@hack.frob.com>
70660
70661 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
70662 from the message. The linker prefixes all warnings with that already.
70663
70664 2013-02-12 Andreas Schwab <schwab@suse.de>
70665
70666 [BZ #15078]
70667 * posix/regexec.c (extend_buffers): Add parameter min_len.
70668 (check_matching): Pass minimum needed length.
70669 (clean_state_log_if_needed): Likewise.
70670 (get_subexp): Likewise.
70671 * posix/Makefile (tests): Add bug-regex34.
70672 (bug-regex34-ENV): Define.
70673 * posix/bug-regex34.c: New file.
70674
70675 [BZ #11561]
70676 * posix/regcomp.c (parse_bracket_exp): When looking up collating
70677 elements compare against the byte sequence of it, not its name.
70678 * posix/Makefile (tests): Add bug-regex35.
70679 (bug-regex35-ENV): Define.
70680 * posix/bug-regex35.c: New file.
70681
70682 2013-02-11 Tom de Vries <tom@codesourcery.com>
70683
70684 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
70685 comment.
70686 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
70687 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
70688 (CHECK_EOL): Add undef.
70689
70690 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
70691
70692 * bits/stdlib-bsearch.h: New file.
70693 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
70694 * stdlib/stdlib.h: Likewise.
70695
70696 2013-02-11 Roland McGrath <roland@hack.frob.com>
70697
70698 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
70699 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
70700 declaration.
70701 * manual/search.texi (Array Search Function): Add missing const in
70702 lfind prototype.
70703 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
70704 declaration to use rlim_t.
70705 (Basic Scheduling Functions): Remove erroneous const from
70706 sched_getparam prototype. Remove erroneous * from
70707 sched_get_priority_max and sched_get_priority_min prototypes.
70708 (Resource Usage): Fix summary @comment on vtimes to refer to
70709 sys/vtimes.h rather than vtimes.h.
70710 Add missing *s in vtimes prototype.
70711 (Limits on Resources): Fix ulimit prototype to return long int.
70712 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
70713 prototypes to use long int rather than double.
70714 (BSD Random): Fix initstate and setstate to use char *, not void *.
70715 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
70716 prototype to make second argument 'struct aiocb64 *const[]'.
70717 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
70718 (Status of AIO Operations): Remove erroneous const in aio_return and
70719 aio_return64 prototypes.
70720 (Synchronizing I/O): Fix sync prototype to return void.
70721 * manual/startup.texi (Suboptions): Remove an erroneous const in
70722 getsubopt prototype.
70723 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
70724 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
70725 use size_t rather than int.
70726 (Scanning All Users): Likewise for getpwent_r.
70727 (Setting Groups): Add missing const to setgroups prototype.
70728 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
70729 * manual/socket.texi (Host Names): Fix gethostbyaddr and
70730 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
70731 'const void *' rather than 'const char *'.
70732 (Host Address Functions): Likewise for inet_ntop.
70733 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
70734 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
70735 ssize_t for return value.
70736 (Sending Data): Likewise for send, sendto, sendmsg.
70737 (Socket Option Functions): Add a missing const in setsockopt prototype.
70738 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
70739 use wchar_t for the argument.
70740 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
70741 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
70742 take no arguments.
70743 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
70744 double/float/long double for second argument.
70745 Fix return types of significand, significandf, significandl.
70746 * manual/filesys.texi (Setting Permissions): Use mode_t for second
70747 argument in fchmod prototype.
70748 (File Owner): Use uid_t and gid_t in fchown prototype.
70749 (File Times): Add const to utimes, futimes, and lutimes prototypes.
70750 (Making Special Files): Use mode_t and dev_t in mknod prototype.
70751 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
70752 use 'const struct dirent **' as argument types to CMP function pointer
70753 argument.
70754 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
70755 (File Times): Fix summary magic @comment for struct utimbuf and utime
70756 to refer to utime.h, not time.h.
70757 * manual/string.texi (Argz Functions): Add missing const in
70758 argz_extract and argz_next prototypes.
70759 (Finding Tokens in a String): Likewise for basename.
70760 (String/Array Comparison): Fix typo in wcscasecmp prototype.
70761 (Copying and Concatenation): Fix typo in wmemmove prototype.
70762 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
70763 (Signal Stack): Remove erroneous const in sigstack prototype.
70764 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70765 prototype.
70766 (Simple Calendar Time): Likewise for stime.
70767 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
70768 prototype.
70769 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
70770 say sys/sysctl.h instead.
70771 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
70772 and vsyslog prototypes.
70773
70774 2013-02-11 Tom de Vries <tom@codesourcery.com>
70775
70776 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70777 Remove.
70778
70779 2013-02-11 Roland McGrath <roland@hack.frob.com>
70780
70781 * misc/sys/mman.h: Fix typo in mremap comment.
70782
70783 2013-02-08 Roland McGrath <roland@hack.frob.com>
70784
70785 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70786 the '\0' terminator.
70787
70788 2013-02-08 Joseph Myers <joseph@codesourcery.com>
70789
70790 [BZ #13550]
70791 * debug/segfault.c: Don't include <bp-checks.h>.
70792 * sysdeps/generic/bp-checks.h: Remove file.
70793 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70794 (__GETDENTS): Don't use CHECK_N.
70795 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70796 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70797 (__getgroups): Don't use CHECK_N.
70798 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70799 (setgroups): Don't use CHECK_N.
70800 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70801 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70802 (__libc_msgrcv): Don't use CHECK_N.
70803 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70804 (__libc_msgsnd): Don't use CHECK_N.
70805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70806 <bp-checks.h>.
70807 (__libc_pread): Don't use CHECK_N.
70808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70809 include <bp-checks.h>.
70810 (__libc_pread64): Don't use CHECK_N.
70811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70812 include <bp-checks.h>.
70813 (__libc_pwrite): Don't use CHECK_N.
70814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70815 include <bp-checks.h>.
70816 (__libc_pwrite64): Don't use CHECK_N.
70817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70818 <bp-checks.h>.
70819 (__libc_pread): Don't use CHECK_N.
70820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70821 include <bp-checks.h>.
70822 (__libc_pread64): Don't use CHECK_N.
70823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70824 include <bp-checks.h>.
70825 (__libc_pwrite): Don't use CHECK_N.
70826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70827 include <bp-checks.h>.
70828 (__libc_pwrite64): Don't use CHECK_N.
70829 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70830 (do_pread): Don't use CHECK_N.
70831 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70832 (do_pread64): Don't use CHECK_N.
70833 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70834 (do_pwrite): Don't use CHECK_N.
70835 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70836 (do_pwrite64): Don't use CHECK_N.
70837 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70838 (__libc_readv): Don't use CHECK_N.
70839 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70840 (semop): Don't use CHECK_N.
70841 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70842 <bp-checks.h>.
70843 (semtimedop): Don't use CHECK_N.
70844 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70845 (__libc_pread): Don't use CHECK_N.
70846 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70847 <bp-checks.h>.
70848 (__libc_pread64): Don't use CHECK_N.
70849 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70850 <bp-checks.h>.
70851 (__libc_pwrite): Don't use CHECK_N.
70852 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70853 <bp-checks.h>.
70854 (__libc_pwrite64): Don't use CHECK_N.
70855 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70856 <bp-checks.h>.
70857 (__libc_msgrcv): Don't use CHECK_N.
70858 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70859 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
70860 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70861 (__libc_writev): Don't use CHECK_N.
70862
70863 2013-02-08 Roland McGrath <roland@hack.frob.com>
70864
70865 * string/strcpy.c: Removed unused variable.
70866
70867 * Makeconfig (+sysdep-includes): Define with := rather than =.
70868 Use an existing include/ subdir of each sysdeps dir before it.
70869
70870 2013-02-08 Carlos O'Donell <carlos@redhat.com>
70871
70872 * nscd/connection.c (register_traced_file): Comment function.
70873 [HAVE_INOTIFY] (union __inev): Define.
70874 [HAVE_INOTIFY] (inotify_check_files): New function.
70875 [HAVE_INOTIFY] (clear_db_cache): Likewise.
70876 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70877 clear_db_cache.
70878 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70879
70880 2013-02-08 Carlos O'Donell <carlos@redhat.com>
70881
70882 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70883 loaded if not already and that a failure is permanent.
70884
70885 2013-02-08 Carlos O'Donell <carlos@redhat.com>
70886
70887 [BZ #15006]
70888 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70889 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70890
70891 2013-02-08 Joseph Myers <joseph@codesourcery.com>
70892
70893 [BZ #13550]
70894 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70895 (CHECK_1_NULL_OK): Likewise.
70896 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70897 (__fxstat): Do not use CHECK_1.
70898 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70899 <bp-checks.h>.
70900 (___fxstat64): Do not use CHECK_1.
70901 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70902 <bp-checks.h>.
70903 (__fxstatat): Do not use CHECK_1.
70904 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70905 <bp-checks.h>.
70906 (__fxstatat64): Do not use CHECK_1.
70907 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70908 <bp-checks.h>.
70909 (__fxstat): Do not use CHECK_1.
70910 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70911 <bp-checks.h>.
70912 (__fxstatat): Do not use CHECK_1.
70913 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70914 <bp-checks.h>.
70915 (__getresgid): Do not use CHECK_1.
70916 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70917 <bp-checks.h>.
70918 (__getresuid): Do not use CHECK_1.
70919 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70920 <bp-checks.h>.
70921 (__lxstat): Do not use CHECK_1.
70922 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70923 <bp-checks.h>.
70924 (__old_msgctl): Do not use CHECK_1.
70925 (__new_msgctl): Likewise.
70926 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70927 <bp-checks.h>.
70928 (__new_setrlimit): Do not use CHECK_1.
70929 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70930 <bp-checks.h>.
70931 (__old_shmctl): Do not use CHECK_1.
70932 (__new_shmctl): Likewise.
70933 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70934 <bp-checks.h>.
70935 (__xstat): Do not use CHECK_1.
70936 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70937 (__lxstat): Do not use CHECK_1.
70938 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70939 <bp-checks.h>.
70940 (___lxstat64): Do not use CHECK_1.
70941 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70942 (__old_msgctl): Do not use CHECK_1.
70943 (__new_msgctl): Likewise.
70944 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70945 <bp-checks.h>.
70946 (__gettimeofday): Do not use CHECK_1.
70947 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70948 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70949 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70950 <bp-checks.h>.
70951 (__gettimeofday): Do not use CHECK_1.
70952 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70953 (__old_shmctl): Do not use CHECK_1_NULL_OK.
70954 (__new_shmctl): Do not use CHECK_1.
70955 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70956 <bp-checks.h>.
70957 (do_sigtimedwait): Do not use CHECK_1.
70958 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70959 <bp-checks.h>.
70960 (do_sigwaitinfo): Do not use CHECK_1.
70961 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70962 <bp-checks.h>.
70963 (msgctl): Do not use CHECK_1.
70964 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70965 <bp-checks.h>.
70966 (shmctl): Do not use CHECK_1.
70967 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70968 (ustat): Do not use CHECK_1.
70969 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70970 <bp-checks.h>.
70971 (__fxstat): Do not use CHECK_1.
70972 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70973 <bp-checks.h>.
70974 (__fxstatat): Do not use CHECK_1.
70975 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70976 <bp-checks.h>.
70977 (__lxstat): Do not use CHECK_1.
70978 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70979 <bp-checks.h>.
70980 (__xstat): Do not use CHECK_1.
70981 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70982 (__xstat): Do not use CHECK_1.
70983 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70984 (___xstat64): Do not use CHECK_1.
70985
70986 [BZ #13550]
70987 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70988 definitions.
70989 (CHECK_BOUNDS_HIGH): Likewise.
70990 * string/strcpy.c: Do not include <bp-checks.h>.
70991 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70992
70993 2013-02-07 Roland McGrath <roland@hack.frob.com>
70994
70995 * nscd/nscd-client.h (__nscd_drop_map_ref):
70996 Add __attribute__ ((unused)).
70997 * nis/nss-nisplus.h (niserr2nss): Likewise.
70998
70999 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71000 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71001
71002 * csu/libc-tls.c (init_static_tls, init_slotinfo):
71003 Remove inline keyword.
71004 * include/rounding-mode.h (round_away): Likewise.
71005 * libio/wfileops.c (adjust_wide_data): Likewise.
71006 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71007 (__m128i_strloadu_tolower): Likewise.
71008 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71009 (__m128i_strloadu_tolower): Likewise.
71010 * time/mktime.c (ydhms_diff): Likewise.
71011 * locale/elem-hash.h (elem_hash): Likewise.
71012 * locale/setlocale.c (setdata): Likewise.
71013 * posix/regex_internal.h (re_string_char_size_at): Likewise.
71014 (re_string_wchar_at): Likewise.
71015 (bitset_not, bitset_merge, bitset_mask): Likewise.
71016 [!(__GNUC__ > 3)] (inline): Remove macro.
71017 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71018 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71019 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71020 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71021 * string/memcmp.c (memcmp_bytes): Likewise.
71022 * locale/programs/locarchive.c (compute_hashval): Likewise.
71023 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71024 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71025 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71026 * nss/getent.c (print_rpc, print_protocols): Likewise.
71027 (print_passwd, print_group, print_aliases): Likewise.
71028 * nis/nss-nisplus.h (niserr2nss): Likewise.
71029 * nscd/connections.c (restart_p): Likewise.
71030 Change return type to bool.
71031
71032 2013-02-05 Roland McGrath <roland@hack.frob.com>
71033
71034 * Makeconfig (all-Depend-files): Add existing
71035 $(sorted-subdirs:=/Depend) files.
71036 (all-subdirs): Remove nss.
71037 * sysdeps/unix/inet/Subdirs: Add it here instead.
71038 * hesiod/Depend: New file.
71039
71040 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71041 instead of calling alloca.
71042
71043 * io/lseek.c (__lseek): Rename to __libc_lseek.
71044 Define __lseek as an alias.
71045
71046 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71047
71048 2013-02-04 Carlos O'Donell <carlos@redhat.com>
71049
71050 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71051 else clause and remove check for non-standard endianness.
71052
71053 2013-02-04 David S. Miller <davem@davemloft.net>
71054
71055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71056
71057 2013-02-04 Joseph Myers <joseph@codesourcery.com>
71058
71059 [BZ #13550]
71060 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71061 (__ubp_memchr): Remove prototype.
71062 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71063 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71064 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71065 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71066 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71067 Remove alias.
71068 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71069 (__ubp_memchr): Likewise.
71070 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71071 (__ubp_memchr): Likewise.
71072 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71073 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71074 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71075 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71076 CHECK_STRING.
71077 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71078 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71079 (__getcwd): Do not use CHECK_STRING.
71080 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71081 <bp-checks.h>.
71082 (__real_chown): Do not use CHECK_STRING.
71083 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71084 <bp-checks.h>.
71085 (fchownat): Do not use CHECK_STRING.
71086 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71087 CHECK_STRING.
71088 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71089 <bp-checks.h>.
71090 (__lchown): Do not use CHECK_STRING.
71091 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71092 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71093 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71094 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71096 include <bp-checks.h>.
71097 (truncate64): Do not use CHECK_STRING.
71098 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71099 <bp-checks.h>.
71100 (__real_chown): Do not use CHECK_STRING.
71101 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71102 <bp-checks.h>.
71103 (__lchown): Do not use CHECK_STRING.
71104 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71105 <bp-checks.h>.
71106 (__chown): Do not use CHECK_STRING.
71107 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71108 <bp-checks.h>.
71109 (truncate64): Do not use CHECK_STRING.
71110 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71111 Likewise.
71112 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71113 (__xmknod): Do not use CHECK_STRING.
71114 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71115 <bp-checks.h>.
71116 (__xmknodat): Do not use CHECK_STRING.
71117 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71118 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71119
71120 2013-02-04 Andreas Schwab <schwab@suse.de>
71121
71122 [BZ #14142]
71123 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71124 * include/netdb.h: Likewise for h_errno.
71125 * elf/tst-stackguard1.c: Include <tls.h>.
71126
71127 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71128
71129 * elf/link.h (struct link_map): Extend the l_addr comment.
71130 * include/link.h (struct link_map): Likewise.
71131
71132 2013-02-01 Joseph Myers <joseph@codesourcery.com>
71133
71134 [BZ #13550]
71135 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71136 (BOUNDED_1): Remove macro.
71137 * debug/backtrace.c: Don't include <bp-checks.h>.
71138 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71139 (__backtrace): Likewise.
71140 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71141 <bp-checks.h>.
71142 (__backtrace): Don't use BOUNDED_1.
71143 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71144 <bp-checks.h>.
71145 (__backtrace): Don't use BOUNDED_1.
71146 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71147 (__backtrace): Don't use BOUNDED_1.
71148 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71149 (shmat): Don't use BOUNDED_N.
71150
71151 2013-01-31 Joseph Myers <joseph@codesourcery.com>
71152
71153 [BZ #13550]
71154 * sysdeps/generic/bp-start.h: Remove file.
71155 * csu/libc-start.c: Don't include <bp-start.h>.
71156 (LIBC_START_MAIN): Set up __environ directly instead of using
71157 INIT_ARGV_and_ENVIRON.
71158 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71159 <bp-start.h>.
71160
71161 [BZ #13550]
71162 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71163 definitions.
71164 (CHECK_FCNTL): Likewise.
71165 (CHECK_N_PAGES): Likewise.
71166
71167 [BZ #13550]
71168 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71169 definitions.
71170 (CHECK_SIGSET_NULL_OK): Likewise.
71171 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71172 <bp-checks.h>.
71173 (sigpending): Don't use CHECK_SIGSET.
71174 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71175 <bp-checks.h>.
71176 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71177 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71178 <bp-checks.h>.
71179 (do_sigsuspend): Don't use CHECK_SIGSET.
71180 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71181 use CHECK_SIGSET.
71182 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71183 (do_sigwait): Don't use CHECK_SIGSET.
71184 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71185 use CHECK_SIGSET.
71186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71187 include <bp-checks.h>.
71188 (sigpending): Don't use CHECK_SIGSET.
71189 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71190 include <bp-checks.h>.
71191 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71192 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71193 <bp-checks.h>.
71194 (sigpending): Don't use CHECK_SIGSET.
71195 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71196 <bp-checks.h>.
71197 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71198
71199 [BZ #13550]
71200 * sysdeps/generic/bp-semctl.h: Remove file.
71201 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71202 <bp-checks.h> and <bp-semctl.h>.
71203 (__old_semctl): Don't use CHECK_SEMCTL.
71204 (__new_semctl): Likewise.
71205 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71206 and <bp-semctl.h>.
71207 (__old_semctl): Don't use CHECK_SEMCTL.
71208 (__new_semctl): Likewise.
71209 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71210 <bp-checks.h> and <bp-semctl.h>.
71211 (__old_semctl): Don't use CHECK_SEMCTL.
71212 (__new_semctl): Likewise.
71213 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71214 <bp-checks.h> and <bp-semctl.h>.
71215 (semctl): Don't use CHECK_SEMCTL.
71216
71217 [BZ #13550]
71218 * Makerules (elide-bp-thunks): Remove variable.
71219 (elide-routines.oS): Don't use $(elide-bp-thunks).
71220 (elide-routines.os): Likewise.
71221 (elide-routines.o): Likewise.
71222 (elide-routines.op): Likewise.
71223 (elide-routines.og): Likewise.
71224 (objects): Don't use $(bp-thunks).
71225 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71226 include.
71227 (common-generated): Do not add s-proto-bp.d.
71228 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71229 (int): Likewise.
71230 (typ): Likewise.
71231 Do not generate makefile rules for bounded-pointer thunks.
71232 * sysdeps/generic/bp-thunks.h: Remove file.
71233 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71234 * sysdeps/unix/s-proto-bp.S: Likewise.
71235
71236 [BZ #15062]
71237 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71238 parts of result separately when argument is not close to line from
71239 -i to i and one part of argument is small.
71240 * math/k_casinhf.c (__kernel_casinhf): Likewise.
71241 * math/k_casinhl.c (__kernel_casinhl): Likewise.
71242 * math/libm-test.inc (cacos_test): Add more tests.
71243 (casin_test): Likewise.
71244 (casinh_test): Likewise.
71245 * sysdeps/i386/fpu/libm-test-ulps: Update.
71246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71247
71248 2013-01-31 David S. Miller <davem@davemloft.net>
71249
71250 * po/de.po: Update from translation team.
71251
71252 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
71253
71254 * time/tzfile.c: Include stdint.h for SIZE_MAX.
71255
71256 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
71257
71258 * configure.in (_AC_PROG_CC_C89): New definition.
71259 * configure: Regenerate.
71260
71261 * configure.in (AC_PROG_CPP): New definition.
71262 * configure: Regenerate.
71263
71264 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71265
71266 * debug/tst-backtrace.h: New file.
71267 * debug/tst-backtrace2.c: Include tst-backtrace.h.
71268 (ret): Remove variable.
71269 (x): Likewise.
71270 (FAIL): Remove macro.
71271 (NO_INLINE): Likewise.
71272 (fn1): Use match function instead of strstr.
71273 * debug/tst-backtrace3.c: Include tst-backtrace.h.
71274 (ret): Remove variable.
71275 (x): Likewise.
71276 (FAIL): Remove macro.
71277 (NO_INLINE): Likewise.
71278 (fn): Use match function instead of strstr.
71279 * debug/tst-backtrace4.c: Include tst-backtrace.h.
71280 (ret): Remove variable.
71281 (x): Likewise.
71282 (FAIL): Remove macro.
71283 (NO_INLINE): Likewise.
71284 (handle_signal): Use match function instead of strstr.
71285 * debug/tst-backtrace5.c: Include tst-backtrace.h.
71286 (ret): Remove variable.
71287 (x): Likewise.
71288 (FAIL): Remove macro.
71289 (NO_INLINE): Likewise.
71290 (handle_signal): Use match function instead of strstr.
71291
71292 2013-01-23 Roland McGrath <roland@hack.frob.com>
71293
71294 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71295
71296 2013-01-23 David S. Miller <davem@davemloft.net>
71297
71298 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71299 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71300 argument of CAS if possible.
71301 * sysdeps/sparc/sparc64/bits/atomic.h
71302 (__arch_compare_and_exchange_val_32_acq): Likewise.
71303 (__arch_compare_and_exchange_val_64_acq): Likewise.
71304
71305 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
71306
71307 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71308 * sysdeps/posix/ulimit.c: ... this.
71309 Include <limits.h>.
71310 * sysdeps/unix/bsd/ulimit.c: Remove file.
71311
71312 2013-01-23 Adam Conrad <adconrad@0c3.net>
71313
71314 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71315 (LDFLAGS-tst-array5): Likewise.
71316
71317 2013-01-23 Joseph Myers <joseph@codesourcery.com>
71318
71319 [BZ #15036]
71320 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71321 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71322 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71323 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71324
71325 2013-01-21 David S. Miller <davem@davemloft.net>
71326
71327 * sysdeps/sparc/backtrace.c: New file.
71328 * sysdeps/sparc/sparc32/backtrace.h: New file.
71329 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71330 * sysdeps/sparc/sparc64/backtrace.h: New file.
71331 * sysdeps/sparc/sparc64/backtrace.c: Delete.
71332 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71333 -funwind-tables.
71334
71335 2013-01-21 Andreas Schwab <schwab@suse.de>
71336
71337 [BZ #15020]
71338 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71339 closed its stdout.
71340
71341 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
71342
71343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71344 "mpa2.h".
71345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71346
71347 2013-01-18 Joseph Myers <joseph@codesourcery.com>
71348 Mark Mitchell <mark@codesourcery.com>
71349 Tom de Vries <tom@codesourcery.com>
71350 Paul Pluzhnikov <ppluzhnikov@google.com>
71351
71352 * debug/tst-backtrace2.c: New file.
71353 * debug/tst-backtrace3.c: Likewise.
71354 * debug/tst-backtrace4.c: Likewise.
71355 * debug/tst-backtrace5.c: Likewise.
71356 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71357 (CFLAGS-tst-backtrace3.c): Likewise.
71358 (CFLAGS-tst-backtrace4.c): Likewise.
71359 (CFLAGS-tst-backtrace5.c): Likewise.
71360 (LDFLAGS-tst-backtrace2): Likewise.
71361 (LDFLAGS-tst-backtrace3): Likewise.
71362 (LDFLAGS-tst-backtrace4): Likewise.
71363 (LDFLAGS-tst-backtrace5): Likewise.
71364 (tests): Add new tests tst-backtrace2, tst-backtrace3,
71365 tst-backtrace4 and tst-backtrace5.
71366
71367 2013-01-18 Anton Blanchard <anton@samba.org>
71368 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
71369
71370 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71371 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71372 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71373 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71375 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71376 "+r" and remove output regs list as redundant. Add explicit inline
71377 asm to specify register of return val to work around compiler codegen
71378 bug. Remove (int) cast on return value. Add return type parameter to
71379 use in macro so that this macro does not truncate return value for
71380 64-bit values.
71381 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71382 pass to INTERNAL_VSYSCALL_NCS.
71383 (INLINE_VSYSCALL): Add 'long int' as return type to
71384 INTERNAL_VSYSCALL_NCS macro invocation.
71385 (INTERNAL_VSYSCALL): Add 'long int' as return type to
71386 INTERNAL_VSYSCALL_NCS macro invocation.
71387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71388
71389 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
71390
71391 [BZ #14496]
71392 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71393 Fix application of SIMD FP exception mask.
71394
71395 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71396 mp_no from a power of two.
71397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71398 __mpexp_twomm1. Use __pow_mp.
71399
71400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71401 multiplication.
71402
71403 2013-01-17 David S. Miller <davem@davemloft.net>
71404
71405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71406
71407 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71408
71409 [BZ #15023]
71410 * include/complex.h: Condition contents on [!_COMPLEX_H].
71411 (__kernel_casinhf): New prototype.
71412 (__kernel_casinh): Likewise.
71413 (__kernel_casinhl): Likewise.
71414 * math/Makefile (libm_calls): Add k_casinh.
71415 * math/k_casinh.c: New file.
71416 * math/k_casinhf.c: Likewise.
71417 * math/k_casinhl.c: Likewise.
71418 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71419 finite nonzero arguments.
71420 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71421 finite nonzero arguments.
71422 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71423 finite nonzero arguments.
71424 * math/s_casinh.c: Do not include <float.h>.
71425 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71426 * math/s_casinhf.c: Do not include <float.h>.
71427 (__casinhf): Move code for finite nonzero arguments to
71428 k_casinhf.c.
71429 * math/s_casinhl.c: Do not include <float.h>.
71430 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71431 redefine.
71432 (__casinhl): Move code for finite nonzero arguments to
71433 k_casinhl.c.
71434 * math/libm-test.inc (cacos_test): Add more tests.
71435 * sysdeps/i386/fpu/libm-test-ulps: Update.
71436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71437
71438 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
71439
71440 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71441 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71442 [!HAVE_MREMAP]: Remove [defined linux] case.
71443 * malloc/arena.c: Do not include <malloc-sysdep.h>.
71444
71445 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
71446
71447 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71448
71449 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
71450
71451 * elf/elf.h (R_386_SIZE32): New relocation.
71452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71453 R_386_SIZE32.
71454 (elf_machine_rela): Likewise.
71455 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71456 R_X86_64_SIZE64 and R_X86_64_SIZE32.
71457
71458 2013-01-17 Joseph Myers <joseph@codesourcery.com>
71459
71460 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71461 (FP_FAST_FMA): Do not define.
71462 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71463 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71464 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71465 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71466 !_SOFT_FLOAT]: Likewise.
71467 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71468 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71469 value.
71470 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71471 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71472 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71473 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71474 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71475 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71476 file.
71477
71478 2013-01-16 Andreas Schwab <schwab@suse.de>
71479
71480 [BZ #14327]
71481 * include/stdlib.h (__mktemp): Add declaration.
71482 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71483 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71484
71485 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
71486
71487 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71488 definitions.
71489 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71490 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71491 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71492 definitions here.
71493 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71494 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71495 definitions.
71496 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71497 and ONE.
71498 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71499 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71500 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71501 definitions.
71502 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71503 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71504 definitions.
71505 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71506
71507 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71508
71509 2013-01-15 David S. Miller <davem@davemloft.net>
71510
71511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71512 trunc{,f} to libm-sysdep_routes.
71513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71515 file.
71516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71518 file.
71519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71520 file.
71521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71523 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71524 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71525 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71526 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71527 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71528 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71529
71530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71531 nearbyint{,f} to libm-sysdep_routes.
71532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71534 New file.
71535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71536 file.
71537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71538 New file.
71539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71540 file.
71541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71544 file.
71545 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71546 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71547 file.
71548 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71549 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71550 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71551
71552 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71553 libc_feholdexcept and libc_fesetenv.
71554
71555 2013-01-15 Mike Frysinger <vapier@gentoo.org>
71556
71557 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71558
71559 2013-01-14 David S. Miller <davem@davemloft.net>
71560
71561 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71562 (SPARC_ASM_VIS2_IFUNC): Likewise.
71563 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71565 use of 'siam' instruction.
71566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71567 Likewise.
71568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71569 Likewise.
71570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71571 Likewise.
71572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71577 file.
71578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71579 file.
71580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71581 file.
71582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71583 file.
71584 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71585 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71589 new VIS2 routines.
71590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71593 Likewise.
71594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71599 routines to libm-sysdep_routines.
71600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71601
71602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71603 fdim/fdimf to libm-sysdep_routines.
71604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71605 file.
71606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71608 file.
71609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71612 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71613 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71614 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71615 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71616
71617 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71618
71619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71620 to optimize copies.
71621
71622 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71625
71626 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71627 local variable MPTWO.
71628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71629 Likewise.
71630
71631 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71632
71633 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71634 GLOB_NOESCAPE.
71635
71636 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71637
71638 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71639
71640 2013-01-13 Mike Frysinger <vapier@gentoo.org>
71641
71642 * manual/pattern.texi (glob_t): Document gl_flags.
71643 (glob64_t): Likewise.
71644
71645 2013-01-11 David S. Miller <davem@davemloft.net>
71646
71647 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71648 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71649 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
71650 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71651 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71652 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71653 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71654 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71655 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71656 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71657 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
71658 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
71659 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
71660
71661 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71662 sparc V9 rather than using V8 code.
71663 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71664 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71665
71666 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71667 Move to...
71668 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
71669 Here.
71670
71671 2013-01-11 Roland McGrath <roland@hack.frob.com>
71672
71673 [BZ #14941]
71674 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
71675 not in the main loop.
71676 * configure: Regenerated.
71677
71678 2013-01-11 Joseph Myers <joseph@codesourcery.com>
71679
71680 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
71681 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
71682 to just #else.
71683 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
71684 [!__GLIBC_HAVE_LONG_LONG] case.
71685 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
71686 condition to just #else.
71687 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71688 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
71689 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
71690 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
71691 unconditional.
71692 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
71693 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71694 #elif condition to just #else.
71695 * sysdeps/unix/sysv/linux/sys/sysmacros.h
71696 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
71697 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71698 #elif condition to just #else.
71699
71700 2013-01-11 Steve Ellcey <sellcey@mips.com>
71701
71702 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
71703 (EF_MIPS_ARCH_64): Fix value.
71704 (EF_MIPS_ARCH_32R2): New.
71705 (EF_MIPS_ARCH_64R2): New.
71706
71707 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
71708
71709 * Makeconfig (+link-pie-before-libc): New.
71710 (+link-pie-after-libc): Likewise.
71711 (+link-pie-tests): Likewise.
71712 (+link-pie): Rewritten.
71713 (link-before-libc): Remove $(config-LDFLAGS).
71714 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
71715 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
71716 (config-LDFLAGS): Renamed to ...
71717 (rtld-LDFLAGS): This.
71718 (rtld-tests-LDFLAGS): New macro.
71719 (link-libc-rpath-link): Likewise.
71720 (link-libc-tests-rpath-link): Likewise.
71721 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
71722 (link-libc): Prepand $(link-libc-rpath-link).
71723 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
71724 (test-program-prefix): New macro.
71725 (test-via-rtld-prefix): Likewise.
71726 (test-program-cmd): Likewise.
71727 (host-test-program-cmd): Likewise.
71728 * Makefile ($(common-objpfx)testrun.sh): Replace
71729 $(run-program-prefix) with $(test-program-prefix).
71730 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
71731 $(rtld-LDFLAGS).
71732 ($(common-objpfx)shlib.lds): Likewise.
71733 (build-module-helper): Likewise.
71734 ($(common-objpfx)format.lds): Likewise.
71735 * Rules (binaries-pie-tests): New.
71736 (binaries-pie-notests): Likewise.
71737 (binaries-pie): Rewritten.
71738 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
71739 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
71740 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
71741 (make-test-out): Replace $(host-built-program-cmd) with
71742 $(host-test-program-cmd).
71743 * config.make.in (build-hardcoded-path-in-tests): New variable.
71744 * configure.in (--enable-hardcoded-path-in-tests): New configure
71745 option.
71746 (hardcoded_path_in_tests): New AC_SUBST.
71747 * configure: Regenerated.
71748 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
71749 $(built-program-cmd) with $(test-program-cmd).
71750 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
71751 (test_program_cmd): This.
71752 * elf/Makefile ($(objpfx)order.out): Run test with
71753 $(test-program-prefix).
71754 ($(objpfx)order2.out): Likewise.
71755 ($(objpfx)tst-initorder.out): Likewise.
71756 ($(objpfx)tst-initorder2.out): Likewise.
71757 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
71758 $(test-program-cmd).
71759 ($(objpfx)tst-array1-static.out): Likewise.
71760 ($(objpfx)tst-array2.out): Likewise.
71761 ($(objpfx)tst-array3.out): Likewise.
71762 ($(objpfx)tst-array4.out): Likewise.
71763 ($(objpfx)tst-array5.out): Likewise.
71764 ($(objpfx)tst-array5-static.out): Likewise.
71765 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
71766 $(test-program-cmd).
71767 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
71768 $(run-program-prefix) with $(test-program-prefix).
71769 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71770 (test_program_prefix): This.
71771 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
71772 $(run-program-prefix) with $(test-program-prefix).
71773 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
71774 (test_program_prefix): This.
71775 * iconvdata/tst-tables.sh: Likewise.
71776 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71777 $(run-program-prefix) with $(test-program-prefix).
71778 ($(objpfx)tst-translit.out): Likewise.
71779 ($(objpfx)tst-gettext2.out): Likewise.
71780 ($(objpfx)tst-gettext4.out): Likewise.
71781 ($(objpfx)tst-gettext6.out): Likewise.
71782 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71783 (test_program_prefix): This.
71784 * intl/tst-gettext2.sh: Likewise.
71785 * intl/tst-gettext4.sh Likewise.
71786 * intl/tst-gettext6.sh: Likewise.
71787 * intl/tst-translit.sh: Likewise.
71788 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71789 with $(test-program-cmd).
71790 * libio/Makefile ($(objpfx)test-freopen.out): Replace
71791 $(run-program-prefix) with $(test-program-prefix).
71792 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71793 (test_program_prefix): This.
71794 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71795 $(run-program-prefix) with $(test-program-prefix).
71796 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71797 (test_program_prefix): This.
71798 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71799 * posix/Makefile ($(objpfx)globtest.out): Replace
71800 $(run-via-rtld-prefix) and $(test-wrapper) with
71801 $(test-program-prefix) and $(test-via-rtld-prefix).
71802 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71803 $(test-program-prefix).
71804 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71805 $(host-test-program-cmd).
71806 (tst-spawn-ARGS): Likewise.
71807 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71808 $(test-program-prefix).
71809 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71810 (test_via_rtld_prefix): This.
71811 (test_wrapper): Renamed to ...
71812 (test_program_prefix): This.
71813 (run_program_prefix): Replaced by test_program_prefix.
71814 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71815 (test_program_prefix): This.
71816 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71817 with $(host-test-program-cmd).
71818 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71819 $(run-program-prefix) with $(test-program-prefix).
71820 ($(objpfx)tst-printf.out): Likewise.
71821 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71822 $(test-program-cmd).
71823 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71824 (test_program_prefix): This.
71825 * stdio-common/tst-unbputc.sh: Likewise.
71826 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71827 $(run-program-prefix) with $(test-program-prefix).
71828 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71829 (test_program_prefix): This.
71830 * string/Makefile ($(objpfx)tst-svc.out): Replace
71831 $(built-program-cmd) with $(test-program-cmd).
71832
71833 2013-01-11 Andreas Jaeger <aj@suse.de>
71834
71835 [BZ #15003]
71836 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71837 value. Sync with Linux 3.7.
71838
71839 2013-01-10 David S. Miller <davem@davemloft.net>
71840
71841 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71842 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71843 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71844
71845 2013-01-10 Roland McGrath <roland@hack.frob.com>
71846
71847 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71848 never set.
71849 * configure: Regenerated.
71850
71851 2013-01-10 David S. Miller <davem@davemloft.net>
71852
71853 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71854 sparc V9 rather than using V8 code.
71855 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71856 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71857
71858 2013-01-10 Roland McGrath <roland@hack.frob.com>
71859
71860 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71861 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71862 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71863 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71864 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71865 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71866 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71867 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71868 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71869 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71870 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71871 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71872 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71873 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71874 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71875 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71876 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71877 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71878 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71879 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71880 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71881 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71882 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71883 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71884 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71885 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71886 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71887
71888 2013-01-10 David S. Miller <davem@davemloft.net>
71889
71890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71891
71892 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
71893
71894 * posix/Makefile (tests-static): New variable.
71895 (tests): Add $(tests-static).
71896 (tst-exec-static-ARGS): New variable.
71897 (tst-spawn-static-ARGS): Likewise.
71898 * posix/tst-exec-static.c: New file.
71899 * posix/tst-spawn-static.c: Likewise.
71900 * posix/tst-exec.c: Support run directly.
71901 * posix/tst-spawn.c: Likewise.
71902
71903 2013-01-10 Joseph Myers <joseph@codesourcery.com>
71904
71905 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71906 long.
71907 * math/bits/mathcalls.h (llrint): Likewise.
71908 (llround): Likewise.
71909 * stdlib/stdlib.h (struct drand48_data): Likewise.
71910 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71911 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71912 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71913 Likewise.
71914 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71915 Likewise.
71916 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71917 (elf_greg_t): Likewise.
71918 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71919 (__jmp_buf): Likewise.
71920 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71921 definitions.
71922 (llrint): Likewise, for all definitions.
71923 (llrintl): Likewise.
71924
71925 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71926 Remove [__GNUC__] condition.
71927 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71928 condition to just [__USE_ISOC99].
71929 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71930
71931 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
71932
71933 [BZ #14200]
71934 * sysdeps/unix/sysv/linux/x86/bits/environments.h
71935 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71936 defined.
71937 (_POSIX_V6_ILP32_OFF32): Likewise.
71938 (_XBS5_ILP32_OFF32): Likewise.
71939 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71940 (__ILP32_OFFBIG_LDFLAGS): Likewise.
71941
71942 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
71943
71944 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71945
71946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71947 doubles __mpexp_twomm1. Adjust usage.
71948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71949 Remove.
71950
71951 2013-01-10 Andreas Schwab <schwab@suse.de>
71952
71953 [BZ #14964]
71954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71955 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71956
71957 2013-01-09 David S. Miller <davem@davemloft.net>
71958
71959 [BZ #15003]
71960 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71961 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71962 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71963 (TCP_FASTOPEN): Define.
71964 (tcp_repair_opt): New structure.
71965 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71966 enum values.
71967 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71968 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71969 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71970 (tcp_cookie_transactions): New structure.
71971
71972 2013-01-09 Anton Blanchard <anton@samba.org>
71973
71974 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71975 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71976 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71977 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71978
71979 2013-01-09 Joseph Myers <joseph@codesourcery.com>
71980
71981 * include/features.h (__USE_ANSI): Remove.
71982
71983 2013-01-09 Roland McGrath <roland@hack.frob.com>
71984
71985 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71986
71987 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71988
71989 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
71990
71991 * sysdeps/s390/fpu/libm-test-ulps: Update.
71992
71993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71994
71995 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71996 (__acr): Likewise.
71997 (__cpy): Likewise.
71998 (norm): Likewise.
71999 (denorm): Likewise.
72000 (__mp_dbl): Likewise.
72001 (__dbl_mp): Likewise.
72002 (add_magnitudes): Likewise.
72003 (sub_magnitudes): Likewise.
72004 (__add): Likewise.
72005 (__sub): Likewise.
72006 (__mul): Likewise.
72007 (__inv): Likewise.
72008 (__dvd): Likewise.
72009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72010 (__acr): Likewise.
72011 (__cpy): Likewise.
72012 (norm): Likewise.
72013 (denorm): Likewise.
72014 (__mp_dbl): Likewise.
72015 (__dbl_mp): Likewise.
72016 (add_magnitudes): Likewise.
72017 (sub_magnitudes): Likewise.
72018 (__add): Likewise.
72019 (__sub): Likewise.
72020 (__mul): Likewise.
72021 (__inv): Likewise.
72022 (__dvd): Likewise.
72023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72024 (__acr): Likewise.
72025 (__cpy): Likewise.
72026 (norm): Likewise.
72027 (denorm): Likewise.
72028 (__mp_dbl): Likewise.
72029 (__dbl_mp): Likewise.
72030 (add_magnitudes): Likewise.
72031 (sub_magnitudes): Likewise.
72032 (__add): Likewise.
72033 (__sub): Likewise.
72034 (__mul): Likewise.
72035 (__inv): Likewise.
72036 (__dvd): Likewise.
72037
72038 2013-01-08 Joseph Myers <joseph@codesourcery.com>
72039
72040 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72041 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72042 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72043 2 && __USE_EXTERN_INLINES]: Likewise.
72044
72045 2013-01-08 Andreas Jaeger <aj@suse.de>
72046
72047 [BZ #14985]
72048 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72049 Remove.
72050 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72051 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72052
72053 2013-01-07 Anton Blanchard <anton@samba.org>
72054
72055 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72056 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72057 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72058 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72059 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72060 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72061 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72062 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72064 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72065 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72066 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72069 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72070 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72071 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72073 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72074 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72076 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72078 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72079 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72080 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72081 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72082 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72083 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72084 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72085 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72087 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72088 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72089 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72090 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72091 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72093 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72094 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72095 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72096 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72097 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72098
72099 2013-01-07 Joseph Myers <joseph@codesourcery.com>
72100
72101 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72102 (__MALLOC_PMT): Likewise.
72103 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72104 [__GNUC__], only on [_LIBC].
72105 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72106 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72107 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72108 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72109 forward declaration.
72110 (realloc_hook_ini): Likewise.
72111 (memalign_hook_ini): Likewise.
72112 (__libc_memalign): Do not use __MALLOC_PMT in variable
72113 declaration.
72114 (__libc_valloc): Likewise.
72115 (__libc_pvalloc): Likewise.
72116 (__libc_calloc): Likewise.
72117 (__posix_memalign): Likewise.
72118
72119 [BZ #14996]
72120 * math/s_casinh.c: Include <float.h>.
72121 (__casinh): Do not do computation with squaring and square root
72122 for large arguments.
72123 * math/s_casinhf.c: Include <float.h>.
72124 (__casinhf): Do not do computation with squaring and square root
72125 for large arguments.
72126 * math/s_casinhl.c: Include <float.h>.
72127 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72128 (__casinhl): Do not do computation with squaring and square root
72129 for large arguments.
72130 * math/libm-test.inc (casin_test): Add more tests.
72131 (casinh_test): Likewise.
72132 * sysdeps/i386/fpu/libm-test-ulps: Update.
72133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72134
72135 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
72136
72137 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72138 (__x86_64_raw_data_cache_size): Likewise.
72139 (__x86_64_data_cache_size_half): Likewise.
72140 (__x86_64_raw_data_cache_size_half): Likewise.
72141 (__x86_64_shared_cache_size): Likewise.
72142 (__x86_64_raw_shared_cache_size): Likewise.
72143 (__x86_64_shared_cache_size_half): Likewise.
72144 (__x86_64_raw_shared_cache_size_half): Likewise.
72145 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72146 to ...
72147 (__x86_data_cache_size): This.
72148 (__x86_64_raw_data_cache_size): Renamed to ...
72149 (__x86_raw_data_cache_size): This.
72150 (__x86_64_data_cache_size_half): Renamed to ...
72151 (__x86_data_cache_size_half): This.
72152 (__x86_64_raw_data_cache_size_half): Renamed to ...
72153 (__x86_raw_data_cache_size_half): This.
72154 (__x86_64_shared_cache_size): Renamed to ...
72155 (__x86_shared_cache_size): This.
72156 (__x86_64_raw_shared_cache_size): Renamed to ...
72157 (__x86_raw_shared_cache_size): This.
72158 (__x86_64_shared_cache_size_half): Renamed to ...
72159 (__x86_shared_cache_size_half): This.
72160 (__x86_64_raw_shared_cache_size_half): Renamed to ...
72161 (__x86_raw_shared_cache_size_half): This.
72162 * sysdeps/x86_64/memcpy.S: Updated.
72163 * sysdeps/x86_64/memset.S: Likewise.
72164 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72165 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72167
72168 2013-01-04 David S. Miller <davem@davemloft.net>
72169
72170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72171
72172 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
72173
72174 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72175 1 to avoid redefinition warning.
72176 (__USE_GNU): Don't define.
72177 (init_signaling_nan): Protoize.
72178
72179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72180
72181 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72182
72183 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72185 (__cpymn): Likewise.
72186 (norm): Remove commented code.
72187 (denorm): Likewise.
72188 (__mp_dbl): Likewise.
72189 (__inv): Likewise.
72190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72191 (__cpymn): Likewise.
72192 (norm): Remove commented code.
72193 (denorm): Likewise.
72194 (__mp_dbl): Likewise.
72195 (__inv): Likewise.
72196
72197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72198 mp_no value for 1.0 and 2.0.
72199 (norm): Use RADIXI instead of radixi.d.
72200 (denorm): Likewise.
72201 (__mul): Use 0.0 instead of zero.d.
72202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72203 mp_no value for 1.0 and 2.0.
72204 (norm): Use RADIXI instead of radixi.d.
72205 (denorm): Likewise.
72206 (__mul): Use 0.0 instead of zero.d.
72207
72208 2013-01-04 Joseph Myers <joseph@codesourcery.com>
72209
72210 [BZ #14994]
72211 * math/s_casinh.c (__casinh): Reduce finite argument to first
72212 quadrant then set signs of results at the end.
72213 * math/s_casinhf.c (__casinhf): Likewise.
72214 * math/s_casinhl.c (__casinhl): Likewise.
72215 * math/libm-test.inc (casin_test): Add more tests.
72216 (casinh_test): Likewise.
72217 * sysdeps/i386/fpu/libm-test-ulps: Update.
72218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72219
72220 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
72221
72222 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72223
72224 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72225
72226 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72227 declarations.
72228 (denorm): Likewise.
72229 (__mp_dbl): Likewise.
72230 (__inv): Likewise.
72231
72232 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72233 and adjust the header comment.
72234
72235 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72236 variable name from declaration.
72237
72238 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
72239
72240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72241 Initialize COMMON_CPUID_INDEX_7 element.
72242 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72243 (CPUID_RTM): Likewise.
72244 (HAS_RTM): Likewise.
72245 (COMMON_CPUID_INDEX_7): New enum.
72246
72247 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
72248
72249 [BZ #14981]
72250 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72251 size is zero, record memory as freed.
72252
72253 2013-01-03 Andreas Jaeger <aj@suse.de>
72254
72255 * po/ia.po: Add new Interlingua translation.
72256
72257 2012-01-03 Allan McRae <allan@archlinux.org>
72258
72259 * locale/programs/localedef.c: Fix description of '--posix' flag.
72260
72261 2013-01-02 Joseph Myers <joseph@codesourcery.com>
72262
72263 * NEWS: Update dates in second copyright notice.
72264 * README: Update copyright dates in example.
72265 * manual/libc.texinfo: Update copyright dates.
72266 * scripts/test-installation.pl: Update copyright date in --version
72267 output.
72268
72269 * hurd/ctty-input.c: Fix copyright notice formatting.
72270 * hurd/ctty-output.c: Likewise.
72271 * hurd/dtable.c: Likewise.
72272 * hurd/hurd-raise.c: Likewise.
72273 * hurd/hurdprio.c: Likewise.
72274 * hurd/msgportdemux.c: Likewise.
72275 * misc/sys/file.h: Likewise.
72276 * misc/sys/ioctl.h: Likewise.
72277 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72278 * sysdeps/mach/hurd/chdir.c: Likewise.
72279 * sysdeps/mach/hurd/fchdir.c: Likewise.
72280 * sysdeps/mach/hurd/rename.c: Likewise.
72281 * sysdeps/mach/hurd/rmdir.c: Likewise.
72282 * sysdeps/mach/hurd/seekdir.c: Likewise.
72283 * sysdeps/mach/hurd/setsid.c: Likewise.
72284 * sysdeps/posix/wait3.c: Likewise.
72285
72286 * All files with FSF copyright notices: Update copyright dates
72287 using scripts/update-copyrights.
72288 * intl/plural.c: Regenerated.
72289 * locale/programs/charmap-kw.h: Likewise.
72290 * locale/programs/locfile-kw.h: Likewise.
72291
72292 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
72293
72294 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72295 four values.
72296
72297 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72298 calculation loop and add branch prediction.
72299
72300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72301 check access beyond bounds of m1np.
72302
72303 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72304 MPTWO.
72305 (__inv): Remove local variable MPTWO to use the global
72306 constant.
72307 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72309 variable MPTWO.
72310 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72311 MP3HALFS static const.
72312
72313 2013-01-01 David S. Miller <davem@davemloft.net>
72314
72315 * po/ca.po: Update from translation team.
72316
72317 2013-01-01 Joseph Myers <joseph@codesourcery.com>
72318
72319 * scripts/update-copyrights: New file.
72320 * Makeconfig: Reformat copyright notice.
72321 * ctype/ctype.h: Likewise.
72322 * debug/swprintf_chk.c: Likewise.
72323 * elf/dl-cache.c: Likewise.
72324 * elf/dl-debug.c: Likewise.
72325 * elf/dl-object.c: Likewise.
72326 * grp/initgroups.c: Likewise.
72327 * hurd/Makefile: Likewise.
72328 * hurd/hurd/signal.h: Likewise.
72329 * hurd/hurdfault.c: Likewise.
72330 * hurd/hurdioctl.c: Likewise.
72331 * hurd/hurdlookup.c: Likewise.
72332 * hurd/intr-msg.c: Likewise.
72333 * iconv/gconv_open.c: Likewise.
72334 * libio/swprintf.c: Likewise.
72335 * locale/lc-ctype.c: Likewise.
72336 * locale/nl_langinfo.c: Likewise.
72337 * mach/Machrules: Likewise.
72338 * mach/Makefile: Likewise.
72339 * malloc/obstack.h: Likewise.
72340 * manual/Makefile: Likewise.
72341 * manual/tsort.awk: Likewise.
72342 * misc/bits/stab.def: Likewise.
72343 * nis/nis_print_group_entry.c: Likewise.
72344 * nis/nis_table.c: Likewise.
72345 * nis/nss_compat/compat-pwd.c: Likewise.
72346 * nis/nss_compat/compat-spwd.c: Likewise.
72347 * po/Makefile: Likewise.
72348 * posix/fnmatch.c: Likewise.
72349 * posix/regex.h: Likewise.
72350 * resolv/Makefile: Likewise.
72351 * resolv/nss_dns/dns-network.c: Likewise.
72352 * resolv/res_hconf.c: Likewise.
72353 * scripts/gen-sorted.awk: Likewise.
72354 * soft-fp/soft-fp.h: Likewise.
72355 * stdio-common/printf.h: Likewise.
72356 * stdlib/monetary.h: Likewise.
72357 * stdlib/random.c: Likewise.
72358 * stdlib/random_r.c: Likewise.
72359 * sysdeps/generic/Makefile: Likewise.
72360 * sysdeps/gnu/Makefile: Likewise.
72361 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72368 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72369 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72371 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72372 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72373 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72374 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72375 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72376 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72377 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72381 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72382 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72383 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72384 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72385 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72386 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72387 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72388 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72389 * sysdeps/mach/hurd/errnos.awk: Likewise.
72390 * sysdeps/mach/hurd/fork.c: Likewise.
72391 * sysdeps/mach/hurd/getcwd.c: Likewise.
72392 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72393 * sysdeps/mach/hurd/mmap.c: Likewise.
72394 * sysdeps/mach/hurd/utimes.c: Likewise.
72395 * sysdeps/mach/hurd/xmknod.c: Likewise.
72396 * sysdeps/posix/profil.c: Likewise.
72397 * sysdeps/posix/readdir_r.c: Likewise.
72398 * sysdeps/powerpc/bits/mathdef.h: Likewise.
72399 * sysdeps/powerpc/bits/setjmp.h: Likewise.
72400 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72401 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72403 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72404 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72405 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72407 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72408 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72409 * sysdeps/pthread/lio_listio.c: Likewise.
72410 * sysdeps/sparc/dl-procinfo.h: Likewise.
72411 * sysdeps/unix/i386/sysdep.S: Likewise.
72412 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72413 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72414 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72415 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72417 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72418 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72419 * sysdeps/unix/sysv/linux/speed.c: Likewise.
72420 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72421 * sysdeps/wordsize-32/divdi3.c: Likewise.
72422 * time/sys/time.h: Likewise.
72423 * wcsmbs/Makefile: Likewise.
72424
72425 2013-01-01 David S. Miller <davem@davemloft.net>
72426
72427 * po/fr.po: Update from translation team.
72428
72429 * catgets/gencat.c: Update copyright year.
72430 * csu/version.c: Likewise.
72431 * debug/catchsegv.sh: Likewise.
72432 * debug/pcprofiledump.c: Likewise.
72433 * debug/xtrace.sh: Likewise.
72434 * elf/ldconfig.c: Likewise.
72435 * elf/ldd.bash.in: Likewise.
72436 * elf/pldd.c: Likewise.
72437 * elf/sotruss.ksh: Likewise.
72438 * elf/sprof.c: Likewise.
72439 * iconv/iconv_prog.c: Likewise.
72440 * iconv/iconvconfig.c: Likewise.
72441 * locale/programs/locale.c: Likewise.
72442 * locale/programs/localedef.c: Likewise.
72443 * login/programs/pt_chown.c: Likewise.
72444 * malloc/memusage.sh: Likewise.
72445 * malloc/memusagestat.c: Likewise.
72446 * malloc/mtrace.pl: Likewise.
72447 * nscd/nscd.c: Likewise.
72448 * nss/getent.c: Likewise.
72449 * nss/makedb.c: Likewise.
72450 * posix/getconf.c: Likewise.
72451
72452 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
72453
72454 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72455 numbers.
72456
72457 2012-12-30 Mike Frysinger <vapier@gentoo.org>
72458
72459 * math/bits/mathcalls.h (modf): Use __nonnull.
72460
72461 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
72462
72463 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72464 (split): Use macro CN instead of the bare value.
72465 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72466 could be used.
72467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72468 instead of the bare value.
72469 (power1): Likewise.
72470
72471 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72472
72473 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72474 __ATAN_TWOM.
72475 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72476
72477 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72478 their values.
72479 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72480 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72481 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72482 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72483
72484 2012-12-28 Andreas Jaeger <aj@suse.de>
72485
72486 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
72487 values are from Linux 3.7.
72488
72489 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72490 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
72491
72492 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72493
72494 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72495 TRUE case.
72496
72497 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72498 (norm): Likewise.
72499 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72500 variables with preprocessor constants.
72501 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72502 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72503 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72504
72505 2012-12-27 Bruno Haible <bruno@clisp.org>
72506
72507 [BZ #14317]
72508 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72509 only if needed.
72510
72511 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72512
72513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72514 and use variable directly.
72515 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72516
72517 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72518 MPONE.
72519 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72520 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72521 variable MPONE.
72522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72524 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72525 include directive. Remove local variable MPONE.
72526 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72527 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72528 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72529
72530 2012-12-25 David S. Miller <davem@davemloft.net>
72531
72532 * version.h (RELEASE): Set to "development".
72533 (VERSION): Set to "2.17.90".
72534 * NEWS: Add 2.18 section.
72535
72536 2012-12-21 David S. Miller <davem@davemloft.net>
72537
72538 * po/hr.po: Update from translation team.
72539
72540 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72541
72542 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72543
72544 2012-12-19 Steve Ellcey <sellcey@mips.com>
72545
72546 * NEWS: Mention new memcpy for MIPS.
72547
72548 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
72549
72550 * manual/contrib.texi (Contributors): Spelling correction.
72551
72552 2012-12-15 David S. Miller <davem@davemloft.net>
72553
72554 * po/ru.po: Update from translation team.
72555
72556 2012-12-13 David S. Miller <davem@davemloft.net>
72557
72558 * NEWS: Mention IFUNC testsuite enhancements.
72559
72560 * po/pl.po: Update from translation team.
72561 * po/bg.po: Likewise.
72562
72563 * manual/contrib.texi (Contributors): Update entries for Hongjiu
72564 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
72565
72566 2012-12-11 David S. Miller <davem@davemloft.net>
72567
72568 * po/sv.po: Update from translation team.
72569
72570 * po/vi.po: Update from translation team.
72571
72572 * po/cs.po: Update from translation team.
72573
72574 * po/de.po: Update from translation team.
72575 * po/eo.po: Likewise.
72576 * po/nl.po: Likewise.
72577
72578 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
72579
72580 [BZ #14246]
72581 * manual/argp.texi (Argp Helper Functions): Move node to follow
72582 Argp Parsing State.
72583
72584 [BZ #14872]
72585 * manual/conf.texi (Limits on File System Capacity): Mention if
72586 terminating null is included in the max size.
72587
72588 2012-12-10 Andreas Jaeger <aj@suse.de>
72589
72590 * po/cs.po: Update from translation team.
72591
72592 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
72593
72594 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72595 void pointer and cast to uintptr_t.
72596 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72597 path.
72598 * sysdeps/s390/s390-64/memcpy.S: Likewise.
72599 * sysdeps/s390/s390-64/memset.S: Likewise.
72600
72601 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
72602
72603 [BZ #14833]
72604 * menual/message.texi (Message Translation): Fix typos.
72605 (Helper programs for gettext): Likewise.
72606
72607 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
72608
72609 [BZ #14898]
72610 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72611 Change to -1.
72612
72613 2012-12-07 David S. Miller <davem@davemloft.net>
72614
72615 * po/libc.pot: Update.
72616
72617 2012-12-07 Richard Henderson <rth@redhat.com>
72618
72619 [BZ #10114]
72620 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72621 normal/normal case to before the switch.
72622 (_FP_DIV): Likewise.
72623
72624 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
72625 Mike Frysinger <vapier@gentoo.org>
72626
72627 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72628 check for __NR_fadvise64_64.
72629
72630 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
72631
72632 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72633 0, not just to plain "0" as a statement.
72634 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72635 with cw.
72636
72637 2012-12-06 Joseph Myers <joseph@codesourcery.com>
72638
72639 * NEWS: Use sourceware.org in Bugzilla URL.
72640
72641 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
72642
72643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72644 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72645
72646 * stdio-common/tst-put-error.c (do_test): Add newline to the
72647 padded test to ensure flush.
72648
72649 2012-12-05 Jeff Law <law@redhat.com>
72650
72651 * sunrpc/etc.rpc (fedfs_admin): Add entry.
72652
72653 2012-12-05 Joseph Myers <joseph@codesourcery.com>
72654
72655 * README: Don't refer to ports add-on as distributed separately.
72656 Mention AArch64 in list of systems supported in the ports add-on.
72657
72658 * LICENSES: Add more non-FSF copyright and license notices.
72659
72660 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
72661 ((unused)).
72662
72663 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
72664
72665 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
72666 10000 as width of padded output.
72667
72668 2012-12-04 Joseph Myers <joseph@codesourcery.com>
72669
72670 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
72671
72672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72673 variable LX with __attribute__ ((unused)).
72674 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
72675 Likewise.
72676 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
72677 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72678 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72679 with __attribute__ ((unused)).
72680
72681 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
72682
72683 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
72684
72685 2012-12-04 Joseph Myers <joseph@codesourcery.com>
72686
72687 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
72688 (CFLAGS-nldbl-acos.c): New variable.
72689 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
72690 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
72691 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
72692 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
72693 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
72694 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
72695 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
72696 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
72697 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
72698 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
72699 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
72700 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
72701 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
72702 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
72703 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
72704 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
72705 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
72706 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
72707 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
72708 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
72709 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
72710 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
72711 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72712 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
72713 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
72714 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
72715 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
72716 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
72717 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
72718 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
72719 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72720 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
72721 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
72722 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
72723 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
72724 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
72725 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
72726 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
72727 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
72728 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
72729 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
72730 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
72731 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
72732 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
72733 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
72734 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
72735 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
72736 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
72737 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
72738 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
72739 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
72740 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72741 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
72742 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
72743 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
72744 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
72745 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
72746 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
72747 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
72748 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
72749 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
72750 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
72751 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72752 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
72753 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
72754 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
72755 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
72756 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
72757 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
72758 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
72759 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
72760 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
72761 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
72762 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
72763 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
72764 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
72765 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
72766 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
72767 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
72768 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
72769 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
72770 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
72771 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
72772 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
72773 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
72774 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
72775 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
72776 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72777 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72778 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72779 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72780 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72781 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72782 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72783 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72784 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72785 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72786
72787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72788 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72789
72790 [BZ #14914]
72791 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72792 whole low double instead of just low 47 bits when splitting values
72793 into two parts.
72794
72795 2012-12-03 Allan McRae <allan@archlinux.org>
72796
72797 * manual/stdio.texi (Predefined Printf Handlers): Remove
72798 @hsep and @vsep usage.
72799
72800 2012-12-03 Mike Frysinger <vapier@gentoo.org>
72801
72802 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72803 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72804
72805 2012-12-03 Jeff Law <law@redhat.com>
72806
72807 * time/sys/time.h (settimeofday): Do not mark TV argument
72808 as __nonnull.
72809
72810 2012-12-01 Mike Frysinger <vapier@gentoo.org>
72811
72812 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72813 when currently writing and seek to current position when not.
72814 * libio/Makefile (tests): Remove bug-fclose1.
72815 * libio/bug-fclose1.c: Delete.
72816
72817 2012-12-01 Joseph Myers <joseph@codesourcery.com>
72818
72819 * manual/arith.texi (feenableexcept): Fix typo.
72820 (fedisableexcept): Likewise.
72821
72822 2012-11-30 Roland McGrath <roland@hack.frob.com>
72823
72824 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72825 second, differently-typed declaration, rather than a cast.
72826
72827 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
72828
72829 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72830 * include/rpc/svc.h: ... here.
72831
72832 2012-11-30 Aurelien Jarno <aurel32@debian.org>
72833
72834 [BZ #13013]
72835 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72836 depending n and resplen2 to catch cases where answer
72837 equals answerp2.
72838
72839 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
72840
72841 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72842 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72843
72844 2012-11-29 Mike Frysinger <vapier@gentoo.org>
72845
72846 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72847
72848 2012-11-29 Roland McGrath <roland@hack.frob.com>
72849
72850 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72851
72852 2012-11-28 Jeff Law <law@redhat.com>
72853
72854 [BZ #13761]
72855 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72856 dataset_temporary. Track alloca usage into alloca_used.
72857 If dataset is large allocate and release it via malloc/free.
72858
72859 2012-06-04 Florian Weimer <fweimer@redhat.com>
72860
72861 [BZ #14197]
72862 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72863
72864 2012-11-28 David S. Miller <davem@davemloft.net>
72865
72866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72867
72868 2012-11-28 Joseph Myers <joseph@codesourcery.com>
72869
72870 [BZ #14803]
72871 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72872 of pi/2 rounded to nearest to 64 bits.
72873 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72874 nearest to 64 bits.
72875 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72876 bits.
72877
72878 2012-11-28 Jeff Law <law@redhat.com>
72879 Martin Osvald <mosvald@redhat.com>
72880
72881 [BZ #14889]
72882 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72883 * sunrpc/svc.c: Include time.h.
72884 (__svc_accept_failed): New function.
72885 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72886 any reason other than EINTR, call __svc_accept_failed.
72887 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72888 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72889
72890 2012-11-28 Andreas Schwab <schwab@suse.de>
72891
72892 * scripts/abilist.awk: Also handle indirect functions in .opd
72893 section.
72894
72895 2012-11-28 Joseph Myers <joseph@codesourcery.com>
72896
72897 [BZ #13881]
72898 * sysdeps/x86/fpu/powl_helper.c: New file.
72899 * sysdeps/x86/fpu/Makefile: Likewise.
72900 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72901 (p3): New object.
72902 (__ieee754_powl): Use __powl_helper for finite arguments except
72903 integer exponents below 8.
72904 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72905 (p3): New object.
72906 (__ieee754_powl): Use __powl_helper for finite arguments except
72907 integer exponents below 8.
72908 * math/libm-test.inc (pow_test): Add more tests and enable some
72909 previously disabled tests.
72910 * sysdeps/i386/fpu/libm-test-ulps: Update.
72911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72912
72913 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
72914 Carlos O'Donell <carlos_odonell@mentor.com>
72915
72916 * nss/makedb.c (is_prime): Assert that input is odd and greater
72917 than 4. Note that fact in a comment too.
72918 (next_prime): Add 4 to input.
72919
72920 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
72921
72922 [BZ #11741]
72923 * libio/Makefile (tests): Add test case tst-fwrite-error.
72924 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72925 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72926 * libio/tst-fwrite-error.c: New test case.
72927
72928 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
72929
72930 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72931 before casting to void *.
72932 * include/libc-internal.h (__pointer_type): New macro.
72933 (__integer_if_pointer_type_sub): Likewise.
72934 (__integer_if_pointer_type): Likewise.
72935 (cast_to_integer): Likewise.
72936 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72937 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72938 before casting to atomic64_t.
72939 (atomic_exchange_acq): Likewise.
72940 (__arch_exchange_and_add_body): Likewise.
72941 (__arch_add_body): Likewise.
72942 (atomic_add_negative): Likewise.
72943 (atomic_add_zero): Likewise.
72944
72945 2012-11-26 Joseph Myers <joseph@codesourcery.com>
72946
72947 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72948 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72949 (add_fdes): Likewise.
72950 (linear_search_fdes): Likewise.
72951 (binary_search_unencoded_fdes): Likewise.
72952
72953 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
72954
72955 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72956
72957 2012-11-24 Adam Conrad <adconrad@0c3.net>
72958
72959 * configure.in: Autodetect C++ header directories.
72960 * configure: Regenerated.
72961
72962 2012-11-23 Mike Frysinger <vapier@gentoo.org>
72963
72964 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72965
72966 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
72967
72968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72969
72970 2012-11-22 Joseph Myers <joseph@codesourcery.com>
72971
72972 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72973 LDBL_MANT_DIG == 106]: Disable some tests.
72974 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72975 Likewise.
72976 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72977 Likewise.
72978
72979 [BZ #14871]
72980 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72981 input for small inputs. Return +/- pi/2 for large inputs.
72982 * math/libm-test.inc (atan_test): Add more tests.
72983
72984 * sysdeps/generic/unwind-dw2-fde-glibc.c
72985 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72986 __attribute__ ((unused)).
72987
72988 [BZ #14645]
72989 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72990 x * y if x and y are nonzero and z is zero.
72991
72992 [BZ #14811]
72993 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72994 nonzero exponents with absolute value below 0x1p-117 to +/-
72995 0x1p-117.
72996
72997 [BZ #14869]
72998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72999 up arguments below 2**-450, not just those below 2**-500.
73000 * math/libm-test.inc (hypot_test): Add another test.
73001
73002 [BZ #14868]
73003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73004 Return a+b for ratio over 2**120, not 2**60.
73005 * math/libm-test.inc (hypot_test): Add another test.
73006
73007 * math/libm-test.inc (clog_test): Use
73008 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73009 (clog10_test): Likewise.
73010
73011 [BZ #6778]
73012 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73013
73014 2012-11-22 Andreas Schwab <schwab@suse.de>
73015
73016 * sysdeps/i386/fpu/libm-test-ulps: Update.
73017
73018 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
73019
73020 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73021 printf output with newline.
73022
73023 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
73024
73025 [BZ #14865]
73026 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73027 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73028 -z nodlopen, -z initfirst and -z execstack support.
73029 * configure: Regenerated.
73030
73031 * elf/elf.h (DF_1_NODIRECT): New macro.
73032 (DF_1_IGNMULDEF): Likewise.
73033 (DF_1_NOKSYMS): Likewise.
73034 (DF_1_NOHDR): Likewise.
73035 (DF_1_EDITED): Likewise.
73036 (DF_1_NORELOC): Likewise.
73037 (DF_1_SYMINTPOSE): Likewise.
73038 (DF_1_GLOBAUDIT): Likewise.
73039 (DF_1_SINGLETON): Likewise.
73040 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73041 DT_1_SUPPORTED_MASK bits.
73042 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73043
73044 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
73045
73046 * sysdeps/unix/make-syscalls.sh: Document prefixes.
73047
73048 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
73049
73050 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73051 macro.
73052
73053 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73054 (sendmmsg): Move declarations...
73055 * socket/sys/socket.h: ... here.
73056 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73057 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73058 include it from...
73059 * socket/recvmmsg.c: ... this new file.
73060 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73061 (sendmmsg): Rename to __sendmmsg, create weak alias and make
73062 definition of __sendmmsg hidden.
73063 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73064 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73065 Move ENOSYS stub into and include it from...
73066 * socket/sendmmsg.c: ... this new file.
73067 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73068 (sysdep_routines): Move recvmmsg and sendmmsg...
73069 * socket/Makefile (routines): ... here.
73070 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73071 (GLIBC_PRIVATE): Add __sendmmsg.
73072 * include/sys/socket.h (__sendmmsg): Add declarations.
73073 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73074 sendmmsg.
73075
73076 2012-11-20 Joseph Myers <joseph@codesourcery.com>
73077
73078 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73079 variable I1 with __attribute__ ((unused)).
73080 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73081
73082 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73083
73084 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73085 DUMMY variables with __attribute__ ((unused)).
73086
73087 * bits/byteswap.h: Include <bits/types.h>.
73088 (__bswap_64): Use __uint64_t instead of unsigned long long int.
73089
73090 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73091
73092 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73093 string_t. Do not manually set errno.
73094 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73095 length with __strnlen. Make sure to both set errno and return it on
73096 failure.
73097
73098 2012-11-19 David S. Miller <davem@davemloft.net>
73099
73100 With help from Joseph Myers.
73101 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73102 very large arguments properly.
73103 * math/libm-test.inc (atan_test): New tests.
73104 (atan2_test): New tests.
73105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73107
73108 2012-11-19 Joseph Myers <joseph@codesourcery.com>
73109
73110 [BZ #14856]
73111 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73112 Define to 3.
73113
73114 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73115 [POSIX] (EADDRNOTAVAIL): Likewise.
73116 [POSIX] (EAFNOSUPPORT): Likewise.
73117 [POSIX] (EALREADY): Likewise.
73118 [POSIX] (ECONNABORTED): Likewise.
73119 [POSIX] (ECONNREFUSED): Likewise.
73120 [POSIX] (ECONNRESET): Likewise.
73121 [POSIX] (EDESTADDRREQ): Likewise.
73122 [POSIX] (EDQUOT): Likewise.
73123 [POSIX] (EHOSTUNREACH): Likewise.
73124 [POSIX] (EIDRM): Likewise.
73125 [POSIX] (EISCONN): Likewise.
73126 [POSIX] (ELOOP): Likewise.
73127 [POSIX] (EMULTIHOP): Likewise.
73128 [POSIX] (ENETDOWN): Likewise.
73129 [POSIX] (ENETUNREACH): Likewise.
73130 [POSIX] (ENOBUFS): Likewise.
73131 [POSIX] (ENODATA): Likewise.
73132 [POSIX] (ENOLINK): Likewise.
73133 [POSIX] (ENOMSG): Likewise.
73134 [POSIX] (ENOPROTOOPT): Likewise.
73135 [POSIX] (ENOSR): Likewise.
73136 [POSIX] (ENOSTR): Likewise.
73137 [POSIX] (ENOTCONN): Likewise.
73138 [POSIX] (ENOTSOCK): Likewise.
73139 [POSIX] (EOPNOTSUPP): Likewise.
73140 [POSIX] (EOVERFLOW): Likewise.
73141 [POSIX] (EPROTO): Likewise.
73142 [POSIX] (EPROTONOSUPPORT): Likewise.
73143 [POSIX] (EPROTOTYPE): Likewise.
73144 [POSIX] (ESTALE): Likewise.
73145 [POSIX] (ETIME): Likewise.
73146 [POSIX] (ETXTBSY): Likewise.
73147 [POSIX] (EWOULDBLOCK): Likewise.
73148 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73149 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73150 [POSIX] (SEEK_CUR): Likewise.
73151 [POSIX] (SEEK_END): Likewise.
73152 [POSIX || UNIX98] (mode_t): Do not require.
73153 [POSIX] (off_t): Likewise.
73154 [POSIX] (pid_t): Likewise.
73155 [POSIX] (sys/stat.h): Do not allow header.
73156 [POSIX] (unistd.h): Likewise.
73157 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73158 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73159 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73160 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73161 require.
73162 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73163 sigevent): Specify elements.
73164 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73165 entry.
73166 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73167 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73168
73169 * conform/data/cpio.h-data [POSIX]: Disable whole file.
73170 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73171 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73172 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73173 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73174 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73175 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73176 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73177 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73178 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73179 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73180 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73181 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73182 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73183 Likewise.
73184 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73185 Likewise.
73186 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73187 Likewise.
73188 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73189 Likewise.
73190 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73191 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73192 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73193 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73194 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73195 Specify lower bound on value.
73196 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73197 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73198 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73199 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73200 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73201 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73202 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73203 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73204 value.
73205 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73206 as optional.
73207 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73208 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73209 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73210 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73211 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73212 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73213 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73214 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73215 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73216 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73217 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73218 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73219 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73220 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73221 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73222 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73223 entry.
73224 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73225 optional.
73226 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73227 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73228 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73229 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73230 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73231 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73232 Likewise.
73233 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73234 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73235 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73236 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73237 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
73238 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73239 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73240 as optional.
73241 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73242 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73243 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73244 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73245 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73246 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73247 specify as optional.
73248 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73249 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73250 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73251 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73252 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73253 [XPG3] (NL_LANGMAX): Likewise.
73254 [POSIX || XPG3] (NL_MSGMAX): Likewise.
73255 [POSIX || XPG3] (NL_NMAX): Likewise.
73256 [POSIX || XPG3] (NL_SETMAX): Likewise.
73257 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73258 [XPG3] (NZERO): Likewise.
73259 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73260 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73261 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73262 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73263 (REG_ERANGE): Expect.
73264 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73265 optional-constant.
73266 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73267 Use (void) in prototype.
73268 [POSIX] (*_t): Allow.
73269 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73270 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73271 (WRDE_BADVAL): Expect.
73272
73273 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73274 expect.
73275 [XPG3 || XPG4] (O_RSYNC): Likewise.
73276 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73277 Likewise.
73278 [XPG3 || XPG4] (pthread_sigmask): Likewise.
73279 [XPG3 || XPG4] (sigqueue): Likewise.
73280 [XPG3 || XPG4] (sigtimedwait): Likewise.
73281 [XPG3 || XPG4] (sigwaitinfo): Likewise.
73282 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73283 [XPG3 || XPG4] (vsnprintf): Likewise.
73284 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73285 Likewise.
73286 [XPG3 || XPG4] (blksize_t): Likewise.
73287 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73288 Likewise.
73289 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73290 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73291 [XPG3 || XPG4] (struct itimerspec): Likewise.
73292 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73293 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73294 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73295 [XPG3 || XPG4] (clockid_t): Likewise.
73296 [XPG3 || XPG4] (timer_t): Likewise.
73297 [XPG3 || XPG4] (clock_getres): Likewise.
73298 [XPG3 || XPG4] (clock_gettime): Likewise.
73299 [XPG3 || XPG4] (clock_settime): Likewise.
73300 [XPG3 || XPG4] (nanosleep): Likewise.
73301 [XPG3 || XPG4] (timer_create): Likewise.
73302 [XPG3 || XPG4] (timer_delete): Likewise.
73303 [XPG3 || XPG4] (timer_gettime): Likewise.
73304 [XPG3 || XPG4] (timer_getoverrun): Likewise.
73305 [XPG3 || XPG4] (timer_settime): Likewise.
73306 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73307 [XPG3 || XPG4] (getlogin_r): Likewise.
73308 [XPG3 || XPG4] (pread): Likewise.
73309 [XPG3 || XPG4] (pthread_atfork): Likewise.
73310 [XPG3 || XPG4] (pwrite): Likewise.
73311
73312 [BZ #14835]
73313 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73314 <bits/siginfo.h>.
73315
73316 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
73317
73318 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73319 finalizing MALLSTREAM.
73320
73321 * sysdeps/mach/hurd/syncfs.c: New file.
73322
73323 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
73324
73325 [BZ #14719]
73326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73327 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73328 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73329 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73330 (_nss_dns_gethostbyname4_r): Likewise.
73331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73332 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73333
73334 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
73335
73336 [BZ #13763]
73337 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73338
73339 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
73340
73341 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73342 * elf/cache.c (print_entry): Print ",AArch64" for
73343 FLAG_AARCH64_LIB64
73344
73345 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73346 * elf/cache.c (print_entry): Print ",hard-float" for
73347 FLAG_ARM_LIBHF.
73348
73349 2012-11-18 David S. Miller <davem@davemloft.net>
73350
73351 With help from Joseph Myers.
73352 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73353 cutoff to 2**-13.
73354 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73355 cutoff to 2**-25.
73356 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73357 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73358 small.
73359 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73360 * math/libm-test.inc (y0_test): New tests.
73361 (y1_test): New tests.
73362 * sysdeps/i386/fpu/libm-test-ulps: Update.
73363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73365
73366 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
73367
73368 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73369 64-bit targets.
73370 * configure: Regenerated.
73371
73372 2012-11-17 David S. Miller <davem@davemloft.net>
73373
73374 [BZ #14811]
73375 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73376 nonzero exponents with absolute value below 0x1p-128 to +/-
73377 0x1p-128.
73378
73379 2012-11-17 Joseph Myers <joseph@codesourcery.com>
73380
73381 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73382
73383 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73384
73385 * posix/getconf-speclist.c: New file.
73386 * posix/posix-envs.def: Likewise.
73387 * posix/confstr.c (START_ENV_GROUP): New macro.
73388 (END_ENV_GROUP): Likewise.
73389 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73390 (KNOWN_PRESENT_ENV_STRING): Likewise.
73391 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73392 (UNKNOWN_ENVIRONMENT): Likewise.
73393 (confstr): Include posix-envs.def instead of handling
73394 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73395 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73396 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73397 (END_ENV_GROUP): Likewise.
73398 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73399 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73400 (UNKNOWN_ENVIRONMENT): Likewise.
73401 (__sysconf): Include posix-envs.def instead of handling associated
73402 cases directly here.
73403 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73404 preprocessing getconf-speclist.c rather than running getconf or
73405 generating empty file.
73406
73407 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
73408
73409 * scripts/check-local-headers.sh: Ignore 'mach' headers.
73410
73411 2012-11-16 Andrej Lajovic <natrij@gmail.com>
73412
73413 [BZ #14672]
73414 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73415
73416 2012-11-16 David S. Miller <davem@davemloft.net>
73417
73418 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73419 smaller than LDBL_EPSILON/2.0L, just return xm1.
73420
73421 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
73422
73423 * elf/tst-array1.c (init): Set constructor priority to 1000.
73424 (fini): Set destructor priority to 1000.
73425 * elf/tst-array2dep.c: Likewise.
73426
73427 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73428
73429 [BZ #11741]
73430 * libio/fileops.c (_IO_new_file_write): Correctly return error.
73431 (_IO_new_file_xsputn): Also return EOF if none of the input
73432 data was written when overflow failed.
73433 * libio/iopadn.c (_IO_padn): Likewise.
73434 * libio/iowpadn.c (_IO_wpadn): Likewise.
73435 * stdio-common/tst-put-error.c: Add copyright notice.
73436 (do_test): Add case for printing padded string.
73437 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73438 _IO_padn returned error.
73439 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73440 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73441 return EOF.
73442
73443 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
73444
73445 * libio/libioP.h: Add comment note that the references to C++
73446 bits are now obsolete.
73447
73448 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73449
73450 * math/libm-test.inc (check_complex): Use asprintf.
73451
73452 2012-11-14 Joseph Myers <joseph@codesourcery.com>
73453
73454 * debug/pcprofiledump.c (print_version): Update copyright year.
73455 * malloc/memusagestat.c (print_version): Likewise.
73456
73457 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
73458
73459 [BZ #14831]
73460 * elf/Makefile (tests): Add tst-audit8.
73461 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73462 ($(objpfx)tst-audit8.out): New target.
73463 (tst-audit8-ENV): New variable.
73464 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73465 audit if l_reloc_result is NULL.
73466 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73467 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73468 * elf/tst-audit8.c: New file.
73469
73470 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73471
73472 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73473 * misc/Makefile (CFLAGS-select.c): Define.
73474 * posix/Makefile (CFLAGS-pause.c): Define.
73475
73476 2012-11-13 David S. Miller <davem@davemloft.net>
73477
73478 * crypt/Makefile: Move test targets after toplevel Rules
73479 inclusion. Grab any necessary sysdep routines when linking.
73480 * crypt/md5.c (md5_process_block): Remove define, we will always
73481 name it __md5_process_block.
73482 (md5_finish_ctx): Update md5_process_block call.
73483 (md5_stream): Likewise.
73484 (md5_process_bytes): Likewise.
73485 (md5_process_block): Rename to __md5_process_block and move to ...
73486 * crypt/md5-block.c: ... here.
73487 * crypt/sha256.c (sha256_process_block): Move to ...
73488 * crypt/sha256-block.c: ... here.
73489 * crypt/sha512.c (sha512_process_block): Move to ...
73490 * crypt/sha512-block.c: ... here.
73491 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73492 path.
73493 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73494 * sysdeps/sparc/sparc64/multiarch/Makefile
73495 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73496 crypt subdir.
73497 (localedef-aux): Add md5 crypto assembler when in locale subdir.
73498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73499 multiarch changes.
73500 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73501 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73502 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73503 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73504 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73505 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73506 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73507 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73508 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73509 file.
73510 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73511 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73512 file.
73513 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73514
73515 2012-11-13 Joseph Myers <joseph@codesourcery.com>
73516
73517 * timezone/tzselect.ksh: Update from tzcode git revision
73518 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73519 * timezone/zdump.c: Likewise.
73520 * timezone/zic.c: Likewise.
73521 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73522 in TZVERSION setting, not $(PKGVERSION).
73523 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
73524 REPORT_BUGS_TO settings.
73525
73526 [BZ #14838]
73527 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73528 macro.
73529
73530 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73531
73532 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73533 detection to immediately after _FP_ROUND().
73534 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73535 bits are 0.
73536
73537 2012-11-11 David S. Miller <davem@davemloft.net>
73538
73539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73540 inttypes.h
73541 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73542 __close rather than their public counterparts.
73543
73544 2012-11-10 Joseph Myers <joseph@codesourcery.com>
73545
73546 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73547 file.
73548 [UNIX98] (sem_timedwait): Do not expect.
73549 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73550 [XPG4 || UNIX98] (sockatmark): Do not expect.
73551 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73552 (clock_getcpuclockid): Do not expect.
73553 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73554 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73555 Do not expect.
73556 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73557 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73558 [UNIX98] (vwscanf): Likewise.
73559 [UNIX98] (vswscanf): Likewise.
73560
73561 2012-11-09 Joseph Myers <joseph@codesourcery.com>
73562
73563 * timezone/version.h: Remove file.
73564 * timezone/README: Do not refer to version.h.
73565 * timezone/Makefile ($(objpfx)zic.o): New dependency on
73566 $(objpfx)version.h.
73567 ($(objpfx)zdump.o): Likewise.
73568 ($(objpfx)version.h): New target.
73569
73570 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73571 2012i.
73572 * timezone/README: Don't mention modification to tzselect.ksh.
73573 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73574 work on unmodified tzselect.ksh. Substitute version numbers in
73575 tzselect.ksh.
73576
73577 * Makefile (format-me): Remove.
73578 (INSTALL): Adjust indentation. Use commands directly instead of
73579 using $(format-me).
73580
73581 * aclocal.m4 (ACX_PKGVERSION): New macro.
73582 (ACX_BUGURL): Likewise.
73583 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73584 (PKGVERSION): New AC_DEFINE_UNQUOTED.
73585 (REPORT_BUGS_TO): Likewise.
73586 * configure: Regenerated.
73587 * config.h.in (PKGVERSION): New macro.
73588 (REPORT_BUGS_TO): Likewise.
73589 * config.make.in (PKGVERSION): New variable.
73590 (PKGVERSION_TEXI): Likewise.
73591 (REPORT_BUGS_TO): Likewise.
73592 (REPORT_BUGS_TEXI): Likewise.
73593 * Makefile (format-me): Use -I$(common-objpfx)manual.
73594 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73595 ($(common-objpfx)manual/%): New target.
73596 (manual/%): Remove target.
73597 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73598 (print_version): Use PKGVERSION.
73599 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73600 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73601 and REPORT_BUGS_TO.
73602 ($(objpfx)xtrace): Likewise.
73603 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73604 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73605 (print_version): Use PKGVERSION.
73606 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73607 (do_version): Use PKGVERSION.
73608 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73609 REPORT_BUGS_TO.
73610 (common-ldd-rewrite): Likewise.
73611 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73612 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73613 (print_version): Use PKGVERSION.
73614 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73615 * elf/pldd.c (argp_program_bug_address): Remove variable.
73616 (more_help): New function.
73617 (argp): Use more_help.
73618 (print_version): Use PKGVERSION.
73619 * elf/sln.c (main): Use PKGVERSION.
73620 (usage): Use REPORT_BUGS_TO.
73621 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73622 (top level): Use PKGVERSION.
73623 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73624 (print_version): Use PKGVERSION.
73625 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73626 (print_version): Use PKGVERSION.
73627 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73628 (print_version): Use PKGVERSION.
73629 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73630 (print_version): Use PKGVERSION.
73631 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73632 (print_version): Use PKGVERSION.
73633 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73634 (print_version): Use PKGVERSION.
73635 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73636 and BUGURL.
73637 ($(objpfx)memusage): Likewise.
73638 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73639 (do_version): Use PKGVERSION.
73640 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73641 (print_version): Use PKGVERSION.
73642 * malloc/mtrace.pl ($PACKAGE): Remove variable.
73643 ($PKGVERSION): New variable.
73644 ($REPORT_BUGS_TO): Likewise.
73645 (usage): Use $REPORT_BUGS_TO.
73646 (top level): Use $PKGVERSION.
73647 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73648 ($(objpfx)pkgvers.texi): New rule.
73649 ($(objpfx)stamp-pkgvers): Likewise.
73650 * manual/install.texi: Include pkgvers.texi.
73651 (--with-pkgversion): Document new configure option.
73652 (--with-bugurl): Likewise.
73653 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73654 than necessarily for this particular distribution. Use
73655 REPORT_BUGS_TO for where to report bugs.
73656 * INSTALL: Regenerated.
73657 * manual/libc.texinfo: Include pkgvers.texi.
73658 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
73659 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
73660 (print_version): Use PKGVERSION.
73661 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
73662 (print_version): Use PKGVERSION.
73663 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
73664 (print_version): Use PKGVERSION.
73665 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
73666 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
73667 macro.
73668 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
73669 (print_version): Use PKGVERSION.
73670 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
73671 (print_version): Use PKGVERSION.
73672 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
73673 and PKGVERSION.
73674
73675 * timezone/checktab.awk: Update from tzcode 2012i.
73676 * timezone/ialloc.c: Likewise.
73677 * timezone/private.h: Likewise.
73678 * timezone/scheck.c: Likewise.
73679 * timezone/tzfile.h: Likewise.
73680 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
73681 (TZVERSION): Hardcode tzcode version number.
73682 * timezone/zdump.c: Update from tzcode 2012i.
73683 * timezone/zic.c: Likewise.
73684 * timezone/version.h: New file.
73685 * timezone/README: Describe version.h. Update upstream location.
73686
73687 [BZ #14824]
73688 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
73689 (mktemp): Enable declaration.
73690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
73691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
73692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
73693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
73694 Likewise.
73695 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
73696 Likewise.
73697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
73698 Likewise.
73699 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
73700 Likewise.
73701 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
73702 Likewise.
73703 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
73704 Likewise.
73705
73706 [BZ #14821]
73707 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
73708 offset in buffer as u_int32_t not u_long. Consistently use memcpy
73709 for copies of such integer values.
73710 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73711 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73712
73713 2012-11-09 Andreas Jaeger <aj@suse.de>
73714
73715 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
73716 definitions and declarations that are provided by
73717 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73718
73719 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73720
73721 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
73722 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
73723 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
73724 definition.
73725
73726 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
73727
73728 * elf/elf.h: Update comment before AArch64 relocations.
73729
73730 2012-11-07 David S. Miller <davem@davemloft.net>
73731
73732 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
73733 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73734 (__start_context): Declare.
73735 (__makecontext_ret): Delete.
73736 (__makecontext): Hook up __start_context instead of
73737 __makecontext_ret.
73738 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
73739 (sysdep_routines): Add __start_context when in stdlib.
73740
73741 2012-11-07 Joseph Myers <joseph@codesourcery.com>
73742
73743 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
73744 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73745 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
73746 hardcoded "nm".
73747 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
73748 (READELF): New variable. Use it instead of hardcoded "readelf".
73749
73750 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
73751
73752 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
73753 * sysdeps/x86/Makefile: Here.
73754 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
73755 * sysdeps/x86/tst-xmmymm.sh: This.
73756
73757 2012-11-07 Joseph Myers <joseph@codesourcery.com>
73758
73759 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
73760 expectations.
73761 [UNIX98] (pthread_barrier_t): Do not expect.
73762 [UNIX98] (pthread_barrierattr_t): Likewise.
73763 [UNIX98] (pthread_spinlock_t): Likewise.
73764 [UNIX98] (pthread_barrier_destroy): Likewise.
73765 [UNIX98] (pthread_barrier_init): Likewise.
73766 [UNIX98] (pthread_barrier_wait): Likewise.
73767 [UNIX98] (pthread_barrierattr_destroy): Likewise.
73768 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
73769 [UNIX98] (pthread_barrierattr_init): Likewise.
73770 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
73771 [UNIX98] (pthread_getcpuclockid): Likewise.
73772 [UNIX98] (pthread_mutex_timedlock): Likewise.
73773 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
73774 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
73775 [UNIX98] (pthread_sigmask): Likewise.
73776 [UNIX98] (pthread_spin_destroy): Likewise.
73777 [UNIX98] (pthread_spin_init): Likewise.
73778 [UNIX98] (pthread_spin_lock): Likewise.
73779 [UNIX98] (pthread_spin_trylock): Likewise.
73780 [UNIX98] (pthread_spin_unlock): Likewise.
73781 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73782 Do not expect.
73783 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73784 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73785 [XPG3 || XPG4] (pthread_cond_t): Likewise.
73786 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73787 [XPG3 || XPG4] (pthread_key_t): Likewise.
73788 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73789 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73790 [XPG3 || XPG4] (pthread_once_t): Likewise.
73791 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73792 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73793 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73794 [XPG3 || XPG4] (pthread_t): Likewise.
73795
73796 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73797 not expect.
73798 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73799
73800 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73801 Change function return type to int.
73802
73803 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73804 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73805 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73806 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73807 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73808 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73809 [!POSIX] (posix_madvise): Likewise.
73810 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73811 && !UNIX98].
73812 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73813 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73814 (mode_t): Likewise.
73815 (posix_mem_offset): Likewise.
73816 (posix_typed_mem_get_info): Likewise.
73817 (posix_typed_mem_open): Likewise.
73818
73819 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73820 Change condition to [XOPEN2K8].
73821
73822 * conform/conformtest.pl: Preprocess allow-header data with -x c
73823 instead of from stdin.
73824 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73825 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73826 [C99-based standards] (cerfc): Likewise.
73827 [C99-based standards] (cexp2): Likewise.
73828 [C99-based standards] (cexpm1): Likewise.
73829 [C99-based standards] (clog10): Likewise.
73830 [C99-based standards] (clog1p): Likewise.
73831 [C99-based standards] (clog2): Likewise.
73832 [C99-based standards] (clgamma): Likewise.
73833 [C99-based standards] (ctgamma): Likewise.
73834 [C99-based standards] (cerff): Likewise.
73835 [C99-based standards] (cerfcf): Likewise.
73836 [C99-based standards] (cexp2f): Likewise.
73837 [C99-based standards] (cexpm1f): Likewise.
73838 [C99-based standards] (clog10f): Likewise.
73839 [C99-based standards] (clog1pf): Likewise.
73840 [C99-based standards] (clog2f): Likewise.
73841 [C99-based standards] (clgammaf): Likewise.
73842 [C99-based standards] (ctgammaf): Likewise.
73843 [C99-based standards] (cerfl): Likewise.
73844 [C99-based standards] (cerfcl): Likewise.
73845 [C99-based standards] (cexp2l): Likewise.
73846 [C99-based standards] (cexpm1l): Likewise.
73847 [C99-based standards] (clog10l): Likewise.
73848 [C99-based standards] (clog1pl): Likewise.
73849 [C99-based standards] (clog2l): Likewise.
73850 [C99-based standards] (clgammal): Likewise.
73851 [C99-based standards] (ctgammal): Likewise.
73852 * conform/data/inttypes.h-data [C99-based standards]: Include
73853 stdint.h-data. Remove all expectations for stdint.h contents.
73854 [C99-based standards] (PRI*): Do not allow.
73855 [C99-based standards] (SCN*): Likewise.
73856 [C99-based standards] (*_t): Likewise.
73857 [C99-based-standards] (PRId8): Expect macro.
73858 [C99-based-standards] (PRIi8): Likewise.
73859 [C99-based-standards] (PRIo8): Likewise.
73860 [C99-based-standards] (PRIu8): Likewise.
73861 [C99-based-standards] (PRIx8): Likewise.
73862 [C99-based-standards] (PRIX8): Likewise.
73863 [C99-based-standards] (SCNd8): Likewise.
73864 [C99-based-standards] (SCNi8): Likewise.
73865 [C99-based-standards] (SCNo8): Likewise.
73866 [C99-based-standards] (SCNu8): Likewise.
73867 [C99-based-standards] (SCNx8): Likewise.
73868 [C99-based-standards] (PRIdLEAST8): Likewise.
73869 [C99-based-standards] (PRIiLEAST8): Likewise.
73870 [C99-based-standards] (PRIoLEAST8): Likewise.
73871 [C99-based-standards] (PRIuLEAST8): Likewise.
73872 [C99-based-standards] (PRIxLEAST8): Likewise.
73873 [C99-based-standards] (PRIXLEAST8): Likewise.
73874 [C99-based-standards] (SCNdLEAST8): Likewise.
73875 [C99-based-standards] (SCNiLEAST8): Likewise.
73876 [C99-based-standards] (SCNoLEAST8): Likewise.
73877 [C99-based-standards] (SCNuLEAST8): Likewise.
73878 [C99-based-standards] (SCNxLEAST8): Likewise.
73879 [C99-based-standards] (PRIdFAST8): Likewise.
73880 [C99-based-standards] (PRIiFAST8): Likewise.
73881 [C99-based-standards] (PRIoFAST8): Likewise.
73882 [C99-based-standards] (PRIuFAST8): Likewise.
73883 [C99-based-standards] (PRIxFAST8): Likewise.
73884 [C99-based-standards] (PRIXFAST8): Likewise.
73885 [C99-based-standards] (SCNdFAST8): Likewise.
73886 [C99-based-standards] (SCNiFAST8): Likewise.
73887 [C99-based-standards] (SCNoFAST8): Likewise.
73888 [C99-based-standards] (SCNuFAST8): Likewise.
73889 [C99-based-standards] (SCNxFAST8): Likewise.
73890 [C99-based-standards] (PRId16): Likewise.
73891 [C99-based-standards] (PRIi16): Likewise.
73892 [C99-based-standards] (PRIo16): Likewise.
73893 [C99-based-standards] (PRIu16): Likewise.
73894 [C99-based-standards] (PRIx16): Likewise.
73895 [C99-based-standards] (PRIX16): Likewise.
73896 [C99-based-standards] (SCNd16): Likewise.
73897 [C99-based-standards] (SCNi16): Likewise.
73898 [C99-based-standards] (SCNo16): Likewise.
73899 [C99-based-standards] (SCNu16): Likewise.
73900 [C99-based-standards] (SCNx16): Likewise.
73901 [C99-based-standards] (PRIdLEAST16): Likewise.
73902 [C99-based-standards] (PRIiLEAST16): Likewise.
73903 [C99-based-standards] (PRIoLEAST16): Likewise.
73904 [C99-based-standards] (PRIuLEAST16): Likewise.
73905 [C99-based-standards] (PRIxLEAST16): Likewise.
73906 [C99-based-standards] (PRIXLEAST16): Likewise.
73907 [C99-based-standards] (SCNdLEAST16): Likewise.
73908 [C99-based-standards] (SCNiLEAST16): Likewise.
73909 [C99-based-standards] (SCNoLEAST16): Likewise.
73910 [C99-based-standards] (SCNuLEAST16): Likewise.
73911 [C99-based-standards] (SCNxLEAST16): Likewise.
73912 [C99-based-standards] (PRIdFAST16): Likewise.
73913 [C99-based-standards] (PRIiFAST16): Likewise.
73914 [C99-based-standards] (PRIoFAST16): Likewise.
73915 [C99-based-standards] (PRIuFAST16): Likewise.
73916 [C99-based-standards] (PRIxFAST16): Likewise.
73917 [C99-based-standards] (PRIXFAST16): Likewise.
73918 [C99-based-standards] (SCNdFAST16): Likewise.
73919 [C99-based-standards] (SCNiFAST16): Likewise.
73920 [C99-based-standards] (SCNoFAST16): Likewise.
73921 [C99-based-standards] (SCNuFAST16): Likewise.
73922 [C99-based-standards] (SCNxFAST16): Likewise.
73923 [C99-based-standards] (PRId32): Likewise.
73924 [C99-based-standards] (PRIi32): Likewise.
73925 [C99-based-standards] (PRIo32): Likewise.
73926 [C99-based-standards] (PRIu32): Likewise.
73927 [C99-based-standards] (PRIx32): Likewise.
73928 [C99-based-standards] (PRIX32): Likewise.
73929 [C99-based-standards] (SCNd32): Likewise.
73930 [C99-based-standards] (SCNi32): Likewise.
73931 [C99-based-standards] (SCNo32): Likewise.
73932 [C99-based-standards] (SCNu32): Likewise.
73933 [C99-based-standards] (SCNx32): Likewise.
73934 [C99-based-standards] (PRIdLEAST32): Likewise.
73935 [C99-based-standards] (PRIiLEAST32): Likewise.
73936 [C99-based-standards] (PRIoLEAST32): Likewise.
73937 [C99-based-standards] (PRIuLEAST32): Likewise.
73938 [C99-based-standards] (PRIxLEAST32): Likewise.
73939 [C99-based-standards] (PRIXLEAST32): Likewise.
73940 [C99-based-standards] (SCNdLEAST32): Likewise.
73941 [C99-based-standards] (SCNiLEAST32): Likewise.
73942 [C99-based-standards] (SCNoLEAST32): Likewise.
73943 [C99-based-standards] (SCNuLEAST32): Likewise.
73944 [C99-based-standards] (SCNxLEAST32): Likewise.
73945 [C99-based-standards] (PRIdFAST32): Likewise.
73946 [C99-based-standards] (PRIiFAST32): Likewise.
73947 [C99-based-standards] (PRIoFAST32): Likewise.
73948 [C99-based-standards] (PRIuFAST32): Likewise.
73949 [C99-based-standards] (PRIxFAST32): Likewise.
73950 [C99-based-standards] (PRIXFAST32): Likewise.
73951 [C99-based-standards] (SCNdFAST32): Likewise.
73952 [C99-based-standards] (SCNiFAST32): Likewise.
73953 [C99-based-standards] (SCNoFAST32): Likewise.
73954 [C99-based-standards] (SCNuFAST32): Likewise.
73955 [C99-based-standards] (SCNxFAST32): Likewise.
73956 [C99-based-standards] (PRId64): Likewise.
73957 [C99-based-standards] (PRIi64): Likewise.
73958 [C99-based-standards] (PRIo64): Likewise.
73959 [C99-based-standards] (PRIu64): Likewise.
73960 [C99-based-standards] (PRIx64): Likewise.
73961 [C99-based-standards] (PRIX64): Likewise.
73962 [C99-based-standards] (SCNd64): Likewise.
73963 [C99-based-standards] (SCNi64): Likewise.
73964 [C99-based-standards] (SCNo64): Likewise.
73965 [C99-based-standards] (SCNu64): Likewise.
73966 [C99-based-standards] (SCNx64): Likewise.
73967 [C99-based-standards] (PRIdLEAST64): Likewise.
73968 [C99-based-standards] (PRIiLEAST64): Likewise.
73969 [C99-based-standards] (PRIoLEAST64): Likewise.
73970 [C99-based-standards] (PRIuLEAST64): Likewise.
73971 [C99-based-standards] (PRIxLEAST64): Likewise.
73972 [C99-based-standards] (PRIXLEAST64): Likewise.
73973 [C99-based-standards] (SCNdLEAST64): Likewise.
73974 [C99-based-standards] (SCNiLEAST64): Likewise.
73975 [C99-based-standards] (SCNoLEAST64): Likewise.
73976 [C99-based-standards] (SCNuLEAST64): Likewise.
73977 [C99-based-standards] (SCNxLEAST64): Likewise.
73978 [C99-based-standards] (PRIdFAST64): Likewise.
73979 [C99-based-standards] (PRIiFAST64): Likewise.
73980 [C99-based-standards] (PRIoFAST64): Likewise.
73981 [C99-based-standards] (PRIuFAST64): Likewise.
73982 [C99-based-standards] (PRIxFAST64): Likewise.
73983 [C99-based-standards] (PRIXFAST64): Likewise.
73984 [C99-based-standards] (SCNdFAST64): Likewise.
73985 [C99-based-standards] (SCNiFAST64): Likewise.
73986 [C99-based-standards] (SCNoFAST64): Likewise.
73987 [C99-based-standards] (SCNuFAST64): Likewise.
73988 [C99-based-standards] (SCNxFAST64): Likewise.
73989 [C99-based-standards] (PRIdMAX): Likewise.
73990 [C99-based-standards] (PRIiMAX): Likewise.
73991 [C99-based-standards] (PRIoMAX): Likewise.
73992 [C99-based-standards] (PRIuMAX): Likewise.
73993 [C99-based-standards] (PRIxMAX): Likewise.
73994 [C99-based-standards] (PRIXMAX): Likewise.
73995 [C99-based-standards] (SCNdMAX): Likewise.
73996 [C99-based-standards] (SCNiMAX): Likewise.
73997 [C99-based-standards] (SCNoMAX): Likewise.
73998 [C99-based-standards] (SCNuMAX): Likewise.
73999 [C99-based-standards] (SCNxMAX): Likewise.
74000 [C99-based-standards] (PRIdPTR): Likewise.
74001 [C99-based-standards] (PRIiPTR): Likewise.
74002 [C99-based-standards] (PRIoPTR): Likewise.
74003 [C99-based-standards] (PRIuPTR): Likewise.
74004 [C99-based-standards] (PRIxPTR): Likewise.
74005 [C99-based-standards] (PRIXPTR): Likewise.
74006 [C99-based-standards] (SCNdPTR): Likewise.
74007 [C99-based-standards] (SCNiPTR): Likewise.
74008 [C99-based-standards] (SCNoPTR): Likewise.
74009 [C99-based-standards] (SCNuPTR): Likewise.
74010 [C99-based-standards] (SCNxPTR): Likewise.
74011 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74012 allow.
74013 * conform/data/stdint.h-data: Update comments to clarify
74014 requirements.
74015 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
74016 type.
74017 [C99-based standards] (INT8_MAX): Likewise.
74018 [C99-based standards] (INT16_MIN): Likewise.
74019 [C99-based standards] (INT16_MAX): Likewise.
74020 [C99-based standards] (INT32_MIN): Likewise.
74021 [C99-based standards] (INT32_MAX): Likewise.
74022 [C99-based standards] (INT64_MIN): Likewise.
74023 [C99-based standards] (INT64_MAX): Likewise.
74024 [C99-based standards] (UINT8_MAX): Likewise.
74025 [C99-based standards] (UINT16_MAX): Likewise.
74026 [C99-based standards] (UINT32_MAX): Likewise.
74027 [C99-based standards] (UINT64_MAX): Likewise.
74028 [C99-based standards] (INT_LEAST8_MIN): Likewise.
74029 [C99-based standards] (INT_LEAST8_MAX): Likewise.
74030 [C99-based standards] (INT_LEAST16_MIN): Likewise.
74031 [C99-based standards] (INT_LEAST16_MAX): Likewise.
74032 [C99-based standards] (INT_LEAST32_MIN): Likewise.
74033 [C99-based standards] (INT_LEAST32_MAX): Likewise.
74034 [C99-based standards] (INT_LEAST64_MIN): Likewise.
74035 [C99-based standards] (INT_LEAST64_MAX): Likewise.
74036 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74037 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74038 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74039 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74040 [C99-based standards] (INT_FAST8_MIN): Likewise.
74041 [C99-based standards] (INT_FAST8_MAX): Likewise.
74042 [C99-based standards] (INT_FAST16_MIN): Likewise.
74043 [C99-based standards] (INT_FAST16_MAX): Likewise.
74044 [C99-based standards] (INT_FAST32_MIN): Likewise.
74045 [C99-based standards] (INT_FAST32_MAX): Likewise.
74046 [C99-based standards] (INT_FAST64_MIN): Likewise.
74047 [C99-based standards] (INT_FAST64_MAX): Likewise.
74048 [C99-based standards] (UINT_FAST8_MAX): Likewise.
74049 [C99-based standards] (UINT_FAST16_MAX): Likewise.
74050 [C99-based standards] (UINT_FAST32_MAX): Likewise.
74051 [C99-based standards] (UINT_FAST64_MAX): Likewise.
74052 [C99-based standards] (INTPTR_MIN): Likewise.
74053 [C99-based standards] (INTPTR_MAX): Likewise.
74054 [C99-based standards] (UINTPTR_MAX): Likewise.
74055 [C99-based standards] (INTMAX_MIN): Likewise.
74056 [C99-based standards] (INTMAX_MAX): Likewise.
74057 [C99-based standards] (UINTMAX_MAX): Likewise.
74058 [C99-based standards] (PTRDIFF_MIN): Likewise.
74059 [C99-based standards] (PTRDIFF_MAX): Likewise.
74060 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74061 [C99-based standards] (SIZE_MAX): Likewise.
74062 [C99-based standards] (WCHAR_MAX): Likewise.
74063 [C99-based standards] (WINT_MAX): Likewise.
74064 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
74065 constraint on value.
74066 [C99-based standards] (WCHAR_MIN): Likewise.
74067 [C99-based standards] (WINT_MIN): Likewise.
74068 [C99-based standards] (*_t): Allow.
74069 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74070 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74071 Include math.h-data and complex.h-data. Remove all expectations
74072 of math.h and complex.h contents.
74073 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74074 at end of line.
74075 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74076 (struct tm): Expect tag.
74077 [C99-based-standards] (wcstof): Expect function.
74078 [C99-based-standards] (wcstold): Likewise.
74079 [C99-based-standards] (wcstoll): Likewise.
74080 [C99-based-standards] (wcstoull): Likewise.
74081 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74082 macro-int-constant. Specify type.
74083 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
74084 constraint on value.
74085 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74086 Specify type.
74087 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74088 Specify value.
74089 [ISO C standards]: Do not allow headers.
74090 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74091 wcs[abcdefghijklmnopqrstuvwxyz]*.
74092 [ISO C standards] (*_t): Do not allow.
74093 * conform/data/wctype.h-data [C99-based standards] (iswblank):
74094 Expect function.
74095 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74096 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74097 Specify type.
74098 [ISO C standards]: Do not allow headers.
74099 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74100 is[abcdefghijklmnopqrstuvwxyz]*.
74101 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74102 to[abcdefghijklmnopqrstuvwxyz]*.
74103 [ISO C standards] (*_t): Do not allow.
74104 * conform/data/stdalign.h-data: New file.
74105 * conform/data/stdbool.h-data: Likewise.
74106 * conform/data/stdnoreturn.h-data: Likewise.
74107
74108 2012-11-07 Roland McGrath <roland@hack.frob.com>
74109
74110 [BZ #14815]
74111 * manual/filesys.texi (Directory Entries): Typo fix.
74112 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74113
74114 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
74115
74116 * elf/elf.h (EM_AARCH64): New macro.
74117 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74118 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74119 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74120 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74121 (R_AARCH64_TLSDESC): Likewise.
74122 (NT_ARM_TLS): Likewise.
74123 (NT_ARM_HW_BREAK): Likewise.
74124 (NT_ARM_HW_WATCH): Likewise.
74125
74126 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74127
74128 [BZ #14811]
74129 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74130 (__ieee754_powl): Saturate nonzero exponents with absolute value
74131 below 0x1p-79 to +/- 0x1p-79.
74132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74133 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74134 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74135 nonzero exponents with absolute value below 0x1p-32 to +/-
74136 0x1p-32.
74137 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74138 (__ieee754_powl): Saturate nonzero exponents with absolute value
74139 below 0x1p-79 to +/- 0x1p-79.
74140 * math/libm-test.inc (pow_test): Add more tests.
74141
74142 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74143
74144 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74145 _dl_s390_cap_flags with kernel. Increase string length.
74146 (_dl_s390_platforms): Add z196 and zEC12.
74147
74148 2012-11-07 Joseph Myers <joseph@codesourcery.com>
74149
74150 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74151 Change XOPEN21K to XOPEN2K.
74152
74153 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
74154
74155 * string/memmove.c: Use memcpy when possible.
74156
74157 2012-11-06 Andreas Jaeger <aj@suse.de>
74158
74159 * po/eo.po: Update from translation team.
74160
74161 2012-11-06 Joseph Myers <joseph@codesourcery.com>
74162
74163 [BZ #14793]
74164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74165 exponent and small x and y exponents, scale x or y up. Increase
74166 by 2 the exponent used in scaling up.
74167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74168 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74169 * math/libm-test.inc (fma_test): Add more tests.
74170 (fma_test_towardzero): Likewise.
74171 (fma_test_downward): Likewise.
74172 (fma_test_upward): Likewise.
74173
74174 2012-11-05 Joseph Myers <joseph@codesourcery.com>
74175
74176 [BZ #14805]
74177 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74178 fenv_t *.
74179
74180 [BZ #14801]
74181 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74182 namespace for names of struct fields.
74183 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74184 fenv_t fields.
74185 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74186 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74187
74188 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
74189
74190 [BZ #3665]
74191 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74192
74193 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74194
74195 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74196 PTR_DEMANGLE.
74197
74198 [BZ #5246]
74199 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74200 PTR_DEMANGLE.
74201
74202 2012-11-04 Joseph Myers <joseph@codesourcery.com>
74203
74204 [BZ #14797]
74205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74206 definitely overflow as x * y not x * y + z.
74207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74209 * math/libm-test.inc (fma_test): Add more tests.
74210 (fma_test_towardzero): Likewise.
74211 (fma_test_downward): Likewise.
74212 (fma_test_upward): Likewise.
74213
74214 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
74215
74216 [BZ #157]
74217
74218 * include/stub-tag.h: Remove file.
74219 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74220 '#include' of it.
74221 * manual/maint.texi (Porting): Don't reference it.
74222 * Makerules ($(objpfx)stubs): Likewise.
74223 * dirent/closedir.c: Don't include <stub-tag.h>.
74224 * dirent/dirfd.c: Likewise.
74225 * dirent/fdopendir.c: Likewise.
74226 * dirent/getdents.c: Likewise.
74227 * dirent/getdents64.c: Likewise.
74228 * dirent/opendir.c: Likewise.
74229 * dirent/readdir.c: Likewise.
74230 * dirent/readdir64.c: Likewise.
74231 * dirent/readdir64_r.c: Likewise.
74232 * dirent/readdir_r.c: Likewise.
74233 * dirent/rewinddir.c: Likewise.
74234 * dirent/seekdir.c: Likewise.
74235 * dirent/telldir.c: Likewise.
74236 * gmon/profil.c: Likewise.
74237 * grp/setgroups.c: Likewise.
74238 * inet/if_index.c: Likewise.
74239 * io/access.c: Likewise.
74240 * io/chdir.c: Likewise.
74241 * io/chmod.c: Likewise.
74242 * io/chown.c: Likewise.
74243 * io/close.c: Likewise.
74244 * io/dup.c: Likewise.
74245 * io/dup2.c: Likewise.
74246 * io/dup3.c: Likewise.
74247 * io/euidaccess.c: Likewise.
74248 * io/faccessat.c: Likewise.
74249 * io/fchdir.c: Likewise.
74250 * io/fchmod.c: Likewise.
74251 * io/fchmodat.c: Likewise.
74252 * io/fchown.c: Likewise.
74253 * io/fchownat.c: Likewise.
74254 * io/fcntl.c: Likewise.
74255 * io/flock.c: Likewise.
74256 * io/fstatfs.c: Likewise.
74257 * io/fstatfs64.c: Likewise.
74258 * io/fstatvfs.c: Likewise.
74259 * io/fstatvfs64.c: Likewise.
74260 * io/futimens.c: Likewise.
74261 * io/fxstat.c: Likewise.
74262 * io/fxstat64.c: Likewise.
74263 * io/fxstatat.c: Likewise.
74264 * io/fxstatat64.c: Likewise.
74265 * io/getcwd.c: Likewise.
74266 * io/isatty.c: Likewise.
74267 * io/lchmod.c: Likewise.
74268 * io/lchown.c: Likewise.
74269 * io/link.c: Likewise.
74270 * io/linkat.c: Likewise.
74271 * io/lseek.c: Likewise.
74272 * io/lseek64.c: Likewise.
74273 * io/lxstat64.c: Likewise.
74274 * io/mkdir.c: Likewise.
74275 * io/mkdirat.c: Likewise.
74276 * io/mkfifo.c: Likewise.
74277 * io/mkfifoat.c: Likewise.
74278 * io/open.c: Likewise.
74279 * io/open64.c: Likewise.
74280 * io/openat.c: Likewise.
74281 * io/openat64.c: Likewise.
74282 * io/pipe.c: Likewise.
74283 * io/pipe2.c: Likewise.
74284 * io/poll.c: Likewise.
74285 * io/posix_fadvise.c: Likewise.
74286 * io/posix_fadvise64.c: Likewise.
74287 * io/posix_fallocate.c: Likewise.
74288 * io/posix_fallocate64.c: Likewise.
74289 * io/read.c: Likewise.
74290 * io/readlink.c: Likewise.
74291 * io/readlinkat.c: Likewise.
74292 * io/rmdir.c: Likewise.
74293 * io/sendfile.c: Likewise.
74294 * io/sendfile64.c: Likewise.
74295 * io/statfs.c: Likewise.
74296 * io/statfs64.c: Likewise.
74297 * io/statvfs.c: Likewise.
74298 * io/statvfs64.c: Likewise.
74299 * io/symlink.c: Likewise.
74300 * io/symlinkat.c: Likewise.
74301 * io/ttyname.c: Likewise.
74302 * io/ttyname_r.c: Likewise.
74303 * io/umask.c: Likewise.
74304 * io/unlink.c: Likewise.
74305 * io/unlinkat.c: Likewise.
74306 * io/utime.c: Likewise.
74307 * io/utimensat.c: Likewise.
74308 * io/write.c: Likewise.
74309 * io/xmknod.c: Likewise.
74310 * io/xmknodat.c: Likewise.
74311 * io/xstat.c: Likewise.
74312 * io/xstat64.c: Likewise.
74313 * login/getpt.c: Likewise.
74314 * login/grantpt.c: Likewise.
74315 * login/unlockpt.c: Likewise.
74316 * math/e_acoshl.c: Likewise.
74317 * math/e_acosl.c: Likewise.
74318 * math/e_asinl.c: Likewise.
74319 * math/e_atan2l.c: Likewise.
74320 * math/e_atanhl.c: Likewise.
74321 * math/e_coshl.c: Likewise.
74322 * math/e_expl.c: Likewise.
74323 * math/e_fmodl.c: Likewise.
74324 * math/e_gammal_r.c: Likewise.
74325 * math/e_hypotl.c: Likewise.
74326 * math/e_j0l.c: Likewise.
74327 * math/e_j1l.c: Likewise.
74328 * math/e_jnl.c: Likewise.
74329 * math/e_lgammal_r.c: Likewise.
74330 * math/e_log10l.c: Likewise.
74331 * math/e_log2l.c: Likewise.
74332 * math/e_logl.c: Likewise.
74333 * math/e_powl.c: Likewise.
74334 * math/e_rem_pio2l.c: Likewise.
74335 * math/e_sinhl.c: Likewise.
74336 * math/e_sqrtl.c: Likewise.
74337 * math/fclrexcpt.c: Likewise.
74338 * math/fedisblxcpt.c: Likewise.
74339 * math/feenablxcpt.c: Likewise.
74340 * math/fegetenv.c: Likewise.
74341 * math/fegetexcept.c: Likewise.
74342 * math/fegetround.c: Likewise.
74343 * math/feholdexcpt.c: Likewise.
74344 * math/fesetenv.c: Likewise.
74345 * math/fesetround.c: Likewise.
74346 * math/feupdateenv.c: Likewise.
74347 * math/fgetexcptflg.c: Likewise.
74348 * math/fraiseexcpt.c: Likewise.
74349 * math/fsetexcptflg.c: Likewise.
74350 * math/ftestexcept.c: Likewise.
74351 * math/k_cosl.c: Likewise.
74352 * math/k_rem_pio2l.c: Likewise.
74353 * math/k_sinl.c: Likewise.
74354 * math/k_tanl.c: Likewise.
74355 * math/s_asinhl.c: Likewise.
74356 * math/s_atanl.c: Likewise.
74357 * math/s_cbrtl.c: Likewise.
74358 * math/s_erfl.c: Likewise.
74359 * math/s_expm1l.c: Likewise.
74360 * math/s_log1pl.c: Likewise.
74361 * math/s_tanhl.c: Likewise.
74362 * misc/acct.c: Likewise.
74363 * misc/brk.c: Likewise.
74364 * misc/chflags.c: Likewise.
74365 * misc/chroot.c: Likewise.
74366 * misc/fchflags.c: Likewise.
74367 * misc/fgetxattr.c: Likewise.
74368 * misc/flistxattr.c: Likewise.
74369 * misc/fremovexattr.c: Likewise.
74370 * misc/fsetxattr.c: Likewise.
74371 * misc/fsync.c: Likewise.
74372 * misc/ftruncate.c: Likewise.
74373 * misc/futimes.c: Likewise.
74374 * misc/futimesat.c: Likewise.
74375 * misc/getdomain.c: Likewise.
74376 * misc/getdtsz.c: Likewise.
74377 * misc/gethostid.c: Likewise.
74378 * misc/gethostname.c: Likewise.
74379 * misc/getloadavg.c: Likewise.
74380 * misc/getpagesize.c: Likewise.
74381 * misc/getsysstats.c: Likewise.
74382 * misc/getxattr.c: Likewise.
74383 * misc/gtty.c: Likewise.
74384 * misc/ioctl.c: Likewise.
74385 * misc/lgetxattr.c: Likewise.
74386 * misc/listxattr.c: Likewise.
74387 * misc/llistxattr.c: Likewise.
74388 * misc/lremovexattr.c: Likewise.
74389 * misc/lsetxattr.c: Likewise.
74390 * misc/lutimes.c: Likewise.
74391 * misc/madvise.c: Likewise.
74392 * misc/mincore.c: Likewise.
74393 * misc/mlock.c: Likewise.
74394 * misc/mlockall.c: Likewise.
74395 * misc/mmap.c: Likewise.
74396 * misc/mprotect.c: Likewise.
74397 * misc/msync.c: Likewise.
74398 * misc/munlock.c: Likewise.
74399 * misc/munlockall.c: Likewise.
74400 * misc/munmap.c: Likewise.
74401 * misc/preadv.c: Likewise.
74402 * misc/preadv64.c: Likewise.
74403 * misc/ptrace.c: Likewise.
74404 * misc/pwritev.c: Likewise.
74405 * misc/pwritev64.c: Likewise.
74406 * misc/readv.c: Likewise.
74407 * misc/reboot.c: Likewise.
74408 * misc/remap_file_pages.c: Likewise.
74409 * misc/removexattr.c: Likewise.
74410 * misc/revoke.c: Likewise.
74411 * misc/select.c: Likewise.
74412 * misc/setdomain.c: Likewise.
74413 * misc/setegid.c: Likewise.
74414 * misc/seteuid.c: Likewise.
74415 * misc/sethostid.c: Likewise.
74416 * misc/sethostname.c: Likewise.
74417 * misc/setregid.c: Likewise.
74418 * misc/setreuid.c: Likewise.
74419 * misc/setxattr.c: Likewise.
74420 * misc/sstk.c: Likewise.
74421 * misc/stty.c: Likewise.
74422 * misc/swapoff.c: Likewise.
74423 * misc/swapon.c: Likewise.
74424 * misc/sync.c: Likewise.
74425 * misc/syncfs.c: Likewise.
74426 * misc/syscall.c: Likewise.
74427 * misc/truncate.c: Likewise.
74428 * misc/ualarm.c: Likewise.
74429 * misc/usleep.c: Likewise.
74430 * misc/ustat.c: Likewise.
74431 * misc/utimes.c: Likewise.
74432 * misc/vhangup.c: Likewise.
74433 * misc/writev.c: Likewise.
74434 * posix/_exit.c: Likewise.
74435 * posix/alarm.c: Likewise.
74436 * posix/execve.c: Likewise.
74437 * posix/fexecve.c: Likewise.
74438 * posix/fork.c: Likewise.
74439 * posix/fpathconf.c: Likewise.
74440 * posix/getaddrinfo.c: Likewise.
74441 * posix/getegid.c: Likewise.
74442 * posix/geteuid.c: Likewise.
74443 * posix/getgid.c: Likewise.
74444 * posix/getgroups.c: Likewise.
74445 * posix/getlogin.c: Likewise.
74446 * posix/getlogin_r.c: Likewise.
74447 * posix/getpgid.c: Likewise.
74448 * posix/getpid.c: Likewise.
74449 * posix/getppid.c: Likewise.
74450 * posix/getresgid.c: Likewise.
74451 * posix/getresuid.c: Likewise.
74452 * posix/getsid.c: Likewise.
74453 * posix/getuid.c: Likewise.
74454 * posix/glob64.c: Likewise.
74455 * posix/nanosleep.c: Likewise.
74456 * posix/pathconf.c: Likewise.
74457 * posix/pause.c: Likewise.
74458 * posix/posix_madvise.c: Likewise.
74459 * posix/pread.c: Likewise.
74460 * posix/pread64.c: Likewise.
74461 * posix/pwrite.c: Likewise.
74462 * posix/pwrite64.c: Likewise.
74463 * posix/sched_getaffinity.c: Likewise.
74464 * posix/sched_getp.c: Likewise.
74465 * posix/sched_gets.c: Likewise.
74466 * posix/sched_primax.c: Likewise.
74467 * posix/sched_primin.c: Likewise.
74468 * posix/sched_rr_gi.c: Likewise.
74469 * posix/sched_setaffinity.c: Likewise.
74470 * posix/sched_setp.c: Likewise.
74471 * posix/sched_sets.c: Likewise.
74472 * posix/sched_yield.c: Likewise.
74473 * posix/setgid.c: Likewise.
74474 * posix/setlogin.c: Likewise.
74475 * posix/setpgid.c: Likewise.
74476 * posix/setresgid.c: Likewise.
74477 * posix/setresuid.c: Likewise.
74478 * posix/setsid.c: Likewise.
74479 * posix/setuid.c: Likewise.
74480 * posix/sleep.c: Likewise.
74481 * posix/spawni.c: Likewise.
74482 * posix/sysconf.c: Likewise.
74483 * posix/times.c: Likewise.
74484 * posix/wait.c: Likewise.
74485 * posix/wait3.c: Likewise.
74486 * posix/wait4.c: Likewise.
74487 * posix/waitpid.c: Likewise.
74488 * resolv/gai_sigqueue.c: Likewise.
74489 * resource/getpriority.c: Likewise.
74490 * resource/getrlimit.c: Likewise.
74491 * resource/getrusage.c: Likewise.
74492 * resource/nice.c: Likewise.
74493 * resource/setpriority.c: Likewise.
74494 * resource/setrlimit.c: Likewise.
74495 * resource/ulimit.c: Likewise.
74496 * rt/aio_cancel.c: Likewise.
74497 * rt/aio_fsync.c: Likewise.
74498 * rt/aio_read.c: Likewise.
74499 * rt/aio_sigqueue.c: Likewise.
74500 * rt/aio_suspend.c: Likewise.
74501 * rt/aio_write.c: Likewise.
74502 * rt/clock_getres.c: Likewise.
74503 * rt/clock_gettime.c: Likewise.
74504 * rt/clock_nanosleep.c: Likewise.
74505 * rt/clock_settime.c: Likewise.
74506 * rt/lio_listio.c: Likewise.
74507 * rt/mq_close.c: Likewise.
74508 * rt/mq_getattr.c: Likewise.
74509 * rt/mq_notify.c: Likewise.
74510 * rt/mq_open.c: Likewise.
74511 * rt/mq_receive.c: Likewise.
74512 * rt/mq_send.c: Likewise.
74513 * rt/mq_setattr.c: Likewise.
74514 * rt/mq_timedreceive.c: Likewise.
74515 * rt/mq_timedsend.c: Likewise.
74516 * rt/mq_unlink.c: Likewise.
74517 * rt/shm_open.c: Likewise.
74518 * rt/shm_unlink.c: Likewise.
74519 * rt/timer_create.c: Likewise.
74520 * rt/timer_delete.c: Likewise.
74521 * rt/timer_getoverr.c: Likewise.
74522 * rt/timer_gettime.c: Likewise.
74523 * rt/timer_settime.c: Likewise.
74524 * setjmp/__longjmp.c: Likewise.
74525 * setjmp/setjmp.c: Likewise.
74526 * signal/kill.c: Likewise.
74527 * signal/killpg.c: Likewise.
74528 * signal/raise.c: Likewise.
74529 * signal/sigaction.c: Likewise.
74530 * signal/sigaltstack.c: Likewise.
74531 * signal/sigblock.c: Likewise.
74532 * signal/sigignore.c: Likewise.
74533 * signal/sigintr.c: Likewise.
74534 * signal/signal.c: Likewise.
74535 * signal/sigpause.c: Likewise.
74536 * signal/sigpending.c: Likewise.
74537 * signal/sigqueue.c: Likewise.
74538 * signal/sigreturn.c: Likewise.
74539 * signal/sigset.c: Likewise.
74540 * signal/sigsetmask.c: Likewise.
74541 * signal/sigstack.c: Likewise.
74542 * signal/sigsuspend.c: Likewise.
74543 * signal/sigtimedwait.c: Likewise.
74544 * signal/sigvec.c: Likewise.
74545 * signal/sigwait.c: Likewise.
74546 * signal/sigwaitinfo.c: Likewise.
74547 * signal/sysv_signal.c: Likewise.
74548 * socket/accept.c: Likewise.
74549 * socket/accept4.c: Likewise.
74550 * socket/bind.c: Likewise.
74551 * socket/connect.c: Likewise.
74552 * socket/getpeername.c: Likewise.
74553 * socket/getsockname.c: Likewise.
74554 * socket/getsockopt.c: Likewise.
74555 * socket/isfdtype.c: Likewise.
74556 * socket/listen.c: Likewise.
74557 * socket/recv.c: Likewise.
74558 * socket/recvfrom.c: Likewise.
74559 * socket/recvmsg.c: Likewise.
74560 * socket/send.c: Likewise.
74561 * socket/sendmsg.c: Likewise.
74562 * socket/sendto.c: Likewise.
74563 * socket/setsockopt.c: Likewise.
74564 * socket/shutdown.c: Likewise.
74565 * socket/sockatmark.c: Likewise.
74566 * socket/socket.c: Likewise.
74567 * socket/socketpair.c: Likewise.
74568 * stdio-common/ctermid.c: Likewise.
74569 * stdio-common/cuserid.c: Likewise.
74570 * stdio-common/remove.c: Likewise.
74571 * stdio-common/rename.c: Likewise.
74572 * stdio-common/renameat.c: Likewise.
74573 * stdio-common/tempname.c: Likewise.
74574 * stdlib/getcontext.c: Likewise.
74575 * stdlib/makecontext.c: Likewise.
74576 * stdlib/setcontext.c: Likewise.
74577 * stdlib/swapcontext.c: Likewise.
74578 * stdlib/system.c: Likewise.
74579 * streams/fattach.c: Likewise.
74580 * streams/fdetach.c: Likewise.
74581 * streams/getmsg.c: Likewise.
74582 * streams/getpmsg.c: Likewise.
74583 * streams/putmsg.c: Likewise.
74584 * streams/putpmsg.c: Likewise.
74585 * sysdeps/unix/bsd/getpt.c: Likewise.
74586 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74587 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74588 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74590 Likewise.
74591 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74592 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74593 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74594 * sysvipc/msgctl.c: Likewise.
74595 * sysvipc/msgget.c: Likewise.
74596 * sysvipc/msgrcv.c: Likewise.
74597 * sysvipc/msgsnd.c: Likewise.
74598 * sysvipc/semctl.c: Likewise.
74599 * sysvipc/semget.c: Likewise.
74600 * sysvipc/semop.c: Likewise.
74601 * sysvipc/semtimedop.c: Likewise.
74602 * sysvipc/shmat.c: Likewise.
74603 * sysvipc/shmctl.c: Likewise.
74604 * sysvipc/shmdt.c: Likewise.
74605 * sysvipc/shmget.c: Likewise.
74606 * termios/tcdrain.c: Likewise.
74607 * termios/tcflow.c: Likewise.
74608 * termios/tcflush.c: Likewise.
74609 * termios/tcgetattr.c: Likewise.
74610 * termios/tcgetpgrp.c: Likewise.
74611 * termios/tcsendbrk.c: Likewise.
74612 * termios/tcsetattr.c: Likewise.
74613 * termios/tcsetpgrp.c: Likewise.
74614 * time/adjtime.c: Likewise.
74615 * time/clock.c: Likewise.
74616 * time/getitimer.c: Likewise.
74617 * time/gettimeofday.c: Likewise.
74618 * time/setitimer.c: Likewise.
74619 * time/settimeofday.c: Likewise.
74620 * time/stime.c: Likewise.
74621 * time/time.c: Likewise.
74622
74623 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
74624
74625 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74626 /usr/old/bin.
74627
74628 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74629 instead of spaces.
74630 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74631
74632 2012-11-03 Joseph Myers <joseph@codesourcery.com>
74633
74634 [BZ #14796]
74635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74636 FE_TONEAREST before applying Dekker multiplication and Knuth
74637 addition. Clear inexact exceptions and check for exact zero
74638 results afterwards.
74639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74640 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74642 * math/libm-test.inc (fma_test): Add more tests.
74643 (fma_test_towardzero): Likewise.
74644 (fma_test_downward): Likewise.
74645 (fma_test_upward): Likewise.
74646 * sysdeps/generic/math_private.h (default_libc_fesetround): New
74647 function.
74648 (libc_fesetround): New macro.
74649 (libc_fesetroundf): Likewise.
74650 (libc_fesetroundl): Likewise.
74651 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74652 function.
74653 (libc_fesetround_387): Likewise.
74654 (libc_fesetroundf): New macro.
74655 (libc_fesetround): Likewise.
74656 (libc_fesetroundl): Likewise.
74657 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
74658 function.
74659 (libc_fesetroundf): New macro.
74660 (libc_fesetround): Likewise.
74661 (libc_fesetroundl): Likewise.
74662 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
74663 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
74664 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
74665 libm_hidden_ver.
74666 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
74667 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
74668 libm_hidden_def.
74669 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
74670 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
74671 libm_hidden_ver.
74672 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
74673 libm_hidden_def.
74674
74675 [BZ #3439]
74676 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
74677 integer constant usable in #if and use that to give value to enum
74678 constant.
74679 (FE_DIVBYZERO): Likewise.
74680 (FE_UNDERFLOW): Likewise.
74681 (FE_OVERFLOW): Likewise.
74682 (FE_INVALID): Likewise.
74683 (FE_INVALID_SNAN): Likewise.
74684 (FE_INVALID_ISI): Likewise.
74685 (FE_INVALID_IDI): Likewise.
74686 (FE_INVALID_ZDZ): Likewise.
74687 (FE_INVALID_IMZ): Likewise.
74688 (FE_INVALID_COMPARE): Likewise.
74689 (FE_INVALID_SOFTWARE): Likewise.
74690 (FE_INVALID_SQRT): Likewise.
74691 (FE_INVALID_INTEGER_CONVERSION): Likewise.
74692 (FE_TONEAREST): Likewise.
74693 (FE_TOWARDZERO): Likewise.
74694 (FE_UPWARD): Likewise.
74695 (FE_DOWNWARD): Likewise.
74696 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
74697 (FE_DIVBYZERO): Likewise.
74698 (FE_OVERFLOW): Likewise.
74699 (FE_UNDERFLOW): Likewise.
74700 (FE_INEXACT): Likewise.
74701 (FE_TONEAREST): Likewise.
74702 (FE_DOWNWARD): Likewise.
74703 (FE_UPWARD): Likewise.
74704 (FE_TOWARDZERO): Likewise.
74705 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
74706 (FE_UNDERFLOW): Likewise.
74707 (FE_OVERFLOW): Likewise.
74708 (FE_DIVBYZERO): Likewise.
74709 (FE_INVALID): Likewise.
74710 (FE_TONEAREST): Likewise.
74711 (FE_TOWARDZERO): Likewise.
74712 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
74713 (FE_OVERFLOW): Likewise.
74714 (FE_UNDERFLOW): Likewise.
74715 (FE_DIVBYZERO): Likewise.
74716 (FE_INEXACT): Likewise.
74717 (FE_TONEAREST): Likewise.
74718 (FE_TOWARDZERO): Likewise.
74719 (FE_UPWARD): Likewise.
74720 (FE_DOWNWARD): Likewise.
74721 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
74722 (FE_DIVBYZERO): Likewise.
74723 (FE_OVERFLOW): Likewise.
74724 (FE_UNDERFLOW): Likewise.
74725 (FE_INEXACT): Likewise.
74726 (FE_TONEAREST): Likewise.
74727 (FE_DOWNWARD): Likewise.
74728 (FE_UPWARD): Likewise.
74729 (FE_TOWARDZERO): Likewise.
74730
74731 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
74732
74733 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
74734
74735 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
74736
74737 * scripts/cross-test-ssh.sh (command): Use newlines to separate
74738 commands. Quote $PWD.
74739 (blacklist_exports): Don't use remove_newlines. Replace "declare
74740 -x" by "export".
74741 (remove_newlines): Remove.
74742
74743 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
74744
74745 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74746 * stdlib/stdlib.h (atof): Moved to ...
74747 * include/bits/stdlib-float.h: Here. New file.
74748 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
74749 * stdlib/bits/stdlib-float.h: New file.
74750 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
74751 -mno-sse -mno-mmx.
74752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
74753 <xmmintrin.h>.
74754
74755 2012-11-02 Joseph Myers <joseph@codesourcery.com>
74756
74757 * conform/conformtest.pl (@headers): Add fenv.h.
74758 * conform/data/fenv.h-data: New file.
74759 * include/fenv.h [_ISOMAC]: Disable all contents of file except
74760 include of <math/fenv.h>.
74761
74762 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
74763 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
74764 && !UNIX98]. Enables tests for XOPEN2K8.
74765 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
74766 POSIX2008]: Likewise.
74767
74768 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
74769 (struct rusage): Do not expect type or its members.
74770
74771 [BZ #3439]
74772 * math/math.h (FP_NAN): Define macro to integer constant usable in
74773 #if and use that to give value to enum constant.
74774 (FP_INFINITE): Likewise.
74775 (FP_ZERO): Likewise.
74776 (FP_SUBNORMAL): Likewise.
74777 (FP_NORMAL): Likewise.
74778
74779 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
74780
74781 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74782 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74783 arguments.
74784
74785 2012-11-02 Roland McGrath <roland@hack.frob.com>
74786
74787 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74788 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74789 autoconf-time if not.
74790 * configure.in: Remove AC_PREREQ.
74791
74792 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74793
74794 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74795 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74796 of the internal implementation.
74797
74798 2012-11-02 Joseph Myers <joseph@codesourcery.com>
74799
74800 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74801 except include of <misc/sys/syslog.h>.
74802
74803 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
74804
74805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74806 function returns with a NULL context exit with zero.
74807
74808 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74809
74810 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74811
74812 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
74813
74814 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74815 (run_program_cmd): This.
74816 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74817 (tst_langinfo): New variable. Use it.
74818
74819 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
74820
74821 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74822 floating point opcodes.
74823
74824 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
74825
74826 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74827 variable.
74828
74829 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74830
74831 * sysdeps/mach/hurd/powerpc: Remove directory.
74832 * sysdeps/mach/powerpc: Likewise.
74833
74834 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
74835
74836 * scripts/check-local-headers.sh: Ignore c++ headers.
74837
74838 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
74839
74840 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74841 __libc_cleanup_region_start argument.
74842
74843 2012-11-01 Joseph Myers <joseph@codesourcery.com>
74844
74845 [BZ #14784]
74846 [BZ #14785]
74847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74848 x * y using scaling, not as x * y + z.
74849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74850 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74851 * math/libm-test.inc (fma_test): Add more tests.
74852 (fma_test_towardzero): Likewise.
74853 (fma_test_downward): Likewise.
74854 (fma_test_upward): Likewise.
74855
74856 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
74857
74858 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74859
74860 2012-10-31 Joseph Myers <joseph@codesourcery.com>
74861
74862 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74863 New variable.
74864
74865 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
74866
74867 * rt/tst-shm.c (worker): Correct checking for mmap failure.
74868
74869 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
74870
74871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74872 Fix sort order.
74873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74874 Likewise.
74875
74876 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74877
74878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74879 Fix the order of the list for glibc 2.17.
74880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74881 Likewise.
74882
74883 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
74884
74885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74886
74887 2012-10-31 Joseph Myers <joseph@codesourcery.com>
74888
74889 [BZ #14610]
74890 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74891 for low part of x being zero before using __atanl (y).
74892 * math/libm-test.inc (atan2_test): Add another test.
74893
74894 * manual/install.texi (Configuring and compiling): Document
74895 general use of test-wrapper and test-wrapper-env.
74896 * INSTALL: Regenerated.
74897
74898 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74899 (__fma): Do not extract and scale down low bits on after-rounding
74900 systems when result rounded to normal precision would have normal
74901 exponent.
74902 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74903 (__fmal): Do not extract and scale down low bits on after-rounding
74904 systems when result rounded to normal precision would have normal
74905 exponent.
74906 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74907 (__fmal): Do not extract and scale down low bits on after-rounding
74908 systems when result rounded to normal precision would have normal
74909 exponent.
74910 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74911 macro.
74912 (fma_test): Add more tests.
74913 (fma_test_towardzero): Likewise.
74914 (fma_test_downward): Likewise.
74915 (fma_test_upward): Likewise.
74916
74917 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
74918
74919 * sysdeps/i386/tininess.h: Renamed to ...
74920 * sysdeps/x86/tininess.h: This.
74921 * sysdeps/x86_64/tininess.h: Removed.
74922
74923 2012-10-30 Joseph Myers <joseph@codesourcery.com>
74924
74925 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74926 input. Use $(build-program-cmd).
74927 ($(objpfx)tst-array1-static.out): Likewise.
74928 ($(objpfx)tst-array2.out): Likewise.
74929 ($(objpfx)tst-array3.out): Likewise.
74930 ($(objpfx)tst-array4.out): Likewise.
74931 ($(objpfx)tst-array5.out): Likewise.
74932 ($(objpfx)tst-array5-static.out): Likewise.
74933
74934 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
74935
74936 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74937 if defined.
74938
74939 * nss/nsswitch.h (nss_interface_function): Provide new
74940 macro for use with NSS functions.
74941 * grp/initgroups.c: Use new macro.
74942 * nss/getXXbyYY.c: Likewise.
74943 * nss/getXXbyYY_r.c: Likewise.
74944 * nss/getXXent.c: Likewise.
74945 * nss/getXXent_r.c: Likewise.
74946 * sysdeps/posix/getaddrinfo.c: Likewise.
74947
74948 2012-10-30 Andreas Jaeger <aj@suse.de>
74949
74950 * po/ru.po: Update Russion translation from translation project.
74951
74952 2012-10-30 Joseph Myers <joseph@codesourcery.com>
74953
74954 [BZ #14152]
74955 [BZ #14783]
74956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74957 result and shift together with sticky bit instead of replicating
74958 round-to-nearest rounding.
74959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74960 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74961 * math/libm-test.inc (fma_test): Add more tests. Do not permit
74962 missing underflow exceptions.
74963 (fma_test_towardzero): Add more tests.
74964 (fma_test_downward): Likewise.
74965 (fma_test_upward): Likewise.
74966
74967 [BZ #14047]
74968 * sysdeps/generic/tininess.h: New file.
74969 * sysdeps/i386/tininess.h: Likewise.
74970 * sysdeps/sh/tininess.h: Likewise.
74971 * sysdeps/x86_64/tininess.h: Likewise.
74972 * stdlib/tst-strtod-underflow.c: Likewise.
74973 * stdlib/tst-tininess.c: Likewise.
74974 * stdlib/strtod_l.c: Include <tininess.h>.
74975 (round_and_return): Do not set errno for exact underflow cases.
74976 Force an underflow exception when setting errno for underflow.
74977 Determine underflow based on rounding to normal precision if
74978 TININESS_AFTER_ROUNDING.
74979 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74980 ERANGE for exact underflow cases.
74981 * stdlib/Makefile (tests): Add tst-tininess and
74982 tst-strtod-underflow.
74983 ($(objpfx)tst-tininess): Use $(link-libm).
74984 ($(objpfx)tst-strtod-underflow): Likewise.
74985
74986 2012-10-30 Andreas Jaeger <aj@suse.de>
74987
74988 [BZ #14767]
74989 * elf/Makefile (tests): Remove conditional for have-initfini-array
74990 since this is now always required and the variable does not exist
74991 anymore.
74992 (tests-static): Likewise.
74993 (modules-names): Likewise.
74994
74995 * po/eo.po: Add Esperanto translation from translation project.
74996
74997 * elf/tst-array1.c (fini_array): Make writeable so that it can be
74998 merged with constructor/destructor.
74999 (init_array): Likewise.
75000 * elf/tst-array2dep.c (fini_array): Likewise.
75001 (init_array): Likewise.
75002
75003 2012-10-29 Mike Frysinger <vapier@gentoo.org>
75004
75005 * manual/message.texi: Delete @cartouche tags.
75006
75007 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
75008
75009 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75010 EOPNOTSUPP.
75011 * sysdeps/mach/hurd/fsync.c: Likewise.
75012
75013 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75014 [_POSIX_REALTIME_SIGNALS]: Change condition to
75015 [_POSIX_REALTIME_SIGNALS > 0].
75016
75017 2012-10-27 Andreas Jaeger <aj@suse.de>
75018
75019 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75020 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75022 [__WORDSIZE != 64]: Likewise.
75023
75024 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
75025
75026 * iconvdata/tst-table.sh: Remove ${SHELL}.
75027 * iconvdata/tst-tables.sh: Likewise.
75028
75029 2012-10-25 David S. Miller <davem@davemloft.net>
75030
75031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75032 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75033 of strtoull.
75034
75035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75036 ifunc-impl-list.c
75037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75038 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75039 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75040 file.
75041
75042 2012-10-25 Roland McGrath <roland@hack.frob.com>
75043
75044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75045 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75046 __getdirentries.
75047
75048 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75049 Jim Blandy <jimb@codesourcery.com>
75050
75051 * scripts/cross-test-ssh.sh: New file.
75052 * manual/install.texi (Configuring and compiling): Document use of
75053 cross-test-ssh.sh.
75054 * INSTALL: Regenerated.
75055
75056 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
75057
75058 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75059 EOPNOTSUPP.
75060
75061 2012-10-25 Joseph Myers <joseph@codesourcery.com>
75062
75063 * Makeconfig (run-program-prefix): Fix comment.
75064
75065 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75066 Jim Blandy <jimb@codesourcery.com>
75067
75068 * Makeconfig (test-wrapper): New variable,
75069 (test-wrapper-env): Likewise.
75070 [$(cross-compiling) = yes && $(test-wrapper) != ""]
75071 (run-built-tests): Define to yes.
75072 (run-program-prefix): Use $(test-wrapper).
75073 (built-program-cmd): Likewise.
75074 * Rules (make-test-out): Use $(test-wrapper-env) and
75075 $(host-built-program-cmd).
75076 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75077 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75078 tst-pathopt.sh.
75079 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75080 $(test-wrapper-env) to tst-rtld-load-self.sh.
75081 ($(objpfx)order2.out): Use $(test-wrapper).
75082 ($(objpfx)tst-initorder.out): Likewise.
75083 ($(objpfx)tst-initorder2.out): Likewise.
75084 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75085 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75086 (test_wrapper_env): New variable. Use it to run ld.so.
75087 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75088 Use it to run ld.so.
75089 (test_wrapper_env): Likewise.
75090 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75091 $(test-wrapper) to run-iconv-test.sh.
75092 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75093 (ICONV): Use $test_wrapper.
75094 * posix/Makefile ($(objpfx)globtest.out): Pass
75095 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75096 globtest.sh, not $(run-program-prefix).
75097 * posix/globtest.sh (run_via_rtld_prefix): New variable.
75098 (test_wrapper): Likewise.
75099 (test_wrapper_env): Likewise. Use it to run globtest with HOME
75100 set together with run_via_rtld_prefix.
75101 (run_program_prefix): Define in terms of test_wrapper and
75102 run_via_rtld_prefix.
75103
75104 2012-10-24 Roland McGrath <roland@hack.frob.com>
75105
75106 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75107 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75108 Targets removed.
75109
75110 [BZ #14743]
75111 * include/time.h: Remove librt_hidden_proto (clock_gettime).
75112 Declare __clock_getres, __clock_gettime, __clock_settime,
75113 __clock_nanosleep, and __clock_getcpuclockid.
75114 * rt/clock_gettime.c: Define __clock_gettime as an alias.
75115 Remove librt_hidden_def (clock_gettime).
75116 * sysdeps/unix/clock_gettime.c: Likewise.
75117 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75119 * rt/clock_getres.c: Define __clock_getres as an alias.
75120 * sysdeps/posix/clock_getres.c: Likewise.
75121 * rt/clock_settime.c: Define __clock_settime as an alias.
75122 * sysdeps/unix/clock_settime.c: Likewise.
75123 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75124 * sysdeps/unix/clock_nanosleep.c: Likewise.
75125 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75126 * rt/clock-compat.c: New file.
75127 * rt/Makefile (librt-routines): Add clock-compat and move
75128 $(clock-routines) to ...
75129 (routines): ... here, new variable.
75130 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75131 Don't add get_clockfreq here.
75132 * rt/Versions (libc: GLIBC_2.17): New version set.
75133 Add clock_* symbols here.
75134 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
75135 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75136 (GLIBC_2.17): Add clock_* symbols.
75137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75141 Likewise.
75142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75143 Likewise.
75144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75148 * NEWS: Mention the move.
75149
75150 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75151 Use __open, __read, __close rather than their public counterparts.
75152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75153 (__get_clockfreq_via_cpuinfo): Likewise.
75154 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75155 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75156
75157 * config.h.in (HAVE_IFUNC): New #undef.
75158 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75159 was successful.
75160 * configure: Regenerated.
75161
75162 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75163
75164 * configure.in: Move READELF check to start of file.
75165 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75166 libc_cv_asm_gnu_indirect_function in the process.
75167 * configure: Regenerated.
75168
75169 2012-10-24 Mike Frysinger <vapier@gentoo.org>
75170
75171 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75172 send the output to /dev/null.
75173 (libc_cv_cc_with_libunwind): Likewise.
75174 (libc_cv_as_noexecstack): Likewise.
75175 * configure: Regenerate.
75176
75177 2012-10-24 Joseph Myers <joseph@codesourcery.com>
75178
75179 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75180
75181 * posix/globtest.sh (TMPDIR): Do not set.
75182 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75183 (testout): Likewise.
75184
75185 2012-10-24 Andreas Jaeger <aj@suse.de>
75186
75187 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75188 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75189 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75190 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75191 posix_fadvise64, posix_fallocate64.
75192
75193 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75194 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75195 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75196 Likewise.
75197 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75198 Likewise.
75199 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75200
75201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75202 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75203 <bits/fcntl-linux.h>.
75204 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75205
75206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75207 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75208 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75209 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75210 [__WORDSIZE != 64]: Likewise.
75211
75212 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75213
75214 * Makeconfig (run-built-tests): New variable.
75215 * Rules [$(cross-compiling) = yes]: Change condition to
75216 [$(run-built-tests) = no].
75217 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75218 to [$(run-built-tests) = yes].
75219 * elf/Makefile [$(cross-compiling) = no]: Likewise.
75220 * grp/Makefile [$(cross-compiling) = no]: Likewise.
75221 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75222 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75223 * intl/Makefile [$(cross-compiling) = no]: Likewise.
75224 * io/Makefile [$(cross-compiling) = no]: Likewise.
75225 * libio/Makefile [$(cross-compiling) = no]: Likewise.
75226 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75227 * misc/Makefile [$(cross-compiling) = no]: Likewise.
75228 * posix/Makefile [$(cross-compiling) = no]: Likewise.
75229 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75230 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75231 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75232 * string/Makefile [$(cross-compiling) = no]: Likewise.
75233
75234 * posix/Makefile ($(objpfx)globtest.out): Pass
75235 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75236 $(rtld-installed-name).
75237 * posix/globtest.sh (elf_objpfx): Remove variable.
75238 (rtld_installed_name): Likewise.
75239 (library_path): Likewise.
75240 (run_program_prefix): New variable. Use for running globtest
75241 binary.
75242
75243 2012-10-23 Jim Blandy <jimb@codesourcery.com>
75244 Joseph Myers <joseph@codesourcery.com>
75245
75246 * Makeconfig (host-built-program-cmd): New variable.
75247 * elf/Makefile (tst-stackguard1-ARGS): Use
75248 $(host-built-program-cmd).
75249 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75250 (tst-spawn-ARGS): Likewise.
75251 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75252
75253 2012-10-23 Joseph Myers <joseph@codesourcery.com>
75254 Jim Blandy <jimb@codesourcery.com>
75255
75256 * Makeconfig (run-via-rtld-prefix): New variable.
75257 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75258 (built-program-cmd): Likewise.
75259
75260 2012-10-22 Andreas Jaeger <aj@suse.de>
75261
75262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75263 __O_RSYNC if it exists, otherwise to O_SYNC.
75264
75265 2012-10-22 Jim Blandy <jimb@codesourcery.com>
75266 Joseph Myers <joseph@codesourcery.com>
75267
75268 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75269 /dev/null.
75270 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75271 from /dev/null
75272 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75273 /dev/null.
75274
75275 2012-10-22 Andreas Jaeger <aj@suse.de>
75276
75277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75278 Define always.
75279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75280
75281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75282 bits/fcntl-linux.h.
75283
75284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75285 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75286
75287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75288 to __O_LARGEFILE.
75289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75290 to __O_LARGEFILE.
75291
75292 2012-10-21 Jim Blandy <jimb@codesourcery.com>
75293 Joseph Myers <joseph@codesourcery.com>
75294
75295 * config.make.in (NM): New variable.
75296
75297 2012-10-21 Andreas Jaeger <aj@suse.de>
75298
75299 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75300 definitions and declarations that are provided by
75301 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75302
75303 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75304
75305 [BZ #14683]
75306 * elf/Makefile (tests-static): Add tst-leaks1-static.
75307 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75308 ($(objpfx)tst-leaks1-static): New rule.
75309 ($(objpfx)tst-leaks1-static-mem): Likewise.
75310 (tst-leaks1-static-ENV): New macro.
75311 * elf/dl-open.c (dl_open_worker): Check the main application
75312 only if SHARED is defined.
75313 * elf/tst-leaks1-static.c: New file.
75314
75315 2012-10-20 Andreas Jaeger <aj@suse.de>
75316
75317 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75318 generic values for Linux.
75319 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75320 and declarations that are provided by <bits/fcntl-linux.h> and
75321 include <bits/fcntl-linux.h>.
75322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75324
75325 2012-10-20 Roland McGrath <roland@hack.frob.com>
75326
75327 * io/fcntl.h: Move include of <bits/types.h> to the top and
75328 include it unconditionally.
75329
75330 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
75331
75332 * wcsmbs/Makefile (tests-ifunc): New variable.
75333 (tests): Add $(tests-ifunc).
75334 * wcsmbs/test-wcschr-ifunc.c: New file.
75335 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75336 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75337 * wcsmbs/test-wcslen-ifunc.c: Likewise.
75338 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75339 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75340
75341 * string/Makefile (tests-ifunc): New variable.
75342 (tests): Add $(tests-ifunc).
75343 * string/test-memccpy.c (TEST_NAME): New macro.
75344 * string/test-memchr.c (TEST_NAME): Likewise.
75345 * string/test-memcmp.c (TEST_NAME): Likewise.
75346 * string/test-memcpy.c (TEST_NAME): Likewise.
75347 * string/test-memmem.c (TEST_NAME): Likewise.
75348 * string/test-memmove.c (TEST_NAME): Likewise.
75349 * string/test-memset.c (TEST_NAME): Likewise.
75350 * string/test-rawmemchr.c (TEST_NAME): Likewise.
75351 * string/test-stpcpy.c (TEST_NAME): Likewise.
75352 * string/test-stpncpy.c (TEST_NAME): Likewise.
75353 * string/test-strcasecmp.c (TEST_NAME): Likewise.
75354 * string/test-strcasestr.c (TEST_NAME): Likewise.
75355 * string/test-strcat.c (TEST_NAME): Likewise.
75356 * string/test-strchr.c (TEST_NAME): Likewise.
75357 * string/test-strcmp.c(TEST_NAME): Likewise.
75358 * string/test-strcpy.c (TEST_NAME): Likewise.
75359 * string/test-strcspn.c (TEST_NAME): Likewise.
75360 * string/test-strlen.c (TEST_NAME): Likewise.
75361 * string/test-strncasecmp.c (TEST_NAME): Likewise.
75362 * string/test-strncmp.c (TEST_NAME): Likewise.
75363 * string/test-strncpy.c (TEST_NAME): Likewise.
75364 * string/test-strnlen.c (TEST_NAME): Likewise.
75365 * string/test-strpbrk.c (TEST_NAME): Likewise.
75366 * string/test-strrchr.c (TEST_NAME): Likewise.
75367 * string/test-strspn.c (TEST_NAME): Likewise.
75368 * string/test-strstr.c (TEST_NAME): Likewise.
75369 * string/test-bcopy-ifunc.c: New file.
75370 * string/test-bzero-ifunc.c: Likewise.
75371 * string/test-memccpy-ifunc.c: Likewise.
75372 * string/test-memchr-ifunc.c: Likewise.
75373 * string/test-memcmp-ifunc.c: Likewise.
75374 * string/test-memcpy-ifunc.c: Likewise.
75375 * string/test-memmem-ifunc.c: Likewise.
75376 * string/test-memmove-ifunc.c: Likewise.
75377 * string/test-mempcpy-ifunc.c: Likewise.
75378 * string/test-memset-ifunc.c: Likewise.
75379 * string/test-rawmemchr-ifunc.c: Likewise.
75380 * string/test-stpcpy-ifunc.c: Likewise.
75381 * string/test-stpncpy-ifunc.c: Likewise.
75382 * string/test-strcasecmp-ifunc.c: Likewise.
75383 * string/test-strcasestr-ifunc.c: Likewise.
75384 * string/test-strcat-ifunc.c: Likewise.
75385 * string/test-strchr-ifunc.c: Likewise.
75386 * string/test-strchrnul-ifunc.c: Likewise.
75387 * string/test-strcmp-ifunc.c: Likewise.
75388 * string/test-strcpy-ifunc.c: Likewise.
75389 * string/test-strcspn-ifunc.c: Likewise.
75390 * string/test-strlen-ifunc.c: Likewise.
75391 * string/test-strncasecmp-ifunc.c: Likewise.
75392 * string/test-strncat-ifunc.c: Likewise.
75393 * string/test-strncmp-ifunc.c: Likewise.
75394 * string/test-strncpy-ifunc.c: Likewise.
75395 * string/test-strnlen-ifunc.c: Likewise.
75396 * string/test-strpbrk-ifunc.c: Likewise.
75397 * string/test-strrchr-ifunc.c: Likewise.
75398 * string/test-strspn-ifunc.c: Likewise.
75399 * string/test-strstr-ifunc.c: Likewise.
75400
75401 * debug/Makefile (tests-ifunc): New variable.
75402 (tests): Add $(tests-ifunc).
75403 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75404 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75405 * debug/test-stpcpy_chk-ifunc.c: New file.
75406 * debug/test-strcpy_chk-ifunc.c: Likewise.
75407
75408 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
75409
75410 [BZ #13601]
75411 * elf/dl-load.c (open_verify): Retry read if the entire ELF
75412 header is not read in.
75413
75414 2012-10-19 Joseph Myers <joseph@codesourcery.com>
75415
75416 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
75417 script to $(SHELL) as $<. Pass $(common-objpfx) to script
75418 directly. Pass built executable to script as
75419 $(built-program-cmd).
75420 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
75421 $testprogram without using LD_LIBRARY_PATH and $ldso.
75422
75423 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75424 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75425 $(rtld-installed-name).
75426 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75427 (rtld_installed_name): Likewise.
75428 (library_path): Likewise.
75429 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
75430 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75431 $(run-program-prefix) to tst-tables.sh.
75432 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
75433 it to run tst-table-from and tst-table-to.
75434 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75435 Pass it to tst-table.sh.
75436 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75437 $(run-program-prefix) to tst-gettext.sh.
75438 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75439 tst-translit.sh.
75440 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75441 tst-gettext2.sh.
75442 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
75443 to run tst-gettext.
75444 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
75445 to run tst-gettext2.
75446 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
75447 to run tst-translit.
75448 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75449 $(run-program-prefix) to tst-mtrace.sh.
75450 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
75451 to run tst-mtrace.
75452 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75453 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75454 $(rtld-installed-name).
75455 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75456 (rtld_installed_name): Likewise.
75457 (run_program_prefix): New variable. Use it to run wordexp-test.
75458
75459 * Makeconfig (ARCH): Remove all definitions.
75460 (machine): Likewise.
75461 [ARCH]: Remove conditional code.
75462 [!objdir]: Give error.
75463 [!objdir] (objpfx): Remove.
75464 [!objdir] (common-objpfx): Likewise.
75465 [!objdir] (common-objdir): Likewise.
75466 * configure.in (config_makefile): Remove. Hardcode Makefile in
75467 AC_CONFIG_FILES call.
75468 * configure: Regenerated.
75469
75470 [BZ #13888]
75471 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75472 or TMPDIR.
75473 (testout): Likewise.
75474
75475 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75476 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75477 $(rtld-installed-name).
75478 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75479 (rtld_installed_name): Likewise.
75480 (runit): Remove function.
75481 (run_getconf): New variable, Use it for running getconf binary.
75482
75483 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
75484
75485 [BZ #14716]
75486 * string/test-memmem.c (check_result): New function.
75487 (do_one_test): Use it.
75488 (check1): New function.
75489 (test_main): Use it.
75490
75491 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
75492
75493 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75494
75495 2012-10-18 Joseph Myers <joseph@codesourcery.com>
75496
75497 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75498 (_G_LSEEK64): Likewise.
75499 (_G_MMAP64): Likewise.
75500 (_G_FSTAT64): Likewise.
75501 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75502 (_G_LSEEK64): Likewise.
75503 (_G_MMAP64): Likewise.
75504 (_G_FSTAT64): Likewise.
75505 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75506 unconditional. Call __mmap64 directly.
75507 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75508 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
75509 __lseek64 directly.
75510 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75511 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
75512 __mmap64 directly.
75513 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75514 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
75515 __lseek64 directly.
75516 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75517 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
75518 __lseek64 directly.
75519 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75520 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
75521 __lseek64 directly.
75522 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75523 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
75524 __fxstat64 directly.
75525 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75526 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75527 unconditional.
75528 (freopen64) [!_G_OPEN64]: Remove conditional code.
75529 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75530 unconditional.
75531 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75532 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75533 unconditional.
75534 (ftello64) [!_G_LSEEK64]: Remove conditional code.
75535 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75536 unconditional.
75537 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75538 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75539 unconditional.
75540 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75541 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75542 unconditional.
75543 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75544 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75545 unconditional.
75546 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75547 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75548 unconditional.
75549 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75550
75551 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
75552
75553 [BZ #12140]
75554 * manual/memory.texi (Malloc Tunable Parameters): Add note
75555 about free list pointers overwriting some perturb bytes.
75556 Wording suggested by Roland McGrath.
75557
75558 2012-10-17 Joseph Myers <joseph@codesourcery.com>
75559
75560 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75561 (lgamma_test): Likewise.
75562 (tgamma_test): Likewise.
75563
75564 2012-10-16 Florian Weimer <fweimer@redhat.com>
75565
75566 [BZ #14700]
75567 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75568 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75569
75570 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
75571
75572 * NEWS: Mention BZ #14716.
75573 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75574 when removing AVAILABLE1_USES_J macro.
75575
75576 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
75577
75578 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75579 (__bswap_64): __uint64_t for unsigned 64-bit int.
75580
75581 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
75582
75583 * include/string.h (memmem): Declare libc hidden alias.
75584 * string/memmem.c (memmem): Define libc hidden alias.
75585 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75586 __read, __close instead of open, read, close.
75587
75588 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
75589
75590 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75591 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75592 global and hidden.
75593 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75594 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75595 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75596 Likewise.
75597 (__rawmemchr_sse2): Likewise.
75598 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75599 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75600 (__strchr_sse2): Likewise.
75601 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75602 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75603 (__strcasecmp_sse2): Likewise.
75604 (__strncasecmp_sse2): Likewise.
75605 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75606 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75607 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75608 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75609 (__strrchr_sse2): Likewise.
75610 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75611 ifunc-impl-list.c.
75612 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75613 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75614 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75615 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75616 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75617 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75618 * sysdeps/x86_64/multiarch/memset.S: Likewise.
75619 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75620 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75621 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75622 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75623 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75624 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75625 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75626 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75627 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75628 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75629 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75630 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75631 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75632 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75633 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75634 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75635 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75636 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75638 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75639 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75640 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75641 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75642
75643 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75644 global and hidden.
75645 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75646 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75647 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75648 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75649 Likewise.
75650 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75651 Likewise.
75652 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75653 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75654 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75655 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75656 ifunc-impl-list.c.
75657 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75658 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75659 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75660 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75661 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75662 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75663 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75664 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75665 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75666 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75667 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75668 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75669 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75670 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
75671 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
75672 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75673 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
75674 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
75675 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75676 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75678 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75679 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75680 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75681 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75682 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
75683 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
75684 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
75685 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
75686 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75687 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
75688 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75689 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75690 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
75691 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75692 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75693 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75694 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75695 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75696 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75697 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
75698
75699 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
75700 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
75701 * include/ifunc-impl-list.h: New file.
75702 * misc/ifunc-impl-list.c: Likewise.
75703 * misc/Makefile (routines): Add ifunc-impl-list.
75704 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
75705 * string/test-string.h: Include <ifunc-impl-list.h>.
75706 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
75707 TEST_NAME]: New variables.
75708 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
75709 are defined.
75710 (test_init): Call __libc_ifunc_impl_list to initialize
75711 func_list if TEST_IFUNC and TEST_NAME are defined.
75712
75713 * string/Makefile (strop-tests): Add bcopy and bzero.
75714 * string/test-bcopy.c: New file.
75715 * string/test-bzero.c: Likewise.
75716 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
75717 defined.
75718 * string/test-memset.c: Support bzero test if TEST_BZERO is
75719 defined.
75720 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
75721 __libc_memmove.
75722 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
75723 __libc_memset.
75724 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
75725 of memset.
75726
75727 2012-10-10 Joseph Myers <joseph@codesourcery.com>
75728
75729 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
75730 * configure: Regenerated.
75731
75732 * Makeconfig (+link-static-before-libc): Don't include
75733 $(link-static-libc).
75734
75735 * libio/libio.h (_IO_pos_t): Remove.
75736
75737 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
75738
75739 * NEWS: Add note about FIPS mode. Wording suggested by Roland
75740 McGrath.
75741
75742 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
75743
75744 * crypt/crypt-entry.c: Include fips-private.h.
75745 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
75746 * crypt/md5c-test.c (main): Tolerate disabled MD5.
75747 * sysdeps/unix/sysv/linux/fips-private.h: New file.
75748 * sysdeps/generic/fips-private.h: New file, dummy fallback.
75749
75750 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
75751
75752 * crypt/crypt-private.h: Include stdbool.h.
75753 (_ufc_setup_salt_r): Return bool.
75754 * crypt/crypt-entry.c: Include errno.h.
75755 (__crypt_r): Return NULL with EINVAL for bad salt.
75756 * crypt/crypt_util.c (bad_for_salt): New.
75757 (_ufc_setup_salt_r): Check that salt is long enough and within
75758 the specified alphabet.
75759 * crypt/badsalttest.c: New file.
75760 * crypt/Makefile (tests): Add it.
75761 ($(objpfx)badsalttest): New.
75762
75763 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
75764
75765 * NEWS: Add entry for BZ #14602.
75766
75767 2012-10-09 Joseph Myers <joseph@codesourcery.com>
75768
75769 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75770 type-generic.
75771 * math/libm-test.inc: Update comment listing what functions and
75772 macros are tested.
75773 (isgreater_test): New function.
75774 (isgreaterequal_test): Likewise.
75775 (isless_test): Likewise.
75776 (islessequal_test): Likewise.
75777 (islessgreater_test): Likewise.
75778 (isunordered_test): Likewise.
75779 (main): Call the new functions.
75780
75781 2012-10-09 Roland McGrath <roland@hack.frob.com>
75782
75783 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75784 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75785 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75786 * sysdeps/i386/configure: Regenerated.
75787 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75788 * sysdeps/mach/configure: Regenerated.
75789 * sysdeps/mach/hurd/configure: Regenerated.
75790 * sysdeps/powerpc/configure: Regenerated.
75791 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75792 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75793 * sysdeps/s390/s390-32/configure: Regenerated.
75794 * sysdeps/s390/s390-64/configure: Regenerated.
75795 * sysdeps/sh/configure: Regenerated.
75796 * sysdeps/sparc/configure: Regenerated.
75797 * sysdeps/unix/sysv/linux/configure: Regenerated.
75798 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75799 * sysdeps/x86_64/configure: Regenerated.
75800
75801 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75802 defined. Don't check if MAP is NULL.
75803
75804 2012-10-09 Joseph Myers <joseph@codesourcery.com>
75805
75806 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75807 (_G_stat64): Likewise.
75808 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75809 (_G_stat64): Likewise.
75810 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75811 instead of struct _G_stat64.
75812 * libio/fileops.c (mmap_remap_check): Likewise.
75813 (decide_maybe_mmap): Likewise.
75814 (_IO_new_file_seekoff): Likewise.
75815 (_IO_file_stat): Likewise.
75816 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75817 _G_off64_t.
75818 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75819 instead of struct _G_stat64.
75820 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75821
75822 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
75823
75824 [BZ #14602]
75825 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75826 Replace with ...
75827 (CHECK_EOL): New macro.
75828 (two_way_short_needle): Check beginning of haystack for EOL. Use
75829 CHECK_EOL.
75830 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75831 Replace with CHECK_EOL.
75832 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75833 Replace with CHECK_EOL.
75834
75835 2012-10-08 Joseph Myers <joseph@codesourcery.com>
75836
75837 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75838 type-generic.
75839 * math/libm-test.inc: Update comment listing what functions and
75840 macros are tested.
75841 (finite_test): New function.
75842 (isinf_test): Likewise.
75843 (isnan_test): Likewise.
75844 (fpclassify_test): Test subnormal input.
75845 (isfinite_test): Likewise.
75846 (isnormal_test): Likewise.
75847 (main): Call the new functions.
75848
75849 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
75850
75851 [BZ #14660]
75852 * Makerules (%.dynsym): Force C locale when running
75853 $(OBJDUMP) --dynamic-syms.
75854
75855 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
75856
75857 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75858 <stdint.h>.
75859
75860 2012-10-06 David S. Miller <davem@davemloft.net>
75861
75862 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75863 upper 32-bits of the length value in %o2 since we use branch-on-register
75864 tests which consider the entire 64-bit register.
75865
75866 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
75867
75868 * string/test-strstr.c (check2): Add a test for page boundary.
75869
75870 2012-10-05 David S. Miller <davem@davemloft.net>
75871
75872 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75873 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75874 file.
75875 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75876 sysdep_routines.
75877 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75878 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75879 and bzero when HWCAP_SPARC_CRYPTO is present.
75880
75881 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
75882
75883 [BZ #14602]
75884 * string/test-strstr.c (check2): New function.
75885 (test_main): Call check2.
75886
75887 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75888 and bug-strchr1.
75889 * string/bug-strcasestr1.c (do_test): Moved to ...
75890 * string/test-strcasestr.c (check1): Here. New function.
75891 (do_one_test): Break out result checking code into ...
75892 (check_result): This. New function.
75893 (do_one_test): Call check_result.
75894 (test_main): Call check1.
75895 * string/bug-strchr1.c (do_test): Moved to ...
75896 * string/test-strchr.c (check1): Here. New function.
75897 (do_one_test): Break out result checking code into ...
75898 (check_result): This. New function.
75899 (do_one_test): Call check_result.
75900 (test_main): Call check1.
75901 * string/bug-strstr1.c (main): Moved to ...
75902 * string/test-strstr.c (check1): Here. New function.
75903 (do_one_test): Break out result checking code into ...
75904 (check_result): This. New function.
75905 (do_one_test): Call check_result.
75906 (test_main): Call check1.
75907 * string/bug-strcasestr1.c: Removed.
75908 * string/bug-strchr1.c: Likewise.
75909 * string/bug-strstr1.c: Likewise.
75910
75911 * elf/Makefile (dl-routines): Add hwcaps.
75912 * elf/dl-support.c (_dl_important_hwcaps): Removed.
75913 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75914 (_dl_important_hwcaps): Moved to ...
75915 * elf/dl-hwcaps.c: Here. New file.
75916 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75917
75918 [BZ #14557]
75919 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75920 if IS_IN_rtld isn't defined.
75921
75922 * elf/dl-support.c (_dl_sysinfo_map): New.
75923 Include "get-dynamic-info.h" and "setup-vdso.h".
75924 (_dl_non_dynamic_init): Call setup_vdso.
75925 * elf/dynamic-link.h: Don't include <assert.h>.
75926 (elf_get_dynamic_info): Moved to ...
75927 * elf/get-dynamic-info.h: Here. New file.
75928 * elf/dynamic-link.h: Include "get-dynamic-info.h".
75929 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75930 * elf/setup-vdso.h: Here. New file.
75931 * elf/rtld.c: Include "setup-vdso.h".
75932 (dl_main): Call setup_vdso.
75933
75934 2012-10-05 Joseph Myers <joseph@codesourcery.com>
75935
75936 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75937 creal in comment listing functions tested. List finite, isinf,
75938 isnan, isless, islessequal, isgreater, isgreaterequal,
75939 islessgreater, isunordered, lgamma_r and pow10 as functions and
75940 macros not tested. Mention which functions not tested are aliases
75941 for other functions. Fix typo. Note that signs of NaNs are not
75942 tested.
75943
75944 * scripts/config.guess: Update from config.git.
75945 * scripts/config.sub: Likewise.
75946
75947 2012-10-04 Roland McGrath <roland@hack.frob.com>
75948
75949 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75950 * misc/madvise.c (madvise): Renamed to __madvise.
75951 Make madvise a weak alias.
75952 * include/sys/mman.h: Declare __madvise.
75953 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75954 * sysdeps/unix/syscalls.list
75955 (madvise): Make __madvise the strong name, and madvise a weak alias.
75956 * sysdeps/unix/sysv/linux/syscalls.list
75957 (madvise, mmap): Remove redundant entries.
75958 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75959 * malloc/malloc.c (mtrim): Likewise.
75960 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75961
75962 2012-10-03 Roland McGrath <roland@hack.frob.com>
75963
75964 * sysdeps/mach/hurd/dl-cache.c: File removed.
75965 * config.h.in (USE_LDCONFIG): New #undef.
75966 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75967 * configure: Regenerated.
75968 * elf/Makefile (dl-routines): Add dl-cache only under
75969 [$(use-ldconfig) = yes].
75970 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75971 cache on [USE_LDCONFIG].
75972 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75973 [USE_LDCONFIG].
75974 * elf/rtld.c (dl_main): Likewise.
75975
75976 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
75977
75978 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75979 _SC_LEVEL4_CACHE_LINESIZE.
75980
75981 2012-10-03 Roland McGrath <roland@hack.frob.com>
75982
75983 * sysdeps/unix/bsd/confstr.h: File removed.
75984
75985 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
75986
75987 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75988 sys/sdt-config.h.
75989
75990 2012-10-02 Roland McGrath <roland@hack.frob.com>
75991
75992 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75993 Make 'mapoff' field ElfW(Off) rather than off_t.
75994
75995 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
75996
75997 * nscd/Makefile: Remove nscd-cflags and all its users.
75998 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75999 (CFLAGS-nonlib): Add compiler flags for nscd modules.
76000
76001 [BZ #10631]
76002 * malloc.c (malloc_printerr): Clarify error message.
76003
76004 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
76005
76006 [BZ #14648]
76007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76008 Set bit_FMA_Usable if FMA is supported.
76009 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76010 macro.
76011 (bit_FMA4_Usable): Updated.
76012 (index_FMA_Usable): New macro.
76013 (CPUID_FMA): Likewise.
76014 (HAS_FMA): Defined with bit_FMA_Usable.
76015
76016 2012-10-01 Roland McGrath <roland@hack.frob.com>
76017
76018 * bits/types.h (__swblk_t): Type removed.
76019 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76020 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76022 (__SWBLK_T_TYPE): Likewise.
76023 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76024 (__SWBLK_T_TYPE): Likewise.
76025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76026 (__SWBLK_T_TYPE): Likewise.
76027 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76028 (__SWBLK_T_TYPE): Likewise.
76029
76030 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
76031 Honza Horak <hhorak@redhat.com>
76032
76033 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76034 (xdr_mapname): Use YPMAXMAP as maxsize.
76035 (xdr_peername): Use YPMAXPEER as maxsize.
76036 (xdr_keydat): Use YPAXRECORD as maxsize.
76037 (xdr_valdat): Use YPMAXRECORD as maxsize.
76038
76039 2012-10-01 Roland McGrath <roland@hack.frob.com>
76040
76041 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76042
76043 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76044 * csu/init-first.c: ... here.
76045 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76046 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76047 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76048 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76049 * sysdeps/i386/init-first.c: File removed.
76050 * sysdeps/sh/init-first.c: File removed.
76051
76052 2012-10-01 Joseph Myers <joseph@codesourcery.com>
76053
76054 [BZ #14645]
76055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76056 if x * y might underflow to zero and z is zero.
76057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76059 * math/libm-test.inc (min_subnorm_value): New variable.
76060 (fma_test): Add more tests.
76061 (fma_test_towardzero): Likewise.
76062 (fma_test_downward): Likewise.
76063 (fma_test_upward): Likewise.
76064 (initialize): Set min_subnorm_value.
76065
76066 2012-09-29 Joseph Myers <joseph@codesourcery.com>
76067
76068 [BZ #14638]
76069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76070 0 + 0.
76071 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76072 mode for addition resulting in exact zero.
76073 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76075 exact 0 + 0.
76076 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76078 * math/libm-test.inc (fma_test): Add more tests.
76079 (fma_test_towardzero): New function.
76080 (fma_test_downward): Likewise.
76081 (fma_test_upward): Likewise.
76082 (main): Call the new functions.
76083
76084 2012-09-28 David S. Miller <davem@davemloft.net>
76085
76086 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76087
76088 2012-09-28 Roland McGrath <roland@hack.frob.com>
76089
76090 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76091 instead of SIGALRM.
76092
76093 * sysdeps/gnu/_G_config.h: Moved to ...
76094 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76095 * sysdeps/mach/hurd/_G_config.h: Moved to ...
76096 * sysdeps/generic/_G_config.h: ... here.
76097
76098 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
76099
76100 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76101
76102 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76103 Conditionalize target on [libnss_test1.so-version].
76104
76105 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76106
76107 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76108 (elfobjdir): Move out of conditionals.
76109
76110 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76111 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76112 (__nss_lookup_function): Conditionalize label remove_from_tree on
76113 [!DO_STATIC_NSS || SHARED], matching its only use.
76114
76115 2012-09-28 David S. Miller <davem@davemloft.net>
76116
76117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76118 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76119 file.
76120 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76121 sysdep_routines.
76122 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76124 when HWCAP_SPARC_CRYPTO is present.
76125
76126 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76127
76128 * io/tst-mknodat.c: Create a FIFO instead of a socket.
76129
76130 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
76131
76132 [BZ #6530]
76133 * stdio-common/vfprintf.c (process_string_arg): Revert
76134 2000-07-22 change.
76135
76136 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
76137
76138 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76139 for testcase.
76140 * stdio-common/tst-sprintf.c: Include <locale.h>
76141 (main): Test sprintf's handling of incomplete multibyte
76142 characters.
76143
76144 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
76145
76146 * elf/dl-runtime.c (VERSYMIDX): Removed.
76147 * elf/dl-version.c (VERSYMIDX): Likewise.
76148 * elf/do-rel.h (VERSYMIDX): Likewise.
76149 (VALIDX): Likewise.
76150 * elf/dynamic-link.h (VERSYMIDX): Likewise.
76151 * elf/rtld.c (VALIDX): Likewise.
76152 (ADDRIDX): Likewise.
76153 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76154 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76155 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76156 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76157 (VALIDX): Likewise.
76158 (ADDRIDX): Likewise.
76159
76160 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76161
76162 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76163
76164 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
76165
76166 [BZ #11438]
76167 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76168 to global scope.
76169 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76170 addresses are in the same scope as 192.0.2/24.
76171 * posix/gai.conf: Document new scope table defaults.
76172
76173 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76174
76175 [BZ #5298]
76176 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76177 for ftell. Compute offsets from write pointers instead.
76178 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76179
76180 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76181
76182 [BZ #14543]
76183 * libio/Makefile (tests): New test case tst-fseek.
76184 * libio/tst-fseek.c: New test case to verify that fseek/ftell
76185 combination works in wide mode.
76186 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76187 state when the external buffer state changes.
76188
76189 2012-09-27 David S. Miller <davem@davemloft.net>
76190
76191 [BZ #14376]
76192 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76193 pass reloc->r_addend in as the 'high' argument to
76194 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76195
76196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76197
76198 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
76199
76200 * rt/tst-aio2.c: Include <pthread.h>.
76201 * rt/tst-aio3.c: Likewise.
76202
76203 2012-09-27 Steve Ellcey <sellcey@mips.com>
76204
76205 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76206
76207 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
76208
76209 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76210 contents on [SHARED].
76211
76212 2012-09-26 Marek Polacek <polacek@redhat.com>
76213
76214 [BZ #14530]
76215 [BZ #13741]
76216 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76217 for C++ and GCC <4.3 as well as for non GCC compilers.
76218
76219 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
76220
76221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76222
76223 2012-09-25 Roland McGrath <roland@hack.frob.com>
76224
76225 * Makefile.in (all, install): Declare with .PHONY.
76226 Reported by Michael Hope <michael.hope@linaro.org>.
76227
76228 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
76229
76230 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76231 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76232 system header.
76233 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76234 Likewise.
76235 (sydep_routines): Add the new and the internal functions.
76236 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76237 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76239 (GLIBC_2.17): Add the new function.
76240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76241 (GLIBC_2.17): Likewise.
76242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76243 (GLIBC_2.17): Likewise.
76244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76245 (GLIBC_2.17): Likewise.
76246 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76247
76248 2012-09-25 Alan Modra <amodra@gmail.com>
76249
76250 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76251 Add release barrier before setting once_control to say
76252 initialisation is done. Add hints on lwarx. Use macro in
76253 place of isync.
76254 (clear_once_control): Add release barrier.
76255
76256 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76257
76258 [BZ #13629]
76259 * math/s_clog.c (__clog): Handle more values close to |z| = 1
76260 specially.
76261 * math/s_clog10.c (__clog10): Likewise.
76262 * math/s_clog10f.c (__clog10f): Likewise.
76263 * math/s_clog10l.c (__clog10l): Likewise.
76264 * math/s_clogf.c (__clogf): Likewise.
76265 * math/s_clogl.c (__clogl): Likewise.
76266 * math/Makefile (libm-calls): Add x2y2m1.
76267 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76268 (__x2y2m1): Likewise.
76269 (__x2y2m1l): Likewise.
76270 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76271 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76272 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76273 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76274 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76275 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76276 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76277 * sysdeps/i386/fpu/libm-test-ulps: Update.
76278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76279
76280 [BZ #14621]
76281 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76282 int as type of variable DEPTH.
76283 (glob): Use size_t instead of int as type of variables NEWCOUNT
76284 and OLD_PATHC.
76285
76286 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76287
76288 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76289 Add s_sincosf-sse2.
76290 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76291 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76292 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76293 macros for using routine as __sincosf_ia32.
76294 Use macro for function declaration and weak_alias.
76295 * sysdeps/i386/fpu/libm-test-ulps: Update.
76296
76297 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76299
76300 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76301 subnormal argument.
76302 * math/s_cexpf.c (__cexpf): Likewise.
76303 * math/s_csinf.c (__csinf): Likewise.
76304 * math/s_csinhf.c (__csinhf): Likewise.
76305 * math/s_ctanf.c (__ctanf): Likewise.
76306 * math/s_ctanhf.c (__ctanhf): Likewise.
76307 * math/s_ccosh.c (__ccoshf): Likewise.
76308 * math/s_cexp.c (__cexpl): Likewise.
76309 * math/s_csin.c (__csin): Likewise.
76310 * math/s_csinh.c (__csinh): Likewise.
76311 * math/s_ctan.c (__ctan): Likewise.
76312 * math/s_ctanh.c (ctanh): Likewise.
76313 * math/s_ccoshl.c (__ccoshl): Likewise.
76314 * math/s_cexpl.c (__cexpl): Likewise.
76315 * math/s_csinl.c (__csinl): Likewise.
76316 * math/s_csinhl.c (__csinhl): Likewise.
76317 * math/s_ctanl.c (__ctanl): Likewise.
76318 * math/s_ctanhl.c (__ctanhl): Likewise.
76319
76320 2012-09-25 Joseph Myers <joseph@codesourcery.com>
76321
76322 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76323 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76324 (_IO_off_t): Define to __off_t, not _G_off_t.
76325 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76326 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76327 (_IO_wint_t): Define to wint_t, not _G_wint_t.
76328 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76329 type of __dummy and __dummy2 fields.
76330 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76331 (_G_ssize_t): Likewise.
76332 (_G_off_t): Likewise.
76333 (_G_pid_t): Likewise.
76334 (_G_uid_t): Likewise.
76335 (_G_wchar_t): Likewise.
76336 (_G_wint_t): Likewise.
76337 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76338 (_G_ssize_t): Likewise.
76339 (_G_off_t): Likewise.
76340 (_G_pid_t): Likewise.
76341 (_G_uid_t): Likewise.
76342 (_G_wchar_t): Likewise.
76343 (_G_wint_t): Likewise.
76344 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76345 (_G_ssize_t): Likewise.
76346 (_G_off_t): Likewise.
76347 (_G_pid_t): Likewise.
76348 (_G_uid_t): Likewise.
76349 (_G_wchar_t): Likewise.
76350 (_G_wint_t): Likewise.
76351
76352 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76353
76354 * malloc/arena.c: Include malloc-sysdep.h.
76355 (shrink_heap): Use check_may_shrink_heap to decide if madvise
76356 is sufficient to shrink the heap or an unmap is needed.
76357 * sysdeps/generic/malloc-sysdep.h: New file. Define
76358 new function check_may_shrink_heap.
76359 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
76360 new function check_may_shrink_heap.
76361
76362 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
76363
76364 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76365 comments.
76366
76367 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
76368
76369 * catgets/test-gencat.sh: Add "set -e".
76370 * elf/tst-pathopt.sh: Likewise.
76371 * grp/tst_fgetgrent.sh: Likewise.
76372 * iconvdata/run-iconv-test.sh: Likewise.
76373 * intl/tst-gettext.sh: Likewise.
76374 * intl/tst-gettext2.sh: Likewise.
76375 * intl/tst-gettext4.sh: Likewise.
76376 * intl/tst-gettext6.sh: Likewise.
76377 * intl/tst-translit.sh: Likewise.
76378 * io/ftwtest-sh: Likewise.
76379 * libio/test-freopen.sh: Likewise.
76380 * malloc/tst-mtrace.sh: Likewise.
76381 * posix/globtest.sh: Likewise.
76382 * posix/tst-getconf.sh: Likewise.
76383 * posix/wordexp-tst.sh: Likewise.
76384 * stdio-common/tst-printf.sh: Likewise.
76385 * stdio-common/tst-unbputc.sh: Likewise.
76386 * stdlib/tst-fmtmsg.sh: Likewise.
76387 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76388 * catgets/Makefile: Do not specify -e option when running
76389 testsuite shell scripts.
76390 * elf/Makefile: Likewise.
76391 * grp/Makefile: Likewise.
76392 * iconvdata/Makefile: Likewise.
76393 * intl/Makefile: Likewise.
76394 * io/Makefile: Likewise.
76395 * libio/Makefile: Likewise.
76396 * malloc/Makefile: Likewise.
76397 * posix/Makefile: Likewise.
76398 * stdio-common/Makefile: Likewise.
76399 * stdlib/Makefile: Likewise.
76400 * sysdeps/x86_64/Makefile: Likewise.
76401
76402 * io/ftwtest-sh: Add copyright header.
76403 * posix/globtest.sh: Likewise.
76404 * posix/tst-getconf.sh: Likewise.
76405 * posix/wordexp-tst.sh: Likewise.
76406 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76407
76408 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
76409
76410 [BZ #13679]
76411 * Makeconfig (+link): Defined as $(+link-static) if
76412 $(build-shared) isn't yes.
76413 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76414 isn't yes.
76415 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76416
76417 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76418
76419 [BZ #14562]
76420 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76421 new chunk size with MALLOC_ALIGN_MASK.
76422
76423 2012-09-24 Joseph Myers <joseph@codesourcery.com>
76424
76425 [BZ #5044]
76426 * stdio-common/printf_fphex.c: Include <stdbool.h> and
76427 <rounding-mode.h>.
76428 (__printf_fphex): Determine rounding using get_rounding_mode and
76429 round_away.
76430 * stdio-common/tst-printf-round.c (struct hex_test): New
76431 structure.
76432 (hex_tests): New variable.
76433 (test_hex_in_one_mode): New function.
76434 (do_test): Also run tests for hex float output.
76435
76436 2012-09-21 Joseph Myers <joseph@codesourcery.com>
76437
76438 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76439 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76440 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76441 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76442 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76443 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76444 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76445 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76446
76447 2012-09-20 Joseph Myers <joseph@codesourcery.com>
76448
76449 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76450 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76451 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76452 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76453
76454 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
76455
76456 [BZ #14579]
76457 * elf/rtld.c (dl_main): Limit the check for self loading to normal
76458 mode only.
76459 * elf/tst-rtld-load-self.sh: New test.
76460 * elf/Makefile: Run it.
76461
76462 2012-09-18 Joseph Myers <joseph@codesourcery.com>
76463
76464 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76465 (tst-writev-ENV): Remove.
76466 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76467
76468 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
76469
76470 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76471
76472 2012-09-17 Joseph Myers <joseph@codesourcery.com>
76473
76474 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76475 unconditional.
76476 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76477 Likewise.
76478 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76479 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76480 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76481 Likewise.
76482
76483 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
76484
76485 [BZ #14587]
76486 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76487 * config.make.in (have-cpp-asm-debuginfo): Removed.
76488 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76489 * configure: Regenerated.
76490
76491 2012-09-14 Joseph Myers <joseph@codesourcery.com>
76492
76493 [BZ #5044]
76494 * stdio-common/printf_fp.c: Include <stdbool.h> and
76495 <rounding-mode.h>.
76496 (___printf_fp): Determine rounding using get_rounding_mode and
76497 round_away.
76498 * stdio-common/tst-printf-round.c: New file.
76499 * stdio-common/Makefile (tests): Add tst-printf-round.
76500 (link-libm): New variable.
76501 ($(objpfx)tst-printf-round): Depend in $(link-libm).
76502
76503 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
76504
76505 [BZ #14576]
76506 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76507 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76508 Likewise.
76509 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76510 Likewise.
76511
76512 2012-09-13 Joseph Myers <joseph@codesourcery.com>
76513
76514 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76515 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76516 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76517 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76518
76519 2012-09-12 Joseph Myers <joseph@codesourcery.com>
76520
76521 [BZ #14518]
76522 * include/rounding-mode.h: New file.
76523 * sysdeps/generic/get-rounding-mode.h: Likewise.
76524 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76525 * stdlib/strtod_l.c: Include <rounding-mode.h>.
76526 (MAX_VALUE): New macro.
76527 (MIN_VALUE): Likewise.
76528 (overflow_value): New function.
76529 (underflow_value): Likewise.
76530 (round_and_return): Use overflow_value and underflow_value to
76531 determine return values in overflow and underflow cases. Use
76532 round_away to determine rounding depending on rounding mode.
76533 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76534 determine return values in overflow and underflow cases.
76535 * stdlib/tst-strtod-round.c: Include <fenv.h>.
76536 (struct test_results): New structure.
76537 (struct test): Use struct test_results to store expected results
76538 for all rounding modes.
76539 (TEST): Include expected results for all rounding modes.
76540 (test_in_one_mode): New function.
76541 (do_test): Use test_in_one_mode to compute and check results.
76542 Check results for all rounding modes.
76543 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76544 $(link-libm).
76545
76546 2012-12-09 Allan McRae <allan@archlinux.org>
76547
76548 * sysdeps/i386/fpu/libm-test-ulps: Update
76549
76550 2012-09-11 Joseph Myers <joseph@codesourcery.com>
76551
76552 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76553 (_G_int32_t): Likewise.
76554 (_G_uint16_t): Likewise.
76555 (_G_uint32_t): Likewise.
76556 (_G_HAVE_BOOL): Likewise.
76557 (_G_HAVE_ATEXIT): Likewise.
76558 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76559 (_G_HAVE_IO_FILE_OPEN): Likewise.
76560 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76561 (_G_int32_t): Likewise.
76562 (_G_uint16_t): Likewise.
76563 (_G_uint32_t): Likewise.
76564 (_G_HAVE_BOOL): Likewise.
76565 (_G_HAVE_ATEXIT): Likewise.
76566 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76567 (_G_HAVE_IO_FILE_OPEN): Likewise.
76568 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76569 (_G_int32_t): Likewise.
76570 (_G_uint16_t): Likewise.
76571 (_G_uint32_t): Likewise.
76572 (_G_HAVE_BOOL): Likewise.
76573 (_G_HAVE_ATEXIT): Likewise.
76574 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76575 (_G_HAVE_IO_FILE_OPEN): Likewise.
76576
76577 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
76578
76579 * csu/libc-tls.c: Update copyright years.
76580
76581 2012-09-10 Joseph Myers <joseph@codesourcery.com>
76582
76583 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76584 [!_G_USING_THUNKS]: Remove conditional code.
76585 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76586 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76587
76588 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76589 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76590 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76591 (_G_VTABLE_LABEL_PREFIX): Likewise.
76592 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76593 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76594 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76595 (_G_VTABLE_LABEL_PREFIX): Likewise.
76596 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76597 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76598 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76599 (_G_VTABLE_LABEL_PREFIX): Likewise.
76600 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76601
76602 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
76603
76604 * libio/Makefile: Include ../Makeconfig before tests.
76605 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76606 only if $(build-shared) is yes.
76607
76608 * iconv/gconv_db.c: Update copyright years.
76609
76610 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76611
76612 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76613 unwind info if defined PIC. Fix special cases description.
76614 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76615
76616 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76617 DP_HI_MASK entry.
76618 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76619
76620 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
76621
76622 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76623
76624 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76625 is NULL.
76626
76627 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76628 (LDLIBS-tst-chk4): This.
76629 (LDFLAGS-tst-chk5): Renamed to ...
76630 (LDLIBS-tst-chk5): This.
76631 (LDFLAGS-tst-chk6): Renamed to ...
76632 (LDLIBS-tst-chk6): This.
76633 (LDFLAGS-tst-lfschk4): Renamed to ...
76634 (LDLIBS-tst-lfschk4): This.
76635 (LDFLAGS-tst-lfschk5): Renamed to ...
76636 (LDLIBS-tst-lfschk5): This.
76637 (LDFLAGS-tst-lfschk6): Renamed to ...
76638 (LDLIBS-tst-lfschk6): This.
76639
76640 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76641 on $(common-objpfx)soversions.mk.
76642
76643 2012-09-07 Joseph Myers <joseph@codesourcery.com>
76644
76645 [BZ #10014]
76646 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76647 example host name.
76648
76649 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
76650
76651 * malloc/arena.c (arena_get_retry): New function that gets
76652 another arena for the caller to try its request on.
76653 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76654 current arena cannot fulfill the request.
76655 (__libc_memalign): Likewise.
76656 (__libc_memalign): Likewise.
76657 (__libc_pvalloc): Likewise.
76658 (__libc_calloc): Likewise.
76659
76660 2012-09-05 John Tobey <john.tobey@gmail.com>
76661
76662 [BZ #13542]
76663 * manual/arith.texi (Operations on Complex): Fix description
76664 of carg branch cut.
76665
76666 2012-09-06 Joseph Myers <joseph@codesourcery.com>
76667
76668 [BZ #10014]
76669 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
76670 host name.
76671
76672 [BZ #10038]
76673 * manual/memory.texi (Memory): Make order of menu items match
76674 order of sections.
76675
76676 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76677
76678 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
76679 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
76680 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
76681
76682 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76683
76684 * csu/libc-tls.c (static_dtv): Renamed to ...
76685 (_dl_static_dtv): This. Make it global.
76686 (_dl_initial_dtv): Removed.
76687 (__libc_setup_tls): Updated.
76688 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
76689 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
76690 DL_INITIAL_DTV.
76691
76692 2012-09-06 Petr Machata <pmachata@redhat.com>
76693
76694 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
76695 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
76696 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76697 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
76698
76699 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76700
76701 [BZ #14545]
76702 * csu/libc-tls.c (_dl_initial_dtv): New variable.
76703 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
76704 freeing dtv[-1].
76705
76706 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
76707
76708 [BZ #14544]
76709 * Makeconfig (link-static-before-libc): Replace $(+prector)
76710 with $(+prectorT).
76711 (link-static-after-libc): Replace $(+postctor) with
76712 $(+postctorT).
76713 (link-bounded): Replace $(+prector)/$(+postctor) with
76714 $(+prectorT)/$(+postctorT).
76715 (+prectorT): New macro.
76716 (+postctorT): Likewise.
76717
76718 2012-09-06 Joseph Myers <joseph@codesourcery.com>
76719
76720 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
76721 (round_str): Handle values above the maximum for IBM long double
76722 as inexact.
76723 * stdlib/tst-strtod-round.c (tests): Regenerated.
76724
76725 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76726
76727 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
76728 assembler flag.
76729 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
76730 zarch_nohighgprs around the zarch optimized routines.
76731 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
76732 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
76733 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
76734 for zarch.
76735
76736 2012-09-05 David S. Miller <davem@davemloft.net>
76737
76738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76739
76740 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
76741 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
76742 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
76743 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76744 entries.
76745
76746 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76747
76748 * malloc/arena.c: Fold copyright years.
76749 * malloc/mcheck.c, malloc/memusage.c: Likewise.
76750
76751 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76752
76753 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
76754
76755 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76756
76757 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
76758
76759 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76760
76761 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
76762 change internal state upon failure.
76763
76764 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
76765
76766 * malloc/mcheck.c (mcheck_check_all): Fix typo.
76767 * malloc/memusage.c (mmap): Likewise.
76768 (mmap64, mremap): Likewise. Adjust name in comment.
76769
76770 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
76771
76772 * libio/fileops.c: Fix typos in comments.
76773 * libio/oldfileops.c: Likewise.
76774 * libio/wfileops.c: Likewise.
76775
76776 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
76777
76778 [BZ #1349]
76779 * malloc/Makefile (tests): Add tst-malloc-usable test case.
76780 (tst-malloc-usable-ENV): Set environment for test case.
76781 * malloc/hooks.c (malloc_check_get_size): New function to get
76782 requested size.
76783 * malloc/malloc.c (musable): Use malloc_check_get_size.
76784 * malloc/tst-malloc-usable.c: New test case.
76785
76786 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
76787
76788 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76789
76790 2012-09-05 Allan McRae <allan@archlinux.org>
76791
76792 [BZ #13966]
76793 * configure.in (CXX_SYSINCLUDES): Use compiler output to
76794 determine header location.
76795 * configure: Regenerated.
76796
76797 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
76798
76799 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76800 float format.
76801 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76802 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76803 format.
76804 (test): Regenerate.
76805
76806 2012-09-04 David S. Miller <davem@davemloft.net>
76807
76808 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76809 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76810 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76811
76812 2012-09-04 Florian Weimer <fweimer@redhat.com>
76813
76814 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76815 failures.
76816
76817 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76818
76819 2012-09-04 Joseph Myers <joseph@codesourcery.com>
76820
76821 [BZ #9914]
76822 * libio/iogetdelim.c: Include <limits.h>.
76823 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76824 + len + 1 would overflow.
76825
76826 2012-09-03 Andreas Jaeger <aj@suse.de>
76827
76828 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76829 * sysdeps/i386/fpu/libm-test-ulps: Update.
76830
76831 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76832
76833 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76834 Add s_sinf-sse2, s_conf-sse2.
76835
76836 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76837 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76838 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76839 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76840
76841 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76842 for using routine as __sinf_ia32.
76843 Use macro for function declaration and weak_alias.
76844 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76845 for using routine as __cosf_ia32.
76846 Use macro for function declaration and weak_alias.
76847
76848 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76849 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76850
76851 * sysdeps/x86_64/fpu/s_sinf.S: New file.
76852 * sysdeps/x86_64/fpu/s_cosf.S: New file.
76853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76854
76855 * math/libm-test.inc (cos_test): Add more test cases.
76856 (sin_test): Likewise.
76857 (sincos_test): Likewise.
76858
76859 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76860
76861 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76862 (IFUNC_RESOLVE): Make pointers to the specialized implementations
76863 hidden.
76864 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76865
76866 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
76867
76868 [BZ #14538]
76869 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76870 first element of the GOT.
76871 (elf_machine_load_address): Return the difference between
76872 the runtime address of _DYNAMIC and elf_machine_dynamic ().
76873
76874 2012-09-01 Allan McRae <allan@archlinux.org>
76875
76876 [BZ #13412]
76877 * configure.in (AWK): Require gawk version 3.0 or later.
76878 * configure: Regenerated.
76879
76880 2012-09-01 Joseph Myers <joseph@codesourcery.com>
76881
76882 * sysdeps/unix/sysv/linux/kernel-features.h
76883 (__ASSUME_POSIX_CPU_TIMERS): Remove.
76884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76885 [__NR_clock_getres]: Make code unconditional.
76886 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76887 (clock_getcpuclockid): Remove code left unreachable by removal of
76888 conditionals.
76889 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76890 code unconditional.
76891 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76892 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76893 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76894 Make code unconditional.
76895 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76896 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76897 * sysdeps/unix/sysv/linux/clock_settime.c
76898 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76899 conditional code.
76900 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76901 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76902
76903 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
76904
76905 [BZ #14476]
76906 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76907 scripts/test-installation.pl.
76908
76909 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76910 and $ld_so_version if it is set.
76911
76912 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
76913
76914 [BZ #14516]
76915 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76916 failure if reading from procfs failed.
76917 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76918
76919 2012-08-27 Joseph Myers <joseph@codesourcery.com>
76920
76921 * sysdeps/unix/sysv/linux/kernel-features.h
76922 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76923 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76924 Remove conditional code.
76925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76926 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76927 Remove conditional code.
76928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76929 * sysdeps/unix/sysv/linux/i386/fxstat.c
76930 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76932 * sysdeps/unix/sysv/linux/i386/fxstatat.c
76933 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76935 * sysdeps/unix/sysv/linux/i386/lxstat.c
76936 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76938 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76939 Remove conditional code.
76940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76941 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76942 Remove conditional code.
76943 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76944 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76945 <kernel-features.h>.
76946 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76947 Remove.
76948 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76949 Remove conditional code.
76950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76951 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76952 Remove conditional.
76953
76954 2012-08-27 Mike Frysinger <vapier@gentoo.org>
76955
76956 [BZ #5400]
76957 * NEWS: Add fixed bug number.
76958
76959 2012-08-27 Joseph Myers <joseph@codesourcery.com>
76960
76961 [BZ #14519]
76962 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76963 underflowing exponent in case of negative sign.
76964 * stdlib/tst-strtod-round-data: Add more tests.
76965 * stdlib/tst-strtod-round.c (tests): Regenerated.
76966
76967 [BZ #3479]
76968 * stdlib/strtod_l.c (NDIG): Remove.
76969 (HEXNDIG): Likewise.
76970 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76971 smallest representable value.
76972 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76973 lie within an exact representation of 1/2 ulp of the result.
76974 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76975 unconditionally.
76976 (TENS_P9_IDX): Define unconditionally.
76977 (TENS_P9_SIZE): Likewise.
76978 (TENS_P10_IDX): Likewise.
76979 (TENS_P10_SIZE): Likewise.
76980 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76981 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76982 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76983 entries for 10^2^13 and 10^2^14.
76984 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76985 (TENS_P13_IDX): Define.
76986 (TENS_P13_SIZE): Likewise.
76987 (TENS_P14_IDX): Likewise.
76988 (TENS_P14_SIZE): Likewise.
76989 (_fpioconst_pow10): Change array size to
76990 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
76991 unconditional.
76992 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76993 1024]: Add entries for 10^2^13 and 10^2^14.
76994 [LAST_POW10 > _LAST_POW10]: Remove #error.
76995 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76996 (_fpioconst_pow10): Change array size to
76997 FPIOCONST_POW10_ARRAY_SIZE.
76998 * stdlib/gen-fpioconst.c: New file.
76999 * stdlib/gen-tst-strtod-round.c: Likewise.
77000 * stdlib/tst-strtod-round-data: Likewise.
77001 * stdlib/tst-strtod-round.c: Likewise.
77002 * stdlib/Makefile (tests): Add tst-strtod-round.
77003
77004 [BZ #14459]
77005 * stdlib/strtod_l.c: Include <stdint.h>.
77006 (NDEBUG): Do not define.
77007 (round_and_return): Change EXPONENT parameter to type intmax_t.
77008 Rearrange calculations to avoid internal overflow possibilities.
77009 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77010 Rearrange calculations to avoid internal overflow possibilities.
77011 Assert that number fits inside MPNSIZE limbs.
77012 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77013 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
77014 calculations and add assertions to avoid internal overflow
77015 possibilities. Add casts to avoid signed/unsigned operations.
77016 * stdlib/tst-strtod-overflow.c: New file.
77017 * stdlib/Makefile (tests): Add tst-strtod-overflow.
77018
77019 2012-08-25 Marek Polacek <polacek@redhat.com>
77020
77021 * time/time.h: Fix some typos in comments.
77022
77023 2012-08-23 Roland McGrath <roland@hack.frob.com>
77024
77025 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77026 * posix/tst-rfc3484-2.c: Likewise.
77027 * posix/tst-rfc3484-3.c: Likewise.
77028
77029 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
77030
77031 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77032 (EF_ARM_ABI_FLOAT_HARD): Likewise.
77033
77034 2012-08-23 Joseph Myers <joseph@codesourcery.com>
77035
77036 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77037 #include of fxstatat64.c.
77038
77039 2012-08-22 Roland McGrath <roland@hack.frob.com>
77040
77041 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77042 * shadow/getspent_r.c: Likewise.
77043 * shadow/getspnam.c: Likewise.
77044 * shadow/getspnam_r.c: Likewise.
77045 * gshadow/getsgent.c: Likewise.
77046 * gshadow/getsgent_r.c: Likewise.
77047 * gshadow/getsgnam.c: Likewise.
77048 * gshadow/getsgnam_r.c: Likewise.
77049 * inet/getnetbyad.c: Likewise.
77050 * inet/getnetbyad_r.c: Likewise.
77051 * inet/getnetbynm.c: Likewise.
77052 * inet/getnetbynm_r.c: Likewise.
77053 * inet/getnetent.c: Likewise.
77054 * inet/getnetent_r.c: Likewise.
77055 * inet/getproto.c: Likewise.
77056 * inet/getproto_r.c: Likewise.
77057 * inet/getprtent.c: Likewise.
77058 * inet/getprtent_r.c: Likewise.
77059 * inet/getprtname.c: Likewise.
77060 * inet/getprtname_r.c: Likewise.
77061 * inet/getrpcbyname.c: Likewise.
77062 * inet/getrpcbyname_r.c: Likewise.
77063 * inet/getrpcbynumber.c: Likewise.
77064 * inet/getrpcbynumber_r.c: Likewise.
77065 * inet/getrpcent.c: Likewise.
77066 * inet/getrpcent_r.c: Likewise.
77067 * inet/getaliasent.c: Likewise.
77068 * inet/getaliasent_r.c: Likewise.
77069 * inet/getaliasname.c: Likewise.
77070 * inet/getaliasname_r.c: Likewise.
77071 * nscd/getgrgid_r.c: Likewise.
77072 * nscd/getgrnam_r.c: Likewise.
77073 * nscd/gethstbyad_r.c: Likewise.
77074 * nscd/gethstbynm3_r.c: Likewise.
77075 * nscd/getpwnam_r.c: Likewise.
77076 * nscd/getpwuid_r.c: Likewise.
77077 * nscd/getsrvbynm_r.c: Likewise.
77078 * nscd/getsrvbypt_r.c: Likewise.
77079 * nscd/gai.c: Likewise.
77080
77081 * configure.in (build_nscd): New substituted variable, set
77082 by --disable-build-nscd and defaults to $use_nscd.
77083 * configure: Regenerated.
77084 * config.make.in (build-nscd): New substituted variable.
77085 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77086 Change conditional to require [$(build-nscd) = yes] as well.
77087 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77088
77089 [BZ #13696]
77090 * configure.in (use_nscd): New substituted variable, set by
77091 --disable-nscd. If enabled, define USE_NSCD.
77092 * configure: Regenerated.
77093 * config.h.in: Add USE_NSCD.
77094 * config.make.in (use-nscd): New substituted variable.
77095 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77096 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77097 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77098 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77099 (CFLAGS-getgrnam_r.c): Likewise.
77100 (CFLAGS-initgroups.c): Likewise.
77101 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77102 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77103 Variables removed.
77104 * inet/getnetgrent_r.c
77105 (nscd_setnetgrent): New function, broken out of ...
77106 (setnetgrent): ... here. Call it.
77107 (innetgr): Conditionalize nscd bits on [USE_NSCD].
77108 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77109 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77110 * nscd/Makefile (routines, aux): Move definitions after include of
77111 Makeconfig. Conditionalize on [$(use-nscd) != no].
77112 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77113 Conditionalize on [USE_NSCD].
77114 (is_nscd, nscd_init_cb): Likewise.
77115 (nss_load_library): Conditionalize init callback on [USE_NSCD].
77116 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77117 * nss/nss_db/db-init.c: Likewise.
77118 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77119 [USE_NSCD].
77120 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77121 (make_request): Use it.
77122 (cache_valid_p): New function.
77123 (__check_pf): Use it.
77124 * NEWS: Add item for --disable-nscd.
77125
77126 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
77127
77128 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77129 to support sed >= 4.2.1-20-ga9bf076.
77130 * configure: Regenerated.
77131
77132 2012-08-22 Roland McGrath <roland@hack.frob.com>
77133
77134 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77135 Conditionalize whole body on [IREL].
77136
77137 2012-08-22 Jeff Law <law@redhat.com>
77138
77139 [BZ #14505]
77140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77141 if the family is PF_UNSPEC.
77142
77143 2012-08-22 Mike Frysinger <vapier@gentoo.org>
77144
77145 * Makerules (lib-version): Rename from V.
77146 (install-lib-nosubdir): Change V to lib-version.
77147
77148 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
77149
77150 [BZ #14252]
77151 * powerpc32/power6/wcschr.c: New file.
77152 * powerpc32/power6/wcscpy.c: New file.
77153 * powerpc32/power6/wcsrchr.c: New file.
77154 * powerpc64/power6/wcschr.c: New file.
77155 * powerpc64/power6/wcscpy.c: New file.
77156 * powerpc64/power6/wcsrchr.c: New file.
77157
77158 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77159
77160 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77161 (two_way_short_needle): Use it.
77162 * string/strstr.c (AVAILABLE1_USES_J): Define.
77163 * string/strcasestr.c: Likewise.
77164
77165 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77166 array references.
77167 * string/strcasestr.c (TOLOWER): Make side-effect safe.
77168
77169 [BZ #11607]
77170 * NEWS: Add an entry.
77171 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77172 define their defaults.
77173 (two_way_short_needle): Detect end-of-string on-the-fly.
77174 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77175 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77176 * string/bug-strcasestr1.c: New test.
77177 * string/Makefile: Run it.
77178
77179 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
77180
77181 [BZ #11607]
77182 * string/str-two-way.h (two_way_short_needle): Optimize matching of
77183 the first character.
77184
77185 2012-08-21 Roland McGrath <roland@hack.frob.com>
77186
77187 * csu/elf-init.c (__libc_csu_irel): Function removed.
77188 * csu/libc-start.c (apply_irel): New function.
77189 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77190
77191 2012-08-21 Joseph Myers <joseph@codesourcery.com>
77192
77193 * sysdeps/unix/sysv/linux/kernel-features.h
77194 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77195 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77196 <kernel-features.h>.
77197 [__NR_fadvise64_64]: Make code unconditional.
77198 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77199 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77200 !__NR_fadvise64_64)]: Likewise.
77201 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77202 !__NR_fadvise64_64))]: Likewise.
77203 [__NR_fadvise64]: Make code unconditional.
77204 [!__NR_fadvise64]: Remove conditional code.
77205 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77206 <kernel-features.h>.
77207 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77208 unconditional.
77209 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77210 conditional code.
77211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77212 not include <kernel-features.h>.
77213 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77214 unconditional.
77215 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77216 conditional code.
77217 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77218 include <kernel-features.h>.
77219 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77220 unconditional.
77221 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77222 conditional code.
77223
77224 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
77225
77226 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77227 slight instruction rearrangements per scrollpipe analysis.
77228 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77229
77230 2012-08-20 Roland McGrath <roland@hack.frob.com>
77231
77232 * manual/syslog.texi (syslog; vsyslog, closelog):
77233 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77234 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77235
77236 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77237 DSOCAPS to match condition on defining it.
77238
77239 2012-08-20 Joseph Myers <joseph@codesourcery.com>
77240
77241 * sysdeps/unix/sysv/linux/kernel-features.h
77242 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77244 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77245 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77247 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77248 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77250 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77251 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77252
77253 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77254 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77255
77256 * sysdeps/unix/sysv/linux/kernel-features.h
77257 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77258 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77259 unconditional.
77260 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77261 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77262 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77263 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77264 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77265 Make code unconditional.
77266 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77267 (__mmap64) [!__NR_mmap2]: Likewise.
77268 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77269 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77270 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77271 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77272 [__NR_mmap2]: Make code unconditional.
77273 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77274 (__mmap64) [!__NR_mmap2]: Likewise.
77275
77276 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77277
77278 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77279
77280 2012-08-18 Andreas Jaeger <aj@suse.de>
77281
77282 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77283
77284 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77285
77286 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77287 * include/unistd.h (__have_sock_cloexec): Likewise.
77288 (__have_pipe2): Likewise.
77289 (__have_dup3): Likewise.
77290
77291 2012-08-18 Mike Frysinger <vapier@gentoo.org>
77292
77293 [BZ #9685]
77294 * include/unistd.h (__have_pipe2): Change define into an extern int.
77295 (__have_dup3): Likewise.
77296 * socket/have_sock_cloexec.c: Include fcntl.h.
77297 (__have_pipe2): New variable.
77298 (__have_dup3): Likewise.
77299
77300 2012-08-17 Mike Frysinger <vapier@gentoo.org>
77301
77302 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77303
77304 2012-08-17 Marek Polacek <polacek@redhat.com>
77305
77306 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77307 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77308
77309 2012-08-17 Roland McGrath <roland@hack.frob.com>
77310
77311 * configure.in: Add AC_SUBST for sysheaders.
77312 * configure: Regenerated.
77313 * config.make.in (sysheaders): New substituted variable.
77314
77315 * sysdeps/unix/mkfifo.c: Moved ...
77316 * sysdeps/posix/mkfifo.c: ... here.
77317 * sysdeps/unix/mkfifoat.c: Moved ...
77318 * sysdeps/posix/mkfifoat.c: ... here.
77319
77320 * sysdeps/unix/utime.c: Moved ...
77321 * sysdeps/posix/utime.c: ... here.
77322
77323 * sysdeps/unix/time.c: Moved ...
77324 * sysdeps/posix/time.c: ... here.
77325 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77326 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77327
77328 * sysdeps/unix/nice.c: Moved ...
77329 * sysdeps/posix/nice.c: ... here.
77330
77331 * sysdeps/unix/alarm.c: Moved ...
77332 * sysdeps/posix/alarm.c: ... here.
77333
77334 * intl/Makefile ($(codeset_mo)): Depend on the input file.
77335
77336 2012-08-17 Jeff Law <law@redhat.com>
77337
77338 * intl/Makefile (codeset_mo): New variable.
77339 ($(codeset_mo)): New target.
77340 (tst-codeset.out): Depend on that. Remove explicit rule.
77341 (tst-gettext3.out, tst-gettext5.out): Likewise.
77342 (LOCPATH-ENV, tst-codeset-ENV): New variables.
77343 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77344 * intl/tst-codeset.sh: Remove.
77345 * intl/tst-gettext3.sh: Likewise.
77346 * intl/tst-gettext5.sh: Likewise.
77347
77348 2012-08-17 Roland McGrath <roland@hack.frob.com>
77349
77350 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
77351 * sysdeps/unix/syscalls.list: ... here.
77352
77353 * sysdeps/posix/getaddrinfo.c
77354 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77355 (gaiconf_init, gaiconf_reload): Use them.
77356 [!_STATBUF_ST_NSEC]
77357 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77358 Define using time_t rather than struct timespec.
77359
77360 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77361 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77362 Macros removed.
77363 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77364 [!NO_THREADS].
77365 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77366 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77367 Likewise.
77368
77369 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77370 __libc_cleanup_push argument.
77371
77372 * bits/param.h: New file.
77373 * misc/sys/param.h: New file.
77374 * include/sys/param.h: New file.
77375 * misc/Makefile (headers): Add bits/param.h.
77376 * sysdeps/generic/sys/param.h: File removed.
77377 * sysdeps/unix/sysv/linux/bits/param.h: New file.
77378 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77379 * sysdeps/mach/hurd/bits/param.h: New file.
77380 * sysdeps/mach/hurd/sys/param.h: File removed.
77381
77382 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77383 last change.
77384
77385 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77386 [_IO_MTSAFE_IO].
77387 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77388 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77389 New macros.
77390
77391 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77392 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77393 rather than -D_IO_MTSAFE_IO conditionally.
77394 * stdio-common/Makefile (CPPFLAGS): Likewise.
77395 * wcsmbs/Makefile (CPPFLAGS): Likewise.
77396 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77397 Use $(libio-mtsafe).
77398 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77399 of -D_IO_MTSAFE_IO.
77400 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77401 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77402 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77403 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77404 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77405 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77406 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77407 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77408 (CFLAGS-fread_u_chk.c): Likewise.
77409 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77410 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77411 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77412 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77413 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77414 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77415 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77416 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77417 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77418
77419 * libio/Makefile: Test [$(libc-reentrant) = yes]
77420 instead of [$(filter %REENTRANT, $(defines)) nonempty].
77421
77422 * Makeconfig
77423 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77424 * sysdeps/pthread/configure: File removed.
77425 * sysdeps/pthread/Makeconfig: New file.
77426 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77427 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77428
77429 2012-08-16 Gary Benson <gbenson@redhat.com>
77430
77431 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77432 unmapping the first object in a namespace.
77433
77434 2012-08-16 Roland McGrath <roland@hack.frob.com>
77435
77436 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77437 (__internal_setnetgrent): ... this. Add internal_function to
77438 definition. Add libc_hidden_def.
77439 (setnetgrent): Update caller.
77440 (internal_endnetgrent): Renamed to ...
77441 (__internal_endnetgrent): ... this. Add internal_function to
77442 definition. Add libc_hidden_def.
77443 (endnetgrent): Update caller.
77444 (internal_getnetgrent_r): Renamed to ...
77445 (__internal_getnetgrent_r): ... this. Add internal_function to
77446 definition. Add libc_hidden_def.
77447 (__getnetgrent_r): Update caller.
77448 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
77449
77450 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77451
77452 * stdlib/longlong.h: Update from GCC.
77453
77454 2012-08-16 Roland McGrath <roland@hack.frob.com>
77455
77456 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77457 on _QL, which is set by umul_ppmm but never used.
77458 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77459 variables, which are set by GMP macros but never used.
77460 * stdio-common/_itowa.c (_itowa): Likewise.
77461 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77462 * stdlib/mod_1.c (mpn_mod_1): Likewise.
77463
77464 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
77465
77466 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77467 struct La_sh_regs is not constant.
77468 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77469 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77470 and struct La_sparc64_regs are not constant.
77471
77472 2012-08-16 Joseph Myers <joseph@codesourcery.com>
77473
77474 * sysdeps/unix/sysv/linux/kernel-features.h
77475 (__ASSUME_POSIX_TIMERS): Remove.
77476 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77478 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77479 Make code unconditional.
77480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77481 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77482 Make code unconditional.
77483 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77484 * sysdeps/unix/sysv/linux/clock_nanosleep.c
77485 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77486 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77487 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77488 Make code unconditional.
77489 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77490 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77491 (__libc_missing_posix_timers): Remove.
77492
77493 2012-08-15 Roland McGrath <roland@hack.frob.com>
77494
77495 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77496 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77497
77498 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77499
77500 * elf/dl-sym.c: Include <stdlib.h>.
77501
77502 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77503 constants, which avoids warnings in 32-bit builds.
77504
77505 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77506 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77507
77508 * misc/lseek.c: File moved to ...
77509 * io/lseek.c: ... here.
77510
77511 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77512
77513 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77514 shifting LEN more than 31 bits at once.
77515
77516 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
77517
77518 [BZ #14195]
77519 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77520 segmentation fault for a case of two empty input strings.
77521 * string/test-strncasecmp.c (check1): Renamed to...
77522 (bz12205): ...this.
77523 (bz14195): Add new testcase for two empty input strings and N > 0.
77524 (test_main): Call new testcase, adapt for renamed function.
77525
77526 2012-08-15 Andreas Jaeger <aj@suse.de>
77527
77528 [BZ #14090]
77529 * crypt/md5test2.c: New test, based on test supplied by Serge
77530 Belyshev <belyshev@depni.sinp.msu.ru>.
77531 * crypt/Makefile (xtests): Add md5test-giant..
77532 * crypt/Makefile ($(objpfx)md5test-giant): Add.
77533
77534 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
77535
77536 [BZ #14090]
77537 * crypt/md5.c (md5_process_block): Don't assume the buffer
77538 length is less than 2**32.
77539 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77540 length is less than 2**64.
77541
77542 2012-08-15 Roland McGrath <roland@hack.frob.com>
77543
77544 * string/str-two-way.h: Include <sys/param.h>.
77545 (MAX): Macro removed.
77546
77547 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77548 Move #define and #undef of memmove to just before and after
77549 including <string.h>.
77550
77551 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77552 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77553 and after including <string.h>. Move declarations of
77554 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77555 to before #include "string/memmove.c".
77556
77557 * include/dirent.h: Declare __getdirentries.
77558
77559 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77560 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77561
77562 2012-08-14 Mike Frysinger <vapier@gentoo.org>
77563
77564 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77565 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77566 * sysdeps/i386/configure: Regenerated.
77567 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77568 STABS_CURRENT_FILE, and STABS_FUN.
77569 (END): Remove call to STABS_FUN_END.
77570 (STABS_CURRENT_FILE1): Delete.
77571 (STABS_CURRENT_FILE): Likewise.
77572 (STABS_FUN): Likewise.
77573 (STABS_FUN_END): Likewise.
77574 (STABS_FUN2): Likewise.
77575 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77576 * sysdeps/x86_64/configure: Regenerated.
77577
77578 2012-08-14 Roland McGrath <roland@hack.frob.com>
77579
77580 * elf/dl-open.c: Include <atomic.h>.
77581 * elf/dl-lookup.c: Likewise.
77582
77583 2012-08-14 Joseph Myers <joseph@codesourcery.com>
77584
77585 * sysdeps/unix/sysv/linux/kernel-features.h
77586 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77587 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77588 unconditionally.
77589 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77590 unconditionally.
77591 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77592 condition on __ASSUME_CLONE_THREAD_FLAGS.
77593
77594 2012-08-14 Andreas Jaeger <aj@suse.de>
77595
77596 * sysdeps/i386/fpu/libm-test-ulps: Update.
77597
77598 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
77599
77600 * include/atomic.h (atomic_exchange_and_add): Split into ...
77601 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77602 New atomic macros.
77603
77604 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
77605
77606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77607
77608 2012-08-13 Jeff Law <law@redhat.com>
77609
77610 * manual/stdio.texi (snprintf): Clarify handling of the trailing
77611 null byte in the output string.
77612
77613 2012-08-10 Joseph Myers <joseph@codesourcery.com>
77614
77615 * sysdeps/unix/sysv/linux/kernel-features.h
77616 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77617 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77618 (__ASSUME_ARG_MAX_STACK_BASED): Define.
77619 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77620 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77621 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
77622 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77623
77624 2012-08-09 Jeff Law <law@redhat.com>
77625
77626 [BZ #13939]
77627 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77628 When avoid_arena is set, don't retry in the that arena. Pick the
77629 next one, whatever it might be.
77630 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77631 (arena_lock): Pass in new parameter to arena_get2.
77632 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77633 arena_get2.
77634 (__libc_malloc): Unify retrying after main arena failure with
77635 __libc_memalign version.
77636 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77637
77638 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
77639
77640 [BZ #14166]
77641 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77642 to __redirect_strstr.
77643 (__strstr_sse42): Use typeof __redirect_strstr.
77644 (__strstr_ia32): Likewise.
77645 (__libc_strstr): New prototype.
77646 (strstr): Renamed to ...
77647 (__libc_strstr): This.
77648 (strstr): New strong alias of __libc_strstr.
77649 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77650 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77651 __redirect_time.
77652 Include <time.h>.
77653 (__libc_time): New prototype.
77654 (time_ifunc): Replace time with __libc_time.
77655 (time): New strong alias and hidden definition of __libc_time.
77656 (__GI_time): Remove strong alias.
77657 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
77658 Include <stddef.h>.
77659 (memmove): Redefined to __redirect_memmove.
77660 (__memmove_sse2): Use typeof __redirect_memmove.
77661 (__memmove_ssse3): Likewise.
77662 (__memmove_ssse3_back): Likewise.
77663 (__libc_memmove): New prototype.
77664 (memmove): Renamed to ...
77665 (__libc_memmove): This.
77666 (memmove): New strong alias of __libc_memmove.
77667
77668 2012-08-08 Mark Salter <msalter@redhat.com>
77669
77670 * elf/elf.h
77671 (R_MN10300_TLS_GD): Define.
77672 (R_MN10300_TLS_LD): Likewise.
77673 (R_MN10300_TLS_LDO): Likewise.
77674 (R_MN10300_TLS_GOTIE): Likewise.
77675 (R_MN10300_TLS_IE): Likewise.
77676 (R_MN10300_TLS_LE): Likewise.
77677 (R_MN10300_TLS_DTPMOD): Likewise.
77678 (R_MN10300_TLS_DTPOFF): Likewise.
77679 (R_MN10300_TLS_TPOFF): Likewise.
77680 (R_MN10300_SYM_DIFF): Likewise.
77681 (R_MN10300_ALIGN): Likewise.
77682 (R_MN10300_NUM): Update.
77683
77684 2012-08-08 Joseph Myers <joseph@codesourcery.com>
77685
77686 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77687 Remove.
77688
77689 2012-08-08 Roland McGrath <roland@hack.frob.com>
77690
77691 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
77692
77693 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
77694 sysdeps/unix -> sysdeps/posix move.
77695 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
77696
77697 2012-08-07 Allan McRae <allan@archlinux.org>
77698
77699 [BZ #14303]
77700 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
77701 (SUNOS_CPP): Likewise.
77702 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
77703 not found.
77704 (open_input): Call CPP using execvp.
77705
77706 2012-08-07 Joseph Myers <joseph@codesourcery.com>
77707
77708 * sysdeps/unix/sysv/linux/kernel-features.h
77709 (__ASSUME_PROT_GROWSUPDOWN): Remove.
77710 (__ASSUME_NO_CLONE_DETACHED): Likewise.
77711 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77712 (__ASSUME_WAITID_SYSCALL): Likewise.
77713 * sysdeps/unix/sysv/linux/dl-execstack.c
77714 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
77715 code unconditional.
77716 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
77717 conditional code.
77718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
77719 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
77720 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
77721 code.
77722 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
77723 unconditional.
77724 [__ASSUME_WAITID_SYSCALL]: Likewise.
77725 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
77726
77727 2012-08-07 Roland McGrath <roland@hack.frob.com>
77728
77729 * sysdeps/unix/closedir.c: Renamed to ...
77730 * sysdeps/posix/closedir.c: ... here.
77731 * sysdeps/unix/dirfd.c: Renamed to ...
77732 * sysdeps/posix/dirfd.c: ... here.
77733 * sysdeps/unix/dirstream.h: Renamed to ...
77734 * sysdeps/posix/dirstream.h: ... here.
77735 * sysdeps/unix/fdopendir.c: Renamed to ...
77736 * sysdeps/posix/fdopendir.c: ... here.
77737 * sysdeps/unix/opendir.c: Renamed to ...
77738 * sysdeps/posix/opendir.c: ... here.
77739 * sysdeps/unix/readdir.c: Renamed to ...
77740 * sysdeps/posix/readdir.c: ... here.
77741 * sysdeps/unix/readdir_r.c: Renamed to ...
77742 * sysdeps/posix/readdir_r.c: ... here.
77743 * sysdeps/unix/rewinddir.c: Renamed to ...
77744 * sysdeps/posix/rewinddir.c: ... here.
77745 * sysdeps/unix/seekdir.c: Renamed to ...
77746 * sysdeps/posix/seekdir.c: ... here.
77747 * sysdeps/unix/telldir.c: Renamed to ...
77748 * sysdeps/posix/telldir.c: ... here.
77749 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
77750 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
77751 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
77752 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
77753
77754 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
77755 * bits/fcntl.h: ... here.
77756
77757 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
77758 not 0.
77759 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77760 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
77761 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
77762 (struct flock): Move l_start, l_len to the beginning.
77763 Use __pid_t for l_pid.
77764 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77765 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
77766 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
77767 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
77768 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
77769 [__USE_LARGEFILE64] (struct flock64): New type.
77770 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
77771
77772 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
77773 * bits/dirent.h: ... here.
77774
77775 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
77776 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77777
77778 2012-08-07 Joseph Myers <joseph@codesourcery.com>
77779
77780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77781 Change from 2.6.0 to 2.6.16.
77782 * sysdeps/unix/sysv/linux/configure: Regenerated.
77783 * sysdeps/unix/sysv/linux/kernel-features.h
77784 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77785 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77786 version.
77787 (__ASSUME_UTIMES): Likewise.
77788 (__ASSUME_CLONE_STOPPED): Remove.
77789 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77790 architectures, not kernel version.
77791 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77792 (__ASSUME_NO_CLONE_DETACHED): Likewise.
77793 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77794 (__ASSUME_WAITID_SYSCALL): Likewise.
77795 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77796 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77797 * README: State 2.6.16 as minimum Linux kernel version. Do not
77798 refer to older versions.
77799
77800 2012-08-06 Roland McGrath <roland@hack.frob.com>
77801
77802 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77803 Define alphasort64 as an alias.
77804 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77805 Define versionsort64 as an alias.
77806 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77807 Define scandir64 as an alias.
77808 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77809 Define scandirat64 as an alias.
77810 * dirent/alphasort64.c (alphasort64):
77811 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77812 * dirent/versionsort64.c: Likewise.
77813 * dirent/scandir64.c: Likewise.
77814 * dirent/scandirat64.c: Likewise.
77815 * sysdeps/wordsize-64/alphasort.c: File removed.
77816 * sysdeps/wordsize-64/alphasort64.c: File removed.
77817 * sysdeps/wordsize-64/scandir.c: File removed.
77818 * sysdeps/wordsize-64/scandir64.c: File removed.
77819 * sysdeps/wordsize-64/scandirat.c: File removed.
77820 * sysdeps/wordsize-64/scandirat64.c: File removed.
77821 * sysdeps/wordsize-64/versionsort.c: File removed.
77822 * sysdeps/wordsize-64/versionsort64.c: File removed.
77823 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77824 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77825 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77826 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77827 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77828 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77829 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77830 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77831
77832 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77834 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77836 [defined __arch64__ || defined __sparcv9]
77837 (__INO_T_MATCHES_INO64_T): New macro.
77838 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77839 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77840 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77841 * sysdeps/unix/sysv/linux/bits/dirent.h
77842 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77843 (_DIRENT_MATCHES_DIRENT64): New macro.
77844
77845 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77846 Define lockf64 as an alias.
77847 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77848 Define fseeko64 as an alias.
77849 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77850 Define ftello64 as an alias.
77851 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77852 Define _IO_fgetpos64 and fgetpos64 as aliases.
77853 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77854 Define _IO_fsetpos64 and fsetpos64 as aliases.
77855 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77856 Conditionalize body on this.
77857 * libio/fseeko64.c: Likewise.
77858 * libio/ftello64.c: Likewise.
77859 * libio/iofgetpos64.c: Likewise.
77860 * libio/iofsetpos64.c: Likewise.
77861 * sysdeps/wordsize-64/lockf.c: File removed.
77862 * sysdeps/wordsize-64/lockf64.c: File removed.
77863 * sysdeps/wordsize-64/fseeko.c: File removed.
77864 * sysdeps/wordsize-64/fseeko64.c: File removed.
77865 * sysdeps/wordsize-64/ftello.c: File removed.
77866 * sysdeps/wordsize-64/ftello64.c: File removed.
77867 * sysdeps/wordsize-64/iofgetpos.c: File removed.
77868 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77869 * sysdeps/wordsize-64/iofsetpos.c: File removed.
77870 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77871 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77872 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77873 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77874 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77875 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77876 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77877 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77878 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77879 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77880 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77881
77882 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77883 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77884 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77885 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77886 [defined __arch64__ || defined __sparcv9]
77887 (__OFF_T_MATCHES_OFF64_T): New macro.
77888 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77889 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77891 (__OFF_T_MATCHES_OFF64_T): New macro.
77892
77893 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
77894
77895 * stdlib/secure-getenv.c (__secure_getenv): Replace
77896 GLIBC_2_16 with GLIBC_2_17.
77897
77898 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
77899
77900 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77901 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77902
77903 2012-08-03 David S. Miller <davem@davemloft.net>
77904
77905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77906
77907 2012-08-03 Joseph Myers <joseph@codesourcery.com>
77908
77909 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77910 Remove.
77911 (__ASSUME_CORRECT_SI_PID): Likewise.
77912 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77913 (__ASSUME_TMPFS_NAME): Likewise.
77914 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77915 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77916 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77917 (HAVE_AUX_SECURE): Make definition unconditional.
77918 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77919 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77920
77921 2012-08-03 Roland McGrath <roland@hack.frob.com>
77922
77923 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77924 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77925 * sysdeps/mach/hurd/eloop-threshold.h: New file.
77926 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77927 __eloop_threshold instead of SYMLOOP_MAX.
77928
77929 * sysdeps/generic/eloop-threshold.h: New file.
77930 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77931 of MAXSYMLINKS.
77932 * elf/chroot_canon.c (chroot_canon): Likewise.
77933
77934 2012-08-03 Joseph Myers <joseph@codesourcery.com>
77935
77936 [BZ #13717]
77937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77938 Change to 2.6.0 everywhere.
77939 * sysdeps/unix/sysv/linux/configure: Regenerated.
77940 * sysdeps/unix/sysv/linux/kernel-features.h
77941 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77942 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77943 kernel versions.
77944 (__ASSUME_POSIX_TIMERS): Define unconditionally.
77945 (__ASSUME_FUTEX_REQUEUE): Remove.
77946 (__ASSUME_STATFS64): Define unconditionally.
77947 (__ASSUME_AT_SECURE): Likewise.
77948 (__ASSUME_CORRECT_SI_PID): Likewise.
77949 (__ASSUME_TGKILL): Define without depending on kernel version for
77950 i386.
77951 (__ASSUME_UTIMES): Likewise.
77952 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77953 kernel version.
77954 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77955 (__ASSUME_TMPFS_NAME): Likewise.
77956 * README: Update reference to Linux kernel versions.
77957
77958 2012-08-02 Marek Polacek <polacek@redhat.com>
77959
77960 [BZ #14150]
77961 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
77962 libc_cv_asm_type_prefix with %.
77963 * configure: Regenerated.
77964 * include/libc-symbols.h: Remove comment about
77965 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77966 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77967 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77968 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77969 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77970 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77971 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77972 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77973 * elf/tst-unique2mod1.c: Likewise.
77974 * elf/tst-unique1mod2.c: Likewise.
77975 * elf/tst-unique1mod1.c: Likewise.
77976 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77977 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77978 Replace ASM_TYPE_DIRECTIVE with .type.
77979 * sysdeps/s390/s390-64/sysdep.h: Likewise.
77980 * sysdeps/i386/sysdep.h: Likewise.
77981 * sysdeps/x86_64/sysdep.h: Likewise.
77982 * sysdeps/sh/sysdep.h: Likewise.
77983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77984 Do not define ASM_TYPE_DIRECTIVE.
77985 * sysdeps/powerpc/sysdep.h: Likewise.
77986 * sysdeps/powerpc/powerpc32/sysdep.h:
77987 Replace ASM_TYPE_DIRECTIVE with .type.
77988 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77989 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77990 * sysdeps/i386/fpu/e_powf.S: Likewise.
77991 * sysdeps/i386/fpu/e_expl.S: Likewise.
77992 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77993 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77994 * sysdeps/i386/fpu/e_pow.S: Likewise.
77995 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77996 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77997 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77998 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77999 * sysdeps/i386/fpu/e_log2.S: Likewise.
78000 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78001 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78002 * sysdeps/i386/fpu/e_powl.S: Likewise.
78003 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78004 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78005 * sysdeps/i386/fpu/e_logl.S: Likewise.
78006 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78007 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78008 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78009 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78010 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78011 * sysdeps/i386/fpu/e_log.S: Likewise.
78012 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78013 * sysdeps/i386/fpu/e_logf.S: Likewise.
78014 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78016 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78017 * sysdeps/i386/fpu/e_log10.S: Likewise.
78018 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78019 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78020 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78021 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78022 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78023 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78024 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78025 * sysdeps/i386/i686/strtok.S: Likewise.
78026 * sysdeps/i386/i386-mcount.S: Likewise.
78027 * sysdeps/i386/strtok.S: Likewise.
78028 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78029 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78031 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78032 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78034 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78035 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78036 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78037 * sysdeps/x86_64/_mcount.S: Likewise.
78038 * sysdeps/x86_64/strtok.S: Likewise.
78039 * sysdeps/sh/_mcount.S: Likewise.
78040
78041 2012-08-01 Roland McGrath <roland@hack.frob.com>
78042
78043 * libio/iofopen.c: Include <fcntl.h>.
78044 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78045 (_IO_fopen64, fopen64): Define as aliases.
78046 * libio/iofopen64.c: Include <fcntl.h>.
78047 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78048 Conditionalize body on this.
78049 * sysdeps/wordsize-64/iofopen.c: File removed.
78050 * sysdeps/wordsize-64/iofopen64.c: File removed.
78051
78052 2012-08-01 Marek Polacek <polacek@redhat.com>
78053
78054 * libc/Makeconfig: Use elf in place of binfmt-subdir.
78055 Use dlfcn directly instead of a variable.
78056 (binfmt-subdir): Do not define.
78057 (dlfcn): Likewise.
78058
78059 2012-08-01 Joseph Myers <joseph@codesourcery.com>
78060
78061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78062 Remove all definitions.
78063 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78064 <kernel-features.h>.
78065 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78066 (miss_F_GETOWN_EX): Remove all definitions.
78067 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78068 macro definition.
78069 [!__ASSUME_FCNTL64]: Remove conditional code.
78070 [__ASSUME_FCNTL64]: Make code unconditional.
78071 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78072 <kernel-features.h>.
78073 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78074 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78075 (lockf64) [__NR_fcntl64]: Make code unconditional.
78076 (lockf64) [__ASSUME_FCNTL64]: Likewise.
78077
78078 * sysdeps/unix/sysv/linux/kernel-features.h
78079 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78080 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78081 Make code unconditional.
78082 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78083 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78085 [__NR_vfork]: Make code unconditional.
78086 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78087 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78089 [__NR_vfork]: Make code unconditional.
78090 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78091 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78092
78093 2012-08-01 Roland McGrath <roland@hack.frob.com>
78094
78095 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78096 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78097
78098 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78099 Define mkstemp64 as an alias.
78100 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78101 Define mkstemps64 as an alias.
78102 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78103 Define mkostemp64 as an alias.
78104 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78105 Define mkostemps64 as an alias.
78106 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78107 Conditionalize body on this.
78108 * misc/mkostemp64.c: Likewise.
78109 * misc/mkostemps64.c: Likewise.
78110 * misc/mkstemps64.c: Likewise.
78111 * sysdeps/wordsize-64/mkstemp64.c: File removed.
78112 * sysdeps/wordsize-64/mkostemp64.c: File removed.
78113 * sysdeps/wordsize-64/mkostemp.c: File removed.
78114 * sysdeps/wordsize-64/mkstemp.c: File removed.
78115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78116 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78117 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78118 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78119
78120 [BZ #14138]
78121 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78122 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78123 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78124 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78125
78126 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78127 compat_symbol macros from <shlib-compat.h> rather than the underlying
78128 default_symbol_version and symbol_version macros, so that DEFAULT
78129 lines in shlib-versions are respected.
78130 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78131
78132 2012-08-01 Florian Weimer <fweimer@redhat.com>
78133
78134 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78135 Declare with warn_unused_result.
78136 (setgid, setregid, setegid, setresgid): Likewise.
78137 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78138 Likewise.
78139 * WUR-REPORT: Remove set*id functions.
78140
78141 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
78142
78143 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78144
78145 2012-07-31 Roland McGrath <roland@hack.frob.com>
78146
78147 [BZ #10191]
78148 * include/sys/socket.h (__libc_accept, __libc_accept4):
78149 Add attribute_hidden.
78150 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78151
78152 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78153 use of PTR_MANGLE.
78154 * inet/getnetgrent_r.c (setup): Likewise.
78155
78156 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78157
78158 2012-07-31 David S. Miller <davem@davemloft.net>
78159
78160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78161
78162 2012-07-31 Joseph Myers <joseph@codesourcery.com>
78163
78164 [BZ #13629]
78165 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78166 value between 1.0 and 2.0 and smaller part has absolute value less
78167 than 1.0.
78168 * math/s_clog10.c (__clog10): Likewise.
78169 * math/s_clog10f.c (__clog10f): Likewise.
78170 * math/s_clog10l.c (__clog10l): Likewise.
78171 * math/s_clogf.c (__clogf): Likewise.
78172 * math/s_clogl.c (__clogl): Likewise.
78173 * math/libm-test.inc (clog_test): Add more tests.
78174 (clog10_test): Likewise.
78175 * sysdeps/i386/fpu/libm-test-ulps: Update.
78176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78177
78178 2012-07-31 Florian Weimer <fweimer@redhat.com>
78179
78180 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78181 Exit with zero in case no suitable GID is found, and write a
78182 message to standard error.
78183
78184 2012-07-30 Roland McGrath <roland@hack.frob.com>
78185
78186 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78187 rather than to 1.
78188 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78189 (MAXPATHLEN): Removed.
78190 (NOGROUP, NODEV): New macros.
78191 (setbit, clrbit, isset, isclr): New macros.
78192 (howmany, roundup, powerof2): New macros.
78193 (DEV_BSIZE): New macro.
78194
78195 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78196 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78197
78198 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78199 definition on [!__NO_LONG_DOUBLE_MATH].
78200
78201 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78202 PTR_MANGLE and PTR_DEMANGLE.
78203
78204 * socket/accept4.c (accept4): Rename to __libc_accept4.
78205 Define accept4 as a weak alias.
78206
78207 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78208 on [_DIRENT_HAVE_D_TYPE].
78209 * io/ftw.c (ftw_dir): Likewise.
78210
78211 * io/xmknod.c (__xmknod): Don't check PATH for being null.
78212
78213 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78214
78215 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78216 Use the BSD numbers rather than the arbitrary ones we had.
78217 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78218 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78219 (SIGXCPU, SIGXFSZ): New macros.
78220 (_NSIG): Now 32.
78221
78222 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78223 initializer on [_LIBC_REENTRANT].
78224
78225 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78226 definitions inside [_POSIX_MAPPED_FILES].
78227
78228 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78229
78230 * dirent/opendir.c: Include <fcntl.h>.
78231
78232 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78233 (__libc_getspecific): Likewise.
78234 (__libc_key_create): Likewise.
78235
78236 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78237 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78238 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78239 (tmpfile64): Define as alias.
78240 * sysdeps/wordsize-64/tmpfile.c: File removed.
78241 * sysdeps/wordsize-64/tmpfile64.c: File removed.
78242 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78243 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78244
78245 * stdio-common/vfscanf.c: Include <stdbool.h>.
78246 * nss/makedb.c: Likewise.
78247 * stdio-common/_i18n_number.h: Likewise.
78248 * argp/argp-help.c: Likewise.
78249 * posix/wordexp.c: Likewise.
78250 * sysdeps/posix/spawni.c: Likewise.
78251 * nss/nss_files/files-initgroups.c: Likewise.
78252 * stdio-common/reg-modifier.c: Include <stdlib.h>.
78253 * nss/nss_files/files-initgroups.c: Likewise.
78254 * nss/nss_db/db-netgrp.c: Likewise.
78255 * nss/nss_db/db-initgroups.c: Likewise.
78256 * io/fchmodat.c: Include <sys/stat.h>.
78257
78258 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78259 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78260
78261 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78262 [HAVE_MMAP].
78263
78264 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78265 Add multiple inclusion protection.
78266
78267 2012-07-27 David S. Miller <davem@davemloft.net>
78268
78269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78270
78271 2012-07-27 Gary Benson <gbenson@redhat.com>
78272
78273 [BZ #14298]
78274 * elf/rtld.c: Include <stap-probe.h>.
78275 (dl_main): Added static probes "init_start" and "init_complete".
78276 * elf/dl-load.c: Include <stap-probe.h>.
78277 (lose): Take new parameter "nsid".
78278 Added static probe "map_failed".
78279 (_dl_map_object_from_fd): Pass namespace id to lose.
78280 Added static probe "map_start".
78281 (open_verify): Pass namespace id to lose.
78282 * elf/dl-open.c: Include <stap-probe.h>.
78283 (dl_open_worker) Added static probes "map_complete", "reloc_start"
78284 and "reloc_complete".
78285 * elf/dl-close.c: Include <stap-probe.h>.
78286 (_dl_close_worker): Added static probes "unmap_start" and
78287 "unmap_complete".
78288 * elf/rtld-debugger-interface.txt: New file documenting the above.
78289
78290 2012-07-26 Roland McGrath <roland@hack.frob.com>
78291
78292 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78293 rather than a string variable.
78294 * sunrpc/rpc_main.c (h_output): Likewise.
78295 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78296
78297 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
78298
78299 * inet/check_native.c: New file.
78300
78301 2012-07-26 Joseph Myers <joseph@codesourcery.com>
78302
78303 [BZ #13629]
78304 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78305 if larger part has absolute value 1.0.
78306 * math/s_clog10.c (__clog10): Likewise.
78307 * math/s_clog10f.c (__clog10f): Likewise.
78308 * math/s_clog10l.c (__clog10l): Likewise.
78309 * math/s_clogf.c (__clogf): Likewise.
78310 * math/s_clogl.c (__clogl): Likewise.
78311 * math/libm-test.inc (clog_test): Add more tests.
78312 (clog10_test): Likewise.
78313 * sysdeps/i386/fpu/libm-test-ulps: Update.
78314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78315
78316 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78317 (pltexit): Likewise.
78318 (La_regs): Likewise.
78319 (La_retval): Likewise.
78320 (int_retval): Likewise.
78321 Update #error for removed macros to refer only to definitions in
78322 tst-audit.h.
78323 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78324 macro.
78325 (pltexit): Likewise.
78326 (La_regs): Likewise.
78327 (La_retval): Likewise.
78328 (int_retval): Likewise.
78329 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78330 macro.
78331 (pltexit): Likewise.
78332 (La_regs): Likewise.
78333 (La_retval): Likewise.
78334 (int_retval): Likewise.
78335 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78336 macro.
78337 (pltexit): Likewise.
78338 (La_regs): Likewise.
78339 (La_retval): Likewise.
78340 (int_retval): Likewise.
78341 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78342 macro.
78343 (pltexit): Likewise.
78344 (La_regs): Likewise.
78345 (La_retval): Likewise.
78346 (int_retval): Likewise.
78347 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78348 macro.
78349 (pltexit): Likewise.
78350 (La_regs): Likewise.
78351 (La_retval): Likewise.
78352 (int_retval): Likewise.
78353 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78354 macro.
78355 (pltexit): Likewise.
78356 (La_regs): Likewise.
78357 (La_retval): Likewise.
78358 (int_retval): Likewise.
78359 * sysdeps/generic/tst-audit.h: Update comment to refer only to
78360 macro definitions in tst-audit.h.
78361 * sysdeps/i386/tst-audit.h: New file.
78362 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78363 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78364 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78365 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78366 * sysdeps/sh/tst-audit.h: Likewise.
78367 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78368 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78369 * sysdeps/x86_64/tst-audit.h: Likewise.
78370
78371 2012-07-26 Andreas Jaeger <aj@suse.de>
78372
78373 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78374 ptrace.
78375
78376 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78377 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78378 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78379 PTRACE_O_MASK.
78380 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78381 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78382 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78383
78384 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78385 value.
78386
78387 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78388 _sigsys.
78389 (si_call_addr, si_syscall, si_arch): Define new macro.
78390 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78391 _sigsys.
78392 (si_call_addr, si_syscall, si_arch): Define new marcro.
78393 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78394 _sigsys.
78395 (si_call_addr, si_syscall, si_arch): Define new macro.
78396 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78397 _sigsys.
78398 (si_call_addr, si_syscall, si_arch): Define new macro.
78399
78400 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78401
78402 [BZ #13717]
78403 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78404 Change to 2.4.21 where previously 2.4.1.
78405 * sysdeps/unix/sysv/linux/configure: Regenerated.
78406 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78407 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78408 Linux kernel version.
78409 (__ASSUME_STD_AUXV): Remove.
78410 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78411 kernel version.
78412 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78413 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78414 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78415 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78416 (__ASSUME_NETLINK_SUPPORT): Likewise.
78417 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78418 (__no_netlink_support): Remove conditional definition.
78419 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78420 Remove.
78421 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78422 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78423 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78424 (if_nameindex_ioctl): Remove.
78425 (if_nameindex_netlink): Do not handle __no_netlink_support.
78426 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78427 code.
78428 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78429 Remove conditional code.
78430 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78431 code.
78432 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78433 unconditional.
78434 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78435 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78436 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78437 Remove.
78438 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78439 [!__ASSUME_STD_AUXV]: Remove conditional code.
78440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78441 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78442 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78444 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78445 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78446 code.
78447 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78449 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78450 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78451 conditional code.
78452 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78454 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78455 code.
78456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78457 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78458 conditional code.
78459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78460 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78461 code unconditional.
78462 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78463 conditional code.
78464 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78465 unconditional.
78466 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78467 conditional code.
78468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78469 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78470 unconditional.
78471 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78472 conditional code.
78473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78474 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78475 code unconditional.
78476 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78477 conditional code.
78478 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78479 unconditional.
78480 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78481 conditional code.
78482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78483 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78484 code unconditional.
78485 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78486 conditional code.
78487 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78488 unconditional.
78489 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78490 conditional code.
78491
78492 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
78493
78494 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78495 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78496 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78497 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78498 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78499 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78500 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78501 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78502 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78503 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78504 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78505 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78506 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78507 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78509 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78510 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78512 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78514 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78515 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78516 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78517
78518 2012-07-25 Florian Weimer <fweimer@redhat.com>
78519
78520 * Versions.def: Add GLIBC_2.17.
78521 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78522 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78523 Introduce __libc_secure_getenv.
78524 * stdlib/Versions (2.17): Add secure_getenv
78525 (GLIBC_PRIVATE): Add __libc_secure_getenv.
78526 * stdlib/secure-getenv.c: Rename __secure_getenv to
78527 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
78528 symbol __secure_getenv for GLIBC_2.0.
78529 * stdlib/tst-secure-getenv.c: New.
78530 * stdlib/Makefile (tests): Add testcase.
78531 * manual/startup.texi (Environment Access): Document
78532 secure_getenv.
78533 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78534 __libc_secure_getenv.
78535 * inet/ruserpass.c (ruserpass): Likewise.
78536 * malloc/mtrace.c (mtrace): Likewise.
78537 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78538 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78539 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78540 * sysdeps/posix/tempname.c: Likewise. Evaluate
78541 HAVE_SECURE_GETENV.
78542 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78543 __secure_getenv to __libc_secure_getenv.
78544 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78546 Likewise.
78547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78548 Likewise.
78549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78556
78557 2012-07-25 Joseph Myers <joseph@codesourcery.com>
78558
78559 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78560 (struct La_i86_retval): Likewise.
78561 (struct La_x86_64_regs): Likewise.
78562 (struct La_x86_64_retval): Likewise.
78563 (struct La_x32_regs): Likewise.
78564 (struct La_x32_retval): Likewise.
78565 (struct La_ppc32_regs): Likewise.
78566 (struct La_ppc32_retval): Likewise.
78567 (struct La_ppc64_regs): Likewise.
78568 (struct La_ppc64_retval): Likewise.
78569 (struct La_sh_regs): Likewise.
78570 (struct La_sh_retval): Likewise.
78571 (struct La_s390_32_regs): Likewise.
78572 (struct La_s390_32_retval): Likewise.
78573 (struct La_s390_64_regs): Likewise.
78574 (struct La_s390_64_retval): Likewise.
78575 (struct La_sparc32_regs): Likewise.
78576 (struct La_sparc32_retval): Likewise.
78577 (struct La_sparc64_regs): Likewise.
78578 (struct La_sparc64_retval): Likewise.
78579 (struct audit_ifaces): Remove architecture-specific pltenter and
78580 pltexit members.
78581 * sysdeps/i386/ldsodefs.h: New file.
78582 * sysdeps/powerpc/ldsodefs.h: Likewise.
78583 * sysdeps/s390/ldsodefs.h: Likewise.
78584 * sysdeps/sh/ldsodefs.h: Likewise.
78585 * sysdeps/sparc/ldsodefs.h: Likewise.
78586 * sysdeps/x86_64/ldsodefs.h: Likewise.
78587
78588 2012-07-25 Marek Polacek <polacek@redhat.com>
78589
78590 [BZ #6808]
78591 * math/libm-test.inc (yn_test): Add another test.
78592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78593 to ERANGE when the result is +-Inf.
78594 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78595 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78596 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78597 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78598
78599 2012-07-24 Joseph Myers <joseph@codesourcery.com>
78600
78601 * conform/data/time.h-data (NULL): Use macro-constant. Require
78602 equal to 0.
78603 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
78604 clock_t.
78605 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
78606
78607 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
78608
78609 * configure.in <sysdeps resolving>: Correct printing
78610 Implies_before.
78611 * configure: Regenerate.
78612
78613 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
78614
78615 * math/w_ilogb.c: Include <limits.h>.
78616 * math/w_ilogbl.c: Likewise.
78617
78618 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78619
78620 * manual/lang.texi (__va_copy): Document primarily as ISO C99
78621 va_copy. Document allowing for unavailable va_copy only as
78622 pre-C99 compatibility.
78623 * manual/string.texi (Copying and Concatenation): Use va_copy
78624 instead of __va_copy in concat example.
78625
78626 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
78627
78628 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78629 (__sendto): Use create_address_port. Initialize APORT and deallocate
78630 it if not null.
78631
78632 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78633 with O_NOLINK passed to __file_name_lookup.
78634
78635 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78636 with O_NOLINK passed to __file_name_lookup.
78637
78638 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78639 negative N or less than NGIDS.
78640
78641 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78642 type to string_t. Set ERANGE as errno and return it if NAME is not big
78643 enough. Use memcpy instead of strncpy.
78644
78645 2012-07-20 Joseph Myers <joseph@codesourcery.com>
78646
78647 * elf/Makefile (check-data): Remove.
78648 (localplt.data): New vpath directive.
78649 ($(objpfx)check-localplt.out): Use localplt.data from vpath
78650 instead of $(check-data).
78651 * scripts/data/localplt-generic.data: Move to ...
78652 * sysdeps/generic/localplt.data: ... here.
78653 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78654 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78655 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78657 ... here.
78658 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
78659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
78660 ... here.
78661 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
78662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
78663 ... here.
78664 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
78665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
78666 ... here.
78667 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
78668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
78669 ... here.
78670 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
78671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
78672 ... here.
78673
78674 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78675
78676 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
78677 PPC32 and PPC64 files.
78678 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
78679 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
78680
78681 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78682
78683 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78684 __makecontext_ret to ...
78685 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
78686 ... here and call exit if uc_link is NULL. New file.
78687 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
78688 __makecontext_ret.S.
78689 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
78690 __makecontext_ret to ...
78691 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
78692 ... here and call exit if uc_link is NULL. New file.
78693 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
78694 __makecontext_ret.S.
78695
78696 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78697
78698 * elf/elf.h (R_390_IRELATIVE): New definition.
78699 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
78700 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
78701 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
78702 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78703 (elf_machine_lazy_rel): Likewise.
78704 * sysdeps/s390/dl-irel.h: New file.
78705 * sysdeps/s390/s390-64/memcpy.S: New asm code.
78706 * sysdeps/s390/s390-64/memset.S: New asm code.
78707 * sysdeps/s390/s390-64/memcmp.S: New asm code.
78708 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
78709 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
78710 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
78711 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
78712 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
78713 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
78714 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
78715 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
78716 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
78717 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
78718 * sysdeps/s390/s390-32/memcpy.S: New asm code.
78719 * sysdeps/s390/s390-32/memset.S: New asm code.
78720 * sysdeps/s390/s390-32/memcmp.S: New asm code.
78721
78722 2012-07-17 Marek Polacek <polacek@redhat.com>
78723
78724 [BZ #14349]
78725 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
78726 * sysdeps/s390/s390-64/configure.in: Likewise.
78727 * sysdeps/sparc/configure.in: Likewise.
78728 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
78729 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
78730 * sysdeps/i386/configure.in: Likewise.
78731 * sysdeps/x86_64/configure.in: Likewise.
78732 * sysdeps/sh/configure.in: Likewise.
78733 * sysdeps/s390/s390-32/configure: Regenerated.
78734 * sysdeps/s390/s390-64/configure: Likewise.
78735 * sysdeps/x86_64/configure: Likewise.
78736 * sysdeps/sh/configure: Likewise.
78737 * sysdeps/powerpc/powerpc64/configure: Likewise.
78738 * sysdeps/powerpc/powerpc32/configure: Likewise.
78739 * sysdeps/sparc/configure: Likewise.
78740 * sysdeps/i386/configure: Likewise.
78741
78742 * elf/dl-open.c: Comment fixes.
78743
78744 2012-07-17 Joseph Myers <joseph@codesourcery.com>
78745
78746 * Makefile [CXX] (check-data): Remove.
78747 [CXX] (c++-types.data): New vpath directive.
78748 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
78749 vpath. Do not allow for C++ type data being missing.
78750 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
78751 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
78752 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
78753 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
78754 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
78755 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
78756 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
78757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
78758 ... here.
78759 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
78760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
78761 ... here.
78762 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
78763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
78764 ... here.
78765 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
78766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
78767 ... here.
78768 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
78769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
78770 ... here.
78771 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
78772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
78773 ... here.
78774 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
78775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
78776 ... here.
78777 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78779
78780 * elf/tls-macros.h (TLS_LE): Move architecture-specific
78781 definitions to architecture-specific files.
78782 (TLS_IE): Likewise.
78783 (TLS_LD): Likewise.
78784 (TLS_GD): Likewise.
78785 * sysdeps/i386/tls-macros.h: New file.
78786 * sysdeps/powerpc/tls-macros.h: Likewise.
78787 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78788 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78789 * sysdeps/sh/tls-macros.h: Likewise.
78790 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78791 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78792 * sysdeps/x86_64/tls-macros.h: Likewise.
78793
78794 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
78795
78796 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78797 zero value for regular exit case.
78798
78799 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78800 (__start_context): Preserve zero value for regular exit case.
78801
78802 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
78803 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78804
78805 * manual/setjmp.texi (setcontext): Clarify normal process
78806 termination when uc_link is the null pointer.
78807 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78808 exit call.
78809
78810 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
78811
78812 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78813 preprocessor. Test for each exception mask separately.
78814
78815 2012-07-16 Andreas Jaeger <aj@suse.de>
78816
78817 * po/ru.po: Update from translation team.
78818
78819 2012-07-15 Joseph Myers <joseph@codesourcery.com>
78820
78821 * conform/data/string.h-data (NULL): Use macro-constant. Require
78822 equal to 0.
78823 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78824 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78825 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78826 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
78828
78829 2012-07-13 Andreas Jaeger <aj@suse.de>
78830
78831 * po/fr.po: Update from translation team.
78832
78833 2012-07-12 Marek Polacek <polacek@redhat.com>
78834
78835 [BZ #14173]
78836 * math/libm-test.inc (yn_test): Add test for BZ #14173.
78837 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78838 loop condition.
78839
78840 2012-07-12 Joseph Myers <joseph@codesourcery.com>
78841
78842 [BZ #13717]
78843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78844 Change to 2.4.1 where previously 2.4.0.
78845 * sysdeps/unix/sysv/linux/configure: Regenerated.
78846 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78847 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78848 version.
78849 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78850 (__ASSUME_AT_CLKTCK): Remove.
78851 (__ASSUME_AT_PAGESIZE): Likewise.
78852 (__ASSUME_AT_XID): Likewise.
78853 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78854 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78855 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78856 unconditionally.
78857 (HAVE_AUX_PAGESIZE): Likewise.
78858 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78859 [__ASSUME_AT_CLKTCK]: Make code unconditional.
78860 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78861
78862 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
78863
78864 [BZ #14307]
78865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78866 the temporary buffer used to invoke __gethostbyname2_r,
78867 __gethostbyaddr_r and gethostbyname4_r to make room for struct
78868 host_data / struct gaih_addrtuple.
78869 * resolv/nss_dns/dns-host.c (global scope): Move definition of
78870 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78871 header file nss/nsswitch.h.
78872 * nss/nsswitch.h (global scope): Add definition of implementation
78873 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78874 resolv/nss_dns/dns-host.c).
78875
78876 2012-07-11 Andreas Jaeger <aj@suse.de>
78877
78878 * po/fr.po: Update from translation team.
78879
78880 * po/sv.po: Update from translation team
78881 * po/fr.po: Another update from translation team.
78882
78883 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78884
78885 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78886 for subnormals or multiply small sinh result by itself.
78887 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78889
78890 2012-07-11 David S. Miller <davem@davemloft.net>
78891
78892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
78893
78894 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
78895
78896 [BZ #14347]
78897 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78898 (INTERNAL_MARK): Shift it here.
78899
78900 2012-07-10 Marek Polacek <polacek@redhat.com>
78901
78902 [BZ #14151]
78903 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
78904 libc_cv_asm_global_directive with .globl.
78905 * configure: Regenerated.
78906 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78907 with .globl.
78908 * sysdeps/i386/configure: Regenerated.
78909 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78910 with .globl.
78911 * sysdeps/x86_64/configure: Regenerated.
78912 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78913 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78914 * elf/tst-unique2mod2.c: Likewise.
78915 * elf/tst-unique2mod1.c: Likewise.
78916 * elf/tst-unique1mod2.c: Likewise.
78917 * elf/tst-unique1mod1.c: Likewise.
78918 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78919 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78921 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78922 * sysdeps/mach/sysdep.h: Likewise.
78923 * sysdeps/i386/sysdep.h: Likewise.
78924 * sysdeps/i386/i386-mcount.S: Likewise.
78925 * sysdeps/x86_64/_mcount.S: Likewise.
78926 * sysdeps/x86_64/sysdep.h: Likewise.
78927 * sysdeps/sh/_mcount.S: Likewise.
78928 * sysdeps/sh/sysdep.h: Likewise.
78929 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78930 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78931 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78932 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78933 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78934 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78935 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78936 * locale/localeinfo.h: Likewise.
78937 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78938 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78939
78940 2012-07-09 Roland McGrath <roland@hack.frob.com>
78941
78942 [BZ #14336]
78943 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78944 system".
78945 * manual/message.texi (The Uniforum approach): Likewise.
78946 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78947 (glibc iconv Implementation): Likewise.
78948
78949 2012-07-09 Joseph Myers <joseph@codesourcery.com>
78950
78951 [BZ #14337]
78952 * math/s_clog.c (__clog): Avoid scaling a value down where that
78953 could result in underflow.
78954 * math/s_clog10.c (__clog10): Likewise.
78955 * math/s_clog10f.c (__clog10f): Likewise.
78956 * math/s_clog10l.c (__clog10l): Likewise.
78957 * math/s_clogf.c (__clogf): Likewise.
78958 * math/s_clogl.c (__clogl): Likewise.
78959 * math/libm-test.inc (clog_test): Add more tests.
78960 (clog10_test): Likewise.
78961 * sysdeps/i386/fpu/libm-test-ulps: Update.
78962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78963
78964 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
78965
78966 [BZ #14283]
78967 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78968 by 7 not 8 to examine high bit of fractional part.
78969
78970 [BZ #14042]
78971 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78972 for call to __mcount_internal.
78973 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78974 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78975 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78976
78977 2012-07-06 Joseph Myers <joseph@codesourcery.com>
78978
78979 [BZ #14154]
78980 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78981 approximation for values within 0x1p-13f of an odd multiple of
78982 pi/4.
78983 * math/libm-test.inc (tan_test): Do not allow spurious underflow
78984 exception. Add more tests.
78985 * sysdeps/i386/fpu/libm-test-ulps: Update.
78986
78987 [BZ #6778]
78988 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78989 inputs and return -1 for them. Do not check for +Inf in case not
78990 reachable for +Inf.
78991 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78992 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78993 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78994 and return -1 for them. Do not check for +Inf in case not
78995 reachable for +Inf.
78996 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78997 define.
78998 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78999 and return -1 for them. Do not check for +Inf in case not
79000 reachable for +Inf.
79001 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
79002 spurious underflow.
79003 * sysdeps/i386/fpu/libm-test-ulps: Update.
79004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79005
79006 2012-07-06 Mike Frysinger <vapier@gentoo.org>
79007
79008 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79009
79010 2012-07-05 Joseph Myers <joseph@codesourcery.com>
79011
79012 [BZ #14157]
79013 [BZ #14331]
79014 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79015 could result in spurious underflow. Scale down values above
79016 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79017 * math/s_csqrtf.c (__csqrtf): Likewise.
79018 * math/s_csqrtl.c (__csqrtl): Likewise.
79019 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
79020 spurious underflow.
79021 * sysdeps/i386/fpu/libm-test-ulps: Update.
79022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79023
79024 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
79025
79026 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79027 xopen-msg.sed.
79028 * catgets/xopen-msg.awk: New file.
79029 * catgets/xopen-msg.sed: Removed.
79030
79031 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79032 po2text.sed.
79033 * intl/po2test.awk: New file.
79034 * intl/po2test.sed: Removed.
79035
79036 2012-07-04 Joseph Myers <joseph@codesourcery.com>
79037
79038 [BZ #14328]
79039 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79040 or multiply small sinh result by itself.
79041 * math/s_ctanf.c (__ctanf): Likewise.
79042 * math/s_ctanh.c (__ctanh): Likewise.
79043 * math/s_ctanhf.c (__ctanhf): Likewise.
79044 * math/s_ctanhl.c (__ctanhl): Likewise.
79045 * math/s_ctanl.c (__ctanl): Likewise.
79046 * math/libm-test.inc (ctan_test_tonearest): New function.
79047 (ctan_test_towardzero): Likewise.
79048 (ctan_test_downward): Likewise.
79049 (ctan_test_upward): Likewise.
79050 (ctanh_test_tonearest): Likewise.
79051 (ctanh_test_towardzero): Likewise.
79052 (ctanh_test_downward): Likewise.
79053 (ctanh_test_upward): Likewise.
79054 (main): Call these new functions.
79055 * sysdeps/i386/fpu/libm-test-ulps: Update.
79056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79057
79058 2012-07-03 Mike Frysinger <vapier@gentoo.org>
79059
79060 * .gitignore: Delete /ports entry.
79061
79062 2012-07-03 Andreas Jaeger <aj@suse.de>
79063
79064 * po/bg.po: Update from translation team.
79065 * po/cs.po: Likewise.
79066 * po/de.po: Likewise.
79067 * po/hr.po: Likewise.
79068 * po/nl.pl: Likewise.
79069 * po/pl.po: Likewise.
79070 * po/vi.po: Likewise.
79071
79072 2012-07-03 Joseph Myers <joseph@codesourcery.com>
79073
79074 * Makeconfig [!+link] (+link-before-libc): New variable.
79075 [!+link] (+link-after-libc): Likewise.
79076 [!+link] (+link-tests): Likewise.
79077 [!+link] (+link): Define in terms of $(+link-before-libc) and
79078 $(+link-after-libc).
79079 [!+link-static] (+link-static-before-libc): New variable.
79080 [!+link-static] (+link-static-after-libc): Likewise.
79081 [!+link-static] (+link-static-tests): Likewise.
79082 [!+link-static] (+link-static): Define in terms of
79083 $(+link-static-before-libc) and $(+link-static-after-libc).
79084 [build-shared] (link-libc-before-gnulib): New variable.
79085 [build-shared] (link-libc-tests): Likewise.
79086 [build-shared] (link-libc): Define in terms of
79087 $(link-libc-before-gnulib).
79088 [!build-shared] (link-libc-tests): New variable.
79089 (link-libc-static-tests): New variable.
79090 [!gnulib] (gnulib-arch): New variable.
79091 [!gnulib] (gnulib-tests): Likewise.
79092 [!gnulib] (static-gnulib-arch): Likewise.
79093 [!gnulib] (static-gnulib-tests): Likewise.
79094 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
79095 Define with "=" instead of ":=".
79096 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
79097 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
79098 * Rules (binaries-all-notests): New variable.
79099 (binaries-all-tests): Likewise.
79100 (binaries-static-notests): Likewise.
79101 (binaries-static-tests): Likewise.
79102 (binaries-all): Define using $(binaries-all-notests) and
79103 $(binaries-all-tests).
79104 (binaries-static): Define using $(binaries-static-notests) and
79105 $(binaries-static-tests).
79106 (binaries-shared-tests): New variable.
79107 (binaries-shared-notests): Likewise.
79108 (binaries-shared): Remove variable.
79109 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79110 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79111 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79112 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79113 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79114 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79115 * elf/Makefile (sln-modules): New variable.
79116 (extra-objs): Add $(sln-modules:=.o).
79117 (ldconfig-modules): Add static-stubs.
79118 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79119 * elf/static-stubs.c: New file.
79120
79121 [BZ #14283]
79122 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79123 by 7 not 8 to examine high bit of fractional part. Use volatile
79124 variables when splitting into final array of floats if
79125 __FLT_EVAL_METHOD__ != 0.
79126 * math/libm-test.inc (cos_test): Add another test.
79127 (sin_test): Likewise.
79128 * sysdeps/i386/fpu/libm-test-ulps: Update.
79129
79130 [BZ #14273]
79131 * math/libm-test.inc (cosh_test): Add more tests.
79132
79133 * version.h (RELEASE): Set to "development".
79134 (VERSION): Set to "2.16.90".
79135
79136 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
79137
79138 * NEWS: Update copyright. Remove last-updated date.
79139 Mention math library bug fixes and timezone data changes.
79140 * README: Mention GNU/Hurd, x32, and HPPA support status.
79141
79142 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
79143
79144 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79145
79146 2012-06-27 Andreas Jaeger <aj@suse.de>
79147
79148 * manual/contrib.texi (Contributors): Add Samuel Thibault.
79149
79150 2012-06-25 Andreas Jaeger <aj@suse.de>
79151
79152 * sysdeps/s390/fpu/libm-test-ulps: Update.
79153
79154 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
79155 Thomas Schwinge <thomas@codesourcery.com>
79156
79157 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79158 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79159 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79160 fanotify_mark.
79161
79162 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
79163
79164 * sysdeps/mach/start.c: Remove file.
79165 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79166 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79167 * sysdeps/sh/init-first.c: Likewise.
79168
79169 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79170 registers for frame unwinding purposes, add CFI directives.
79171 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79173 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79174 Likewise.
79175
79176 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79177 __fortify_fail returning.
79178 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79179
79180 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79181 sysdeps/sh/____longjmp_chk.S.
79182 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79183 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79184 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79185 (gen-as-const-headers): Append sigaltstack-offsets.sym.
79186
79187 * sysdeps/sh/abort-instr.h: New file.
79188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79189 process in case exit returns.
79190
79191 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79192 initialize the GOT register before use.
79193
79194 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79195 calculation of ARGC > 4.
79196
79197 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79198 meaningful names to some local labels.
79199
79200 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79201 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79202
79203 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79204 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79205 (__arch_compare_and_exchange_val_16_acq): Likewise.
79206 (__arch_compare_and_exchange_val_32_acq): Likewise.
79207 (atomic_exchange_and_add): Fix gUSA sequence.
79208 (atomic_add): Likewise.
79209 (atomic_add_negative): Likewise.
79210 (atomic_add_zero): Likewise.
79211 (atomic_bit_test_set): Likewise.
79212
79213 2012-06-22 Andreas Schwab <schwab@redhat.com>
79214
79215 [BZ #13579]
79216 * include/link.h (struct link_map): Add l_free_initfini.
79217 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79218 l_initfini.
79219 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79220 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79221 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79222 set.
79223
79224 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
79225
79226 * configure.in: Use AC_LANG_SOURCE.
79227 * configure: Regenerate.
79228
79229 2012-06-22 Roland McGrath <roland@hack.frob.com>
79230
79231 * configure.in (libc_cv_localstatedir): New substituted variable.
79232 * configure: Regenerated.
79233 * config.make.in (localstatedir): New variable, substituted from
79234 libc_cv_localstatedir.
79235 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79236 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79237 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79238 * sysdeps/gnu/configure: Regenerated.
79239
79240 2012-06-21 Jeff Law <law@redhat.com>
79241
79242 [BZ #14277]
79243 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79244 free. Simplify list management for _LIBC case.
79245
79246 2012-06-21 Joseph Myers <joseph@codesourcery.com>
79247
79248 [BZ #14273]
79249 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79250 Clear sign bit of 64-bit integer value before comparing against
79251 overflow value.
79252
79253 * sysdeps/mach/configure: Regenerated.
79254
79255 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
79256
79257 [BZ #14278]
79258 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79259
79260 2012-06-21 Jeff Law <law@redhat.com>
79261
79262 [BZ #13882]
79263 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
79264 uint16_t for elements in the "seen" array to avoid char overflows.
79265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79266 * elf/dl-open.c (dl_open_worker): Likewise.
79267
79268 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
79269
79270 * scripts/list-sources.sh: Scan PORTS for translations.
79271 * po/libc.pot: Regenerated.
79272
79273 2012-06-21 Andreas Jaeger <aj@suse.de>
79274
79275 [BZ #12194]
79276 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79277 warning.
79278 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79279 * bits/byteswap-16.h (__bswap_16): Likewise.
79280 * bits/byteswap.h (__bswap_constant_16): Likewise.
79281
79282 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
79283
79284 [BZ #14117]
79285 * sysdeps/i386/fpu_control.h: Removed.
79286 * sysdeps/x86_64/fpu_control.h: Moved to ...
79287 * sysdeps/x86/fpu_control.h: Here.
79288
79289 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79290 (_FPU_SETCW): Likewise.
79291
79292 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
79293
79294 [BZ #14117]
79295 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79296 * sysdeps/x86/fpu/bits/mathinline.h: This.
79297 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79298
79299 [BZ #14050]
79300 [BZ #14117]
79301 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79302 functions if __x86_64__ is defined.
79303
79304 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
79305
79306 * string/endian.h: Add !__ASSEMBLER__ condition for including
79307 conversion interfaces.
79308
79309 2012-06-15 Joseph Myers <joseph@codesourcery.com>
79310
79311 [BZ #14241]
79312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79313 of ABS(x) in calculating zero to negative powers other than odd
79314 integers.
79315 * math/libm-test.inc (pow_test): Add more tests.
79316
79317 2012-06-15 Andreas Jaeger <aj@suse.de>
79318
79319 * manual/contrib.texi (Contributors): Update entry of Liubov
79320 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79321 Machado Filho.
79322
79323 2012-06-15 Cyril Hrubis <metan@ucw.cz>
79324
79325 * string/string.h: Add __wur to GNU version of strerror_r.
79326
79327 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
79328
79329 [BZ #14229]
79330 * string/Makefile (tests): Add tst-strtok_r.
79331 * string/tst-strtok_r.c: New file.
79332 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79333 RAX_LP/RDX_LP on SAVE_PTR.
79334
79335 2012-06-14 Roland McGrath <roland@hack.frob.com>
79336
79337 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79338
79339 2012-06-14 Joseph Myers <joseph@codesourcery.com>
79340
79341 * libm_test.inc (csqrt_test): Allow more spurious underflow
79342 exceptions.
79343 (j0_test): Likewise.
79344 (j1_test): Likewise.
79345 (y0_test): Likewise.
79346 (y1_test): Likewise.
79347
79348 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
79349
79350 * po/Makefile (libc.pot): Use UTF-8 charset.
79351
79352 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
79353
79354 [BZ #14210]
79355 Suppress sign-conversion warning from FD_SET.
79356 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79357 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79358 not unsigned long int.
79359 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79360
79361 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
79362
79363 [BZ #14050]
79364 [BZ #14117]
79365 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79366 __extern_always_inline instead of __extern_inline.
79367 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79368 (__signbit): Likewise.
79369 (__signbitl): Support C++ namespace.
79370 (lrintf): New inline function.
79371 (lrint): Likewise.
79372 (llrintf): Likewise.
79373 (llrint): Likewise.
79374 (fmaxf): Likewise.
79375 (fmax): Likewise.
79376 (fminf): Likewise.
79377 (fmin): Likewise.
79378 (rint): Likewise.
79379 (rintf): Likewise.
79380 (ceil): Likewise.
79381 (ceilf): Likewise.
79382 (floor): Likewise.
79383 (floorf): Likewise.
79384 (nearbyint): Likewise.
79385 (nearbyintf): Likewise.
79386
79387 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
79388
79389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79390 non-default versions.
79391
79392 2012-06-11 Roland McGrath <roland@hack.frob.com>
79393
79394 [BZ #14218]
79395 * manual/argp.texi (Argp): Reword argp_parse description slightly.
79396
79397 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
79398
79399 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79400 (FE_UPWARD, FE_DOWNWARD): Don't define.
79401 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79403
79404 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79405 reading it.
79406 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79407 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79408
79409 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
79410
79411 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79413 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79414 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79415
79416 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
79417
79418 [BZ #14117]
79419 * sysdeps/i386/fpu/bits/fenv.h: Removed.
79420 * sysdeps/i386/fpu/Implies: New file.
79421 * sysdeps/x86_64/fpu/Implies: Likewise.
79422 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79423 * sysdeps/x86/fpu/bits/fenv.h: This.
79424
79425 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79426 __SSE_MATH__.
79427
79428 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
79429
79430 [BZ #14134]
79431 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79432 character 0xffff that matches the last element of the
79433 conversion table.
79434
79435 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79436
79437 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79438 fmodl commit.
79439
79440 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79441
79442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79443 values higher than 25.6283.
79444
79445 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79446
79447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79448 subnormal exponent extraction and add some __builtin_expect.
79449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79450 Fix for subnormal mantissa calculation.
79451
79452 2012-06-04 Mike Frysinger <vapier@gentoo.org>
79453
79454 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79455 cpu2 is -1 and errno is not ENOSYS.
79456
79457 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
79458
79459 [BZ #14117]
79460 * sysdeps/i386/i486/bits/string.h: Renamed to ...
79461 * sysdeps/x86/bits/string.h: This.
79462 * sysdeps/x86_64/bits/string.h: Removed.
79463
79464 * sysdeps/i386/i486/bits/string.h: Define inline functions only
79465 if not compiling for x86-64, but compiling for >= i486.
79466
79467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79468 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79469
79470 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79471 New macro from Linux kernel 3.4.0.
79472 (FP_XSTATE_MAGIC2): Likewise.
79473 (FP_XSTATE_MAGIC2_SIZE): Likewise.
79474 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79475 (struct _fpx_sw_bytes): New struct.
79476 (struct _xsave_hdr): Likewise.
79477 (struct _ymmh_state): Likewise.
79478 (struct _xstate): Likewise.
79479
79480 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79481 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79482 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79483 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79484 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79485 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79486
79487 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79488 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79489 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79490 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79491 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79492 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79493
79494 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79495
79496 [BZ #13743]
79497 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79498 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79499 (sysdep_headers): Include sys/platform/ppc.h.
79500 * sysdeps/powerpc/test-gettimebase.c: Test for
79501 __ppc_get_timebase() to catch future ISA opcode/insn changes.
79502 * manual/Makefile (appendices): Include platform.texi.
79503 * manual/contrib.texi (Contributors): Update @node pointers.
79504 * manual/maint.texi (Maintenance): Likewise.
79505 (Platform): New node.
79506 * manual/platform.texi: New file. Document the new features.
79507
79508 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
79509 Jakub Jelinek <jakub@redhat.com>
79510
79511 [BZ #14188]
79512 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79513 where __builtin_expect is unavailable.
79514
79515 2012-06-03 David S. Miller <davem@davemloft.net>
79516
79517 * stdlib/longlong.h: Updated from GCC.
79518
79519 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
79520
79521 [BZ #14042]
79522 * sysdeps/powerpc/powerpc32/mcount.c: New file.
79523 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79524 __mcount_internal.
79525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79526 (GLIBC_2.16): Likewise.
79527
79528 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79529
79530 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79531
79532 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79533
79534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79535 (default-abi): New variable.
79536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79537 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79538 variable.
79539 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79540 Likewise.
79541 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79542 Likewise.
79543 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79544 Likewise.
79545
79546 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79547 definition. Document in comment.
79548
79549 2012-06-01 David S. Miller <davem@davemloft.net>
79550
79551 * stdlib/longlong.h: Updated from GCC.
79552
79553 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79554
79555 [BZ #14117]
79556 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79557 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79558 sys/debugreg.h sys/io.h here.
79559 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79560 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79561 sys/io.h.
79562 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79563 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79564 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79565 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79566 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79567 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79568
79569 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79570 Define only if __x86_64__ is defined.
79571
79572 2012-06-01 Joseph Myers <joseph@codesourcery.com>
79573
79574 [BZ #14048]
79575 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79576 Use int64_t for variable i.
79577 * math/libm-test.inc (fmod_test): Add more tests.
79578
79579 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79580 z computation is not scheduled after fetestexcept.
79581 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79582 Use math_force_eval instead of asm to ensure calculation scheduled
79583 before exception test.
79584 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79585 Ensure a1 + u.d computation is not scheduled after fetestexcept.
79586
79587 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
79588
79589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79590 computation is not scheduled after fetestexcept.
79591
79592 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
79593
79594 [BZ #14117]
79595 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79596 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79597
79598 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79599
79600 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79601 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79602
79603 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
79604
79605 [BZ #14117]
79606 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79607 <bits/wordsize.h>.
79608 (__WCHAR_MIN): Support __WORDSIZE == 64.
79609 (__WCHAR_MAX): Likewise.
79610
79611 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79612 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79613
79614 [BZ #14183]
79615 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79616 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79617
79618 [BZ #14117]
79619 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79620 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79621
79622 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79623 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79624
79625 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79626 Defined to 1 if __x86_64__ isn't defined.
79627 (_STAT_VER_LINUX_OLD): New.
79628 (st_atime): Remove duplicate.
79629 (st_mtime): Likewise.
79630 (st_ctime): Likewise.
79631
79632 2012-05-31 David S. Miller <davem@davemloft.net>
79633
79634 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79635 entries.
79636
79637 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
79638
79639 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79640 gen-libm-test.pl.
79641
79642 [BZ #14132]
79643 * elf/dl-reloc.c: Include <_itoa.h>.
79644 (_dl_reloc_bad_type): Remove use of INTUSE.
79645 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79646 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79647 * stdio-common/psiginfo.c (psiginfo): Likewise.
79648 * stdio-common/psignal.c (psignal): Likewise.
79649 * string/strsignal.c (strsignal): Likewise.
79650 * include/signal.h (_sys_siglist): Declare hidden proto.
79651 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
79652 INTVARDEF with libc_hidden_data_def.
79653 * stdio-common/itoa-udigits.c: Likewise.
79654 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79655 (_itoa_lower_digits_internal): Remove declaration.
79656 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79657 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
79658 (_sys_sigabbrev_internal): Remove aliases.
79659 (_sys_siglist): Define hidden alias.
79660
79661 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
79662
79663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79664 bits/sysctl.h.
79665
79666 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
79667
79668 [BZ #14117]
79669 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
79670 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
79671
79672 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
79673 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
79674 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
79675 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
79676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
79677 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
79678
79679 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
79680 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
79681 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
79682
79683 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
79684 with __addr.
79685 (insw): Likewise.
79686 (insl): Likewise.
79687 (outsb): Likewise.
79688 (outsw): Likewise.
79689 (outsl): Likewise.
79690
79691 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
79692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
79693 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
79694
79695 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
79696 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
79697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
79698 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
79699 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79700 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
79701
79702 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
79703 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
79704
79705 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
79706 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
79707
79708 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
79709 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79710 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
79711
79712 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
79713 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
79714 to ...
79715 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
79716
79717 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
79718 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
79719 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
79720
79721 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
79722 for x86-64.
79723 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
79724
79725 2012-05-31 Joseph Myers <joseph@codesourcery.com>
79726
79727 * math/math.h (M_El): Use two more decimal places.
79728 (M_LOG2El): Likewise.
79729 (M_LOG10El): Likewise.
79730 (M_LN2l): Likewise.
79731 (M_LN10l): Likewise.
79732 (M_PIl): Likewise.
79733 (M_PI_2l): Likewise.
79734 (M_PI_4l): Likewise.
79735 (M_1_PIl): Likewise.
79736 (M_2_PIl): Likewise.
79737 (M_2_SQRTPIl): Likewise.
79738 (M_SQRT2l): Likewise.
79739 (M_SQRT1_2l): Likewise.
79740
79741 2012-05-31 David S. Miller <davem@davemloft.net>
79742
79743 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
79744 values between float registers.
79745 * sysdeps/sparc/sparc64/memset.S: Likewise.
79746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79747
79748 2012-05-31 Mike Frysinger <vapier@gentoo.org>
79749
79750 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
79751 -D_FORTIFY_SOURCE=1.
79752 (CPPFLAGS-tst-longjmp_chk.c): Define.
79753 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
79754 (CPPFLAGS-tst-longjmp_chk2.c): Define.
79755 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
79756 CFLAGS-tst-wchar-h.c.
79757
79758 2012-05-31 Marek Polacek <polacek@redhat.com>
79759
79760 [BZ #14132]
79761 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
79762 __endmntent_internal): Remove declaration.
79763 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
79764 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
79765 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
79766
79767 2012-05-30 David S. Miller <davem@davemloft.net>
79768
79769 * sysdeps/sparc/sparc32/soft-fp/q_util.c
79770 (___Q_simulate_exceptions): Use real FP ops rather than writing
79771 into the %fsr.
79772 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
79773 Likewise.
79774
79775 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79776
79777 [BZ #14117]
79778 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79779 * sysdeps/x86/bits/xtitypes.h: This.
79780
79781 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79782 * sysdeps/x86/bits/wordsize.h: This.
79783
79784 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79785 * sysdeps/x86/bits/huge_vall.h: This.
79786
79787 * sysdeps/i386/bits/select.h: Removed.
79788 * sysdeps/x86_64/bits/select.h: Renamed to ...
79789 * sysdeps/x86/bits/select.h: This.
79790
79791 * sysdeps/i386/bits/setjmp.h: Removed.
79792 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79793 * sysdeps/x86/bits/setjmp.h: This.
79794
79795 * sysdeps/i386/bits/mathdef.h: Removed.
79796 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79797 * sysdeps/x86/bits/mathdef.h: This.
79798
79799 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
79800
79801 [BZ #14132]
79802 * include/sys/socket.h (__connect_internal)
79803 (__libc_sa_len_internal): Remove declaration.
79804 (__connect, __libc_sa_len): Declare hidden_proto.
79805 (SA_LEN): Remove use of INTUSE.
79806 * socket/connect.c: Add libc_hidden_def.
79807 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79808 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79809 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79810 alias.
79811 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79812 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79813 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79814 of adding _internal alias.
79815
79816 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79817
79818 [BZ #14117]
79819 * sysdeps/i386/bits/link.h: Removed.
79820 * sysdeps/i386/bits/linkmap.h: Likewise.
79821 * sysdeps/x86_64/bits/link.h: Renamed to ...
79822 * sysdeps/x86/bits/link.h: This.
79823 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79824 * sysdeps/x86/bits/linkmap.h: This.
79825
79826 * sysdeps/i386/bits/endian.h: Removed.
79827 * sysdeps/x86_64/bits/endian.h: Renamed to ...
79828 * sysdeps/x86/bits/endian.h: This.
79829
79830 * sysdeps/i386/bits/byteswap.h: Removed.
79831 * sysdeps/i386/bits/byteswap-16.h: Likewise.
79832 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79833 * sysdeps/x86/bits/byteswap.h: This.
79834 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79835 * sysdeps/x86/bits/byteswap-16.h: This.
79836 * sysdeps/i386/Implies: Add x86.
79837 * sysdeps/x86_64/Implies: Likewise.
79838
79839 2012-05-30 David S. Miller <davem@davemloft.net>
79840
79841 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79842 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79843 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79844 (FP_TRAPPING_EXCEPTIONS): Define.
79845 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79846 (FP_TRAPPING_EXCEPTIONS): Define.
79847 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79848 subnormals only when inexact has been signalled or underflow
79849 exceptions are enabled.
79850 (_FP_PACK_CANONICAL): Likewise.
79851
79852 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79853
79854 [BZ #14183]
79855 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79856 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79857
79858 2012-05-30 Richard Henderson <rth@twiddle.net>
79859
79860 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79861 with #ifndef NOT_IN_libc.
79862
79863 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
79864 marked to avoid plt entry.
79865
79866 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
79867
79868 [BZ #14112]
79869 * Makeconfig (default-abi): New macro.
79870 (abi-includes): Likewise.
79871 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
79872 $(abi-$(default-abi)-lib-soname) for soname if defined.
79873 ($(common-objpfx)gnu/lib-names.stmp): Generate from
79874 abi-variants.
79875 * Makefile (installed-stubs): Likewise.
79876 * include/stubs-biarch.h: Removed.
79877 * scripts/lib-names.awk: Only handle one library at a time.
79878 * scripts/soversions.awk: Remove WORDSIZE support.
79879 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79880 entries.
79881 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79882 Removed.
79883 (syscall-list-default-condition): Likewise.
79884 (syscall-list-default-condition): Likewise.
79885 (syscall-list-includes): Likewise.
79886 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79887 syscall-list-* with abi-*. Handle undefined abi-variants.
79888 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79889 * sysdeps/unix/sysv/linux/i386/Implies: New file.
79890 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79891 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79892 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79893 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79894 Removed.
79895 (syscall-list-32-options): Likewise.
79896 (syscall-list-32-condition): Likewise.
79897 (syscall-list-64-options): Likewise.
79898 (syscall-list-64-condition): Likewise.
79899 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79900 macro.
79901 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79902 Renamed to ...
79903 (abi-*): This.
79904 (abi-64-ld-soname): New macro.
79905 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79906 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79907 Renamed to ...
79908 (abi-*): This.
79909 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79910 * sysdeps/x86_64/x32/shlib-versions: Likewise.
79911
79912 2012-05-30 Joseph Myers <joseph@codesourcery.com>
79913
79914 * sysdeps/unix/sysv/linux/kernel-features.h
79915 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79916 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79917 include <kernel-features.h>.
79918 [!__NR_ftruncate64]: Remove conditional code.
79919 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79920 [__NR_ftruncate64]: Make code unconditional.
79921 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79922 * sysdeps/unix/sysv/linux/truncate64.c: Do not
79923 include <kernel-features.h>.
79924 [!__NR_ftruncate64]: Remove conditional code.
79925 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79926 [__NR_ftruncate64]: Make code unconditional.
79927 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79929 include <kernel-features.h>.
79930 [!__NR_ftruncate64]: Remove conditional code.
79931 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79932 [__NR_ftruncate64]: Make code unconditional.
79933 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79935 include <kernel-features.h>.
79936 [!__NR_ftruncate64]: Remove conditional code.
79937 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79938 [__NR_ftruncate64]: Make code unconditional.
79939 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79940
79941 * configure.in (libc_cv_fpie): Weaken to a compile test using
79942 LIBC_TRY_CC_OPTION.
79943 * configure: Regenerated.
79944
79945 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79946
79947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79951 Refreshed.
79952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79958 Refreshed.
79959
79960 2012-05-27 David S. Miller <davem@davemloft.net>
79961
79962 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79963 (___Q_zero): New.
79964 (__Q_simulate_exceptions): Return void. Change to simulate
79965 exceptions by writing into the %fsr.
79966 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79967 (__Qp_handle_exceptions): Likewise.
79968 (numbers): Delete.
79969 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79970 __Qp_handle_exceptions.
79971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79972 __Qp_handle_exceptions.
79973 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79974 as unused and give dummy FP_RND_NEAREST initializer.
79975 (FP_INHIBIT_RESULTS): Define.
79976 (___Q_simulate_exceptions): Update declaration.
79977 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79978 formatting.
79979 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79980 as unused and give dummy FP_RND_NEAREST initializer.
79981 (__Qp_handle_exceptions): Update declaration.
79982 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79983 formatting.
79984
79985 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
79986
79987 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79988 the temporary FPU control word.
79989 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79990 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79991 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79992 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79993 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79994 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79995 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79996 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79997 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79998 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79999 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80000
80001 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
80002
80003 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80004 fields.
80005
80006 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
80007
80008 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80009 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80010 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80011 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80012 Likewise.
80013 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80014 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80015 Likewise.
80016
80017 2012-05-27 Ulrich Drepper <drepper@gmail.com>
80018
80019 * po/h.po: Update from translation team.
80020
80021 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
80022
80023 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80024
80025 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80026 handling of denormals.
80027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80028 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80029 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80030 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80033 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80034 Likewise.
80035
80036 2012-05-26 Marek Polacek <polacek@redhat.com>
80037
80038 [BZ #14152]
80039 * math/libm-test.inc (fma_test): Don't always expect underflow
80040 exception.
80041
80042 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
80043
80044 [BZ #12416]
80045 * elf/tst-execstack.c: Include stackinfo.h.
80046 (do_test): Adjust test case to ensure that pthread_getattr_np
80047 behaviour remains the same after marking stack executable.
80048
80049 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80050
80051 * sysdeps/unix/sysv/linux/kernel-features.h
80052 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80053 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80054 kernel-features.h.
80055 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80056 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80057 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80058 kernel-features.h.
80059 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80060 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80061
80062 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
80063
80064 * configure.in: Define the default includes to being none.
80065 * configure: Regenerated.
80066
80067 2012-05-25 Roland McGrath <roland@hack.frob.com>
80068
80069 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80070 * sysdeps/x86_64/setjmp.S: Likewise.
80071 * sysdeps/i386/bsd-setjmp.S: Likewise.
80072 * sysdeps/i386/bsd-_setjmp.S: Likewise.
80073 * sysdeps/i386/setjmp.S: Likewise.
80074 * sysdeps/i386/__longjmp.S: Likewise.
80075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80076 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80077
80078 * include/stap-probe.h: New file.
80079 * configure.in: Handle --enable-systemtap.
80080 * configure: Regenerated.
80081 * config.h.in (USE_STAP_PROBE): New #undef.
80082 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80083 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80084 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80085
80086 2012-05-25 Joseph Myers <joseph@codesourcery.com>
80087
80088 [BZ #13717]
80089 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80090 to 2.4.0 where earlier.
80091 * sysdeps/unix/sysv/linux/configure: Regenerated.
80092 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80093 <kernel-features.h>.
80094 [__ASSUME_32BITUIDS]: Make code unconditional.
80095 [!__ASSUME_32BITUIDS]: Remove conditional code.
80096 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80097 <kernel-features.h>.
80098 [__ASSUME_32BITUIDS]: Make code unconditional.
80099 [!__ASSUME_32BITUIDS]: Remove conditional code.
80100 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80101 [__ASSUME_32BITUIDS]: Make code unconditional.
80102 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80103 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80104 <kernel-features.h>.
80105 [__ASSUME_32BITUIDS]: Make code unconditional.
80106 [!__ASSUME_32BITUIDS]: Remove conditional code.
80107 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80108 <kernel-features.h>.
80109 [__ASSUME_32BITUIDS]: Make code unconditional.
80110 [!__ASSUME_32BITUIDS]: Remove conditional code.
80111 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80112 <kernel-features.h>.
80113 [__ASSUME_32BITUIDS]: Make code unconditional.
80114 [!__ASSUME_32BITUIDS]: Remove conditional code.
80115 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80116 <kernel-features.h>.
80117 [__ASSUME_32BITUIDS]: Make code unconditional.
80118 [!__ASSUME_32BITUIDS]: Remove conditional code.
80119 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.c: Do not include
80128 <kernel-features.h>.
80129 [__ASSUME_32BITUIDS]: Make code unconditional.
80130 [!__ASSUME_32BITUIDS]: Remove conditional code.
80131 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80132 <kernel-features.h>.
80133 [__ASSUME_32BITUIDS]: Make code unconditional.
80134 [!__ASSUME_32BITUIDS]: Remove conditional code.
80135 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80136 <kernel-features.h>.
80137 [__ASSUME_32BITUIDS]: Make code unconditional.
80138 [!__ASSUME_32BITUIDS]: Remove conditional code.
80139 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80140 <kernel-features.h>.
80141 [__ASSUME_32BITUIDS]: Make code unconditional.
80142 [!__ASSUME_32BITUIDS]: Remove conditional code.
80143 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80144 <kernel-features.h>.
80145 [__NR_setresgid] (__setresgid): Do not declare.
80146 [__ASSUME_32BITUIDS]: Make code unconditional.
80147 [!__ASSUME_32BITUIDS]: Remove conditional code.
80148 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80149 <kernel-features.h>.
80150 [__NR_setresuid] (__setresuid): Do not declare.
80151 [__ASSUME_32BITUIDS]: Make code unconditional.
80152 [!__ASSUME_32BITUIDS]: Remove conditional code.
80153 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80154 <kernel-features.h>.
80155 [__ASSUME_32BITUIDS]: Make code unconditional.
80156 [!__ASSUME_32BITUIDS]: Remove conditional code.
80157 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80158 <kernel-features.h>.
80159 [__ASSUME_32BITUIDS]: Make code unconditional.
80160 [!__ASSUME_32BITUIDS]: Remove conditional code.
80161 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80162 <kernel-features.h>.
80163 [__ASSUME_32BITUIDS]: Make code unconditional.
80164 [!__ASSUME_32BITUIDS]: Remove conditional code.
80165 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80166 <kernel-features.h>.
80167 [__ASSUME_32BITUIDS]: Make code unconditional.
80168 [!__ASSUME_32BITUIDS]: Remove conditional code.
80169 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80170 <kernel-features.h>.
80171 [__ASSUME_32BITUIDS]: Make code unconditional.
80172 [!__ASSUME_32BITUIDS]: Remove conditional code.
80173 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80174 <kernel-features.h>.
80175 [__ASSUME_32BITUIDS]: Make code unconditional.
80176 [!__ASSUME_32BITUIDS]: Remove conditional code.
80177 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80178 <kernel-features.h>.
80179 [__ASSUME_32BITUIDS]: Make code unconditional.
80180 [!__ASSUME_32BITUIDS]: Remove conditional code.
80181 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80182 <kernel-features.h>.
80183 [__ASSUME_32BITUIDS]: Make code unconditional.
80184 [!__ASSUME_32BITUIDS]: Remove conditional code.
80185 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80186 <kernel-features.h>.
80187 [__ASSUME_32BITUIDS]: Make code unconditional.
80188 [!__ASSUME_32BITUIDS]: Remove conditional code.
80189 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80190 <kernel-features.h>.
80191 [__ASSUME_32BITUIDS]: Make code unconditional.
80192 [!__ASSUME_32BITUIDS]: Remove conditional code.
80193 * sysdeps/unix/sysv/linux/kernel-features.h
80194 (__ASSUME_SETRESUID_SYSCALL): Remove.
80195 (__ASSUME_SETRESGID_SYSCALL): Likewise.
80196 (__ASSUME_32BITUIDS): Likewise.
80197 (__ASSUME_LDT_WORKS): Likewise.
80198 (__ASSUME_O_DIRECTORY): Likewise.
80199 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80200 architecture but not kernel version.
80201 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80202 (__ASSUME_MMAP2_SYSCALL): Likewise.
80203 (__ASSUME_STAT64_SYSCALL): Likewise.
80204 (__ASSUME_IPC64): Likewise.
80205 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80206 <kernel-features.h>.
80207 [__ASSUME_32BITUIDS]: Make code unconditional.
80208 [!__ASSUME_32BITUIDS]: Remove conditional code.
80209 * sysdeps/unix/sysv/linux/opendir.c: Do not include
80210 <kernel-features.h>.
80211 [__ASSUME_O_DIRECTORY]: Make code unconditional.
80212 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80213 132096]: Remove conditional code.
80214 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80215 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80216 <kernel-features.h>.
80217 [__ASSUME_32BITUIDS]: Make code unconditional.
80218 [!__ASSUME_32BITUIDS]: Remove conditional code.
80219 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80220 <kernel-features.h>.
80221 [__ASSUME_32BITUIDS]: Make code unconditional.
80222 [!__ASSUME_32BITUIDS]: Remove conditional code.
80223 * sysdeps/unix/sysv/linux/setegid.c: Do not include
80224 <kernel-features.h>.
80225 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80226 unconditional.
80227 (__setresgid): Do not declare.
80228 [__ASSUME_32BITUIDS]: Make code unconditional.
80229 [!__ASSUME_32BITUIDS]: Remove conditional code.
80230 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80231 <kernel-features.h>.
80232 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80233 unconditional.
80234 (__setresuid): Do not declare.
80235 [__ASSUME_32BITUIDS]: Make code unconditional.
80236 [!__ASSUME_32BITUIDS]: Remove conditional code.
80237 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80238 <kernel-features.h>.
80239 [__ASSUME_32BITUIDS]: Make code unconditional.
80240 [!__ASSUME_32BITUIDS]: Remove conditional code.
80241 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80242 <kernel-features.h>.
80243 [__ASSUME_32BITUIDS]: Make code unconditional.
80244 [!__ASSUME_32BITUIDS]: Remove conditional code.
80245
80246 2012-05-25 Richard Henderson <rth@twiddle.net>
80247
80248 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80249 dl_hwcap to ifunc resolver.
80250 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80251 elf_ifunc_invoke.
80252 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80253 dl_hwcap to ifunc resolver.
80254 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80255
80256 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80257
80258 [BZ #14153]
80259 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80260 for |x| <= 2**-26, not 2**-57.
80261 * math/libm-test.inc (acos_test): Do not allow spurious underflow
80262 exception.
80263
80264 2012-05-24 Jeff Law <law@redhat.com>
80265
80266 * stdio-common/Makefile (tests): Add bug25.
80267 * stdio-common/bug25.c: New test.
80268
80269 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80270
80271 [BZ #13576]
80272 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80273 multiple of MALLOC_ALIGNMENT in size.
80274 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80275
80276 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80277
80278 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80279 Require >= 256.
80280 (FILENAME_MAX): Use macro-int-constant.
80281 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
80282 (_IOFBF): Use macro-int-constant.
80283 (_IOLBF): Likewise.
80284 (_IONBF): Likewise.
80285 (SEEK_CUR): Likewise.
80286 (SEEK_END): Likewise.
80287 (SEEK_SET): Likewise.
80288 (TMP_MAX): Likewise.
80289 (EOF): Use macro-int-constant. Require < 0.
80290 (NULL): Use macro-constant. Require == 0.
80291 (stdin): Require type to be FILE *.
80292 (stdout): Likewise.
80293 (stderr): Likewise.
80294 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80295 macro-int-constant.
80296 (EXIT_SUCCESS): Likewise.
80297 (NULL): Use macro-constant. Require == 0.
80298 (RAND_MAX): Use macro-int-constant.
80299 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80300 [C99-based standards] (strtof): Require function.
80301 [C99-based standards] (strtold): Likewise.
80302 [C99-based standards] (strtoll): Likewise.
80303 [C99-based standards] (strtoull): Likewise.
80304 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80305 [ISO || ISO99 || ISO11] (limits.h): Likewise.
80306 [ISO || ISO99 || ISO11] (math.h): Likewise.
80307 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80308 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
80310
80311 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
80312
80313 [BZ #14132]
80314 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80315 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80316 * intl/dgettext.c (DCGETTEXT): Likewise.
80317 * intl/gettext.c (DCGETTEXT): Likewise.
80318 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80319 * posix/regex_internal.h (gettext): Likewise.
80320 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80321 Remove declaration.
80322 * include/argz.h (__argz_count_internal)
80323 (__argz_stringify_internal): Remove declaration.
80324 (__argz_count, __argz_stringify): Declare hidden proto.
80325 * intl/dcgettext.c: Remove use of INTDEF.
80326 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80327 * string/argz-stringify.c: Likewise.
80328 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80329 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80330 Declare hidden proto.
80331 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80332 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80333 Declare hidden proto.
80334 * include/stdio.h (__asprintf_internal): Don't declare.
80335 (__asprintf): Don't define as macro. Declare hidden proto.
80336 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80337 (__fsetlocking): Declare hidden proto.
80338 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80339 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80340 hidden proto.
80341 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80342 (_IO_setlinebuf): Remove use of INTUSE.
80343 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80344 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80345 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80346 Remove declaration.
80347 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80348 (_IO_do_flush): Remove use of INTUSE.
80349 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80350 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80351 (_IO_adjust_column, _IO_least_wmarker)
80352 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80353 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80354 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80355 (_IO_default_doallocate, _IO_wdefault_doallocate)
80356 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80357 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80358 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80359 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80360 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80361 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80362 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80363 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80364 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80365 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80366 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80367 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80368 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80369 proto.
80370 (_IO_flush_all_internal, _IO_adjust_column_internal)
80371 (_IO_default_uflow_internal, _IO_default_finish_internal)
80372 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80373 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80374 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80375 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80376 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80377 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80378 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80379 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80380 (_IO_file_close_internal, _IO_file_close_it_internal)
80381 (_IO_file_underflow_internal, _IO_file_overflow_internal)
80382 (_IO_file_init_internal, _IO_file_attach_internal)
80383 (_IO_file_fopen_internal, _IO_file_read_internal)
80384 (_IO_file_sync_internal, _IO_file_seek_internal)
80385 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80386 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80387 (_IO_str_underflow_internal, _IO_str_overflow_internal)
80388 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80389 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80390 (_IO_list_all_internal, _IO_link_in_internal)
80391 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80392 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80393 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80394 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80395 (_IO_do_write_internal, _IO_padn_internal)
80396 (_IO_getline_info_internal, _IO_getline_internal)
80397 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80398 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80399 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80400 (_IO_vfscanf_internal, _IO_vfprintf_internal)
80401 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80402 (_IO_init_internal, _IO_un_link_internal): Don't declare.
80403 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80404 with libc_hidden_ver, remove use of INTUSE.
80405 * libio/genops.c: Likewise.
80406 * libio/freopen.c: Likewise.
80407 * libio/freopen64.c: Likewise.
80408 * libio/iofclose.c: Likewise.
80409 * libio/iofdopen.c: Likewise.
80410 * libio/iofflush.c: Likewise.
80411 * libio/iofflush_u.c: Likewise.
80412 * libio/iofgets.c: Likewise.
80413 * libio/iofgets_u.c: Likewise.
80414 * libio/iofopen.c: Likewise.
80415 * libio/iofopncook.c: Likewise.
80416 * libio/iofread.c: Likewise.
80417 * libio/iofread_u.c: Likewise.
80418 * libio/ioftell.c: Likewise.
80419 * libio/iofwrite.c: Likewise.
80420 * libio/iogetline.c: Likewise.
80421 * libio/iogets.c: Likewise.
80422 * libio/iogetwline.c: Likewise.
80423 * libio/iopadn.c: Likewise.
80424 * libio/iopopen.c: Likewise.
80425 * libio/ioseekoff.c: Likewise.
80426 * libio/ioseekpos.c: Likewise.
80427 * libio/iosetbuffer.c: Likewise.
80428 * libio/iosetvbuf.c: Likewise.
80429 * libio/ioungetc.c: Likewise.
80430 * libio/ioungetwc.c: Likewise.
80431 * libio/iovdprintf.c: Likewise.
80432 * libio/iovsprintf.c: Likewise.
80433 * libio/iovsscanf.c: Likewise.
80434 * libio/memstream.c: Likewise.
80435 * libio/obprintf.c: Likewise.
80436 * libio/oldfileops.c: Likewise.
80437 * libio/oldiofclose.c: Likewise.
80438 * libio/oldiofdopen.c: Likewise.
80439 * libio/oldiofopen.c: Likewise.
80440 * libio/oldiopopen.c: Likewise.
80441 * libio/oldstdfiles.c: Likewise.
80442 * libio/putc.c: Likewise.
80443 * libio/setbuf.c: Likewise.
80444 * libio/setlinebuf.c: Likewise.
80445 * libio/stdfiles.c: Likewise.
80446 * libio/strops.c: Likewise.
80447 * libio/vasprintf.c: Likewise.
80448 * libio/vscanf.c: Likewise.
80449 * libio/vsnprintf.c: Likewise.
80450 * libio/vswprintf.c: Likewise.
80451 * libio/wfiledoalloc.c: Likewise.
80452 * libio/wfileops.c: Likewise.
80453 * libio/wgenops.c: Likewise.
80454 * libio/wmemstream.c: Likewise.
80455 * libio/wstrops.c: Likewise.
80456 * libio/__fpurge.c: Likewise.
80457 * libio/__fsetlocking.c: Likewise.
80458 * assert/assert.c: Likewise.
80459 * debug/fgets_chk.c: Likewise.
80460 * debug/fgets_u_chk.c: Likewise.
80461 * debug/fread_chk.c: Likewise.
80462 * debug/fread_u_chk.c: Likewise.
80463 * debug/gets_chk.c: Likewise.
80464 * debug/obprintf_chk.c: Likewise.
80465 * debug/vasprintf_chk.c: Likewise.
80466 * debug/vdprintf_chk.c: Likewise.
80467 * debug/vsnprintf_chk.c: Likewise.
80468 * debug/vsprintf_chk.c: Likewise.
80469 * malloc/mtrace.c: Likewise.
80470 * misc/error.c: Likewise.
80471 * misc/syslog.c: Likewise.
80472 * stdio-common/asprintf.c: Likewise.
80473 * stdio-common/fxprintf.c: Likewise.
80474 * stdio-common/getw.c: Likewise.
80475 * stdio-common/isoc99_fscanf.c: Likewise.
80476 * stdio-common/isoc99_scanf.c: Likewise.
80477 * stdio-common/isoc99_vfscanf.c: Likewise.
80478 * stdio-common/isoc99_vscanf.c: Likewise.
80479 * stdio-common/isoc99_vsscanf.c: Likewise.
80480 * stdio-common/printf-prs.c: Likewise.
80481 * stdio-common/printf_fp.c: Likewise.
80482 * stdio-common/printf_fphex.c: Likewise.
80483 * stdio-common/printf_size.c: Likewise.
80484 * stdio-common/putw.c: Likewise.
80485 * stdio-common/scanf.c: Likewise.
80486 * stdio-common/sprintf.c: Likewise.
80487 * stdio-common/tmpfile.c: Likewise.
80488 * stdio-common/vfprintf.c: Likewise.
80489 * stdio-common/vfscanf.c: Likewise.
80490 * stdlib/strfmon_l.c: Likewise.
80491 * sunrpc/openchild.c: Likewise.
80492 * sunrpc/xdr_stdio.c: Likewise.
80493 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80494 * sysdeps/mach/hurd/tmpfile.c: Likewise.
80495
80496 2012-05-24 Roland McGrath <roland@hack.frob.com>
80497
80498 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80499
80500 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80501 in the third column, to generate for the shared library an IFUNC
80502 that uses _dl_vdso_vsym.
80503 * Makerules (COMPILE.c, compile-stdin.c): New variables.
80504 * Makeconfig (object-suffixes-noshared): New variable.
80505
80506 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80507 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80508 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80509 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80510
80511 [BZ #14132]
80512 * include/sys/time.h (__gettimeofday): Remove macro.
80513 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80514 * time/gettimeofday.c (__gettimeofday): Remove #undef.
80515 Remove INTDEF.
80516 (__gettimeofday): Add libc_hidden_def.
80517 (gettimeofday): Add libc_hidden_weak.
80518 * sysdeps/mach/gettimeofday.c: Likewise.
80519 * sysdeps/posix/gettimeofday.c: Likewise.
80520 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80521 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80523 (__gettimeofday_internal): Remove strong_alias.
80524 (__gettimeofday): Add libc_hidden_def.
80525 (gettimeofday): Add libc_hidden_weak.
80526 * sysdeps/unix/syscalls.list (gettimeofday):
80527 Remove __gettimeofday_internal alias.
80528
80529 2012-05-24 Daniel Jacobowitz <drow@false.org>
80530 H.J. Lu <hongjiu.lu@intel.com>
80531
80532 [BZ #12495]
80533 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80534 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80535 (largebin_index_32_big): New.
80536 (largebin_index): Use it for 16-byte alignment.
80537 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
80538 correction with front_misalign.
80539
80540 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
80541
80542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80544 Likewise.
80545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80546 Likewise.
80547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80548 Likewise.
80549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80550 Likewise.
80551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80552 Likewise.
80553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80554 Likewise.
80555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80556 Likewise.
80557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80558 Likewise.
80559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80560 Likewise.
80561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80562 Likewise.
80563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80564 Likewise.
80565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80566 Likewise.
80567
80568 * scripts/data/c++-types-x32-linux-gnu.data: New file.
80569 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80570
80571 2012-05-24 Joseph Myers <joseph@codesourcery.com>
80572
80573 [BZ #10846]
80574 [BZ #14036]
80575 * math/libm-test.inc (exp_test): Add test from bug 14036.
80576 (pow_test): Add test from bug 10846.
80577
80578 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80579 and other flags.
80580 (special_function): Do not include flags in test name.
80581 (parse_args): Likewise.
80582 * sysdeps/i386/fpu/libm-test-ulps: Update.
80583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80584 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80585 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80587
80588 * math/gen-libm-test.pl (%beautify): Add entries for underflow
80589 exceptions.
80590 * math/libm-test.inc ("Philosophy"): Update comment about
80591 exception testing.
80592 (UNDERFLOW_EXCEPTION): New macro.
80593 (UNDERFLOW_EXCEPTION_OK): Likewise.
80594 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80595 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80596 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80597 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80598 (INVALID_EXCEPTION_OK): Update value.
80599 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80600 (OVERFLOW_EXCEPTION_OK): Likewise.
80601 (IGNORE_ZERO_INF_SIGN): Likewise.
80602 (test_exceptions): Handle underflow exceptions.
80603 (acos_test): Update for underflow exception expectations.
80604 (cexp_test): Likewise.
80605 (clog_test): Likewise.
80606 (clog10_test): Likewise.
80607 (csqrt_test): Likewise.
80608 (ctan_test): Likewise.
80609 (ctanh_test): Likewise.
80610 (exp_test): Likewise.
80611 (exp10_test): Likewise.
80612 (exp2_test): Likewise.
80613 (expm1_test): Likewise.
80614 (fma_test): Likewise.
80615 (j0_test): Likewise.
80616 (jn_test): Likewise.
80617 (nexttoward_test): Likewise.
80618 (pow_test): Likewise.
80619 (scalbn_test): Likewise.
80620 (scalbln_test): Likewise.
80621 (tan_test): Likewise.
80622 (y1_test): Likewise.
80623 * sysdeps/i386/fpu/libm-test-ulps: Update.
80624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80625
80626 2012-05-23 David S. Miller <davem@davemloft.net>
80627
80628 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80629 (__libc_sigaction): Remove unused local variables.
80630
80631 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80632
80633 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80634
80635 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
80636
80637 mktime: avoid signed integer overflow
80638 * time/mktime.c (__mktime_internal): Do not mishandle the case
80639 where diff == INT_MIN.
80640
80641 mktime: simplify computation of average
80642 * time/mktime.c (ranged_convert): Use new time_t_avg function
80643 instead of rolling our own (probably-slower) code.
80644
80645 mktime: do not assume signed right shift propagates sign bit
80646 * time/mktime.c (isdst_differ): New static function.
80647 (__mktime_internal): No need to normalize tm_isdst now.
80648 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80649 tm_isdst values.
80650
80651 mktime: merge another wrapv change from gnulib
80652 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80653 from some compilers.
80654
80655 mktime: remove incorrect attempt at unusual arithmetics
80656 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80657 The code didn't really work on such machines anyway.
80658 (TYPE_MINIMUM): Assume two's complement.
80659 (twos_complement_arithmetic): Verify that long_int and time_t
80660 are two's complement (or unsigned, in the latter case).
80661
80662 mktime: check signed shifts on long_int and time_t, too
80663 * time/mktime.c (SHR): Check that shifts work as desired
80664 on the types long_int and time_t too, as SHR is used on
80665 such types.
80666
80667 mktime: do not assume 'long' is wide enough
80668 * time/mktime.c (verify): Move decl up.
80669 (long_int): New type.
80670 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
80671 to remove assumption in the code that 'long' is wide enough to
80672 store year values. This assumption is not true on x32 and on
80673 some non-glibc platforms.
80674
80675 mktime: merge wrapv change from gnulib
80676 * time/mktime.c (WRAPV): New macro.
80677 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
80678 (guess_time_tm, __mktime_internal): Do not assume that signed
80679 integer overflow wraps around; modern compilers generate code
80680 where this assumption is no longer valid.
80681
80682 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80683
80684 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80685 Replace "jmp L(pseudo_end)" with "ret".
80686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
80687 Likewise.
80688
80689 2012-05-23 Andreas Jaeger <aj@suse.de>
80690
80691 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
80692 * sysdeps/unix/sysv/linux/poll.c: Remove file.
80693
80694 2012-05-23 Andreas Jaeger <aj@suse.de>
80695 Maximilian Attems <max@stro.at>
80696
80697 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
80698 New macros.
80699
80700 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
80701
80702 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
80703 code so that pseudo_end is just ret and the stack pointer is
80704 correct also for static library in error case.
80705
80706 2012-05-23 Joseph Myers <joseph@codesourcery.com>
80707
80708 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
80709 move to syscalls.list.
80710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
80711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
80712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
80713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
80714
80715 * manual/install.texi (Running make install): Do not mention Linux
80716 kernel version for which pt_chown is not needed.
80717 (Linux): Do not mention problems with nscd with 2.0 kernels.
80718 * INSTALL: Regenerated.
80719
80720 2012-05-23 Andreas Jaeger <aj@suse.de>
80721
80722 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
80723 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
80724 macro.
80725 * sysdeps/unix/sysv/linux/s390/bits/mman.h
80726 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80727 * sysdeps/unix/sysv/linux/sh/bits/mman.h
80728 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80729 * sysdeps/unix/sysv/linux/i386/bits/mman.h
80730 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80732 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80733 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
80734 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80735 * sysdeps/unix/sysv/linux/bits/in.h
80736 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
80737
80738 2012-05-22 Roland McGrath <roland@hack.frob.com>
80739
80740 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
80741 (PREPARE_VERSION): Just use assert instead, it will be elided
80742 under [NDEBUG] anyway.
80743
80744 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80745
80746 * sysdeps/unix/sysv/linux/Makefile: Include
80747 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
80748 (sysdep_routines): Remove sysctl.
80749 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
80750 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
80751 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
80752 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
80753 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
80754
80755 2012-05-22 Andreas Jaeger <aj@suse.de>
80756
80757 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
80758 that pseudo_end is just ret and the stack pointer is correct also
80759 for static library in error case.
80760
80761 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
80762
80763 [BZ #14122]
80764 * nss/nsswitch.c (defconfig_entries): New variable.
80765 (__nss_database_lookup): Don't leak defconfig entries.
80766 (nss_parse_service_list): Don't leak on error paths.
80767 (free_database_entries): New function.
80768 (free_defconfig): New function.
80769 (free_mem): Move common code to free_database_entries.
80770
80771 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80772
80773 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
80774 Add arch_prctl.
80775 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80776
80777 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80778 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80780 New macro.
80781 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80782 (INTERNAL_SYSCALL_TYPES): Likewise.
80783 (LOAD_ARGS_TYPES_[1-6]): Likewise.
80784 (LOAD_REGS_TYPES_[1-6]): Likewise.
80785 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80786 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80787
80788 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80789
80790 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80791 copysignl for GLIBC_2_0.
80792 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80793 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80795 logbl for GLIBC_2_0.
80796 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80797 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80798
80799 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80800
80801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80802 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
80803
80804 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80805 Use "neg %eax".
80806
80807 * time/mktime.c: Update copyright years.
80808
80809 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
80810
80811 mktime: merge comment-quoting-style change from gnulib
80812 * time/mktime.c: Quote 'like this' in comments.
80813 The GNU coding standards suggest that we no longer quote `like this',
80814 as "`" and "'" are typically rendered asymmetrically nowadays.
80815 The typical gnulib style is to quote 'like this' when quoting
80816 code, and "like this" when quoting English.
80817
80818 * time/mktime.c (compile-command): Add "-I.".
80819
80820 mktime: merge mktime-internal.h change from gnulib
80821 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80822
80823 mktime: merge time_r change from gnulib
80824 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80825
80826 mktime: merge DEBUG change from gnulib
80827 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80828 case system <time.h> has a #define.
80829
80830 mktime: merge <sys/types.h> change from gnulib
80831 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80832 since <time.t> is now guaranteed to define time_t.
80833
80834 mktime: merge HAVE_CONFIG_H change from gnulib
80835 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80836
80837 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
80838
80839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80840 Use "neg %eax".
80841
80842 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80843 __rlim_t cast.
80844 (struct rusage): Use anonymous union to pad each field to
80845 __syscall_slong_t.
80846
80847 2012-05-21 David S. Miller <davem@davemloft.net>
80848
80849 * Makefules (o-iterator): Remove .s cases.
80850 (compile-command.s): Delete.
80851 (COMPILE.s): Delete.
80852 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80853
80854 2012-05-21 Joseph Myers <joseph@codesourcery.com>
80855
80856 * configure.in (libc_cv_predef_stack_protector): Only consider
80857 "foobar" and "__stack_chk_fail" lines in libc_undefs.
80858 * configure: Regenerated.
80859
80860 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80861
80862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80863 New macro. Use R*LP on int and pointer.
80864 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80865 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80866 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80867 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80868
80869 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80870 [__WORDSIZE_TIME64_COMPAT32] instead of
80871 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80872 (struct utmp): Likewise.
80873 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80874 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80875 Renamed to ...
80876 (__WORDSIZE_TIME64_COMPAT32): This.
80877 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80878 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80879 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80880 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80881 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80882 (__WORDSIZE_TIME64_COMPAT32): New macro.
80883
80884 2012-05-21 Andreas Jaeger <aj@suse.de>
80885
80886 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80887 only if [SHARED]. Add prototype for __wcschr_ia32.
80888
80889 2012-05-21 Roland McGrath <roland@hack.frob.com>
80890
80891 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80892 of %rbp unmolested in the jmp_buf while mangling the low bits.
80893 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80894 unmolested high bits of %rbp while demangling the low bits.
80895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80896
80897 2012-05-21 Andreas Jaeger <aj@suse.de>
80898
80899 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80900 * sunrpc/svc_simple.c: Use it for registerrpc.
80901 * sunrpc/xcrypt.c: Use it for passwd2des.
80902
80903 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80904
80905 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80906
80907 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80908 Don't define if [__SYSCALL_WORDSIZE != 32].
80909 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80910 New macro.
80911
80912 2012-05-21 Bruno Haible <bruno@clisp.org>
80913 Andreas Jaeger <aj@suse.de>
80914
80915 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80916 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80917 inptr and inend for must_buffer_ch.
80918 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80919 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80920 * stdio-common/Makefile (tests): Remove bug15.
80921 (bug15-ENV): Remove macro.
80922 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80923 anymore.
80924
80925 2012-05-19 Andreas Jaeger <aj@suse.de>
80926 Roland McGrath <roland@hack.frob.com>
80927
80928 * manual/contrib.texi: Completely rewritten. It contains now an
80929 alphabetical list of contributors and their contributions.
80930
80931 2012-05-21 Richard Henderson <rth@twiddle.net>
80932
80933 * misc/getauxval.c (__getauxval): Use unsigned long int.
80934 * misc/sys/auxv.h: Include <sys/cdefs.h>.
80935 (getauxval): Use unsigned long int.
80936
80937 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
80938
80939 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80940
80941 2012-05-21 Roland McGrath <roland@hack.frob.com>
80942
80943 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80944 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80945 __alignof__ (long double).
80946
80947 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80948
80949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80950
80951 2012-05-20 Richard Henderson <rth@twiddle.net>
80952
80953 * misc/getauxval.c: New file.
80954 * misc/sys/auxv.h: New file.
80955 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80956 (routines): Add getauxval.
80957 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80958 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80959 * elf/dl-sysdep.c (_dl_auxv): Remove.
80960 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80961 * elf/dl-support.c (_dl_auxv): New variable.
80962 (_dl_aux_init): Initialize it.
80963 * manual/startup.texi (Auxiliary Vector): New node.
80964 * sysdeps/generic/bits/hwcap.h: New file.
80965 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80966 * sysdeps/powerpc/sysdep.h: ... here. Include it.
80967 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80968 * sysdeps/sparc/sysdep.h: ... here. Include it.
80969 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80972 Update.
80973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80976 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80981
80982 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80983
80984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80985
80986 2012-05-19 David S. Miller <davem@davemloft.net>
80987
80988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80989
80990 2012-05-19 Joseph Myers <joseph@codesourcery.com>
80991
80992 [BZ #14123]
80993 * math/s_ccosh.c: Include <float.h>
80994 (__ccosh): Avoid internal overflow calculating sinh and cosh
80995 values before multiplying by sin and cos values.
80996 * math/s_ccoshf.c: Likewise.
80997 * math/s_ccoshl.c: Likewise.
80998 * math/s_csin.c: Likewise.
80999 * math/s_csinf.c: Likewise.
81000 * math/s_csinl.c: Likewise.
81001 * math/s_csinh.c: Likewise.
81002 * math/s_csinhf.c: Likewise.
81003 * math/s_csinhl.c: Likewise.
81004 * math/libm-test.inc (ccos_test): Add more tests.
81005 (ccosh_test): Likewise.
81006 (csin_test): Likewise.
81007 (csinh_test): Likewise.
81008 * sysdeps/i386/fpu/libm-test-ulps: Update.
81009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81010
81011 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
81012
81013 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81014 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81015
81016 * sysdeps/x86_64/x32/_itoa.h: Add comment.
81017
81018 2012-05-19 Joseph Myers <joseph@codesourcery.com>
81019
81020 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81021 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81022 * sysdeps/powerpc/soft-fp/Versions: Likewise.
81023 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81024 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81025 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81026 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81027 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81028 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81029 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81030 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81031 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81032 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81033 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81034 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81035 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81036 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81037 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81038 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81039 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81040 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81041 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81042 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81043 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81044 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81045 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81046 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81047 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81048 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81049 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81050 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81051
81052 2012-05-18 Andreas Jaeger <aj@suse.de>
81053
81054 * csu/.gitignore: Delete.
81055
81056 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81057
81058 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81059 (timex): Use __syscall_slong_t.
81060
81061 2012-05-18 Andreas Jaeger <aj@suse.de>
81062 Carlos O'Donell <carlos_odonell@mentor.com>
81063
81064 * manual/install.texi (Configuring and compiling): Update
81065 description about files modified in the source directory.
81066 * INSTALL: Regenerated.
81067
81068 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81069
81070 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81071 value. Use "or" to set return value to -1.
81072 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81073 negate return value.
81074
81075 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81076
81077 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81078 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81079 failure if the compiler has Graphite support disabled.
81080 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81081 Likewise.
81082 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81083 (CFLAGS-memmove.c): Likewise.
81084 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81085 Likewise.
81086
81087 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
81088
81089 * sysdeps/x86_64/x32/_itoa.h: New file.
81090
81091 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81092 getdents system call only if kernel and user dirents have the
81093 same d_ino and d_off.
81094
81095 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81096 LLONG_MAX != LONG_MAX.
81097 (_itoa_word): Use _ITOA_WORD_TYPE on value.
81098 (_fitoa_word): Likewise.
81099
81100 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81101 years.
81102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81103 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81104 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81105
81106 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81107 include <bits/wordsize.h>. Check __x86_64__ instead of
81108 __WORDSIZE.
81109 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81110 if __x86_64__ is defined. Use anonymous union on fpstate.
81111
81112 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81113 anonymous union.
81114
81115 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
81116
81117 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81118 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81119 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81120 Refer to _rtld_local_ro instead of _rtld_global_ro.
81121 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81122 Likewise.
81123 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81124 Likewise.
81125 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81126 Likewise.
81127 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81128 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81129 of _rtld_global, and rtld_progname instead of _dl_argv[0].
81130
81131 [BZ #10882]
81132 * sysdeps/powerpc/powerpc32/dl-machine.c
81133 (__elf_machine_runtime_setup) [PROF]: Don't reference
81134 _dl_prof_resolve.
81135
81136 2012-05-18 Andreas Jaeger <aj@suse.de>
81137
81138 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81139 function only available for GCCs before 3.4 since GCC 3.4
81140 introduced a builtin.
81141 (lrint): Likewise.
81142 (llrintf): Likewise.
81143 (llrint): Likewise.
81144 (fmaxf): Likewise.
81145 (fmax): Likewise.
81146 (fminf): Likewise.
81147 (fmin): Likewise.
81148 (rint): Likewise.
81149 (rintf): Likewise.
81150 (nearbyint): Likewise.
81151 (nearbyintf): Likewise.
81152 (ceil): Likewise.
81153 (ceilf): Likewise.
81154 (floor): Likewise.
81155 (floorf): Likewise.
81156
81157 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81158
81159 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81160 on both fields and cast pointer to __syscall_ulong_t.
81161
81162 * bits/types.h (__fsword_t): New type.
81163 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81164 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81165 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81166 (__FSWORD_T_TYPE): Likewise.
81167 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81168 (__FSWORD_T_TYPE): Likewise.
81169 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81170 (__FSWORD_T_TYPE): Likewise.
81171 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81172 (__FSWORD_T_TYPE): Likewise.
81173 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81174 __SWORD_TYPE with __fsword_t.
81175 (statfs64): Likewise.
81176
81177 2012-05-17 David S. Miller <davem@davemloft.net>
81178
81179 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81180
81181 2012-05-17 Andreas Jaeger <aj@suse.de>
81182
81183 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81184 warning.
81185
81186 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81187
81188 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81189
81190 2012-05-17 Andreas Jaeger <aj@suse.de>
81191
81192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81193 when it is used.
81194
81195 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81196
81197 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81198
81199 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
81200
81201 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81202 * sysdeps/x86_64/tst-mallocalign1.c: New file.
81203
81204 2012-05-17 Andreas Jaeger <aj@suse.de>
81205 Carlos O'Donell <carlos_odonell@mentor.com>
81206
81207 [BZ #14059]
81208 * sysdeps/x86_64/multiarch/init-arch.h
81209 (bit_YMM_Usable): Rename to...
81210 (bit_AVX_Usable): ... this.
81211 (bit_FMA4_Usable): New macro.
81212 (bit_XMM_state): New macro.
81213 (bit_YMM_state): New macro.
81214 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81215 [__ASSEMBLER__] (index_AVX_Usable): ... this.
81216 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81217 (CPUID_OSXSAVE): New macro.
81218 (CPUID_AVX): New macro.
81219 (CPUID_FMA4): New macro.
81220 (index_YMM_Usable): Rename to...
81221 (index_AVX_Usable): ... this.
81222 (HAS_AVX): Use HAS_ARCH_FEATURE.
81223 (HAS_FMA4): Likewise.
81224 (HAS_YMM_USABLE): Remove.
81225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81226 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81227 are present.
81228 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81229 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81230 * sysdeps/x86_64/multiarch/Makefile: Likewise.
81231 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81232 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81233
81234 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
81235
81236 * math/libm-test.c: Support platforms without multiple rounding modes.
81237 * math/bug-nextafter.c: Support platforms without FP exceptions.
81238 * math/bug-nexttoward.c: Likewise.
81239 * math/test-fenv.c: Likewise.
81240 * math/test-misc.c: Likewise.
81241 * stdlib/bug-getcontext.c: Likewise.
81242
81243 2012-05-17 Andreas Jaeger <aj@suse.de>
81244
81245 * manual/examples/search.c (critter_cmp): Change signature to
81246 avoid warnings.
81247 * manual/string.texi (Collation Functions): Likewise.
81248
81249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81250
81251 * bits/types.h: Fold copyright years.
81252 * bits/typesizes.h: Likewise.
81253 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81254 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81257 * time/time.h: Likewise.
81258
81259 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
81260
81261 [BZ #208]
81262 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81263 in instead of returning them. Return void.
81264 (__libc_mallinfo): Accumulate over all arenas.
81265 (__malloc_stats): Adjust for change in int_mallinfo interface.
81266
81267 2012-05-16 Roland McGrath <roland@hack.frob.com>
81268
81269 [BZ #10375]
81270 * configure.in (NM): Add AC_CHECK_TOOL for it.
81271 (libc_extra_cflags): New substituted variable.
81272 Check for -fstack-protector being used implicitly.
81273 * configure: Regenerated.
81274 * config.make.in (config-extra-cflags): New variable,
81275 gets @libc_extra_cflags@.
81276 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81277
81278 [BZ #10375]
81279 * configure.in: Check for _FORTIFY_SOURCE being predefined.
81280 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81281 * configure: Regenerated.
81282 * config.make.in (CPPUNDEFS): New substituted variable.
81283 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81284 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81285 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81286
81287 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81288
81289 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81290 (mq_attr): Use __syscall_slong_t.
81291
81292 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81293
81294 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81295 Check __x86_64__ instead of __WORDSIZE.
81296 (_STAT_VER_LINUX): Likewise.
81297 (stat): Check __x86_64__ instead of __WORDSIZE. Use
81298 __syscall_ulong_t and __syscall_slong_t.
81299 (stat64): Likewise.
81300
81301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81302
81303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81304
81305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81306
81307 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81308
81309 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81310
81311 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81312 __syscall_ulong_t.
81313
81314 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81315 include <bits/wordsize.h>. Check __x86_64__ instead of
81316 __WORDSIZE.
81317 (greg_t): Use "__extension__ long long int" if __x86_64__ is
81318 defined.
81319 (mcontext_t): Replace "unsigned long" with "unsigned long long".
81320
81321 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81322 include <bits/wordsize.h>. Check __x86_64__ instead of
81323 __WORDSIZE.
81324 (user_regs_struct): Use "__extension__ unsigned long long"
81325 instead of "unsigned long" if __x86_64__ is defined.
81326 (user): Likewise. Pad after pointer field if __ILP32__ is
81327 defined.
81328
81329 2012-05-16 Joseph Myers <joseph@codesourcery.com>
81330
81331 * configure.in (makeinfo): Require version 4.5 or later. Allow
81332 versions 5 to 9.
81333 * configure: Regenerated.
81334 * manual/install.texi (texinfo): Increase version requirement to
81335 4.5 or later.
81336 * INSTALL: Regenerated.
81337
81338 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81339
81340 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
81341
81342 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81343
81344 * sysdeps/x86_64/x32/ffs.c: New file.
81345
81346 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81347 __syscall_ulong_t.
81348 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81349 defined. Use __syscall_ulong_t.
81350 (shminfo): Use __syscall_ulong_t.
81351 (shm_info): Likewise.
81352
81353 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81354 __syscall_ulong_t.
81355
81356 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81357 <bits/wordsize.h>.
81358 (msgqnum_t): Use __syscall_ulong_t.
81359 (msglen_t): Likewise.
81360 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
81361 __syscall_ulong_t.
81362
81363 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81364 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81365
81366 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81367
81368 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81369 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81370
81371 * sysvipc/sys/msg.h (msgbuf): Replace long int with
81372 __syscall_slong_t.
81373
81374 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81375 include <bits/wordsize.h>. Check __x86_64__ instead of
81376 __WORDSIZE.
81377
81378 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81379 "unsigned long long int" if __x86_64__ is defined.
81380 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81381
81382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81383 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
81384 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81385
81386 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81387 <stdint.h>.
81388 (GET_PC): Cast to uintptr_t first.
81389 (GET_FRAME): Likewise.
81390 (GET_STACK): Likewise.
81391
81392 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81393 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81394 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81395 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81396 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81397 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81398 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81399 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81400 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81401 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81402 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81403 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81404 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81405 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81406 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81407 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81408 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81409 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81410 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81411 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81412 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81413 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81414 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81415 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81416 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81417 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81418 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81419 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81420 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81421
81422 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
81423
81424 * Makerules (+depfiles): Also collect depfiles from .oS in
81425 $(extra-objs).
81426 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81427 .oS, $(libnldbl-routines)).
81428
81429 * Makerules (native-compile-mkdep-flags): Define.
81430 * sunrpc/Makefile (extra-objs): Add $(addprefix
81431 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81432 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81433 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
81434 calling $(make-target-directory).
81435
81436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81437
81438 * bits/types.h (__snseconds_t): Removed.
81439 * time/time.h (struct timespec): Replace __snseconds_t with
81440 __syscall_slong_t.
81441 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81442 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81443 Likewise.
81444 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81445 (__SNSECONDS_T_TYPE): Likewise.
81446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81447 (__SNSECONDS_T_TYPE): Likewise.
81448 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81449 (__SNSECONDS_T_TYPE): Likewise.
81450
81451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81452
81453 * sysdeps/mach/hurd/bits/typesizes.h
81454 (__SYSCALL_SLONG_TYPE): New macro.
81455 (__SYSCALL_ULONG_TYPE): Likewise.
81456
81457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81458
81459 * bits/types.h (__syscall_slong_t): New type.
81460 (__syscall_ulong_t): Likewise.
81461
81462 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81463 (__SYSCALL_ULONG_TYPE): Likewise.
81464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81465 (__SYSCALL_SLONG_TYPE): Likewise.
81466 (__SYSCALL_ULONG_TYPE): Likewise.
81467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81468 (__SYSCALL_SLONG_TYPE): Likewise.
81469 (__SYSCALL_ULONG_TYPE): Likewise.
81470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81471 (__SYSCALL_SLONG_TYPE): Likewise.
81472 (__SYSCALL_ULONG_TYPE): Likewise.
81473
81474 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81475
81476 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81477 Add sigaltstack-offsets.sym.
81478 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81479 <sigaltstack-offsets.h>.
81480 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
81481 longjmp_msg pointer.
81482 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
81483 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81484 signal stack.
81485 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81486
81487 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81488
81489 * elf/stackguard-macros.h: Remove file.
81490 * sysdeps/generic/stackguard-macros.h: New file.
81491 * sysdeps/i386/stackguard-macros.h: Likewise.
81492 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81493 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81494 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81495 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81496 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81497 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81498 * sysdeps/x86_64/stackguard-macros.h: Likewise.
81499 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81500 <elf/stackguard-macros.h>.
81501
81502 [BZ #14109]
81503 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81504 __aligned__ in attribute.
81505 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81506 (gregset_t): Likewise.
81507
81508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81509
81510 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81511 * sysdeps/x86_64/64/Implies-after: Here. New file.
81512 * sysdeps/x86_64/x32/Implies-after: New file.
81513
81514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81515
81516 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81517 and access return value for _dl_profile_fixup. Use R10_LP to
81518 load frame size.
81519
81520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81521
81522 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81523
81524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81525
81526 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81527 * sysdeps/x86_64/x32/sysdep.h: New file.
81528
81529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81530
81531 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81532 * sysdeps/x86_64/setjmp.S: Likewise.
81533
81534 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81535
81536 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81537 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81538 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81539 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81540 remove unused global constant.
81541
81542 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
81543
81544 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81545 include of <not-cancel.h>.
81546
81547 2012-05-15 Roland McGrath <roland@hack.frob.com>
81548
81549 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81550
81551 2012-05-15 Jeff Law <law@redhat.com>
81552 Andreas Jaeger <aj@suse.de>
81553
81554 [BZ #13594]
81555 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81556 out from...
81557 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81558 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81559 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81560 code changing __hst_map_handle.map.
81561
81562 2012-05-15 Roland McGrath <roland@hack.frob.com>
81563
81564 * configure.in (sysnames): Look for Implies-before and Implies-after
81565 files.
81566 * configure: Regenerated.
81567
81568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81569
81570 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81571 8-byte data alignment with LP_SIZE alignment.
81572
81573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81574
81575 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81576 into R10_LP.
81577
81578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81579
81580 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81581
81582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81583
81584 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81585 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81586 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81587 Likewise.
81588 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81589
81590 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81591
81592 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81593 (stackinfo_sub_sp): Likewise.
81594
81595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81596
81597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81598 RAX_LP.
81599
81600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81601
81602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81603 into R*_LP.
81604
81605 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81606
81607 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81608 sizes into R*_LP.
81609
81610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81611
81612 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81613
81614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81615
81616 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81617 into R11_LP and load __x86_64_shared_cache_size_half into
81618 R8_LP.
81619
81620 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
81621
81622 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81623 R8_LP.
81624
81625 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81626
81627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81628 logb for POWER7.
81629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81630 logbf for POWER7.
81631 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81632 logbl for POWER7.
81633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81634 powerpc32/power7/fpu/s_logb.c via #include.
81635 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81636 powerpc32/power7/fpu/s_logbf.c via #include.
81637 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81638 powerpc32/power7/fpu/s_logbl.c via #include.
81639
81640 2012-05-15 Joseph Myers <joseph@codesourcery.com>
81641
81642 * README.libm: Remove file.
81643
81644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81645
81646 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81647 count for x32. Use R*_LP and omit operand-size suffix.
81648
81649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81650
81651 * shlib-versions: Move x86_64-.*-linux.* entries to ...
81652 * sysdeps/x86_64/64/shlib-versions: Here. New file.
81653 * sysdeps/x86_64/x32/shlib-versions: New file.
81654
81655 2012-05-14 Roland McGrath <roland@hack.frob.com>
81656
81657 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
81658 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
81659 Use _dl_fatal_printf instead.
81660
81661 2012-05-14 Joseph Myers <joseph@codesourcery.com>
81662
81663 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
81664 set if not set by the user. Do not allow for being unset.
81665 * sysdeps/unix/sysv/linux/configure: Regenerated.
81666
81667 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81668
81669 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
81670 the `q' suffix from lea and replace .quad with ASM_ADDR.
81671
81672 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81673
81674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
81675 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
81676 instead of $17.
81677 (PTR_DEMANGLE): Likewise.
81678
81679 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81680
81681 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
81682 (LP_OP): Likewise.
81683 (ASM_ADDR): Likewise.
81684 (RAX_LP): Likewise.
81685 (RBP_LP): Likewise.
81686 (RBX_LP): Likewise.
81687 (RCX_LP): Likewise.
81688 (RDI_LP): Likewise.
81689 (RSI_LP): Likewise.
81690 (RSP_LP): Likewise.
81691 (R8_LP): Likewise.
81692 (R9_LP): Likewise.
81693 (R10_LP): Likewise.
81694 (R10_LP): Likewise.
81695 (R11_LP): Likewise.
81696 (R12_LP): Likewise.
81697 (R13_LP): Likewise.
81698 (R14_LP): Likewise.
81699 (R15_LP): Likewise.
81700
81701 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81702
81703 * sysdeps/x86_64/x32/dl-machine.h: New file.
81704
81705 2012-05-14 Andreas Jaeger <aj@suse.de>
81706
81707 * manual/Makefile (subdir): Remove export of subdir.
81708 (all): Remove target.
81709 (.PHONY): Remove all from list.
81710 (mkinstalldirs): Remove.
81711 (.PHONY): Remove installdirs from list.
81712 ($(inst_infodir)/libc.info): Use make-target-directory.
81713 (installdirs): Remove.
81714 (subdir_%): Remove.
81715 (glibc-targets): Remove.
81716 (lib): Remove.
81717 (stubs): Remove.
81718 ($(objpfx)stubs ../po/manual.pot): Remove.
81719 ($(objpfx)stamp%): Remove.
81720 (make-target-directory): Remove.
81721 (subdir_install): Remove.
81722 (routines): Remove.
81723 (aux): Remove.
81724 (sources): Remove.
81725 (objects): Remove.
81726 (headers): Remove.
81727
81728 [BZ #13750]
81729 * manual/.gitignore: Remove, it's not needed anymore.
81730 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
81731 all files in it.
81732 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
81733 directory.
81734 (texis): Renamed to $(objpfx)texis.
81735 (texis-path): New, contains path to generated files.
81736 (chapters.%): Use texis-path for complete path, add extra argument
81737 libc-texinfo.sh.
81738 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
81739 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
81740 (summary,texi, stamp-summary): Use complete path of
81741 files. Generate files in build dir.
81742 (dir-add.texi): Build in build dir.
81743 (libm-err.texi,stamp-libm-err): Likewise.
81744 (version.texi, stamp-version): Likewise.
81745 (.%c.texi): Likewise.
81746 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81747 (mostlyclean): Remove target.
81748 (realclean): Remove target.
81749 (generated): Add new variable with contents from mostlyclean and
81750 realclean, remove entries duplicated in common-mostlyclean, add
81751 stamp-libm-err and stamp-version.
81752 (generated-dirs): Add libc directory.
81753 ($(inst_infodir)/libc.info): Install files from build dir.
81754
81755 * manual/install.texi (Configuring and compiling): Adjust since
81756 the info files are not part of the tar ball anymore.
81757
81758 2012-05-14 Andreas Jaeger <aj@suse.de>
81759
81760 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
81761 variable.
81762
81763 2012-05-14 Joseph Myers <joseph@codesourcery.com>
81764
81765 [BZ #13717]
81766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
81767 to 2.2.0 where earlier.
81768 * sysdeps/unix/sysv/linux/configure: Regenerated.
81769 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
81770 Remove conditional code.
81771 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
81772 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
81773 Remove conditional code.
81774 [!__NR_lchown]: Likewise.
81775 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81776 [__NR_lchown]: Likewise.
81777 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81778 comment referencing __ASSUME_LCHOWN_SYSCALL.
81779 * sysdeps/unix/sysv/linux/i386/sigaction.c
81780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81783 Remove conditional code.
81784 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81785 (__protocol_available): Remove #if 0 code.
81786 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81787 conditional code.
81788 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81789 * sysdeps/unix/sysv/linux/kernel-features.h
81790 (__ASSUME_GETCWD_SYSCALL): Don't define.
81791 (__ASSUME_REALTIME_SIGNALS): Likewise.
81792 (__ASSUME_PREAD_SYSCALL): Likewise.
81793 (__ASSUME_PWRITE_SYSCALL): Likewise.
81794 (__ASSUME_POLL_SYSCALL): Likewise.
81795 (__ASSUME_LCHOWN_SYSCALL): Likewise.
81796 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81797 non-SPARC.
81798 (__ASSUME_SIOCGIFNAME): Don't define.
81799 (__ASSUME_MSG_NOSIGNAL): Likewise.
81800 (__ASSUME_SENDFILE): Define unconditionally.
81801 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81802 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81803 conditional code.
81804 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81805 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81806 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81807 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81808 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81809 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81810 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81812 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81815 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81818 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81819 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81821 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81824 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81825 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81827 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81830 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81833 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81835 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81836 Remove conditional code.
81837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81838 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81839 Remove conditional code.
81840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81841 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81842 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81843 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81844 Remove conditional code.
81845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81846 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81847 Remove conditional code.
81848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81849 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81850 Remove conditional code.
81851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81852 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81853 Remove conditional code.
81854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81855 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81856 Remove conditional code.
81857 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81858 * sysdeps/unix/sysv/linux/sh/pwrite64.c
81859 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81861 * sysdeps/unix/sysv/linux/sigaction.c
81862 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81863 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81864 * sysdeps/unix/sysv/linux/sigpending.c
81865 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81866 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81867 * sysdeps/unix/sysv/linux/sigprocmask.c
81868 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81869 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81870 * sysdeps/unix/sysv/linux/sigsuspend.c
81871 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81872 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81874 (__libc_missing_rt_sigs): Remove.
81875 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81876 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81877 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81878 Remove conditional code.
81879 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81880 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81881 return 1.
81882 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81883 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81884 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81885 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81886
81887 2012-05-14 Andreas Jaeger <aj@suse.de>
81888
81889 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81890 it's not used in glibc.
81891 (__coshm1): Likewise.
81892 (__acosh1p): Likewise.
81893 (__sgn): Likewise.
81894
81895 * manual/string.texi (Copying and Concatenation): Add missing
81896 variable in concat example.
81897 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81898
81899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81900
81901 [BZ #14103]
81902 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81903 __builtin_clzl with __builtin_clzll.
81904
81905 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
81906
81907 [BZ #14104]
81908 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81909 libc_freeres_ptr.
81910
81911 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81912
81913 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81914 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81915 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81916 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81917
81918 2012-05-14 Mike Frysinger <vapier@gentoo.org>
81919
81920 * NEWS: Update ia64 info.
81921
81922 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
81923
81924 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81925 used as bcopy.
81926
81927 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
81928
81929 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81930 * sysdeps/unix/syscalls.list (dup3): Likewise.
81931 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81932 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81933
81934 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
81935
81936 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81937 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81938
81939 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
81940
81941 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81942 thread pointer.
81943 (TLS_IE): Use mov/add instead of movq/addq to load thread
81944 pointer.
81945 (TLS_GD_PREFIX): New.
81946 (TLS_GD): Use it.
81947
81948 2012-05-11 David S. Miller <davem@davemloft.net>
81949
81950 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81951 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81952 (_FPU_SETCW): Likewise.
81953
81954 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
81955
81956 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81957 is 32-byte aligned.
81958
81959 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
81960
81961 [BZ #11837]
81962 * iconvdata/gb18030.c: Update tables.
81963 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
81964 characters specially.
81965 (BODY for TO_LOOP): Add encoding of missing ranges.
81966
81967 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
81968
81969 [BZ #13673]
81970 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81971 * sysdeps/mach/hurd/dup3.c: Likewise.
81972 * sysdeps/mach/hurd/readlinkat.c: Likewise.
81973 * sysdeps/powerpc/memmove.c:: Likewise.
81974
81975 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
81976
81977 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81978 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81979
81980 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
81981
81982 * elf/elf.h (R_X86_64_RELATIVE64): New.
81983 (R_X86_64_NUM): Updated.
81984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81985 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
81986 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81987 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81988 tst-quad1pie tst-quad2pie
81989 (modules-names): Add tst-quadmod1 tst-quadmod2.
81990 ($(objpfx)tst-quad1): New dependency.
81991 ($(objpfx)tst-quad2): Likewise.
81992 ($(objpfx)tst-quad1pie): Likewise.
81993 ($(objpfx)tst-quad2pie): Likewise.
81994 * sysdeps/x86_64/tst-quad1.c: New file.
81995 * sysdeps/x86_64/tst-quad1pie.c: New file.
81996 * sysdeps/x86_64/tst-quad2.c: Likewise.
81997 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81998 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81999 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82000 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82001 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82002
82003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82004
82005 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82006 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82007 * streams/stropts.h (t_scalar_t): Define type.
82008
82009 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82010 (_PATH_PRESERVE): Set to "/var/lib".
82011 (_PATH_RWHODIR): Set to "/var/spool/rwho".
82012
82013 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82014 instead of int.
82015
82016 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82017 if __dir_mkfile succeeded.
82018
82019 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82020 checking for _hurd_dtablesize. Unlock it right after having
82021 finished _hurd_dtable allocation.
82022
82023 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82024
82025 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82026 * sysdeps/mach/hurd/configure: Regenerated.
82027 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82028 special-casing to...
82029 * sysdeps/gnu/configure.in: ... this new file.
82030 * sysdeps/unix/sysv/linux/configure: Regenerated.
82031 * sysdeps/gnu/configure: New generated file.
82032
82033 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82034 for Linux: use nsec instead of usec, as well as:
82035 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82036 members of type struct timespec.
82037 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82038 New macros.
82039 (struct stat64): Likewise.
82040 (_STATBUF_ST_NSEC): New macro.
82041 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82042
82043 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82044 __strtoul_internal rather than strtoul.
82045
82046 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82047
82048 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82049 and reject them.
82050
82051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82052
82053 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82054 which preserves existing values.
82055 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82056
82057 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82058
82059 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82060 TIMEOUT values. Return EINVAL for NFDS values either negative or
82061 greater than FD_SETSIZE.
82062
82063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82064
82065 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82066 allocated, call __vm_protect to finish enabling the existing space, and
82067 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82068 allocate the remainder.
82069
82070 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82071
82072 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82073 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
82074
82075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82076
82077 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82078 sysdeps/mach/hurd/readlink.c.
82079
82080 * posix/tst-sysconf.c (posix_options): Only use
82081 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82082 _POSIX_SYNCHRONIZED_IO when they are defined
82083 * sysdeps/mach/hurd/bits/posix_opt.h:
82084 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82085 (_XOPEN_REALTIME): Undefine macro.
82086 (_XOPEN_REALTIME_THREADS): Undefine macro.
82087 (_XOPEN_SHM): Undefine macro.
82088 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82089 macro to -1.
82090 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82091 macro to -1.
82092 (_POSIX_ASYNC_IO): Undefine macro.
82093 (_POSIX_PRIORITIZED_IO): Undefine macro.
82094 (_POSIX_SPIN_LOCKS): Define macro to -1.
82095
82096 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82097 SA_NODEFER, SA_RESETHAND.
82098 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82099 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82100 F_DUPFD_CLOEXEC.
82101
82102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82103
82104 * elf/Makefile (pldd-modules): Define unconditionally.
82105
82106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82107
82108 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82109
82110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82111
82112 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82113 Return ENOENT when name is empty.
82114 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82115
82116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82117
82118 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82119
82120 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82121
82122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82123
82124 Fix mlock in all cases except non-readable pages.
82125 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82126 instead of VM_PROT_ALL as parameter to __vm_wire function.
82127
82128 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82129 (__mkdir): When path is `/', just fail with EEXIST.
82130 * sysdeps/mach/hurd/mkdirat.c: Likewise.
82131
82132 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82133
82134 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82135 <sys/uio.h> (for writev).
82136 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82137 and <sys/param.h> (for MIN).
82138
82139 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
82140
82141 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82142 REQUESTED_TIME. Properly set the remaining time and return EINTR
82143 if interrupted.
82144
82145 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82146
82147 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82148 Depend on against $(link-rpcuserlibs).
82149
82150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82151
82152 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82153 (__libc_stack_end): Do not use attribute_relro.
82154 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82155 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82156 to libthread-provided value.
82157 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82158 attribute_relro.
82159
82160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82161
82162 [BZ #3748]
82163 * bits/libc-lock.h (__libc_once_get): New macro.
82164 * sysdeps/mach/bits/libc-lock.h: Likewise.
82165 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82167 instead of using implementation details.
82168
82169 * libio/fileops.c: Unconditionally include <kernel-features.h>.
82170 * libio/freopen.c: Likewise.
82171 * libio/freopen64.c: Likewise.
82172 * misc/syslog.c: Likewise.
82173 * nscd/connections.c: Likewise.
82174 * nscd/netgroupcache.c: Likewise.
82175 * sysdeps/posix/getcwd.c: Likewise.
82176
82177 2012-05-10 Roland McGrath <roland@hack.frob.com>
82178
82179 * math/w_ilogbf.c: Add #include <limits.h>.
82180
82181 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82182
82183 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82184 path instead of returning without unlocking.
82185
82186 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82187 immediate-write ioctls.
82188 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82189
82190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82191
82192 * sysdeps/mach/hurd/i386/init-first.c (init): Use
82193 __builtin_frame_address instead of making assumptions about the
82194 location of the return address relative to DATA. Force early load of
82195 the return address.
82196 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82197 __builtin_frame_address.
82198
82199 dup3 for GNU Hurd.
82200 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82201 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
82202 implement dup3 and do some further code clean-ups.
82203 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82204 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82205
82206 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82207
82208 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82209
82210 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82211 HURD_CRITICAL_END around holding _hurd_dtable_lock.
82212 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82213 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82214 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82215 d->port.lock.
82216
82217 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82218 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
82219 when handler == SIG_ERR, not when handler != SIG_ERR.
82220
82221 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82222
82223 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82224 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82225 definitions.
82226
82227 accept4 for GNU Hurd.
82228 * include/sys/socket.h (__libc_accept4): New prototype.
82229 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
82230 to implement __libc_accept4.
82231 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82232 __libc_accept4.
82233 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82234
82235 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82236 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82237 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82238 signal-defines.sym.
82239
82240 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82241
82242 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82243
82244 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
82245
82246 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82247 assertion on O_CLOEXEC flag.
82248 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82249 * hurd/intern-fd.c: Likewise.
82250 * hurd/port2fd.c: Likewise.
82251
82252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
82253
82254 [BZ #3906]
82255 * bits/in.h (IPV6_PKTINFO): Define new macro.
82256 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82257
82258 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82259
82260 [BZ #13954]
82261 [BZ #13955]
82262 [BZ #13956]
82263 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82264 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82265 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82266 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82268 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82269 * math/libm-test.inc (logb_test) : Additional logb tests.
82270
82271 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
82272 Andreas Jaeger <aj@suse.de>
82273
82274 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82275 * configure: Regenerated.
82276 * config.h.in (LINK_OBSOLETE_RPC): New macro.
82277 * config.make.in (link-obsolete-rpc): New substituted variable.
82278 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82279 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82280 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82281 (shared-only-routines): Don't set it under [link-obsolete-rpc],
82282 so that libc.a contains the symbols.
82283 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82284 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82285 * sunrpc/auth_none.c: Likewise.
82286 * sunrpc/auth_unix.c: Likewise.
82287 * sunrpc/authdes_prot.c: Likewise.
82288 * sunrpc/authuxprot.c: Likewise.
82289 * sunrpc/clnt_gen.c: Likewise.
82290 * sunrpc/clnt_perr.c: Likewise.
82291 * sunrpc/clnt_raw.c: Likewise.
82292 * sunrpc/clnt_simp.c: Likewise.
82293 * sunrpc/clnt_tcp.c: Likewise.
82294 * sunrpc/clnt_udp.c: Likewise.
82295 * sunrpc/clnt_unix.c: Likewise.
82296 * sunrpc/des_crypt.c: Likewise.
82297 * sunrpc/des_soft.c: Likewise.
82298 * sunrpc/get_myaddr.c: Likewise.
82299 * sunrpc/key_call.c: Likewise.
82300 * sunrpc/key_prot.c: Likewise.
82301 * sunrpc/netname.c: Likewise.
82302 * sunrpc/pm_getmaps.c: Likewise.
82303 * sunrpc/pm_getport.c: Likewise.
82304 * sunrpc/pmap_clnt.c: Likewise.
82305 * sunrpc/pmap_prot.c: Likewise.
82306 * sunrpc/pmap_prot2.c: Likewise.
82307 * sunrpc/pmap_rmt.c: Likewise.
82308 * sunrpc/publickey.c: Likewise.
82309 * sunrpc/rpc_cmsg.c: Likewise.
82310 * sunrpc/rpc_common.c: Likewise.
82311 * sunrpc/rpc_dtable.c: Likewise.
82312 * sunrpc/rpc_prot.c: Likewise.
82313 * sunrpc/rpc_thread.c: Likewise.
82314 * sunrpc/rtime.c: Likewise.
82315 * sunrpc/svc.c: Likewise.
82316 * sunrpc/svc_auth.c: Likewise.
82317 * sunrpc/svc_raw.c: Likewise.
82318 * sunrpc/svc_run.c: Likewise.
82319 * sunrpc/svc_tcp.c: Likewise.
82320 * sunrpc/svc_udp.c: Likewise.
82321 * sunrpc/svc_unix.c: Likewise.
82322 * sunrpc/svcauth_des.c: Likewise.
82323 * sunrpc/xcrypt.c: Likewise.
82324 * sunrpc/xdr.c: Likewise.
82325 * sunrpc/xdr_array.c: Likewise.
82326 * sunrpc/xdr_float.c: Likewise.
82327 * sunrpc/xdr_intXX_t.c: Likewise.
82328 * sunrpc/xdr_mem.c: Likewise.
82329 * sunrpc/xdr_rec.c: Likewise.
82330 * sunrpc/xdr_ref.c: Likewise.
82331 * sunrpc/xdr_sizeof.c: Likewise.
82332 * sunrpc/xdr_stdio.c: Likewise.
82333
82334 2012-05-10 Roland McGrath <roland@hack.frob.com>
82335
82336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82337 change. Update copyright years.
82338
82339 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82340
82341 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82342
82343 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
82344 Joseph Myers <joseph@codesourcery.com>
82345 Paul Pluzhnikov <ppluzhnikov@google.com>
82346
82347 [BZ #14012]
82348 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82349 requiring rpcgen.
82350 [cross-compiling] (extra-libs): Likewise.
82351 [cross-compiling] (extra-libs-others): Likewise.
82352 [cross-compiling] (librpcsvc-routines): Likewise.
82353 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82354 [cross-compiling] (omit-deps): Likewise.
82355 (sunrpc-CPPFLAGS): New variable.
82356 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82357 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82358 (cross-rpcgen-objs): New variable.
82359 (extra-objs): Append $(cross-rpcgen-objs).
82360 ($(cross-rpcgen-objs)): New rule.
82361 ($(objpfx)cross-rpcgen): Likewise.
82362 (rpcgen-cmd): Define to use $(built-program-file). Expand
82363 comment.
82364 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82365 ($(objpfx)x%.stmp): Likewise.
82366 * sunrpc/proto.h [IS_IN_build] (_): Define.
82367 [IS_IN_build] (_libc_intl_domainname): Likewise.
82368
82369 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
82370
82371 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82372 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82373 and R_X86_64_TPOFF64.
82374
82375 2012-05-10 Joseph Myers <joseph@codesourcery.com>
82376
82377 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82378 sysdeps/unix/sysv/syscalls.list.
82379 (stime): Likewise.
82380 (utime): Likewise.
82381 * sysdeps/unix/sysv/syscalls.list: Remove file.
82382
82383 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
82384
82385 [BZ #3440]
82386 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82387 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82388 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82389 (__LC_IDENTIFICATION): Make these macros useful in #if
82390 expressions, as required by C99.
82391
82392 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
82393
82394 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82395 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
82396 after this.
82397
82398 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
82399
82400 * stdlib/longlong.h: Updated from GCC.
82401
82402 2012-05-09 Andreas Jaeger <aj@suse.de>
82403
82404 * nscd/nscd.c (run_modes): Make named enum, reorder so that
82405 default is first entry.
82406 (run_mode): Set type.
82407 (main): Remove informal message about syslog.
82408 (options): Fix typo.
82409
82410 [BZ #14053]
82411 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82412 to asm.
82413 (lrint): Likewise.
82414 (llrintf): Likewise.
82415 (llrint): Likewise.
82416 (rint): Likewise.
82417 (rintf): Likewise.
82418 (nearbyint): Likewise.
82419 (nearbyintf): Likewise.
82420
82421 2012-05-09 Andreas Jaeger <aj@suse.de>
82422 Pedro Alves <palves@redhat.com>
82423
82424 * nscd/nscd.c (run_mode): Use enum.
82425 (main): Cleanup coding style issue.
82426
82427 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
82428 Andreas Jaeger <aj@suse.de>
82429
82430 * nscd/nscd.c (go_background): Replaced with...
82431 (run_mode): ... this.
82432 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82433 (options): Add -F --foreground.
82434 (main): Implement it.
82435 (parse_opt): Parse it.
82436
82437 2012-05-09 Andreas Jaeger <aj@suse.de>
82438
82439 [BZ #14083]
82440 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82441 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82442 -Wconversion warning.
82443 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82444 Likewise.
82445
82446 2012-05-09 Joseph Myers <joseph@codesourcery.com>
82447
82448 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82449 == 0.
82450 (LC_ALL): Use macro-int-constant.
82451 (LC_COLLATE): Likewise.
82452 (LC_CTYPE): Likewise.
82453 (LC_MESSAGES): Likewise.
82454 (LC_MONETARY): Likewise.
82455 (LC_NUMERIC): Likewise.
82456 (LC_TIME): Likewise.
82457 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82458 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82460 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82461 Specify type.
82462 [C99-based standards] (float_t): Expect type.
82463 [C99-based standards] (double_t): Expect type.
82464 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
82465 type.
82466 [C99-based standards] (HUGE_VALL): Likewise.
82467 [C99-based standards] (INFINITY): Likewise.
82468 [C99-based standards] (NAN): Likewise.
82469 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82470 [C99-based standards] (FP_NAN): Likewise.
82471 [C99-based standards] (FP_NORMAL): Likewise.
82472 [C99-based standards] (FP_SUBNORMAL): Likewise.
82473 [C99-based standards] (FP_ZERO): Likewise.
82474 [C99-based standards] (FP_FAST_FMA): Use
82475 optional-macro-int-constant. Specify type. Require == 1.
82476 [C99-based standards] (FP_FAST_FMAF): Likewise.
82477 [C99-based standards] (FP_FAST_FMAL): Likewise.
82478 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82479 [C99-based standards] (FP_ILOGBNAN): Likewise.
82480 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82481 Specify type.
82482 [C99-based standards] (MATH_ERREXCEPT): Likewise.
82483 [C99-based standards] (math_errhandling): Specify type.
82484 [ISO99 || ISO11] (signgam): Do not allow.
82485 [non-C99-based standards] (copysignf): Do not allow.
82486 [non-C99-based standards] (exp2f): Likewise.
82487 [non-C99-based standards] (log2f): Likewise.
82488 [non-C99-based standards] (modff): Allow.
82489 [non-C99-based standards] (erff): Do not allow.
82490 [non-C99-based standards] (erfcf): Likewise.
82491 [non-C99-based standards] (gammaf): Likewise.
82492 [non-C99-based standards] (hypotf): Likewise.
82493 [non-C99-based standards] (j0f): Likewise.
82494 [non-C99-based standards] (j1f): Likewise.
82495 [non-C99-based standards] (jnf): Likewise.
82496 [non-C99-based standards] (lgammaf): Likewise.
82497 [non-C99-based standards] (tgammaf): Likewise.
82498 [non-C99-based standards] (y0f): Likewise.
82499 [non-C99-based standards] (y1f): Likewise.
82500 [non-C99-based standards] (ynf): Likewise.
82501 [non-C99-based standards] (isnanf): Likewise.
82502 [non-C99-based standards] (acoshf): Likewise.
82503 [non-C99-based standards] (asinhf): Likewise.
82504 [non-C99-based standards] (atanhf): Likewise.
82505 [non-C99-based standards] (cbrtf): Likewise.
82506 [non-C99-based standards] (expm1f): Likewise.
82507 [non-C99-based standards] (ilogbf): Likewise.
82508 [non-C99-based standards] (log1pf): Likewise.
82509 [non-C99-based standards] (logbf): Likewise.
82510 [non-C99-based standards] (nextafterf): Likewise.
82511 [non-C99-based standards] (remainderf): Likewise.
82512 [non-C99-based standards] (rintf): Likewise.
82513 [non-C99-based standards] (scalbf): Likewise.
82514 [non-C99-based standards] (copysignl): Likewise.
82515 [non-C99-based standards] (exp2l): Likewise.
82516 [non-C99-based standards] (log2l): Likewise.
82517 [non-C99-based standards] (modfl): Allow.
82518 [non-C99-based standards] (erfl): Do not allow.
82519 [non-C99-based standards] (erfcl): Likewise.
82520 [non-C99-based standards] (gammal): Likewise.
82521 [non-C99-based standards] (hypotl): Likewise.
82522 [non-C99-based standards] (j0l): Likewise.
82523 [non-C99-based standards] (j1l): Likewise.
82524 [non-C99-based standards] (jnl): Likewise.
82525 [non-C99-based standards] (lgammal): Likewise.
82526 [non-C99-based standards] (tgammal): Likewise.
82527 [non-C99-based standards] (y0l): Likewise.
82528 [non-C99-based standards] (y1l): Likewise.
82529 [non-C99-based standards] (ynl): Likewise.
82530 [non-C99-based standards] (isnanl): Likewise.
82531 [non-C99-based standards] (acoshl): Likewise.
82532 [non-C99-based standards] (asinhl): Likewise.
82533 [non-C99-based standards] (atanhl): Likewise.
82534 [non-C99-based standards] (cbrtl): Likewise.
82535 [non-C99-based standards] (expm1l): Likewise.
82536 [non-C99-based standards] (ilogbl): Likewise.
82537 [non-C99-based standards] (log1pl): Likewise.
82538 [non-C99-based standards] (logbl): Likewise.
82539 [non-C99-based standards] (nextafterl): Likewise.
82540 [non-C99-based standards] (remainderl): Likewise.
82541 [non-C99-based standards] (rintl): Likewise.
82542 [non-C99-based standards] (scalbl): Likewise.
82543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
82544 [non-C99-based standards] (FP_*): Do not allow.
82545 [C99-based standards] (FP_*): Change to
82546 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82547 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82548 allow.
82549 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82550 (SIG_ERR): Likewise.
82551 [X/Open-based standards] (SIG_HOLD): Likewise.
82552 (SIG_IGN): Likewise.
82553 (SIGABRT): Use macro-int-constant. Specify type. Require
82554 positive value.
82555 (SIGFPE): Likewise.
82556 (SIGILL): Likewise.
82557 (SIGINT): Likewise.
82558 (SIGSEGV): Likewise.
82559 (SIGTER): Likewise.
82560 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82561 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82562 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82563 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82564 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82565 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82566 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82567 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82568 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82569 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82570 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82571 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82572 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82573 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82574 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82575 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82576 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82577 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82578 [X/Open-based standards] (SIGTRAP): Likewise.
82579 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82580 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82581 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82582 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82583 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82584 allow.
82585
82586 2012-05-08 Ian Wienand <ianw@vmware.com>
82587
82588 [BZ #14080]
82589 * time/tzset.c (__tzset_parse_tz): Update default rules for
82590 daylight time changes in the Energy Policy Act of 2005.
82591
82592 2012-05-09 Andreas Jaeger <aj@suse.de>
82593
82594 [BZ #13983]
82595 * elf/ldconfig.c (parse_conf): Change string to make clear that
82596 ldconfig only issued a warning if ld.so.conf does not exist.
82597
82598 2012-05-08 David S. Miller <davem@davemloft.net>
82599
82600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82601 movxtod instead of popping the value on the stack.
82602
82603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82604
82605 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
82606
82607 * config.h.in: Add HAVE_ARM_PCS_VFP.
82608
82609 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
82610
82611 [BZ #13979]
82612 * include/features.h: Warn if user requests __FORTIFY_SOURCE
82613 checking but the checks are disabled for any reason.
82614
82615 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
82616
82617 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82618 and ELF64_R_TYPE with ELFW(R_TYPE).
82619
82620 2012-05-08 Joseph Myers <joseph@codesourcery.com>
82621
82622 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82623 (ulimit): Likewise.
82624
82625 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82626 (settimeofday): Likewise.
82627
82628 2012-05-08 Mike Frysinger <vapier@gentoo.org>
82629
82630 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
82631 a struct th_u2 inside the union, and move tu_block/tu_code into
82632 a new th_u3 union of tu_block/tu_code inside of that. Move
82633 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
82634 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
82635 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82636 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82637 (th_stuff): Change to th_u1.tu_stuff.
82638 (th_data): Define.
82639 (th_msg): Change to th_u1.th_u2.tu_data.
82640
82641 2012-05-07 David S. Miller <davem@davemloft.net>
82642
82643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82644
82645 [BZ #14074]
82646 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82647 (SETUP_PIC_REG): Use it.
82648 (SETUP_PIC_REG_LEAF): Use it.
82649
82650 2012-05-07 Joseph Myers <joseph@codesourcery.com>
82651
82652 [BZ #13885]
82653 [BZ #13923]
82654 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82655 USE_AS_EXPM1L.
82656 (EXPL_FINITE): Likewise.
82657 (FLDLOG): Likewise.
82658 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82659 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82660 e_expl.S.
82661 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82662 USE_AS_EXPM1L.
82663 (EXPL_FINITE): Likewise.
82664 (FLDLOG): Likewise.
82665 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82666 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82667 e_expl.S.
82668 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
82669 test of -max_value argument for long double.
82670 * sysdeps/i386/fpu/libm-test-ulps: Update.
82671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82672
82673 2012-05-06 David S. Miller <davem@davemloft.net>
82674
82675 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
82676 quad soft-float symbols whose references which are compiler
82677 generated.
82678 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82679
82680 2012-05-06 Joseph Myers <joseph@codesourcery.com>
82681
82682 [BZ #13884]
82683 [BZ #13914]
82684 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82685 USE_AS_EXP10L.
82686 (EXPL_FINITE): Likewise.
82687 (FLDLOG): Likewise.
82688 (c0): Likewise.
82689 (c1): Likewise.
82690 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
82691 Adjust comments for base varying.
82692 (__expl_finite): Change alias to EXPL_FINITE.
82693 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
82694 e_expl.S.
82695 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
82696 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
82697 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
82698 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
82699 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82700 USE_AS_EXP10L.
82701 (EXPL_FINITE): Likewise.
82702 (FLDLOG): Likewise.
82703 (c0): Likewise.
82704 (c1): Likewise.
82705 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
82706 Adjust comments for base varying.
82707 (__expl_finite): Change alias to EXPL_FINITE.
82708 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
82709 tests for bugs.
82710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82711
82712 [BZ #14064]
82713 * math/libm-test.inc (check_float_internal): Correct ulp
82714 calculation for subnormal expected results.
82715
82716 2012-05-06 Andreas Jaeger <aj@suse.de>
82717
82718 * Makeconfig (+math-flags): New, set to -frounding-math.
82719 (+cflags): Add +math-flags so that all of glibc gets compiled with
82720 it.
82721
82722 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
82723
82724 2012-05-05 Joseph Myers <joseph@codesourcery.com>
82725
82726 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
82727 Disable one test.
82728
82729 [BZ #13787]
82730 [BZ #13922]
82731 [BZ #14036]
82732 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
82733 (__ieee754_expl): Allow for and saturate large arguments.
82734 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
82735 (u_threshold): Likewise.
82736 (__exp): Call __ieee754_exp before checking for overflow and
82737 underflow.
82738 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
82739 (u_threshold): Likewise.
82740 (__expf): Call __ieee754_expf before checking for overflow and
82741 underflow.
82742 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
82743 (u_threshold): Likewise.
82744 (__expl): Call __ieee754_expl before checking for overflow and
82745 underflow.
82746 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
82747 (__ieee754_expl): Allow for and saturate large arguments.
82748 * math/libm-test.inc (exp_test): Add another test. Do not allow
82749 missing overflow exception on overflow.
82750 (expm1_test): Do not allow missing overflow exception on overflow.
82751
82752 * sysdeps/i386/fpu/e_expl.c: Move to ...
82753 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
82754 rather than using inline asm.
82755 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
82756 * sysdeps/x86_64/fpu/e_expl.S: Copy from
82757 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
82758
82759 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
82760 (nice): Likewise.
82761 (poll): Likewise.
82762 (signal): Likewise.
82763 (time): Likewise.
82764 (times): Likewise.
82765
82766 2012-05-04 Joseph Myers <joseph@codesourcery.com>
82767
82768 * sysdeps/unix/syscalls.list (adjtime): Add entry from
82769 sysdeps/unix/common/syscalls.list.
82770 (fchmod): Likewise.
82771 (fchown): Likewise.
82772 (ftruncate): Likewise.
82773 (getrusage): Likewise.
82774 (gettimeofday): Likewise.
82775 (setpgid): Likewise.
82776 (setregid): Likewise.
82777 (setreuid): Likewise.
82778 (sigaction): Likewise.
82779 (truncate): Likewise.
82780 (vhangup): Likewise.
82781 * sysdeps/unix/common/syscalls.list: Remove file.
82782 * sysdeps/unix/bsd/Implies: Don't include unix/common.
82783 * sysdeps/unix/sysv/linux/Implies: Likewise.
82784
82785 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
82786
82787 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82789 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82790 Moved to ...
82791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82792 Here.
82793 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82794 to ...
82795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82796 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82797 to ...
82798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82799 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82800 to ...
82801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82802 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82803 to ...
82804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82805 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82806 to ...
82807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82808 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82809 to ...
82810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82811 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82812 to ...
82813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82814 Here.
82815 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82816 to ...
82817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82818 Here.
82819 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82820 to ...
82821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82822 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82823 Moved to ...
82824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82825 Here.
82826 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82827 to ...
82828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82829
82830 2012-05-04 Joseph Myers <joseph@codesourcery.com>
82831
82832 * sysdeps/unix/common/bits/dirent.h: Remove file.
82833 * sysdeps/unix/common/bits/fcntl.h: Likewise.
82834
82835 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82836 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82837 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82838 * sysdeps/unix/bsd/isatty.c: Likewise.
82839 * sysdeps/unix/bsd/tcdrain.c: Likewise.
82840 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82841 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82842
82843 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82844
82845 [BZ #13563]
82846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82847 long double comparison inaccuracies.
82848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82850
82851 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
82852
82853 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82855
82856 2012-05-04 Joseph Myers <joseph@codesourcery.com>
82857
82858 [BZ #14049]
82859 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82860 nonzero digits before rounding a hex value.
82861 * stdlib/tst-strtod.c (tests): Add another test.
82862
82863 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82864
82865 * sysdeps/s390/fpu/libm-test-ulps: Update.
82866
82867 2012-05-03 Andreas Jaeger <aj@suse.de>
82868
82869 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82870 does not get optimized out.
82871 (malloc_opt_barrier): New.
82872
82873 2012-05-03 Andreas Jaeger <aj@suse.de>
82874 Roland McGrath <roland@hack.frob.com>
82875
82876 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82877 intermediate file deletion.
82878 (generated): Add .symlist files.
82879
82880 2012-05-03 Joseph Myers <joseph@codesourcery.com>
82881
82882 [BZ #13775]
82883 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82884 Redirect under this condition.
82885 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82886 [__USE_GNU] (__dprintf_chk): Not under this condition.
82887 [__USE_GNU] (__vdprintf_chk): Likewise.
82888 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82889 under this condition.
82890 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82891 [__USE_XOPEN2K8] (dprintf): Define under this condition.
82892 [__USE_XOPEN2K8] (vdprintf): Likewise.
82893 [__USE_GNU] (__dprintf_chk): Not under this condition.
82894 [__USE_GNU] (__vdprintf_chk): Likewise.
82895 [__USE_GNU] (dprintf): Likewise.
82896 [__USE_GNU] (vdprintf): Likewise.
82897
82898 2012-05-03 Roland McGrath <roland@hack.frob.com>
82899
82900 * elf/Makefile (common-generated): Set this instead of generated for
82901 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
82902 $(all-built-dso)-derived lists.
82903
82904 2012-05-03 Andreas Jaeger <aj@suse.de>
82905
82906 * sysdeps/i386/fpu/libm-test-ulps: Update.
82907
82908 * FAQ: Removed.
82909 * FAQ.in: Likewise.
82910 * scripts/gen-FAQ.pl: Likewise.
82911 * manual/install.texi (Installation): Point to online location of
82912 FAQ.
82913 * Makefile (files-for-dist): Remove FAQ.
82914 (FAQ): Remove.
82915
82916 2012-05-02 Allan McRae <allan@archlinux.org>
82917
82918 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82919 (LDFLAGS-reldepmod5.so): Likewise.
82920 (LDFLAGS-reldep6mod1.so): Likewise.
82921 (LDFLAGS-reldep6mod4.so): Likewise.
82922 (LDFLAGS-reldep8mod3.so): Likewise.
82923 (LDFLAGS-unload4mod1.so): Likewise.
82924 (LDFLAGS-unload4mod2.so): Likewise.
82925 (LDFLAGS-tst-initorder): Likewise.
82926 (LDFLAGS-tst-initordera2.so): Likewise.
82927 (LDFLAGS-tst-initordera3.so): Likewise.
82928 (LDFLAGS-tst-initordera4.so): Likewise.
82929 (LDFLAGS-tst-initorderb2.so): Likewise.
82930 (LDFLAGS-noload): Likewise.
82931 (LDFLAGS-next): Likewise.
82932 (LDFLAGS-order2mod1.so): Likewise.
82933 (LDFLAGS-order2mod2.so): Likewise.
82934 (LDFLAGS-tst-initorder2): Likewise.
82935 (LDFLAGS-tst-initorder2a.so): Likewise.
82936 (LDFLAGS-tst-initorder2b.so): Likewise.
82937 (LDFLAGS-tst-initorder2c.so): Likewise.
82938 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82939
82940 2012-05-02 David S. Miller <davem@davemloft.net>
82941
82942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82943
82944 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
82945
82946 [BZ #14055]
82947 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82948
82949 2012-05-02 Andreas Jaeger <aj@suse.de>
82950
82951 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82952 since we manipulate rounding mode.
82953 (CPPFLAGS-test-idouble.c): Likewise.
82954 (CPPFLAGS-test-ifloat.c): Likewise.
82955 (CFLAGS-test-ldouble.c): Likewise.
82956 (CFLAGS-test-double.c): Likewise.
82957 (CFLAGS-test-float.c): Likewise.
82958 (CFLAGS-test-misc.c): Likewise.
82959 (CFLAGS-test-test-fenv.c): Likewise.
82960
82961 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82962
82963 [BZ #2550]
82964 [BZ #2570]
82965 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82966 comparisons to determine direction to adjust input.
82967
82968 2012-05-01 Roland McGrath <roland@hack.frob.com>
82969
82970 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82971 output to the target.
82972
82973 * scripts/localplt.awk: New file.
82974 * elf/Makefile ($(objpfx)check-localplt): Target removed.
82975 (check-localplt-CFLAGS): Variable removed.
82976 ($(all-built-dso:=.jmprel)): New static pattern rule.
82977 (generated): Add those targets.
82978 (localplt-built-dso): New variable.
82979 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82980
82981 * elf/check-localplt.c: File removed.
82982
82983 * scripts/check-execstack.awk: New file.
82984 * elf/Makefile ($(objpfx)check-execstack): Target removed.
82985 (check-execstack-CFLAGS): Variable removed.
82986 ($(objpfx)check-execstack.h): Target removed.
82987 ($(objpfx)execstack-default): New target.
82988 (generated): Add that instead of check-execstack.h.
82989 ($(all-built-dso:=.phdr)): New static pattern rule.
82990 (generated): Add those targets.
82991 * elf/check-execstack.c: File removed.
82992
82993 * scripts/check-textrel.awk: New file.
82994 * elf/Makefile ($(objpfx)check-textrel): Target removed.
82995 (check-textrel-CFLAGS): Variable removed.
82996 (all-built-dso): Use := to define.o
82997 ($(all-built-dso:=.dyn)): New static pattern rule.
82998 (generated): Add those targets.
82999 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83000 * config.make.in (READELF): New substituted variable.
83001 * elf/check-textrel.c: File removed.
83002
83003 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83004
83005 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83006 allow.
83007 * conform/data/ctype.h-data [C99-based standards] (isblank):
83008 Expect function.
83009 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83010 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83012 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83013 Specify type. Require positive value.
83014 (EILSEQ): Likewise.
83015 (ERANGE): Likewise.
83016 [ISO || POSIX] (EILSEQ): Do not expect.
83017 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83018 Specify type. Require positive value.
83019 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83020 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83021 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83022 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83023 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83024 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83025 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83026 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83027 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83028 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83029 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83030 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83031 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83032 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83033 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83034 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83035 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83036 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83037 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83038 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83039 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83040 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83041 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83042 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83043 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83044 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83045 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83046 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83047 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83048 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83049 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83050 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83051 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83052 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83053 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83054 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83055 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83056 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83057 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83058 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83059 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83060 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83061 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83062 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83063 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83064 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83065 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83066 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83067 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83068 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83069 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83070 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83071 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83072 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83073 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83074 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83075 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83076 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83077 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83078 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83079 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83080 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83081 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83082 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83083 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83084 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83085 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83086 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83087 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83088 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83089 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83090 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83091 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83092 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83093 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83094 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83095 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83096 Require >= 2.
83097 (FLT_ROUNDS): Expect as macro, not constant.
83098 (FLT_MANT_DIG): Use macro-int-constant.
83099 (DBL_MANT_DIG): Likewise.
83100 (LDBL_MANT_DIG): Likewise.
83101 (FLT_DIG): Likewise.
83102 (DBL_DIG): Likewise.
83103 (LDBL_DIG): Likewise.
83104 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
83105 (DBL_MIN_EXP): Likewise.
83106 (LDBL_MIN_EXP): Likewise.
83107 (FLT_MAX_EXP): Use macro-int-constant.
83108 (DBL_MAX_EXP): Likewise.
83109 (LDBL_MAX_EXP): Likewise.
83110 (FLT_MAX_10_EXP): Likewise.
83111 (DBL_MAX_10_EXP): Likewise.
83112 (LDBL_MAX_10_EXP): Likewise.
83113 (FLT_MAX): Use macro-constant.
83114 (DBL_MAX): Likewise.
83115 (LDBL_MAX): Likewise.
83116 (FLT_EPSILON): Use macro-constant. Give upper bound.
83117 (DBL_EPSILON): Likewise.
83118 (LDBL_EPSILON): Likewise.
83119 (FLT_MIN): Likewise.
83120 (DBL_MIN): Likewise.
83121 (LDBL_MIN): Likewise.
83122 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83123 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83124 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83125 [ISO11] (FLT_HAS_SUBNORM): Likewise.
83126 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83127 [ISO11] (DBL_DECIMAL_DIG): Likewise.
83128 [ISO11] (FLT_DECIMAL_DIG): Likewise.
83129 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83130 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83131 [ISO11] (FLT_TRUE_MIN): Likewise.
83132 [ISO11] (LDBL_TRUE_MIN): Likewise.
83133 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83134 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83135 (SCHAR_MIN): Use macro-int-constant. Specify type.
83136 (SCHAR_MAX): Likewise.
83137 (UCHAR_MAX): Likewise.
83138 (CHAR_MIN): Likewise.
83139 (CHAR_MAX): Likewise.
83140 (MB_LEN_MAX): Use macro-int-constant.
83141 (SHRT_MIN): Use macro-int-constant. Specify type.
83142 (SHRT_MAX): Likewise.
83143 (USHRT_MAX): Likewise.
83144 (INT_MAX): Likewise.
83145 (INT_MIN): Use macro-int-constant. Specify type. Make upper
83146 bound negative.
83147 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
83148 bound with "U".
83149 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83150 bound with "L".
83151 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
83152 bound negative. Suffix upper bound with "L".
83153 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
83154 bound with "UL".
83155 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83156 Specify type.
83157 [C99-based standards] (LLONG_MAX): Likewise.
83158 [C99-based standards] (ULLONG_MAX): Likewise.
83159 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
83160 == 0.
83161 [ISO11] (max_align_t): Require type.
83162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
83163
83164 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83165 from $CFLAGS, without defining away __attribute__ calls.
83166 (checknamespace): Use $CFLAGS_namespace.
83167
83168 * conform/conformtest.pl (@keywords): Only include C99 keywords
83169 for standards based on C99 or C11.
83170
83171 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83172 Disable tests.
83173 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83174 UNIX98]: Likewise.
83175
83176 * conform/conformtest.pl: Handle "macro-int-constant" and test for
83177 usability of symbols in #if.
83178
83179 * conform/conformtest.pl: If macro or constant types start
83180 "promoted:", expect the symbol to be of the following type
83181 promoted by the integer promotions.
83182
83183 * conform/conformtest.pl: Parse all "constant" and "macro" lines
83184 in one place. Also handle "macro-constant".
83185
83186 * conform/conformtest.pl: Only accept expected macro values with
83187 "==". Parse all "macro" lines in one place.
83188 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83189
83190 * conform/conformtest.pl: Handle braced types on "constant" lines
83191 instead of handling "typed-constant".
83192 * conform/data/signal.h-data: Use "constant" instead of
83193 "typed-constant".
83194
83195 * conform/conformtest.pl: Handle "optional-" at start of lines in
83196 one place rather than duplicating several cases. Handle each
83197 format of "macro" line with initial "optional-".
83198
83199 * conform/conformtest.pl: Only accept expected constant or
83200 optional-constant values with "==". Parse all "constant" lines in
83201 one place. Parse all "optional-constant" lines in one place.
83202 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83203 * conform/data/fmtmsg.h-data: Likewise.
83204 * conform/data/netinet/in.h-data: Likewise.
83205 * conform/data/tar.h-data: Likewise.
83206 * conform/data/limits.h-data: Use "==" form on "constant" and
83207 "optional-constant" lines.
83208
83209 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83210 Use -std=c99 for XOPEN2K.
83211 (@knownproblems): Remove.
83212 (newtoken): Don't check %isknown.
83213
83214 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83215 Do not expect macro.
83216 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83217 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83218 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83219 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83220 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83221 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83222 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83223 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83224 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83225 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83226 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83227 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83228 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83229 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83230 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83231 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83232 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83233 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83234 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83235 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83236 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83237 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83238 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83239 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83240 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83241 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83242 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83243 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83244 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83245 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83246 [XPG3] (acosh): Likewise.
83247 [XPG3] (asinh): Likewise.
83248 [XPG3] (atanh): Likewise.
83249 [XPG3] (cbrt): Likewise.
83250 [XPG3] (expm1): Likewise.
83251 [XPG3] (ilogb): Likewise.
83252 [XPG3] (log1p): Likewise.
83253 [XPG3] (logb): Likewise.
83254 [XPG3] (nextafter): Likewise.
83255 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83256 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83257 [XPG3] (remainder): Likewise.
83258 [XPG3] (rint): Likewise.
83259 [XPG3 || XPG4 || UNIX98] (round): Likewise.
83260 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83261 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83262 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83263 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83264 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83265 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83266 [UNIX98 || XOPEN2K] (scalb): Expect.
83267 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83268 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83269 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83270 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83271 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83272 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83273 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83274 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83275 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83276 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83277 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83278 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83279 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83280 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83281 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83282 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83283 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83284 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83285 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83286 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83287 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83288 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83289 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83290 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83291 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83292 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83293 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83294 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83295 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83296 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83297 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83298 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83299 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83300 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83301 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83302 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83303 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83304 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83305 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83306 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83307 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83308 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83309 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83310 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83311 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83312 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83313 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83314 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83315 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83316 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83317 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83318 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83319 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83320 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83321 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83322 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83323 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83324 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83325 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83326 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83327 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83328 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83329 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83330 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83331 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83332 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83333 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83334 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83335 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83336 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83337 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83338 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83339 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83340 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83341 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83342 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83343 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83344 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83345 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83346 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83347 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83348 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83349 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83350 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83351 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83352 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83353 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83354 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83355 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83356 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83357 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83358 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83359 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83360 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83361 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83362 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83363 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83364 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83365 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83366 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83367 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83368 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83369 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83370 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83371 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83372 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83373 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83374 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83375 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83376 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83377 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83378 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83379 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83380 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83381 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83382 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83383 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83384 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83385 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83386 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83387 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83388 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83389 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83390 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83391 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83392 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83393 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83394 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83395 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83396 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83397 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83398 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83399 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83400 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83401 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83402 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83403 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83404
83405 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83406 _XOPEN_SOURCE_EXTENDED for XPG4.
83407
83408 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83409
83410 * Makeconfig (localtime): Remove variable.
83411 (inst_localtime-file): Likewise.
83412
83413 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83414
83415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83416 Update.
83417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83418 Update.
83419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83420 Update.
83421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83422 Update.
83423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83424 Update.
83425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83426 Update.
83427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83428 Update.
83429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83430 Update.
83431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83432 Update.
83433
83434 2012-05-01 Joseph Myers <joseph@codesourcery.com>
83435
83436 [BZ #2550]
83437 [BZ #2570]
83438 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83439 comparisons to determine direction to adjust input.
83440 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83441 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83442 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83443 Likewise.
83444 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83445 Likewise.
83446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83447 Likewise.
83448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83450 Likewise.
83451 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83452 Likewise.
83453 * math/libm-test.inc (nexttoward_test): Add more tests.
83454
83455 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
83456
83457 [BZ #14040]
83458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83459 in version GLIBC_2.1, not GLIBC_2.0.
83460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83461 Likewise.
83462
83463 2012-04-30 Joseph Myers <joseph@codesourcery.com>
83464
83465 [BZ #13942]
83466 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83467 (1 - x) * (1 + x).
83468 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83469 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83470 * math/libm-test.inc (acos_test): Add more tests.
83471 (asin_test): Likewise.
83472 * sysdeps/i386/fpu/libm-test-ulps: Update.
83473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83474
83475 [BZ #14034]
83476 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83477 of square root.
83478 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83479 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83480 * math/libm-test.inc (acos_test_tonearest): New function.
83481 (acos_test_towardzero): Likewise.
83482 (acos_test_downward): Likewise.
83483 (acos_test_upward): Likewise.
83484 (asin_test_tonearest): Likewise.
83485 (asin_test_towardzero): Likewise.
83486 (asin_test_downward): Likewise.
83487 (asin_test_upward): Likewise.
83488 (main): Call the new functions.
83489 * sysdeps/i386/fpu/libm-test-ulps: Update.
83490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83491
83492 [BZ #13884]
83493 [BZ #13924]
83494 * math/e_exp10.c: Include <float.h>.
83495 (__ieee754_exp10): Handle underflow here rather than multiplying
83496 large negative argument by M_LN10.
83497 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83498 of __ieee754_expf.
83499 * math/e_exp10l.c: Include <float.h>.
83500 (__ieee754_exp10l): Handle underflow here rather than multiplying
83501 large negative argument by M_LN10l.
83502 * math/libm-test.inc (exp10_test): Add another test. Do not allow
83503 spurious overflow exception on underflow.
83504
83505 2012-04-29 Marek Polacek <polacek@redhat.com>
83506
83507 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83508 (__fortify_function): New macro.
83509 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83510 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83511 __extern_always_inline.
83512 * libio/bits/stdio2.h: Likewise.
83513 * libio/bits/stdio.h: Likewise.
83514 * string/string.h: Likewise.
83515 * string/bits/string3.h: Likewise.
83516 * include/stdio.h: Likewise.
83517 * stdlib/bits/stdlib.h: Likewise.
83518 * stdlib/stdlib.h: Likewise.
83519 * rt/bits/mqueue2.h: Likewise.
83520 * rt/mqueue.h: Likewise.
83521 * posix/bits/unistd.h: Likewise.
83522 * posix/unistd.h: Likewise.
83523 * io/bits/poll2.h: Likewise.
83524 * io/bits/fcntl2.h: Likewise.
83525 * io/fcntl.h: Likewise.
83526 * io/sys/poll.h: Likewise.
83527 * misc/bits/syslog.h: Likewise.
83528 * misc/bits/syslog-ldbl.h: Likewise.
83529 * misc/sys/syslog.h: Likewise.
83530 * socket/bits/socket2.h: Likewise.
83531 * socket/sys/socket.h: Likewise.
83532 * debug/tst-chk1.c: Likewise.
83533 * wcsmbs/bits/wchar2.h: Likewise.
83534 * wcsmbs/bits/wchar-ldbl.h: Likewise.
83535 * wcsmbs/wchar.h: Likewise.
83536
83537 2012-04-29 Andreas Jaeger <aj@suse.de>
83538
83539 * Makerules (tests): Remove enable-check-abi protection.
83540 (check-abi-warn): Remove.
83541 (check-abi-%): Remove check-abi-warn usage.
83542
83543 * configure.in: Remove check-abi configure option.
83544 * configure: Regenerated.
83545 * config.make.in (enable-check-abi): Remove.
83546
83547 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
83548
83549 [BZ #14033]
83550 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83551 double functions to double *_finite functions.
83552
83553 [BZ #13941]
83554 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83555 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83556 LDBL_MIN_EXP.
83557 * stdio-common/Makefile (tests): Add tst-sprintf3.
83558 * stdio-common/tst-sprintf3.c: New file.
83559
83560 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83561 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83562
83563 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83564
83565 * conform/conformtest.pl: Remove duplicate typed-constant
83566 handling.
83567
83568 2012-04-28 David S. Miller <davem@davemloft.net>
83569
83570 * Makerules (%.abilist): Add vpath on sysdep_dirs.
83571 (check-abi-%): Remove AWK script prerequisite and explicit
83572 abilist directory.
83573 (check-abi): Rewrite to just diff the symlist with the abilist.
83574 (config-tls, config-abi-config): Delete, no longer used.
83575 (update-abi-%): Remove AWK script and explicit abilist directory.
83576 (update-abi): Rewrite to simply compare and conditionally copy the
83577 symlist and the sysdep abilist file. Remove update-abi-config
83578 checks.
83579 * abilist/ld.abilist: Remove.
83580 * abilist/libBrokenLocale.abilist: Remove.
83581 * abilist/libanl.abilist: Remove.
83582 * abilist/libcrypt.abilist: Remove.
83583 * abilist/libdl.abilist: Remove.
83584 * abilist/librt.abilist: Remove.
83585 * abilist/libthread_db.abilist: Remove.
83586 * abilist/libutil.abilist: Remove.
83587 * scripts/extract-abilist.awk: Remove.
83588 * scripts/merge-abilist.awk: Remove.
83589 * sysdeps/generic/libcidn.abilist: New file.
83590 * sysdeps/generic/libnss_compat.abilist: New file.
83591 * sysdeps/generic/libnss_db.abilist: New file.
83592 * sysdeps/generic/libnss_dns.abilist: New file.
83593 * sysdeps/generic/libnss_files.abilist: New file.
83594 * sysdeps/generic/libnss_hesiod.abilist: New file.
83595 * sysdeps/generic/libnss_nis.abilist: New file.
83596 * sysdeps/generic/libnss_nisplus.abilist: New file.
83597 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83598 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83599 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83600 file.
83601 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83602 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83603 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83604 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83605 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83606 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83607 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83608 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83609 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83610 file.
83611 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83612 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83613 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83614 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83615 file.
83616 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83617 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83618 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83619 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83620 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83621 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83622 file.
83623 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83624 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83625 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83626 file.
83627 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83629 New file.
83630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83631 New file.
83632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83633 New file.
83634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83635 New file.
83636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83637 New file.
83638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83639 New file.
83640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83641 New file.
83642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83643 New file.
83644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83645 New file.
83646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83647 New file.
83648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83649 New file.
83650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83651 New file.
83652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83653 New file.
83654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83655 file.
83656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83657 New file.
83658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
83659 New file.
83660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
83661 file.
83662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
83663 New file.
83664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
83665 New file.
83666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
83667 file.
83668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
83669 New file.
83670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83671 New file.
83672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
83673 New file.
83674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
83675 New file.
83676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
83677 New file.
83678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
83679 New file.
83680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
83681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
83682 file.
83683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
83684 New file.
83685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
83686 file.
83687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
83688 file.
83689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
83690 file.
83691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
83692 file.
83693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
83694 file.
83695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83696 New file.
83697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
83698 file.
83699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
83700 file.
83701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
83702 New file.
83703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
83704 file.
83705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
83706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
83707 file.
83708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
83709 New file.
83710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
83711 file.
83712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
83713 file.
83714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
83715 file.
83716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
83717 file.
83718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
83719 file.
83720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
83721 New file.
83722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
83723 file.
83724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
83725 file.
83726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
83727 New file.
83728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
83729 file.
83730 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
83731 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
83732 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
83733 file.
83734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
83735 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
83736 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
83737 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
83738 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
83739 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
83740 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
83741 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
83742 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
83743 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
83744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
83745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
83746 file.
83747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83748 New file.
83749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
83750 file.
83751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
83752 file.
83753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
83754 file.
83755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
83756 file.
83757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
83758 file.
83759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
83760 New file.
83761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
83762 New file.
83763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
83764 file.
83765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
83766 New file.
83767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
83768 file.
83769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
83770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
83771 file.
83772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
83773 New file.
83774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
83775 file.
83776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83777 file.
83778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83779 file.
83780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83781 file.
83782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83783 file.
83784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83785 New file.
83786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83787 New file.
83788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83789 file.
83790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83791 New file.
83792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83793 file.
83794
83795 2012-04-28 Joseph Myers <joseph@codesourcery.com>
83796
83797 * conform/conformtest.pl: Fix typo in handling typed-constant from
83798 allow-header.
83799
83800 2012-04-27 Joseph Myers <joseph@codesourcery.com>
83801
83802 * README: Cut down references to pre-2.6 Linux kernels and
83803 Linuxthreads. Update lists of configurations in libc and ports
83804 and sort alphabetically. Say "or newer" with Linux kernel version
83805 requirements.
83806
83807 * config.h.in [IS_IN_build]: Allow compiling without optimization.
83808
83809 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
83810
83811 [BZ #887]
83812 * math/libm-test.inc (logb_test_downward): New test to expose
83813 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83814 rounding mode.
83815
83816 2012-04-27 Joseph Myers <joseph@codesourcery.com>
83817
83818 [BZ #14027]
83819 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83820 to be done.
83821 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83822 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83823
83824 2012-04-26 Joseph Myers <joseph@codesourcery.com>
83825
83826 * sysdeps/unix/i386/brk.S: Remove file.
83827 * sysdeps/unix/i386/dl-brk.S: Likewise.
83828 * sysdeps/unix/i386/pipe.S: Likewise.
83829 * sysdeps/unix/i386/sigreturn.S: Likewise.
83830 * sysdeps/unix/i386/syscall.S: Likewise.
83831 * sysdeps/unix/i386/vfork.S: Likewise.
83832 * sysdeps/unix/i386/wait.S: Likewise.
83833
83834 * sysdeps/unix/common/tcsendbrk.c: Move to ...
83835 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83836
83837 * configure.in (arm*-none*): Do not allow without
83838 --enable-hacker-mode.
83839 (netbsd*): Remove case setting base_os.
83840 (386bsd*): Likewise.
83841 (freebsd*): Likewise.
83842 (bsdi*): Likewise.
83843 (osf*): Likewise.
83844 (sunos*): Likewise.
83845 (ultrix*): Likewise.
83846 (newsos*): Likewise.
83847 (dynix*): Likewise.
83848 (*bsd*): Likewise.
83849 (sysv*): Likewise.
83850 (isc*): Likewise.
83851 (esix*): Likewise.
83852 (sco*): Likewise.
83853 (minix*): Likewise.
83854 (irix4*): Likewise.
83855 (irix6*): Likewise.
83856 (solaris[2-9]*): Likewise.
83857 (none): Likewise.
83858 * configure: Regenerated.
83859
83860 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83861
83862 [BZ #11521]
83863 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83864 overflow or cancellation in calculating denominator.
83865 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83867 down expression to avoid unexpected rounding in newer GCCs.
83868 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83869
83870 2012-04-26 David S. Miller <davem@davemloft.net>
83871
83872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83873 long-double compat symbols.
83874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83887
83888 2012-04-25 David S. Miller <davem@davemloft.net>
83889
83890 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83891 HWCAP_* values only after the memory barriers have been defined.
83892 (atomic_full_barrier): Define.
83893 (atomic_read_barrier): Define.
83894 (atomic_write_barrier): Define.
83895
83896 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
83897
83898 * shlib-versions: Add libgcc_s version information.
83899 * sysdeps/generic/libgcc_s.h: Remove.
83900 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83901 libgcc_s.h.
83902 * sysdeps/gnu/unwind-resume.c: Likewise.
83903 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83904
83905 2012-04-25 David S. Miller <davem@davemloft.net>
83906
83907 * sysdeps/unix/sparc/brk.S: Delete.
83908 * sysdeps/unix/sparc/dl-brk.S: Delete.
83909 * sysdeps/unix/sparc/pipe.S: Delete.
83910 * sysdeps/unix/sparc/sysdep.S: Delete.
83911 * sysdeps/unix/sparc/sysdep.h: Delete.
83912 * sysdeps/unix/sparc/vfork.S: Delete.
83913 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83914 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83915 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83916 (ret_ERRVAL, r0, r1, MOVE): Define.
83917 (JUMPTARGET): Remove.
83918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83919 sysdeps/unix/sparc/sysdep.h
83920 (ENTRY, END): Remove.
83921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83922
83923 2012-04-25 Joseph Myers <joseph@codesourcery.com>
83924
83925 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83926 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83927 -DIS_IN_build.
83928
83929 * timezone/README: Update upstream location and email address for
83930 tzcode and tzdata.
83931 * timezone/zdump.c: Update from tzcode 2012b.
83932 * timezone/zic.c: Likewise.
83933
83934 * configure.in (libc_cv_as_needed): Remove test.
83935 * configure: Regenerated.
83936 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83937 conditional definition.
83938 [$(have-as-needed) != yes] (no-as-needed): Likewise.
83939 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83940 * config.make.in (have-as-needed): Remove variable.
83941
83942 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
83943 Paul Pluzhnikov <ppluzhnikov@google.com>
83944
83945 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83946 strings correctly.
83947
83948 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
83949
83950 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83951 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83952 * sysdeps/sh/strlen.S: Likewise.
83953
83954 2012-04-24 Joseph Myers <joseph@codesourcery.com>
83955
83956 * sysdeps/unix/fork.S: Remove file.
83957 * sysdeps/unix/i386/fork.S: Likewise.
83958 * sysdeps/unix/sparc/fork.S: Likewise.
83959
83960 * sysdeps/unix/system.c: Remove file.
83961 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83962
83963 * sysdeps/unix/getegid.S: Remove file.
83964 * sysdeps/unix/geteuid.S: Likewise.
83965
83966 2012-04-24 Roland McGrath <roland@hack.frob.com>
83967
83968 * scripts/check-localplt.awk: New file.
83969 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83970 of diff.
83971 * scripts/data/localplt-generic.data: Add a comment.
83972
83973 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83974 NODE when __dir_mkfile failed.
83975 * sysdeps/mach/hurd/symlinkat.c: Likewise.
83976 Reported by Ludovic Courtès <ludo@gnu.org>.
83977
83978 2012-04-24 Andreas Jaeger <aj@suse.de>
83979
83980 * Makerules (common-clean): Also remove gen-as-const-headers
83981 files.
83982
83983 2012-04-24 Joseph Myers <joseph@codesourcery.com>
83984
83985 * Makerules (native-compile): Do not change working directory for
83986 build. Use $(OUTPUT_OPTION) in command.
83987 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83988
83989 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83990
83991 [BZ #13886]
83992 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83993 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83994 * math/libm-test.inc (floor_test): Add more tests.
83995 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83996
83997 2012-04-24 Joseph Myers <joseph@codesourcery.com>
83998
83999 * sysdeps/unix/getdents.c: Remove file.
84000 * sysdeps/unix/sysv/getdents.c: Likewise.
84001 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84002
84003 * sysdeps/unix/syscalls.list (madvise): Add syscall from
84004 sysdeps/unix/mman/syscalls.list.
84005 (mmap): Likewise.
84006 (mprotect): Likewise.
84007 (msync): Likewise.
84008 (munmap): Likewise.
84009 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84010 * sysdeps/unix/mman/syscalls.list: Remove.
84011 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84012
84013 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84014 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84015 * configure: Regenerated.
84016 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84017 $(libgcc_s_suffix).
84018 * config.make.in (libgcc_s_suffix): Remove variable.
84019
84020 2012-04-23 Joseph Myers <joseph@codesourcery.com>
84021
84022 * sysdeps/unix/sysv/gethostname.c: Move to ...
84023 * sysdeps/posix/gethostname.c: ... here.
84024
84025 * sysdeps/unix/execve.S: Remove file.
84026
84027 * sysdeps/unix/_exit.S: Remove file.
84028
84029 2012-04-23 Andreas Jaeger <aj@suse.de>
84030
84031 [BZ #13739]
84032 * manual/Makefile: Remove make dist support, there's no
84033 need for a stand-alone documentation tar ball.
84034 (TEXI2DVI): Define always, it's not in Makeconfig.
84035 (dist): Removed.
84036 (tar-it): Removed.
84037 (edition): Removed.
84038 (glibc-doc-$(edition).tar): Removed
84039 (%.Z): Removed.
84040 (%.gz): Removed.
84041 (%.uu): Removed.
84042 (ETAGS): Remove, it's in Makeconfig.
84043 (move-if-change): Remove, it's in Makeconfig.
84044
84045 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
84046
84047 [BZ #13970]
84048 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84049 (strtod, strtof, strtold, strtol, strtoul, strtoq)
84050 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84051 (strtod_l, strtof_l, strtold_l): Remove __wur.
84052 It is not necessarily an error to ignore strtol's return value.
84053 One can reliably look at the stored endptr to decide whether
84054 the number had valid syntax.
84055
84056 2012-04-21 Andreas Jaeger <aj@suse.de>
84057
84058 [BZ #13739]
84059 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84060
84061 2012-04-21 Joseph Myers <joseph@codesourcery.com>
84062
84063 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84064 * sysdeps/unix/sysv/Versions: Remove file.
84065
84066 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
84067
84068 [BZ #13927]
84069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84070
84071 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
84072
84073 [BZ #7064]
84074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84075 version from __vm86.
84076
84077 2012-04-20 Joseph Myers <joseph@codesourcery.com>
84078
84079 * sysdeps/unix/common/lxstat.c: Remove file.
84080 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84081
84082 * sysdeps/unix/sysv/Makefile: Remove file.
84083
84084 * sysdeps/unix/sysv/direct.h: Remove file.
84085
84086 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84087 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84088 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84089 * sysdeps/unix/sysv/bits/signum.h: Likewise.
84090 * sysdeps/unix/sysv/bits/stat.h: Likewise.
84091 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84092 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84093
84094 * sysdeps/unix/sysv/setrlimit.c: Remove file.
84095
84096 * sysdeps/unix/xmknod.c: Remove file.
84097 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84098
84099 * sysdeps/unix/sysv/settimeofday.c: Remove file.
84100
84101 * sysdeps/unix/sysv/i386/time.S: Remove file.
84102
84103 * sysdeps/unix/fxstat.c: Remove file.
84104 * sysdeps/unix/xstat.c: Likewise.
84105 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84106
84107 * sysdeps/unix/sysv/sigaction.c: Remove file.
84108
84109 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84110 (sysdep_headers): Remove variable.
84111 [termio.h not in sysdep_headers] (generated): Likewise.
84112 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84113 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84114 * sysdeps/unix/sysv/tcdrain.c: Likewise.
84115 * sysdeps/unix/sysv/tcflow.c: Likewise.
84116 * sysdeps/unix/sysv/tcflush.c: Likewise.
84117 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84118 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84119 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84120 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84121 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84122
84123 * sysdeps/unix/siglist.c: Remove file.
84124
84125 * sysdeps/unix/getppid.S: Remove file.
84126
84127 * sysdeps/unix/mkdir.c: Remove file.
84128 * sysdeps/unix/rmdir.c: Likewise.
84129
84130 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
84131
84132 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84133 ERR_MAX value.
84134 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84135 errlist-compat value.
84136
84137 2012-04-18 David S. Miller <davem@davemloft.net>
84138
84139 * sysdeps/generic/memcopy.h (reg_char): Delete.
84140 * debug/strcat_chk.c: Use char, not reg_char.
84141 * debug/strcpy_chk.c: Likewise.
84142 * debug/strncat_chk.c: Likewise.
84143 * debug/strncpy_chk.c: Likewise.
84144 * string/memchr.c: Likewise.
84145 * string/memrchr.c: Likewise.
84146 * string/rawmemchr.c: Likewise.
84147 * string/strcat.c: Likewise.
84148 * string/strchr.c: Likewise.
84149 * string/strchrnul.c: Likewise.
84150 * string/strcmp.c: Likewise.
84151 * string/strcpy.c: Likewise.
84152 * string/strncat.c: Likewise.
84153 * string/strncmp.c: Likewise.
84154 * string/strncpy.c: Likewise.
84155
84156 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84157
84158 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84159 __builtin_memcopy is called when src and dest ranges are known to not
84160 overlap.
84161
84162 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84163
84164 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84165 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84166 fwd_align_merge macro call.
84167 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84168 bwd_align_merge macro call.
84169 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84170
84171 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
84172
84173 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84174 bwd_align_merge macros.
84175 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84176 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84177 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84178
84179 2012-04-18 David S. Miller <davem@davemloft.net>
84180
84181 * sysdeps/sparc/sparc64/memcopy.h: Delete.
84182
84183 2012-04-18 Andreas Jaeger <aj@suse.de>
84184
84185 [BZ #6794]
84186 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84187 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84189
84190 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84191 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84192 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84193
84194 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84195 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84196 Adjust for changed ldbl-128 files.
84197
84198 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84199 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84200 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84201
84202 2012-04-17 David S. Miller <davem@davemloft.net>
84203
84204 * sysdeps/sparc/sparc32/memcopy.h: Delete.
84205
84206 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
84207
84208 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84209 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84210 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84211 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84212 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84213 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84214
84215 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84216
84217 [BZ #6794]
84218 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84219 * math/libm-test.inc: Add ilogb errno and exception tests.
84220 * math/w_ilogb.c: New file: ilogb wrapper.
84221 * math/w_ilogbf.c: New file: ilogbf wrapper.
84222 * math/w_ilogbl.c: New file: ilogbl wrapper.
84223 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84224 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84225 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84226 exception being thrown with 0.0 as argument.
84227 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84228 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84229 exception being thrown with 0.0 as argument.
84230 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84231 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84232 exception being thrown with 0.0 as argument.
84233 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84234 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84235 exception being thrown with 0.0 as argument.
84236 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84237 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84238 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84239 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84240 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84241 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84242 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84243 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84244 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84245
84246 2012-04-17 Petr Baudis <pasky@ucw.cz>
84247
84248 * include/sys/uio.h: Change __vector to __iovec to avoid clash
84249 with altivec.
84250
84251 2012-04-16 Marek Polacek <polacek@redhat.com>
84252
84253 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84254
84255 2012-04-16 Marek Polacek <polacek@redhat.com>
84256
84257 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84258 operands of fdivp instruction.
84259
84260 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84261
84262 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84263 * elf/tst-auditmod3b.c: Likewise.
84264 * elf/tst-auditmod4b.c: Likewise.
84265 * elf/tst-auditmod5b.c: Likewise.
84266 * elf/tst-auditmod6b.c: Likewise.
84267 * elf/tst-auditmod6c.c: Likewise.
84268 * elf/tst-auditmod7b.c: Likewise.
84269 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84270 * sysdeps/x86_64/preconfigure.in: Likewise.
84271 * sysdeps/x86_64/preconfigure: Regenerated.
84272
84273 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
84274
84275 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84276 __ILP32__.
84277
84278 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
84279
84280 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84281 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84282
84283 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
84284
84285 [BZ #13973]
84286 * locale/iso-639.def: Fix gl language name. Spotted by
84287 Yaron Shahrabani.
84288
84289 2012-04-12 Roland McGrath <roland@hack.frob.com>
84290
84291 [BZ #2074]
84292 * libio/libio.h (__io_write_fn): Update comment.
84293
84294 2012-04-12 Petr Baudis <pasky@ucw.cz>
84295
84296 [BZ #2074]
84297 * stdio.texi (Hook Functions): The user provided writer function
84298 is not allowed to return -1.
84299
84300 2012-04-11 David S. Miller <davem@davemloft.net>
84301
84302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84303
84304 2012-04-11 Mike Frysinger <vapier@gentoo.org>
84305
84306 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84307 Add a leading slash to rtkaio.
84308
84309 2012-04-11 Jim Meyering <meyering@redhat.com>
84310
84311 [BZ #11959]
84312 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84313 It is not necessarily an error to ignore fwrite's return
84314 value. One can reliably use ferror to test for errors after
84315 the fact.
84316
84317 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84318
84319 * bits/types.h (__snseconds_t): New type.
84320 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84321
84322 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84324 (__SNSECONDS_T_TYPE): Likewise.
84325 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84326 (__SNSECONDS_T_TYPE): Likewise.
84327 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84328 (__SNSECONDS_T_TYPE): Likewise.
84329
84330 2012-04-10 Andreas Jaeger <aj@suse.de>
84331
84332 [BZ #2636]
84333 * manual/time.texi (Processor Time): Return type of times is
84334 elapsed real time since an arbitrary point in the past.
84335 (CPU Time): Move CLK_TCK from here...
84336 (Processor Time): ...to here. Correct description.
84337 * manual/conf.texi (Constants for Sysconf): Correct description of
84338 _SC_CLK_TCK.
84339
84340 2012-04-10 David S. Miller <davem@davemloft.net>
84341
84342 [BZ #13967]
84343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84344 where the is a gap between DT_REL(A) and DT_JMPREL.
84345
84346 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
84347
84348 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84349 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84350 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84351
84352 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
84353
84354 * elf/dl-support.c (_dl_inhibit_cache): New variable.
84355 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84356 (dl_main): Handle --inhibit-cache.
84357 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84358 _dl_inhibit_cache.
84359 * elf/dl-load.c (_dl_map_object): Use it.
84360 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84361
84362 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84363
84364 [BZ #13872]
84365 * sysdeps/i386/fpu/e_powl.S (p78): New object.
84366 (__ieee754_powl): Saturate large exponents rather than testing for
84367 overflow of y*log2(x).
84368 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84369 * math/libm-test.inc (pow_test): Do not permit spurious overflow
84370 exceptions.
84371
84372 [BZ #11521]
84373 * math/s_ctan.c: Include <float.h>.
84374 (__ctan): Avoid internal overflow or cancellation in calculating
84375 denominator.
84376 * math/s_ctanf.c: Likewise.
84377 * math/s_ctanl.c: Likewise.
84378 * math/s_ctanh.c: Likewise.
84379 * math/s_ctanhf.c: Likewise.
84380 * math/s_ctanhl.c: Likewise.
84381 * math/libm-test.inc (ctan_test): Add more tests.
84382 (ctanh_test): Likewise.
84383 * sysdeps/i386/fpu/libm-test-ulps: Update.
84384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84385
84386 2012-04-09 Andreas Jaeger <aj@suse.de>
84387
84388 [BZ #6894]
84389 * manual/filesys.texi (Directory Entries): Mention that d_namlen
84390 is an optional BSD extension.
84391
84392 [BZ #10254]
84393 * manual/stdio.texi (Opening Streams): Document additional fopen
84394 parameters.
84395
84396 2012-04-09 Roland McGrath <roland@hack.frob.com>
84397
84398 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84399 %eax without telling the compiler.
84400
84401 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
84402
84403 [BZ # 13963]
84404 * manual/install.texi: Use sourceware.org.
84405
84406 2012-04-09 Joseph Myers <joseph@codesourcery.com>
84407
84408 [BZ #13873]
84409 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84410 (__ieee754_pow): Generate overflow and underflow using huge*huge
84411 and tiny*tiny rather than just returning constant infinity or zero
84412 for large exponents.
84413 * math/libm-test.inc (pow_test): Require overflow exceptions for
84414 applicable cases of large exponents.
84415
84416 [BZ #706]
84417 * sysdeps/i386/fpu/e_pow.S (p10): New object.
84418 (__ieee754_pow): Use iterative multiplication algorithm only for
84419 integer exponents with absolute value below 1024. Check for odd
84420 integer exponents when using algorithm for real exponents.
84421 * math/libm-test.inc (pow_test): Add more tests.
84422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84423
84424 2012-04-08 Joseph Myers <joseph@codesourcery.com>
84425
84426 [BZ #13705]
84427 * math/libm-test.inc (exp_test): Do not allow overflow exception
84428 on underflow test.
84429
84430 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
84431
84432 [BZ #13705]
84433 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84434 instead of __kernel_standard_f.
84435
84436 2012-04-08 Mike Frysinger <vapier@gentoo.org>
84437
84438 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84439 * sysdeps/x86_64/memset_chk.S: Likewise.
84440
84441 2012-04-08 Andreas Jaeger <aj@suse.de>
84442
84443 [BZ #10153]
84444 * manual/startup.texi (Environment Access): Describe return value
84445 for putenv and setenv.
84446
84447 [BZ #6895]
84448 * manual/filesys.texi (Directory Entries): Add description for
84449 DT_LNK.
84450
84451 [BZ #6890]
84452 * manual/filesys.texi (Directory Entries): Clarify that it's file
84453 system not operating system in the description of DT_UNKNOWN.
84454
84455 [BZ #6578]
84456 * manual/syslog.texi (closelog): Fix reference, it's openlog.
84457
84458 2012-04-08 Stephen Compall <s11@member.fsf.org>
84459
84460 [BZ #6649]
84461 * manual/llio.texi (Opening and Closing Files): Add cross
84462 reference to explain mode argument.
84463
84464 2012-04-07 Mike Frysinger <vapier@gentoo.org>
84465
84466 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84467 * sysdeps/x86_64/memset_chk.S: Likewise.
84468
84469 2012-04-07 David S. Miller <davem@davemloft.net>
84470
84471 * elf/elf.h (R_SPARC_WDISP10): Define.
84472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84473 R_SPARC_SIZE32.
84474 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84475 R_SPARC_SIZE64 and R_SPARC_H34.
84476
84477 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
84478
84479 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84480 conditions and remove no longer applicable assertion.
84481
84482 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84483
84484 * bits/byteswap.h: Include <features.h>.
84485 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84486 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84487
84488 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
84489
84490 * bits/byteswap.h (__bswap_16): Removed.
84491 Include <bits/byteswap-16.h> to get __bswap_16.
84492 * sysdeps/i386/bits/byteswap.h: Likewise.
84493 * sysdeps/s390/bits/byteswap.h: Likewise.
84494 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84495 * bits/byteswap-16.h: New file.
84496 * sysdeps/i386/bits/byteswap-16.h: Likewise.
84497 * sysdeps/s390/bits/byteswap-16.h: Likewise.
84498 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84499 * string/Makefile (headers): Add bits/byteswap-16.h.
84500
84501 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84502
84503 [BZ #13895]
84504 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84505 extra indirection.
84506 * nss/Makefile (tests-static, tests): Add tst-nss-static.
84507 * nss/tst-nss-static.c: New.
84508
84509 2012-04-06 Robert Millan <rmh@gnu.org>
84510
84511 [BZ #6486]
84512 * manual/llio.texi (File Position Primitive): lseek
84513 refers to WHENCE when it really means OFFSET.
84514
84515 2012-04-06 Andreas Jaeger <aj@suse.de>
84516
84517 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84518 strncmp declarations.
84519
84520 * abilist/libc.abilist: Add __poll and __ppoll.
84521
84522 2012-04-05 David S. Miller <davem@davemloft.net>
84523
84524 * scripts/check-local-headers.sh: Accept a host triplet in the
84525 path matched by the exclude regexp.
84526
84527 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84528 definition.
84529 * sysdeps/powerpc/powerpc32/dl-machine.h
84530 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84531 * sysdeps/s390/s390-32/dl-machine.h
84532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84533 * sysdeps/sparc/sparc32/dl-machine.h
84534 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84535 * sysdeps/sparc/sparc64/dl-machine.h
84536 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84537
84538 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84539 lazy binding.
84540 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84541 undefined symbol errors.
84542
84543 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84544 DT_NEEDED entries.
84545
84546 2012-04-05 Michael Matz <matz@suse.de>
84547
84548 [BZ #13592]
84549 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84550
84551 2012-04-05 Andreas Jaeger <aj@suse.de>
84552
84553 [BZ #13908]
84554 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84555 comment.
84556
84557 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84558
84559 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84560 which ROUND is no valid rounding mode.
84561
84562 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84563
84564 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84565 read again.
84566 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84567
84568 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84569
84570 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84571 an exception using FPU order intentionally.
84572
84573 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84574
84575 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84576 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84577 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84578 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84579
84580 2012-04-05 Simon Josefsson <simon@josefsson.org>
84581
84582 [BZ #12340]
84583 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84584 EINVAL when BUFLEN is too smal.
84585
84586 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
84587
84588 [BZ #13553]
84589 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84590 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84591
84592 2012-04-03 Andreas Jaeger <aj@suse.de>
84593
84594 [BZ #13938]
84595 * manual/setjmp.texi (System V contexts): Fix sentence.
84596
84597 [BZ #13926]
84598 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84599 New macro for this case.
84600 [!__GNUC__] (__bswap_64): New inline function for this case.
84601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
84602 * bits/byteswap.h: Likewise.
84603 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84604 ull, guard with __GLIBC_HAVE_LONG_LONG.
84605
84606 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84607 __GLIBC_HAVE_LONG_LONG.
84608
84609 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84610 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84611
84612 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84613
84614 [BZ #13691]
84615 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84616 inptr and inend, rather than using last_ch.
84617
84618 2012-04-02 David S. Miller <davem@davemloft.net>
84619
84620 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84621 * stdio-common/printf-parse.h (read_int): Change return type to
84622 'int', return -1 on INT_MAX overflow.
84623 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84624 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
84625 overflows INT_MAX. Check for overflow of in-format-string precision
84626 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
84627 SIZE_MAX not INT_MAX for integer overflow test.
84628 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84629 skip the construct in the format string but do not record anything.
84630 * stdio-common/bug22.c: Adjust to test both width/prevision
84631 INT_MAX overflow as well as total length INT_MAX overflow. Check
84632 explicitly for proper errno values.
84633
84634 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
84635
84636 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84637 CHAR_MAX.
84638 * string/test-strcmp.c [! WIDE]: Likewise.
84639 * time/tst-mktime2.c: Likewise for INT_MAX.
84640 * string/test-string.h: #include <sys/param.h> for MIN.
84641
84642 * csu/init-first.c (__libc_init_first): Call __ctype_init.
84643 * sysdeps/i386/init-first.c (init): Likewise.
84644 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84645 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84646 * sysdeps/sh/init-first.c (init): Likewise.
84647
84648 2012-04-01 Ulrich Drepper <drepper@gmail.com>
84649
84650 * po/ru.po: Update from translation team.
84651 * po/vi.po: Likewise.
84652
84653 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
84654
84655 * resolv/nss_dns/dns-host.c: Merge copyright years.
84656
84657 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
84658
84659 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84660 Optimize memcpy with prefetch if
84661 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
84662 src, dst pointers have unequal 16 byte alignments.
84663
84664 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
84665
84666 [BZ #13928]
84667 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
84668 from a CNAME entry and return the minimum ttl for the query.
84669 (gaih_getanswer_slice): Likewise.
84670
84671 2012-03-30 Jeff Law <law@redhat.com>
84672
84673 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
84674 due to long keys.
84675 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
84676 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
84677
84678 * resolv/nss_dns/dns-host.c: Update copyright year.
84679
84680 2012-03-30 Ulrich Drepper <drepper@gmail.com>
84681
84682 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
84683 requests to save a system call. Fix check that all bytes are sent.
84684
84685 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
84686 comments for sendmmsg.
84687
84688 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84689
84690 [BZ #13691]
84691 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
84692 with only 1 character between 0x0041 and 0x01b0.
84693 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
84694 * wcsmbs/tst-mbsnrtowcs.c: New file.
84695
84696 2012-03-29 David S. Miller <davem@davemloft.net>
84697
84698 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
84699 small copies by hand.
84700
84701 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
84702
84703 [BZ #13761]
84704 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
84705 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
84706 group memberships.
84707
84708 2012-03-28 David S. Miller <davem@davemloft.net>
84709
84710 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
84711 that branches into memcpy.
84712 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
84713 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
84714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
84715 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
84716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
84717 bits.
84718 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
84719 implementation too.
84720 * sysdeps/sparc/mempcpy.S: New file.
84721
84722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
84723 the IFUNC routine in the libc case.
84724 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84725
84726 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
84727 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
84728 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
84729 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
84730 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
84731 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84732 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
84733 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
84734
84735 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84736 loop to 256 bytes instead of 64 bytes and fix test signedness.
84737
84738 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
84739 * sysdeps/sparc/sparc32/Makefile: rather than here...
84740 * sysdeps/sparc/sparc64/Makefile: and here.
84741
84742 2012-03-28 Ulrich Drepper <drepper@gmail.com>
84743
84744 * malloc/mallocbug.c: Avoid warnings about unused variables.
84745
84746 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
84747
84748 [BZ #13760]
84749 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
84750 in the right place. Discard and retry query if response is
84751 larger than input buffer size.
84752
84753 2012-03-28 Joseph Myers <joseph@codesourcery.com>
84754
84755 [BZ #369]
84756 [BZ #2678]
84757 [BZ #3866]
84758 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
84759 x for large integer exponent.
84760 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
84761 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
84762 sign of result as needed afterwards.
84763 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
84764 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
84765 result for underflowing pow the same as for overflow.
84766 (__kernel_standard_l): Handle powl overflow and underflow here
84767 rather than calling __kernel_standard.
84768 * math/libm-test.inc (pow_test): Add more tests.
84769
84770 [BZ #3868]
84771 [BZ #13879]
84772 [BZ #13910]
84773 [BZ #13911]
84774 [BZ #13912]
84775 [BZ #13913]
84776 [BZ #13915]
84777 [BZ #13916]
84778 [BZ #13917]
84779 [BZ #13918]
84780 [BZ #13919]
84781 [BZ #13920]
84782 [BZ #13921]
84783 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84784 * sysdeps/ieee754/k_standard.c: Include <float.h>.
84785 (__kernel_standard_l): New function.
84786 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84787 __kernel_standard.
84788 * math/w_acosl.c (__acosl): Likewise.
84789 * math/w_asinl.c (__asinl): Likewise.
84790 * math/w_atan2l.c (__atan2l): Likewise.
84791 * math/w_atanhl.c (__atanhl): Likewise.
84792 * math/w_coshl.c (__coshl): Likewise.
84793 * math/w_exp10l.c (__exp10l): Likewise.
84794 * math/w_exp2l.c (__exp2l): Likewise.
84795 * math/w_fmodl.c (__fmodl): Likewise.
84796 * math/w_hypotl.c (__hypotl): Likewise.
84797 * math/w_j0l.c (__j0l, __y0l): Likewise.
84798 * math/w_j1l.c (__j1l, __y1l): Likewise.
84799 * math/w_jnl.c (__jnl, __ynl): Likewise.
84800 * math/w_lgammal.c (__lgammal): Likewise.
84801 * math/w_log10l.c (__log10l): Likewise.
84802 * math/w_log2l.c (__log2l): Likewise.
84803 * math/w_logl.c (__logl): Likewise.
84804 * math/w_powl.c (__powl): Likewise.
84805 * math/w_remainderl.c (__remainderl): Likewise.
84806 * math/w_scalbl.c (sysv_scalbl): Likewise.
84807 * math/w_sinhl.c (__sinhl): Likewise.
84808 * math/w_sqrtl.c (__sqrtl): Likewise.
84809 * math/w_tgammal.c (__tgammal): Likewise.
84810 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84811 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84812 * math/libm-test.inc (acos_test): Add more tests.
84813 (acosh_test): Likewise.
84814 (asin_test): Likewise.
84815 (atanh_test): Likewise.
84816 (exp_test): Likewise.
84817 (exp10_test): Likewise.
84818 (exp2_test): Likewise.
84819 (expm1_test): Likewise.
84820 (lgamma_test): Likewise.
84821 (log_test): Likewise.
84822 (log10_test): Likewise.
84823 (log1p_test): Likewise.
84824 (log2_test): Likewise.
84825 (pow_test): Do not allow some spurious overflow exceptions.
84826 (sqrt_test): Add more tests.
84827 (tgamma_test): Likewise.
84828 (y0_test): Likewise.
84829 (y1_test): Likewise.
84830 (yn_test): Likewise.
84831
84832 2012-03-27 Anton Blanchard <anton@samba.org>
84833
84834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84835 MAP_HUGETLB.
84836 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84837 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84838 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84839
84840 2012-03-27 David S. Miller <davem@davemloft.net>
84841
84842 * conform/Makefile: Run run-conformtest.sh using $(BASH).
84843
84844 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84845 have-as-vis3 check.
84846
84847 2012-03-27 Andreas Jaeger <aj@suse.de>
84848
84849 * sysdeps/x86_64/elf/configure.in: Moved to ...
84850 * sysdeps/x86_64/configure.in: ... here.
84851 * sysdeps/x86_64/elf/start.S: Moved to ...
84852 * sysdeps/x86_64/start.S: ... here.
84853 * sysdeps/x86_64/elf/configure: Delete.
84854
84855 * sysdeps/x86_64/configure.in: Merge contents from
84856 sysdeps/i386/configure.in (without i686 check).
84857
84858 * sysdeps/i386/elf/Versions: Merge into ...
84859 * sysdeps/i386/Versions: ... this.
84860 * sysdeps/i386/elf/Versions: Delete file.
84861 * sysdeps/i386/elf/start.S: Moved to ...
84862 * sysdeps/i386/start.S: ...here.
84863 * sysdeps/i386/elf/configure.in: Merge into...
84864 * sysdeps/i386/configure.in: ...here.
84865 * sysdeps/i386/elf/configure.in: Delete file.
84866 * sysdeps/i386/elf/configure: Delete file.
84867
84868 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84869 * debug/backtracesyms.c: ... here.
84870 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84871 * debug/backtracesymsfd.c: ... here.
84872 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84873 * sysdeps/generic/ifunc-sel.h: ... here.
84874
84875 * sysdeps/unix/i386/start.c: Delete file.
84876 * sysdeps/unix/sparc/start.c: Delete file.
84877 * sysdeps/unix/start.c: Delete file.
84878
84879 * sysdeps/sh/elf/configure.in: Moved to ...
84880 * sysdeps/sh/configure.in: ... here.
84881 * sysdeps/sh/elf/start.S: Moved to ...
84882 * sysdeps/sh/start.S: ... here.
84883 * sysdeps/sh/elf/configure: Delete file.
84884
84885 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84886 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84887 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84888 * sysdeps/powerpc/powerpc64/entry.h: ... here.
84889 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84890 * sysdeps/powerpc/powerpc64/start.S: here.
84891 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84892 * sysdeps/powerpc/powerpc64/Makefile: ... this.
84893 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84894 * sysdeps/powerpc/powerpc64/configure.in: ... this.
84895 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84896
84897 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84898 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84899 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84900 * sysdeps/powerpc/powerpc32/start.S: ... here.
84901 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84902 * sysdeps/powerpc/powerpc32/configure.in: ... this.
84903 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84904
84905 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84906 * sysdeps/powerpc/ifunc-sel.h: ... here.
84907 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84908 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84909
84910 * sysdeps/sparc/elf/configure.in: Moved to ...
84911 * sysdeps/sparc/configure.in: ... here.
84912 * sysdeps/sparc/elf/configure: Delete file.
84913 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84914 * sysdeps/sparc/sparc32/start.S: ... here.
84915 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84916 * sysdeps/sparc/sparc64/start.S: ... here.
84917 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84918 * sysdeps/sparc/sparc32/Makefile: ... this.
84919 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84920 * sysdeps/sparc/sparc64/Makefile: ... this.
84921
84922 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84923 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84924 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84925 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84926 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84927 * sysdeps/s390/s390-32/setjmp.S: ... here.
84928 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84929 * sysdeps/s390/s390-32/configure.in: ... here.
84930 * sysdeps/s390/s390-32/elf/configure: Delete file.
84931 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84932 * sysdeps/s390/s390-32/start.S: ... here.
84933
84934 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84935 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84936 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84937 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84938 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84939 * sysdeps/s390/s390-64/setjmp.S: ... here.
84940 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84941 * sysdeps/s390/s390-64/configure.in: ... here
84942 * sysdeps/s390/s390-64/elf/configure: Delete file.
84943 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84944 * sysdeps/s390/s390-64/start.S: ... here.
84945 * sysdeps/s390/s390-64/elf/configure: Delete.
84946
84947 * configure.in: Remove support for elf directories in sysdeps.
84948
84949 * configure: Regenerated.
84950 * sysdeps/i386/configure: Regenerated.
84951 * sysdeps/powerpc/powerpc32/configure: Regenerated.
84952 * sysdeps/powerpc/powerpc64/configure: Regenerated.
84953 * sysdeps/s390/s390-32/configure: Regenerated.
84954 * sysdeps/s390/s390-64/configure: Regenerated.
84955 * sysdeps/sh/configure: Regenerated.
84956 * sysdeps/sparc/configure: Regenerated.
84957 * sysdeps/x86_64/configure: Regenerated.
84958
84959 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
84960
84961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84962
84963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84964 denormal result into account.
84965
84966 2012-03-25 Roland McGrath <roland@hack.frob.com>
84967
84968 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84969 Reported by Allan McRae <allan@archlinux.org>.
84970
84971 2012-03-23 Jeff Law <law@redhat.com>
84972
84973 * nss/getnssent.c (__nss_getent): Fix typo.
84974
84975 2012-03-23 David S. Miller <davem@davemloft.net>
84976
84977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84978
84979 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
84980
84981 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84982 to pad to uint64_t for each field.
84983 (dl_tls_index): Replace unsigned long with uint64_t.
84984
84985 2012-03-23 Daniel Jacobowitz <dmj@google.com>
84986 Paul Pluzhnikov <ppluzhnikov@google.com>
84987
84988 [BZ #6528]
84989 * grp/Makefile (otherlibs): Don't set it.
84990 * inet/Makefile (otherlibs): Likewise.
84991 * login/Makefile (otherlibs): Likewise.
84992 * nscd/Makefile (otherlibs): Likewise.
84993 * posix/Makefile (otherlibs): Likewise.
84994 * pwd/Makefile (otherlibs): Likewise.
84995 * rt/Makefile (otherlibs): Likewise.
84996 * sunrpc/Makefile (otherlibs): Likewise.
84997 * nss/Makefile (otherlibs): Likewise.
84998 Add libnss_files to routines and static-only-routines.
84999 ($(objpfx)getent): Remove rule.
85000 * resolv/Makefile: Add libnss_dns and libresolv to routines and
85001 static-only-routines.
85002
85003 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85004
85005 [BZ #13892]
85006 * math/s_cexp.c: Include <float.h>.
85007 (__cexp): Handle exp result overflowing not necessarily
85008 overflowing both real and imaginary parts of result.
85009 * math/s_cexpf.c: Likewise.
85010 * math/s_cexpl.c: Likewise.
85011 * math/libm-test.inc (cexp_test): Add more tests.
85012 * sysdeps/i386/fpu/libm-test-ulps: Update.
85013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85014
85015 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85016
85017 * include/link.h (ELFW): New macro.
85018 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85019 Replace ELF64_R_TYPE with ELFW(R_TYPE).
85020
85021 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85022
85023 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85024 with uint64_t.
85025
85026 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85027
85028 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85029 declaration.
85030 (struct La_x32_retval): Likewise.
85031
85032 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
85033
85034 * sysdeps/x86_64/preconfigure.in: New file.
85035 * sysdeps/x86_64/preconfigure: New generated file.
85036
85037 2012-03-22 Joseph Myers <joseph@codesourcery.com>
85038
85039 [BZ #13824]
85040 * math/e_exp2l.c: Include <float.h>.
85041 (__ieee754_exp2l): Handle overflow and underflow cases
85042 separately. Only pass fractional part of argument to
85043 __ieee754_expl.
85044 * math/libm-test.inc (exp2_test): Add more tests.
85045
85046 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85047 negating x to take absolute value.
85048 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85049 Likewise.
85050 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85051 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85052 Likewise.
85053 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85054 computing low part if x was negated.
85055 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85056
85057 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85058
85059 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85060 la_x32_gnu_pltexit.
85061 (pltexit): Cast int_retval to ptrdiff_t.
85062 * elf/tst-auditmod3b.c: Likewise.
85063 * elf/tst-auditmod4b.c: Likewise.
85064 * elf/tst-auditmod5b.c: Likewise.
85065 * elf/tst-auditmod6b.c: Likewise.
85066 * elf/tst-auditmod6c.c: Likewise.
85067 * elf/tst-auditmod7b.c: Likewise.
85068
85069 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85070 and x32_gnu_pltexit.
85071
85072 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85073 __ELF_NATIVE_CLASS.
85074 (La_x32_regs): New macro.
85075 (La_x32_retval): Likewise.
85076 (la_x32_gnu_pltenter): New function prototype.
85077 (la_x32_gnu_pltexit): Likewise.
85078
85079 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
85080
85081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85082 exponent.
85083
85084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85085
85086 * configure.in (libc_cv_cc_nofma): Check for option to disable
85087 generation of FMA instructions.
85088 * configure: Regenerate.
85089 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85090 * sysdeps/ieee754/dbl-64/Makefile: New file.
85091 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85092 Remove brandred-fma4.
85093 (CFLAGS-brandred-fma4.c): Remove.
85094 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85095 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85096 define.
85097 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85098 define.
85099
85100 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85101
85102 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85103 LLONG_MAX != LONG_MAX.
85104 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85105 (_fitoa_word): Likewise.
85106 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85107 LLONG_MAX != LONG_MAX.
85108 * stdio-common/_itowa.h: Include <_itoa.h>.
85109 (_itowa_word): Use _ITOA_WORD_TYPE on value.
85110 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
85111 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
85112 only if not defined.
85113 (_ITOA_WORD_TYPE): Likewise.
85114 (_itoa_word): Use _ITOA_WORD_TYPE on value.
85115 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85116
85117 2012-03-21 David S. Miller <davem@davemloft.net>
85118
85119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85120
85121 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
85122
85123 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85124 of x86_64 when setting libc_cv_slibdir, libdir and
85125 libc_cv_localedir.
85126 * sysdeps/unix/sysv/linux/configure: Regenerated.
85127
85128 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85129
85130 * manual/lang.texi (Old Varargs): Remove section.
85131 (How Variadic): Update menu.
85132 (va_start): Do not mention varargs.h.
85133
85134 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85135 Joseph Myers <joseph@codesourcery.com>
85136
85137 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85138 link test.
85139 * configure: Regenerated.
85140
85141 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
85142
85143 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85144 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85145 conformtest.pl
85146
85147 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85148
85149 * NOTES: Remove.
85150 * Makefile (files-for-dist): Remove NOTES.
85151 (NOTES): Remove rule.
85152 * README: Don't refer to NOTES.
85153 * manual/creature.texi: Don't include macros.texi.
85154 * manual/intro.texi (creature.texi): Remove comment referring to
85155 NOTES.
85156
85157 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85158 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85159 * configure: Regenerated.
85160 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85161 LIBC_TRY_CC_OPTION.
85162 (libc_cv_as_i686): Likewise.
85163 (libc_cv_cc_avx): Likewise.
85164 (libc_cv_cc_sse2avx): Likewise.
85165 (libc_cv_cc_fma4): Likewise.
85166 (libc_cv_cc_novzeroupper): Likewise.
85167 * sysdeps/i386/configure: Regenerated.
85168
85169 [BZ #13883]
85170 * sysdeps/i386/fpu/s_cexp.S: Remove.
85171 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85172 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85173 * math/libm-test.inc (cexp_test): Add more tests.
85174 * sysdeps/i386/fpu/libm-test-ulps: Update.
85175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85176
85177 2012-03-21 Allan McRae <allan@archlinux.org>
85178
85179 * timezone/Makefile: Do not install iso3166.tab and zone.tab
85180
85181 2012-03-21 Joseph Myers <joseph@codesourcery.com>
85182
85183 [BZ #13871]
85184 * math/w_exp2.c: Do not include <float.h>.
85185 (o_threshold, u_threshold): Remove.
85186 (__exp2): Calculate result before checking finiteness and calling
85187 __kernel_standard.
85188 * math/w_exp2f.c: Likewise.
85189 * math/w_exp2l.c: Likewise.
85190 * math/libm-test.inc (exp2_test): Require overflow exception for
85191 1e6 input.
85192
85193 [BZ #3866]
85194 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85195 range of signed 64-bit integers before using fistpll. Remove
85196 checks for whether integers fit in mantissa bits.
85197 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85198 the range of signed 32-bit integers before using fistpl. Remove
85199 checks for whether integers fit in mantissa bits.
85200 * sysdeps/i386/fpu/e_powl.S (p64): New object.
85201 (__ieee754_powl): Test for y outside the range of signed 64-bit
85202 integers before using fistpll. Reduce 64-bit values to 63-bit
85203 ones as needed.
85204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85205 divide-by-zero is raised for zero to large negative powers.
85206 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85207 (__ieee754_powl): Test for y outside the range of signed 64-bit
85208 integers before using fistpll. Reduce 64-bit values to 63-bit
85209 ones as needed.
85210 * math/libm-test.inc (pow_test): Add more tests.
85211
85212 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85213
85214 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85215 <stdio-common/_itoa.h>.
85216 * debug/segfault.c: Likewise.
85217 * elf/dl-cache.c: Likewise.
85218 * elf/dl-minimal.c: Likewise.
85219 * elf/dl-misc.c: Likewise.
85220 * elf/dl-sysdep.c: Likewise.
85221 * elf/dl-version.c: Likewise.
85222 * elf/rtld.c: Likewise.
85223 * hurd/hurdsock.c: Likewise.
85224 * hurd/lookup-retry.c: Likewise.
85225 * malloc/malloc.c: Likewise.
85226 * malloc/mtrace.c: Likewise.
85227 * nscd/nscd_getgr_r.c: Likewise.
85228 * nscd/nscd_getpw_r.c: Likewise.
85229 * nscd/nscd_getserv_r.c: Likewise.
85230 * posix/getopt_init.c: Likewise.
85231 * posix/wordexp.c: Likewise.
85232 * stdio-common/_itoa.c: Likewise.
85233 * stdio-common/printf_fphex.c: Likewise.
85234 * stdio-common/vfprintf.c: Likewise.
85235 * string/_strerror.c: Likewise.
85236 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85237 * sysdeps/i386/i686/hp-timing.h: Likewise.
85238 * sysdeps/mach/_strerror.c: Likewise.
85239 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85240 * sysdeps/mach/hurd/sethostid.c: Likewise.
85241 * sysdeps/mach/hurd/xmknodat.c: Likewise.
85242 * sysdeps/mach/xpg-strerror.c: Likewise.
85243 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85244 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85245 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85246 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85247 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85248 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85249 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85250 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85251 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85252 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85253 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85254 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85255 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85256 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85257 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85258 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85259 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85260 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85261 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85262 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85263 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85264
85265 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85266
85267 * stdio-common/_itoa.h: Moved to ...
85268 * sysdeps/generic/_itoa.h: Here.
85269
85270 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85271
85272 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85273 instead of "_itoa.h" and "_itowa.h".
85274 * stdio-common/vfprintf.: Likewise.
85275
85276 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85277
85278 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85279 <bits/wordsize.h>.
85280 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85281 (__signbit): Likewise.
85282 (llrintf): Likewise.
85283 (llrint): Likewise.
85284
85285 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
85286
85287 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85288 __WORDSIZE != 64.
85289
85290 2012-03-20 Joseph Myers <joseph@codesourcery.com>
85291
85292 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85293 OVERFLOW_EXCEPTION_OK.
85294 * math/libm-test.inc ("Philosophy"): Update comment about
85295 exception testing.
85296 (OVERFLOW_EXCEPTION): Define.
85297 (OVERFLOW_EXCEPTION_OK): Likewise.
85298 (INVALID_EXCEPTION_OK): Renumber.
85299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85300 (IGNORE_ZERO_INF_SIGN): Likewise.
85301 (test_exceptions): Handle FE_OVERFLOW.
85302 (exp10_test): Expect overflow exceptions.
85303 (exp2_test): Likewise.
85304 (expm1_test): Likewise.
85305 (nextafter_test): Likewise.
85306 (pow_test): Likewise.
85307 (scalbn_test): Likewise.
85308 (scalbln_test): Likewise.
85309
85310 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85311
85312 * sysdeps/x86_64/bits/atomic.h
85313 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85314 64bit integer.
85315 (atomic_exchange_acq): Likewise.
85316 (__arch_exchange_and_add_body): Likewise.
85317 (__arch_add_body): Likewise.
85318 (atomic_add_negative): Likewise.
85319 (atomic_add_zero): Likewise.
85320
85321 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85322
85323 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85324 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85325
85326 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85327
85328 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85329 Check __x86_64__ instead of __WORDSIZE.
85330
85331 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85332
85333 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85334
85335 2012-03-19 David S. Miller <davem@davemloft.net>
85336
85337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85338
85339 * sysdeps/sparc/fpu/fenv_private.h: New file.
85340 * sysdeps/sparc/fpu/math_private.h: Use it.
85341 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85342 Remove.
85343 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85344 (libc_feholdexcept_setroundl): Remove.
85345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85346 Remove.
85347 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85348 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85349
85350 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85351
85352 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85353 int64_t instead of long int.
85354 (INSERT_WORDS64): Likewise.
85355
85356 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
85357
85358 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85359 _Unwind_GetCFA return to _Unwind_Ptr first.
85360
85361 2012-03-19 Joseph Myers <joseph@codesourcery.com>
85362
85363 [BZ #13629]
85364 * math/s_clog.c: Include <float.h>.
85365 (__clog): Scale large or subnormal inputs.
85366 * math/s_clogf.c: Likewise.
85367 * math/s_clogl.c: Likewise.
85368 * math/s_clog10.c: Include <float.h>.
85369 (M_LOG10_2): Define.
85370 (__clog10): Scale large or subnormal inputs.
85371 * math/s_clog10f.c: Likewise.
85372 * math/s_clog10l.c: Likewise.
85373 * math/libm-test.inc (clog_test): Add more tests.
85374 (clog10_test): Likewise.
85375 * sysdeps/i386/fpu/libm-test-ulps: Update.
85376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85377
85378 [BZ #11451]
85379 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85380 x and y.
85381 * math/libm-test.inc (atan2_test): Add another test.
85382
85383 * Makerules (common-objdir-compile): Remove.
85384 * sysdeps/unix/Makefile (config-generated): Do not add
85385 $(unix-generated) to variable.
85386 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85387 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85388 Remove rule.
85389 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85390 Likewise.
85391 [generic bits/local_lim.h] (before-compile): Do not append to
85392 variable.
85393 [generic bits/local_lim.h] (common-generated): Likewise.
85394 [generic sys/param.h] (before-compile): Do not append to variable.
85395 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85396 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85397 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85398 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85399 include.
85400 [generic sys/param.h] (sys/param.h-includes): Remove variable.
85401 [generic sys/param.h] (sys/param.h-includes): Remove rule.
85402 [generic sys/param.h] ($(addprefix
85403 $(common-objpfx),$(sys/param.h-includes))): Likewise.
85404 [generic sys/param.h] (common-generated): Do not append to
85405 variable.
85406 [generic sys/param.h] (sysdep_headers): Likewise.
85407 [generic bits/errno.h] (before-compile): Do not append to
85408 variable.
85409 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85410 rule.
85411 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85412 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85413 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85414 [generic bits/errno.h] (common-generated): Do not append to
85415 variable.
85416 [generic bits/ioctls.h] (before-compile): Do not append to
85417 variable.
85418 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85419 rule.
85420 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85421 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85422 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85423 rule.
85424 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85425 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85426 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85427 [generic bits/ioctls.h] (common-generated): Do not append to
85428 variable.
85429 [generic sys/syscall.h] (syscall.h): Remove variable.
85430 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85431 rule.
85432 [generic sys/syscall.h] (before-compile): Do not append to
85433 variable.
85434 [generic sys/syscall.h] (common-generated): Likewise.
85435 * sysdeps/unix/errnos-tmpl.c: Remove file.
85436 * sysdeps/unix/errnos.awk: Likewise.
85437 * sysdeps/unix/ioctls-tmpl.c: Likewise.
85438 * sysdeps/unix/ioctls.awk: Likewise.
85439 * sysdeps/unix/mk-local_lim.c: Likewise.
85440 * sysdeps/unix/snarf-ioctls: Likewise.
85441
85442 2012-03-19 Richard Henderson <rth@twiddle.net>
85443
85444 * sysdeps/i386/fpu/fenv_private.h: New file.
85445 * sysdeps/i386/fpu/math_private.h: Use it.
85446 (math_opt_barrier, math_force_eval): Remove.
85447 (libc_feholdexcept_setround_53bit): Remove.
85448 (libc_feupdateenv_53bit): Remove.
85449 * sysdeps/x86_64/fpu/math_private.h: Likewise.
85450 (math_opt_barrier, math_force_eval): Remove.
85451 (libc_feholdexcept): Remove.
85452 (libc_feholdexcept_setround): Remove.
85453 (libc_fetestexcept, libc_fesetenv): Remove.
85454 (libc_feupdateenv_test): Remove.
85455 (libc_feupdateenv, libc_feholdsetround): Remove.
85456 (libc_feresetround): Remove.
85457
85458 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85459 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85460
85461 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85462 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85463 (libc_feupdateenv_testl): New.
85464 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85465 (libc_feupdateenv_testf): New.
85466 (libc_feupdateenv): Use libc_feupdateenv_test.
85467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85468 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85469
85470 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85471 (libc_feholdsetroundf, libc_feholdsetroundl): New.
85472 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85473 (libc_feresetround_noex): New.
85474 (libc_feresetround_noexf): New.
85475 (libc_feresetround_noexl): New.
85476 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85477 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85478 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85479 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85480 SET_RESTORE_ROUND.
85481 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85483 (__cos): Likewise.
85484 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85485 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85486 SET_RESTORE_ROUND_NOEX.
85487 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85488 SET_RESTORE_ROUND_NOEXF.
85489 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85490 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85491 (libc_feholdsetroundf): New.
85492 (libc_feresetround, libc_feresetroundf): New.
85493
85494 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85495 (libc_feholdexcept_setround_53bit): Convert from macro to function.
85496 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
85497
85498 * sysdeps/generic/math_private.h: Include <fenv.h>.
85499 (default_libc_feholdexcept): New.
85500 (default_libc_feholdexcept_setround): New.
85501 (default_libc_fesetenv, default_libc_feupdateenv): New.
85502 (libc_feholdexcept): Only define if undefined.
85503 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85504 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85505 (libc_feholdexcept_setroundl): Likewise.
85506 (libc_feholdexcept_setround_53bit): Likewise.
85507 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85508 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85509 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85510 (libc_feupdateenv_53bit): Likewise.
85511 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85512 (libc_feholdexcept): Convert from macro to inline function.
85513 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85514 (libc_fesetenv, libc_feupdateenv): Likewise.
85515
85516 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85517 not previously defined.
85518 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85519 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85520 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85521 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85522 * sysdeps/ieee754/flt-32/math_private.h: New file.
85523 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85524 math_private.h below SET_FLOAT_WORD.
85525 (__isnan, __isinf_ns, __finite): Remove.
85526 (__isnanf, __isinf_nsf, __finitef): Remove.
85527
85528 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
85529
85530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85531
85532 2012-03-17 David S. Miller <davem@davemloft.net>
85533
85534 [BZ #6471]
85535 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85536 for 2.16.
85537
85538 2012-03-16 David S. Miller <davem@davemloft.net>
85539
85540 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85541 warnings.
85542
85543 [BZ #6471]
85544 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85545 properly.
85546 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85547 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85548 sysdep_routines when subdir is sysvipc.
85549 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85550 __getshmlba helper.
85551
85552 * sysdeps/sparc/fpu/libm-test/ulps: Update.
85553
85554 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85555
85556 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85557 [__LP64__].
85558
85559 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85560
85561 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85562 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85563 (__lround): Renamed to ...
85564 (__llround): This. Replace long int with long long int.
85565 Define lround functions as aliases of llround functions.
85566 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85567
85568 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85569
85570 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85571 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
85572 adresses to uintptr_t. Replace "long int" and "unsigned long
85573 int" with "greg_t" on va_arg.
85574
85575 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85576
85577 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85578 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85579
85580 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85581 Move e_machine check before EI_CLASS check. Handle x32
85582 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85583 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85584 SKIP_EM_IA_64 and include
85585 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85586
85587 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85588 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85589 (add_system_dir): New macro.
85590
85591 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85592 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85593
85594 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85595
85596 [BZ #2551]
85597 [BZ #2552]
85598 [BZ #2553]
85599 [BZ #2554]
85600 [BZ #2562]
85601 [BZ #2563]
85602 [BZ #2565]
85603 [BZ #2566]
85604 [BZ #2576]
85605 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85606 (y0): Likewise.
85607 * math/w_j0f.c (j0f): Likewise.
85608 (y0f): Likewise.
85609 * math/w_j0l.c (__j0l): Likewise.
85610 (__y0l): Likewise.
85611 * math/w_j1.c (j1): Likewise.
85612 (y1): Likewise.
85613 * math/w_j1f.c (j1f): Likewise.
85614 (y1f): Likewise.
85615 * math/w_j1l.c (__j1l): Likewise.
85616 (__y1l): Likewise.
85617 * math/w_jn.c (jn): Likewise.
85618 (yn): Likewise.
85619 * math/w_jnf.c (jnf): Likewise.
85620 (ynf): Likewise.
85621 * math/w_jnl.c (__jnl): Likewise.
85622 (__ynl): Likewise.
85623 * math/libm-test.inc (j0_test): Add more tests.
85624 (j1_test): Likewise.
85625 (jn_test): Likewise. Add trailing semicolon to existing test.
85626 (y0_test): Likewise.
85627 (y1_test): Likewise.
85628 * sysdeps/i386/fpu/libm-test-ulps: Update.
85629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85630
85631 [BZ #13851]
85632 [BZ #13854]
85633 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85634 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85635 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85636 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85637 (__tanl): Set errno for infinite argument.
85638 * sysdeps/i386/fpu/mptan.c: Remove.
85639 * sysdeps/i386/fpu/s_tan.S: Likewise.
85640 * sysdeps/i386/fpu/s_tanl.S: Likewise.
85641 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85642 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85643 * math/libm-test.inc (tan_test): Add more tests and enable more
85644 tests for double and long double.
85645 * sysdeps/i386/fpu/libm-test-ulps: Update.
85646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85647
85648 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
85649
85650 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85651 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85652
85653 2012-03-16 Roland McGrath <roland@hack.frob.com>
85654
85655 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85656 * configure.in: Use it for both main tree and add-ons.
85657 * configure: Regenerated.
85658
85659 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85660
85661 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
85662
85663 2012-03-16 Joseph Myers <joseph@codesourcery.com>
85664
85665 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
85666 in comment.
85667
85668 [BZ #13851]
85669 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
85670 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
85671 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
85672 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
85673 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
85674 infinite argument.
85675 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
85676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
85677 != 0 for prec == 2.
85678 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
85679 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
85680 * sysdeps/i386/fpu/s_cosl.S: Likewise.
85681 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
85682 * sysdeps/i386/fpu/s_sinl.S: Likewise.
85683 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
85684 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
85685 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
85686 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
85687 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
85688 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
85689 * math/libm-test.inc (cos_test): Add more tests and enable more
85690 tests for long double.
85691 (sin_test): Likewise.
85692 (sincos_test): Likewise.
85693 * sysdeps/i386/fpu/libm-test-ulps: Update.
85694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85695
85696 2012-03-16 David S. Miller <davem@davemloft.net>
85697
85698 * sysdeps/sparc/fpu/math_private.h: New file.
85699
85700 2012-03-15 David S. Miller <davem@davemloft.net>
85701
85702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
85703 file.
85704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
85705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
85706 file.
85707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
85708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
85709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
85710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
85711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
85712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
85713 sysdep routines.
85714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85715
85716 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
85717 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
85718
85719 * sysdeps/sparc/sparc-ifunc.h: New file.
85720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
85721 sparc-ifunc.h
85722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
85723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
85724 Likewise.
85725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
85726 Likewise.
85727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
85728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
85729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
85730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85731 Likewise.
85732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
85733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
85734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
85735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
85736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
85737 Likewise.
85738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
85739 Likewise.
85740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
85741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
85742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
85743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
85744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
85745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
85746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
85747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
85748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
85749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
85750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
85751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
85752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
85753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
85754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
85756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
85757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
85758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
85759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
85760 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
85761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
85762 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
85763 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
85764
85765 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
85766
85767 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
85768 scaling.
85769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85770
85771 2012-03-15 Andreas Jaeger <aj@suse.de>
85772
85773 [BZ #13852]
85774 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
85775 ieee754/flt-32 implementation for sin, cos and sincos.
85776 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85777 * sysdeps/i386/fpu/s_cosf.S: Likewise.
85778 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85779 * sysdeps/i386/fpu/s_sinf.S: Likewise.
85780 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85781 ieee754/flt-32 implementation for tan.
85782
85783 * math/libm-test.inc (cos_test): Enable some large input tests for
85784 float as well
85785 (sin_test): Likewise.
85786 (sincos_test): Likewise.
85787 (tan_test): Add tests for large input.
85788
85789 * sysdeps/i386/fpu/libm-test-ulps: Update.
85790
85791 2012-03-15 Andreas Jaeger <aj@suse.de>
85792
85793 [BZ #13658]
85794 * math/libm-test.inc (cos_test): Add more test cases.
85795 (sin_test): Likewise.
85796 (sincos_test): Likewise.
85797
85798 2012-03-15 Andreas Jaeger <aj@suse.de>
85799
85800 [BZ #13837]
85801 * math/libm-test.inc (cos_test): Add a test case for large input
85802 value.
85803 (sin_test): Likewise.
85804 (sincos_test): Likewise.
85805
85806 2012-03-15 Andreas Jaeger <aj@suse.de>
85807 Joseph Myers <joseph@codesourcery.com>
85808
85809 [BZ #13658]
85810 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85811 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85812 * sysdeps/i386/fpu/branred.c: Likewise.
85813 * sysdeps/i386/fpu/dosincos.c: Likewise.
85814 * sysdeps/i386/fpu/mpa.c: Likewise.
85815 * sysdeps/i386/fpu/s_cos.S: Likewise.
85816 * sysdeps/i386/fpu/s_sin.S: Likewise.
85817 * sysdeps/i386/fpu/s_sincos.S: Likewise.
85818 * sysdeps/i386/fpu/sincos32.c: Likewise.
85819
85820 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85821 Define.
85822 (libc_feupdateenv_53bit): Define.
85823 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85824 Define.
85825 (libc_feupdateenv_53bit): Define.
85826
85827 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85828 53 bit (without extend i386 double precision).
85829
85830 * math/libm-test.inc (sincos_test): Add tests for large input.
85831 (sin): Likewise.
85832 (cos): Likewise.
85833
85834 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85835
85836 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
85837
85838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85839
85840 2012-03-15 David S. Miller <davem@davemloft.net>
85841
85842 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85843 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85844 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85845 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85855 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85856 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85858 file.
85859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85861 file.
85862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85864 file.
85865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85867 file.
85868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85870 fmin/fmax sysdep routines.
85871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85872
85873 2012-03-14 David S. Miller <davem@davemloft.net>
85874
85875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85878 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85879 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85880 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85881 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85882 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85885 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85891 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85892 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85893 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85895 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85896 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85897 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85899 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85904 routines.
85905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85906 file.
85907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85909 file.
85910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85912 file.
85913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85915 file.
85916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85918 file.
85919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85921 file.
85922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85923 file.
85924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85925 file.
85926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85927 file.
85928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85929 New file.
85930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85931 file.
85932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85933 file.
85934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85936 file.
85937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85939 file.
85940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85942 file.
85943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85945 VIS3 routines.
85946
85947 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85948 New file.
85949
85950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
85951
85952 * sysdeps/sparc/configure.in: New file.
85953 * sysdeps/sparc/configure: Generate.
85954 * configure.in (libc_cv_sparc_as_vis3): Substitute.
85955 * configure: Regenerate.
85956 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85957 * config.make.in (have-as-vis3): New.
85958 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85959 available use -Av9d instead of -Av9a.
85960 * sysdeps/sparc/sparc64/Makefile: Likewise.
85961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85963 New file.
85964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85965 file.
85966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85967 New file.
85968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85969 file.
85970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85971 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85973 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85974 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85975
85976 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85977 fzeros/fnegs to load 0x80000000 into a float register instead of
85978 using the stack.
85979 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85980
85981 2012-03-14 Joseph Myers <joseph@codesourcery.com>
85982
85983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85984 bits/syscall.h.
85985 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85986 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85987 ($(inst_includedir)/bits/syscall.h): Remove rule.
85988 ($(objpfx)bits/syscall.d): Include instead of
85989 $(objpfx)syscall-list.d.
85990 (generated): Change syscall-list.h and syscall-list.d to
85991 bits/syscall.h and bits/syscall.d.
85992
85993 2012-03-14 Roland McGrath <roland@hack.frob.com>
85994
85995 [BZ #13846]
85996 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85997
85998 2012-03-14 Joseph Myers <joseph@codesourcery.com>
85999
86000 [BZ #13841]
86001 * math/s_csqrt.c: Include <float.h>.
86002 (__csqrt): Scale large or subnormal inputs.
86003 * math/s_csqrtf.c: Likewise.
86004 * math/s_csqrtl.c: Likewise.
86005 * math/libm-test.inc (csqrt_test): Add more tests.
86006 * sysdeps/i386/fpu/libm-test-ulps: Update.
86007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86008
86009 [BZ #13840]
86010 * math/libm-test.inc (hypot_test): Add more tests.
86011
86012 2012-03-13 David S. Miller <davem@davemloft.net>
86013
86014 [BZ #13840]
86015 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86016 double-precision for the calculation instead of scaling.
86017
86018 2012-03-13 Joseph Myers <joseph@codesourcery.com>
86019
86020 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86021 manipulate bits before adding and subtracting TWO52[sx].
86022 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86023 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86024 Likewise.
86025 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86026
86027 2012-03-13 David S. Miller <davem@davemloft.net>
86028
86029 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86030 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86031 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86032 rtld-global-offsets.h
86033 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86034
86035 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86036 large parameters.
86037
86038 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86039
86040 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86041 'err' in the ifdef scope in which it is actually used.
86042
86043 * nss/nss_db/db-init.c: Include string.h
86044
86045 2012-03-12 David S. Miller <davem@davemloft.net>
86046
86047 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86048 masking out of the most significant byte of random value used.
86049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86050 Fix coding style in previous change.
86051
86052 * sysdeps/unix/sysv/linux/kernel-features.h
86053 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86054 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86055 expression.
86056 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86057 later.
86058
86059 2012-03-11 David S. Miller <davem@davemloft.net>
86060
86061 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86062 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86063 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86064 for 'resultvar' otherwise things get truncated on 64-bit.
86065
86066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86067 Fix masking out of the most significant byte of random value used.
86068
86069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86070
86071 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
86072
86073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86074
86075 2012-03-09 David S. Miller <davem@davemloft.net>
86076
86077 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86078 variables with appropriate CPP guards.
86079 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86080 from the frame pointer, not the stack pointer. Correct layout
86081 comments. Fix test on resulting framesize and the management of
86082 the outregs buffer for pltexit. Preserve floating point return
86083 values across _dl_call_pltexit call.
86084 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86085 framesize and the management of the outregs buffer for pltexit.
86086 Preserve floating point return values across _dl_call_pltexit
86087 call.
86088 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86089 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86090 (la_sparc64_gnu_pltexit): New functions.
86091 (print_exit): Fix format string for return register value.
86092
86093 2012-03-10 Joseph Myers <joseph@codesourcery.com>
86094
86095 * sunrpc/Makefile (others): Add rpcgen.
86096 ($(objpfx)rpcgen): Remove special build rule and dependency on
86097 libc.
86098 * sunrpc/rpcgen.c: New file.
86099
86100 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
86101
86102 [BZ #13673]
86103 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86104 * stdio-common/bug-vfprintf-nargs.c: Likewise.
86105 * sysdeps/i386/crti.S: Likewise.
86106 * sysdeps/i386/crtn.S: Likewise.
86107 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86108 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86109 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86110 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86111 * sysdeps/sh/crti.S: Likewise.
86112 * sysdeps/sh/crtn.S: Likewise.
86113 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86114
86115 [BZ #13673]
86116 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86117 with URL.
86118 * locale/programs/locfile-kw.gperf: Likewise.
86119 * locale/programs/charmap-kw.h: Regenerated.
86120 * locale/programs/locfile-kw.h: Likewise.
86121
86122 [BZ #13673]
86123 * intl/plural.y: Replace FSF snail mail address with URL.
86124 * intl/plural.c: Regenerated.
86125
86126 2012-03-09 Richard Henderson <rth@twiddle.net>
86127
86128 * include/math_private.h: Remove file.
86129 * math/math_private.h: Move file ...
86130 * sysdeps/generic/math_private.h: ... here.
86131
86132 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86133 * sysdeps/powerpc/fpu/math_private.h: Likewise.
86134 * sysdeps/x86_64/fpu/math_private.h: Likewise.
86135
86136 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86137 and <math_private.h>.
86138 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86139 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86140 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86141 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86142 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86143 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86144 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86146 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86149 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86150 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86152 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86153 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86155 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86156 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86157 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86160 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86162 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86163 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86164 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86165 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86167 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86168 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86170 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86171 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86174 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86175 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86176 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86178 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86179 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86180 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86181 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86182 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86184 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86185 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86186 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86187 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86188 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86189 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86190 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86192 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86193 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86194 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86195 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86196 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86197 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86198 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86199 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86201 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86202 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86203 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86204 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86205 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86206 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86207 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86208 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86209 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86210 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86211 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86212 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86214 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86217 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86218 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86219 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86220 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86221 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86222 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86225 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86226 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86227 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86228 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86229 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86230 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86231 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86232 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86233 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86234 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86235 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86236 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86237 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86238 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86239 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86240 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86241 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86242 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86243 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86244 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86245 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86246 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86247 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86248 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86249 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86250 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86251 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86252 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86253 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86254 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86255 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86256 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86257 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86258 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86259 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86260 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86261 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86262 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86263 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86264 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86265 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86266 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86267 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86268 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86269 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86270 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86271 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86272 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86273 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86274 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86275 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86276 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86277 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86278 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86279 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86280 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86281 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86282 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86283 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86284 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86285 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86286 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86287 * sysdeps/ieee754/k_standard.c: Likewise.
86288 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86289 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86290 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86291 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86292 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86293 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86294 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86295 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86296 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86297 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86298 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86299 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86300 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86301 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86302 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86303 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86304 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86305 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86306 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86307 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86308 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86309 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86310 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86311 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86312 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86313 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86314 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86315 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86316 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86317 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86318 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86319 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86320 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86321 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86322 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86323 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86324 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86325 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86326 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86327 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86328 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86329 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86330 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86331 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86332 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86333 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86334 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86336 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86338 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86339 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86340 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86341 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86344 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86345 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86346 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86347 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86348 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86349 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86350 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86351 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86353 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86354 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86355 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86356 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86357 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86360 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86361 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86362 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86363 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86364 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86365 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86367 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86368 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86369 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86370 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86372 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86373 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86375 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86376 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86378 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86379 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86380 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86381 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86382 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86383 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86384 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86385 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86386 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86387 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86389 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86390 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86391 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86392 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86393 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86394 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86395 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86396 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86397 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86398 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86399 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86400 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86401 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86402 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86403 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86404 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86405 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86406 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86407 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86408 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86409 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86410 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86411 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86412 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86413 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86414 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86415 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86416 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86417 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86418 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86419 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86420 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86421 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86422 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86423 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86424 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86425 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86426 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86427 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86428 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86429 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86430 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86431 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86432 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86433 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86434 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86435 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86436 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86437 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86439 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86440 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86441 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86442 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86443 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86444 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86445 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86446 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86447 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86448 * sysdeps/ieee754/s_lib_version.c: Likewise.
86449 * sysdeps/ieee754/s_matherr.c: Likewise.
86450 * sysdeps/ieee754/s_signgam.c: Likewise.
86451 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86452 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86453 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86454 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86455 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86456 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86457 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86458 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86459 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86460 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86461 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86462 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86463 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86464 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86465 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86466 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86467 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86468 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86469 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86472
86473 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86474
86475 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86476 * sunrpc/rpc_main.c: Likewise.
86477 * sunrpc/rpc_svcout.c: Likewise.
86478
86479 2012-03-09 David S. Miller <davem@davemloft.net>
86480
86481 * include/math_private.h: New file.
86482
86483 2012-03-09 Joseph Myers <joseph@codesourcery.com>
86484
86485 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86486 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86487 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86488 from <bits/socket_type.h>.
86489 (enum __socket_type): Don't define here.
86490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86492 bits/socket_type.h.
86493
86494 [BZ #13566]
86495 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86496 checking __USE_GNU.
86497
86498 * Makerules ($(inst_includedir)/%.h): New rule.
86499 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86500 (install-others): Remove variable setting.
86501 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86502
86503 2012-03-08 Richard Henderson <rth@twiddle.net>
86504
86505 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86506 from macro to inline function; merge with the
86507 !__LIBC_INTERNAL_MATH_INLINES version.
86508 (__ieee754_sqrtf): Likewise.
86509
86510 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86511 to inline function.
86512 (__rintf, __floor, __floorf): Likewise.
86513
86514 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86515 macro to inline function.
86516 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86517
86518 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86519 not <math/math_private.h>.
86520
86521 2012-03-08 David S. Miller <davem@davemloft.net>
86522
86523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86524 copyright year.
86525 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86526
86527 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
86528
86529 * resolv/gai_misc.c (handle_requests): Fix struct timespec
86530 normalization.
86531 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86532 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86533
86534 2012-03-08 Ulrich Drepper <drepper@gmail.com>
86535
86536 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
86537 be defined individually, they must be defined as a block. Define
86538 S for printing a string instead of hidint the different by using a
86539 macro for adding the 'l'.
86540 * stdio-common/tst-fphex-wide.c: Adjust.
86541
86542 2012-03-07 Marek Polacek <polacek@redhat.com>
86543
86544 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86545
86546 2012-03-08 Marek Polacek <polacek@redhat.com>
86547
86548 [BZ #13806]
86549 * stdio-common/Makefile (tests): Add tst-fphex-wide.
86550 * stdio-common/tst-fphex.c: Define a few macros to make the
86551 test reusable. Use them.
86552 * stdio-common/tst-fphex-wide.c: New file.
86553
86554 2012-03-08 Joseph Myers <joseph@codesourcery.com>
86555
86556 [BZ #6911]
86557 * manual/macros.texi (gnusystems): New macro.
86558 (nongnusystems): Likewise.
86559 (gnulinuxhurdsystems): Likewise.
86560 (gnuhurdsystems): Likewise..
86561 (gnulinuxsystems): Likewise.
86562 * manual/charset.texi: Use new macros or @theglibc{} to refer to
86563 variants of the GNU system, not "GNU system".
86564 * manual/conf.texi: Likewise.
86565 * manual/errno.texi: Likewise. Update example of errno macro
86566 expansion.
86567 * manual/filesys.texi: Likewise.
86568 (getumask): Document as specific to GNU/Hurd.
86569 * manual/install.texi: Likewise. Reword some references to
86570 GNU/Linux.
86571 * manual/intro.texi: Likewise.
86572 * manual/io.texi: Likewise.
86573 (File Name Portability): Detail which constraints are inapplicable
86574 to all GNU systems and which are only inapplicable to GNU/Hurd.
86575 * manual/job.texi: Likewise.
86576 * manual/llio.texi: Likewise.
86577 (O_NOCTTY): Document as present on GNU/Linux.
86578 * manual/maint.texi: Likewise.
86579 * manual/memory.texi: Likewise.
86580 * manual/pattern.texi: Likewise.
86581 * manual/pipe.texi: Likewise.
86582 * manual/process.texi: Likewise.
86583 * manual/resource.texi: Likewise.
86584 (RUSAGE_CHILDREN): Remove statement about specifying a particular
86585 child on GNU/Hurd.
86586 * manual/setjmp.texi: Likewise.
86587 * manual/signal.texi: Likewise.
86588 * manual/startup.texi: Likewise.
86589 * manual/stdio.texi: Likewise.
86590 * manual/terminal.texi: Likewise.
86591 (ONLCR): Document as POSIX.
86592 (OXTABS): Document availability on GNU/Linux as XTABS.
86593 (ONOEOT): Document availability separately from other bits.
86594 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86595 * manual/time.texi: Likewise.
86596 * manual/users.texi: Likewise.
86597 * INSTALL: Regenerated.
86598 * sysdeps/gnu/errlist.c: Regenerated.
86599
86600 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86601 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86602 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
86603 puts.
86604 * configure: Regenerated.
86605
86606 2012-03-07 Joseph Myers <joseph@codesourcery.com>
86607
86608 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86609 default includes instead of AC_HEADER_CHECK.
86610 * sysdeps/i386/configure: Regenerated.
86611
86612 [BZ #10716]
86613 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86614 * math/s_cacoshf.c (__cacoshf): Likewise.
86615 * math/s_cacoshl.c (__cacoshl): Likewise.
86616 * math/s_casinh.c (__casinh): Set signs of result from argument.
86617 * math/s_casinhf.c (__casinhf): Likewise.
86618 * math/s_casinhl.c (__casinhl): Likewise.
86619 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86620 (casinh_test): Add more tests.
86621 * sysdeps/i386/fpu/libm-test-ulps: Update.
86622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86623
86624 2012-03-07 Ulrich Drepper <drepper@gmail.com>
86625
86626 * po/zh_TW.po: Update from translation team.
86627
86628 * login/Makefile (distribute): Remove variable.
86629 * catgets/Makefile: Likewise.
86630 * mach/Makefile: Likewise.
86631 * malloc/Makefile: Likewise.
86632 * misc/Makefile: Likewise.
86633 * iconv/Makefile: Likewise.
86634 * nscd/Makefile: Likewise.
86635 * hurd/Makefile: Likewise.
86636 * manual/Makefile: Likewise.
86637 * locale/Makefile: Likewise.
86638 * intl/Makefile: Likewise.
86639 * conform/Makefile: Likewise.
86640 * nss/Makefile: Likewise.
86641 * time/Makefile: Likewise.
86642 * soft-fp/Makefile: Likewise.
86643 * dirent/Makefile: Likewise.
86644 * gmon/Makefile: Likewise.
86645 * po/Makefile: Likewise.
86646 * rt/Makefile: Likewise.
86647 * socket/Makefile: Likewise.
86648 * math/Makefile: Likewise.
86649 * signal/Makefile: Likewise.
86650 * debug/Makefile: Likewise.
86651 * elf/Makefile: Likewise.
86652 * timezone/Makefile: Likewise.
86653 * stdlib/Makefile: Likewise.
86654 * iconvdata/Makefile: Likewise.
86655 * sunrpc/Makefile: Likewise.
86656 * io/Makefile: Likewise.
86657 * argp/Makefile: Likewise.
86658 * inet/Makefile: Likewise.
86659 * hesiod/Makefile: Likewise.
86660 * grp/Makefile: Likewise.
86661 * csu/Makefile: Likewise.
86662 * wctype/Makefile: Likewise.
86663 * crypt/Makefile: Likewise.
86664 * libio/Makefile: Likewise.
86665 * string/Makefile: Likewise.
86666 * nis/Makefile: Likewise.
86667 * resolv/Makefile: Likewise.
86668 * stdio-common/Makefile: Likewise.
86669 * wcsmbs/Makefile: Likewise.
86670 * dlfcn/Makefile: Likewise.
86671 * posix/Makefile: Likewise.
86672
86673 [BZ #6959]
86674 * timezone/Makefile: Don't install timezone files, just the programs
86675 and scripts.
86676
86677 2012-03-06 Ulrich Drepper <drepper@gmail.com>
86678
86679 * nss/databases.def: Add missing gshadow entry.
86680
86681 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
86682
86683 2012-03-06 Marek Polacek <polacek@redhat.com>
86684
86685 [BZ #13726]
86686 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
86687 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
86688 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
86689 * stdio-common/tst-long-dbl-fphex.c: New file.
86690
86691 2012-03-06 David S. Miller <davem@davemloft.net>
86692
86693 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
86694 (set_obp_int): New function.
86695 (get_obp_int): New function.
86696 (__get_clockfreq_via_dev_openprom): Likewise.
86697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
86698 Avoid unused variable warnings on 'val' and use builtin_expect.
86699 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
86700 __builtin_expect.
86701 (INLINE_CLONE_SYSCALL): Likewise.
86702
86703 2012-03-05 David S. Miller <davem@davemloft.net>
86704
86705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86706
86707 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
86708
86709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86710
86711 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86712 only for |x| >= 40.
86713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86714
86715 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
86716
86717 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
86718 Replace gettimeofday with __vdso_gettimeofday.
86719
86720 * sysdeps/unix/sysv/linux/x86_64/init-first.c
86721 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
86722 __vdso_clock_gettime and __vdso_getcpu.
86723
86724 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
86725 time with __vdso_time.
86726
86727 2012-03-05 Joseph Myers <joseph@codesourcery.com>
86728
86729 * manual/lang.texi (size_t): Note types to which size_t may be
86730 equivalent with the GNU C Library, but do not describe when
86731 differences between them are significant.
86732
86733 2012-03-05 Andreas Jaeger <aj@suse.de>
86734
86735 * sysdeps/i386/fpu/libm-test-ulps: Update.
86736
86737 2012-03-05 Joseph Myers <joseph@codesourcery.com>
86738
86739 [BZ #3976]
86740 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
86741 (__ieee754_pow): Save and restore rounding mode and use
86742 round-to-nearest for main computations.
86743 * math/libm-test.inc (pow_test_tonearest): New function.
86744 (pow_test_towardzero): Likewise.
86745 (pow_test_downward): Likewise.
86746 (pow_test_upward): Likewise.
86747 (main): Call the new functions.
86748 * sysdeps/i386/fpu/libm-test-ulps: Update.
86749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86750
86751 [BZ #3976]
86752 * math/libm-test.inc (cosh_test_tonearest): New function.
86753 (cosh_test_towardzero): Likewise.
86754 (cosh_test_downward): Likewise.
86755 (cosh_test_upward): Likewise.
86756 (sinh_test_tonearest): Likewise.
86757 (sinh_test_towardzero): Likewise.
86758 (sinh_test_downward): Likewise.
86759 (sinh_test_upward): Likewise.
86760 (main): Call the new functions.
86761 * sysdeps/i386/fpu/libm-test-ulps: Update.
86762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86763
86764 2012-03-05 Tom de Vries <tom@codesourcery.com>
86765
86766 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
86767 default stack guard is set in last bytes.
86768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
86769
86770 2012-03-05 Kees Cook <keescook@chromium.org>
86771
86772 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
86773
86774 [BZ #13656]
86775 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
86776 possibly allocate from heap instead of stack.
86777 * stdio-common/bug-vfprintf-nargs.c: New file.
86778 * stdio-common/Makefile (tests): Add nargs overflow test.
86779
86780 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
86781
86782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86783
86784 2012-03-03 Marek Polacek <polacek@redhat.com>
86785
86786 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86787 * math/math_private.h: Likewise.
86788 * stdlib/tst-strtod.c: Likewise.
86789 * sysdeps/i386/i486/bits/atomic.h: Likewise.
86790 * sysdeps/x86_64/bits/atomic.h: Likewise.
86791
86792 2012-03-02 David S. Miller <davem@davemloft.net>
86793
86794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86798 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86799 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86800 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86801 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86802
86803 2012-03-02 Roland McGrath <roland@hack.frob.com>
86804
86805 [BZ #13792]
86806 * manual/examples/README: New file, says the example source files
86807 can be used under GPL>=2.
86808 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86809 line containing just "*/".
86810 * manual/examples/add.c: Add copyright header (GPL>=2).
86811 * manual/examples/argp-ex1.c: Likewise.
86812 * manual/examples/argp-ex2.c: Likewise.
86813 * manual/examples/argp-ex3.c: Likewise.
86814 * manual/examples/argp-ex4.c: Likewise.
86815 * manual/examples/atexit.c: Likewise.
86816 * manual/examples/db.c: Likewise.
86817 * manual/examples/dir.c: Likewise.
86818 * manual/examples/dir2.c: Likewise.
86819 * manual/examples/execinfo.c: Likewise.
86820 * manual/examples/filecli.c: Likewise.
86821 * manual/examples/filesrv.c: Likewise.
86822 * manual/examples/fmtmsgexpl.c: Likewise.
86823 * manual/examples/genpass.c: Likewise.
86824 * manual/examples/inetcli.c: Likewise.
86825 * manual/examples/inetsrv.c: Likewise.
86826 * manual/examples/isockad.c: Likewise.
86827 * manual/examples/longopt.c: Likewise.
86828 * manual/examples/memopen.c: Likewise.
86829 * manual/examples/memstrm.c: Likewise.
86830 * manual/examples/mkfsock.c: Likewise.
86831 * manual/examples/mkisock.c: Likewise.
86832 * manual/examples/mygetpass.c: Likewise.
86833 * manual/examples/pipe.c: Likewise.
86834 * manual/examples/popen.c: Likewise.
86835 * manual/examples/rprintf.c: Likewise.
86836 * manual/examples/search.c: Likewise.
86837 * manual/examples/select.c: Likewise.
86838 * manual/examples/setjmp.c: Likewise.
86839 * manual/examples/sigh1.c: Likewise.
86840 * manual/examples/sigusr.c: Likewise.
86841 * manual/examples/stpcpy.c: Likewise.
86842 * manual/examples/strdupa.c: Likewise.
86843 * manual/examples/strftim.c: Likewise.
86844 * manual/examples/strncat.c: Likewise.
86845 * manual/examples/subopt.c: Likewise.
86846 * manual/examples/swapcontext.c: Likewise.
86847 * manual/examples/termios.c: Likewise.
86848 * manual/examples/testopt.c: Likewise.
86849 * manual/examples/testpass.c: Likewise.
86850 * manual/examples/timeval_subtract.c: Likewise.
86851
86852 [BZ #13792]
86853 * manual/time.texi (Elapsed Time): Move timeval_subtract example
86854 function to ...
86855 * manual/timeval_subtract.c.texi: ... here, new file.
86856
86857 2012-03-02 David S. Miller <davem@davemloft.net>
86858
86859 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86860
86861 2012-03-02 Joseph Myers <joseph@codesourcery.com>
86862
86863 [BZ #3976]
86864 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86865 (__sin): Save and restore rounding mode and use round-to-nearest
86866 for all computations.
86867 (__cos): Save and restore rounding mode and use round-to-nearest
86868 for all computations.
86869 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86870 <fenv.h>.
86871 (tan): Save and restore rounding mode and use round-to-nearest for
86872 all computations.
86873 * math/libm-test.inc (cos_test_tonearest): New function.
86874 (cos_test_towardzero): Likewise.
86875 (cos_test_downward): Likewise.
86876 (cos_test_upward): Likewise.
86877 (sin_test_tonearest): Likewise.
86878 (sin_test_towardzero): Likewise.
86879 (sin_test_downward): Likewise.
86880 (sin_test_upward): Likewise.
86881 (tan_test_tonearest): Likewise.
86882 (tan_test_towardzero): Likewise.
86883 (tan_test_downward): Likewise.
86884 (tan_test_upward): Likewise.
86885 (main): Call the new functions.
86886 * sysdeps/i386/fpu/libm-test-ulps: Update.
86887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86888
86889 [BZ #10135]
86890 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86891 small n, then large n, before computing and testing k+n.
86892 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86893 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86894 Likewise.
86895 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86896 Likewise.
86897 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86898 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86901 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86902 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86904 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86905 * math/libm-test.inc (scalbn_test): Add more tests.
86906 (scalbln_test): Likewise.
86907
86908 * manual/filesys.texi (mode_t): Describe constraints on size and
86909 signedness, not exact equivalence to a particular type.
86910 (ino_t): Likewise.
86911 (ino64_t): Likewise.
86912 (dev_t): Likewise.
86913 (nlink_t): Likewise.
86914 (blkcnt_t): Likewise.
86915 (blkcnt64_t): Likewise.
86916 * manual/llio.texi (off_t): Likewise.
86917
86918 [BZ #3976]
86919 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86920 (__ieee754_exp): Save and restore rounding mode and use
86921 round-to-nearest for all computations.
86922 * math/libm-test.inc (exp_test_tonearest): New function.
86923 (exp_test_towardzero): Likewise.
86924 (exp_test_downward): Likewise.
86925 (exp_test_upward): Likewise.
86926 (main): Call the new functions.
86927 * sysdeps/i386/fpu/libm-test-ulps: Update.
86928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86929
86930 2012-03-01 Chris Demetriou <cgd@google.com>
86931
86932 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86933 have predictable order.
86934
86935 2012-03-01 David S. Miller <davem@davemloft.net>
86936
86937 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86938
86939 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86940 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86941 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86942 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86943
86944 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86945 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86946 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86948 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86949 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86950 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86951 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86952 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86953
86954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
86955
86956 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86957 * sysdeps/sparc/fpu/libm-test-ulps: to here.
86958 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86959
86960 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86961 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86962 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86963 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86964 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86965 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86966 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86967 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86968 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86969 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86970 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86971 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86973 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86974 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86976 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86977 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86978 * sysdeps/sparc/elf/configure: Regenerated.
86979
86980 2012-03-01 Joseph Myers <joseph@codesourcery.com>
86981
86982 * configure.in (AS, LD): Require binutils 2.20 or later.
86983 * configure: Regenerated.
86984 * manual/install.texi (Tools for Compilation): Give binutils 2.20
86985 as required minimum version.
86986 * INSTALL: Regenerated.
86987
86988 [BZ #2541]
86989 [BZ #4108]
86990 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86991 before squaring exponent.
86992 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86993 bottom long double and 27 bits of top long double before squaring
86994 exponent.
86995 * math/libm-test.inc (erfc_test): Add more tests.
86996 * sysdeps/i386/fpu/libm-test-ulps: Update.
86997 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86999
87000 2012-03-01 Kai Tietz <ktietz@redhat.com>
87001
87002 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87003 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87004 containing bit-fields.
87005 * soft-fp/extended.h (_FP_UNION_E): Likewise.
87006 * soft-fp/single.h (_FP_UNION_S): Likewise.
87007 * soft-fp/double.h (_FP_UNION_D): Likewise.
87008
87009 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87010
87011 [BZ #13786]
87012 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87013 not include ../strcmp.S.
87014 [USE_AS_STRNCASECMP_L]: Likewise.
87015 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87016 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87017 * sysdeps/i386/i686/multiarch/strncase_l-c.c
87018 (__strncasecmp_l_ia32): Define as alias to
87019 __strncasecmp_l_nonascii.
87020
87021 [BZ #5794]
87022 * math/libm-test.inc (expm1_test): Add test for bug 5794.
87023 * sysdeps/i386/fpu/libm-test-ulps: Update.
87024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87025
87026 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87028
87029 2012-02-29 Jeff Law <law@redhat.com>
87030
87031 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87032 out of bounds read.
87033
87034 2012-02-29 Marek Polacek <polacek@redhat.com>
87035
87036 [BZ #13706]
87037 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87038 * elf/Makefile: Add rules to run tst-unused-dep.out.
87039
87040 2012-02-28 David S. Miller <davem@davemloft.net>
87041
87042 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87043 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87045 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87046 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87047 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87048
87049 2012-02-29 Joseph Myers <joseph@codesourcery.com>
87050
87051 * math/libm-test.inc (llround_test): Move one test from
87052 lround_test. Use TEST_f_L in moved test.
87053 (lround_test): Move misplaced test to llround_test. Add testcase
87054 from bug 2561.
87055
87056 2012-02-28 Ulrich Drepper <drepper@gmail.com>
87057
87058 * sysdeps/x86_64/fpu/e_expf.S: New file.
87059 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87060
87061 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
87062
87063 [BZ #13637]
87064 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87065 of remain_len that may cause incomplete multi-byte character and
87066 false match.
87067 * posix/bug-regex33.c: New file.
87068 * posix/Makefile (tests): Add bug-regex33.
87069
87070 2012-02-28 Joseph Myers <joseph@codesourcery.com>
87071
87072 * manual/macros.texi: New file.
87073 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87074 * manual/libc.texinfo: Include macros.texi.
87075 * manual/creatute.texi: Likewise.
87076 * manual/install.texi: Likewise.
87077 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87078 @glibcadj{} in references to the GNU C Library.
87079 * manual/charset.texi: Likewise.
87080 * manual/conf.texi: Likewise.
87081 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
87082 when not using those macros.
87083 * manual/creature.texi: Likewise.
87084 * manual/crypt.texi: Likewise.
87085 * manual/errno.texi: Likewise.
87086 * manual/filesys.texi: Likewise.
87087 * manual/header.texi: Likewise.
87088 * manual/install.texi: Likewise.
87089 * manual/intro.texi: Likewise.
87090 * manual/io.texi: Likewise.
87091 * manual/job.texi: Likewise.
87092 * manual/lang.texi: Likewise.
87093 * manual/libc.texiinfo: Likewise.
87094 * manual/llio.texi: Likewise.
87095 * manual/locale.texi: Likewise.
87096 * manual/maint.texi: Likewise.
87097 * manual/math.texi: Likewise.
87098 * manual/memory.texi: Likewise.
87099 * manual/message.texi: Likewise.
87100 * manual/nss.texi: Likewise.
87101 * manual/pattern.texi: Likewise.
87102 * manual/process.texi: Likewise.
87103 * manual/resource.texi: Likewise.
87104 * manual/search.texi: Likewise.
87105 * manual/setjmp.texi: Likewise.
87106 * manual/signal.texi: Likewise.
87107 * manual/socket.texi: Likewise.
87108 * manual/startup.texi: Likewise.
87109 * manual/stdio.texi: Likewise.
87110 * manual/string.texi: Likewise.
87111 * manual/sysinfo.texi: Likewise.
87112 * manual/syslog.texi: Likewise.
87113 * manual/terminal.texi: Likewise.
87114 * manual/time.texi: Likewise.
87115 * manual/users.texi: Likewise.
87116 * INSTALL: Regenerated.
87117 * NOTES: Regenerated.
87118 * sysdeps/gnu/errlist.c: Regenerated.
87119
87120 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
87121
87122 * include/dirent.h: Include <dirstream.h> before
87123 <dirent/dirent.h>.
87124
87125 2012-02-28 David S. Miller <davem@davemloft.net>
87126
87127 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87128 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87129 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87130 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87131
87132 2012-02-27 David S. Miller <davem@davemloft.net>
87133
87134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87136 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87137 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87138
87139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87140 frame pointer instead of stack pointer relative arg slot.
87141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87144
87145 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
87146
87147 [BZ #3992]
87148 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87149
87150 2012-02-27 David S. Miller <davem@davemloft.net>
87151
87152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87156 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87157 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87158 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87159 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87160
87161 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87162
87163 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87164 later. Allow versions 5-9.
87165 * configure: Regenerated.
87166 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87167 required minimum version and 4.6 as recommended version. Do not
87168 mention bugs in GCC 2.7 and 2.8.
87169 * INSTALL: Regenerated.
87170
87171 2012-02-27 David S. Miller <davem@davemloft.net>
87172
87173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87177 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87178 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87179 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87180 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87181
87182 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87183 manipulate bits before adding and subtracting TWO112[sx].
87184 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87185
87186 2012-02-27 Roland McGrath <roland@hack.frob.com>
87187
87188 [BZ #13775]
87189 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87190 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87191 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87192 being in POSIX, because they are in 1003.1-2008.
87193
87194 * rt/tst-aio.c: Include <fcntl.h>.
87195 * rt/tst-aio7.c: Likewise.
87196 * rt/tst-aio64.c: Likewise.
87197
87198 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87199
87200 2012-02-27 Joseph Myers <joseph@codesourcery.com>
87201
87202 * manual/install.texi (--with-headers): Describe headers as
87203 interface headers, not private headers.
87204 (Specific advice for GNU/Linux systems): Describe use of headers
87205 from "make headers_install", not private headers from older
87206 kernels.
87207 * INSTALL: Regenerated.
87208 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87209 Change to 2.6.19.
87210 * sysdeps/unix/sysv/linux/configure: Regenerated.
87211
87212 * manual/llio.texi (fclean): Remove documentation.
87213
87214 * manual/Makefile (libc-texi-generated): New variable. Include
87215 version.texi.
87216 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87217 $(libc-texi-generated), not duplicated list of files.
87218 (version.texi, stamp-version): New rules.
87219 (realclean): Remove $(libc-texi-generated), not individual files
87220 from that list. Do not remove dir-add.texinfo.
87221 * manual/libc.texinfo: Comment out uses of edition numbers and
87222 references to printed manual. Remove last-updated dates.
87223 (EDITION): Comment out.
87224 (ISBN): Likewise.
87225 (VERSION, UPDATED): Remove.
87226 (version.texi): Include.
87227
87228 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
87229
87230 * sysdeps/posix/spawni.c: Include <signal.h>.
87231 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87232 * sysdeps/pthread/aio_fsync.c: Likewise.
87233
87234 2012-02-26 Ulrich Drepper <drepper@gmail.com>
87235
87236 * conform/Makefile (tests): Run only when not cross-compiling and
87237 when fast-check is not defined.
87238
87239 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87240 * conform/data/limits.h-data: Fixes for POSIX2008.
87241 * conform/run-conformtest.sh: Run all tests.
87242 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87243 headers.
87244 * include/bits/dlfcn.h: Likewise.
87245 * include/langinfo.h: Likewise.
87246 * include/monetary.h: Likewise.
87247 * include/sys/poll.h: Likewise.
87248
87249 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87250 for __USE_GNU.
87251 * posix/spawn.h: Define __need_sigset_t.
87252 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87253 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87254 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
87255 to get sigevent_t only.
87256 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87257 only for __USE_GNU.
87258 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87259 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87260 process_vm_writev only for __USE_GNU.
87261 * termios/termios.h: Declare tcgetsid also for POSIX2008.
87262
87263 * conform/Makefile: For now ignore errors from run-conformtest.
87264 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
87265 POSIX to avoid namespace pollution. Don't prepend headers.
87266 * conform/data/aio.h-data: Fixes for POSIX testing.
87267 * conform/data/fcntl.h-data: Likewise.
87268 * conform/data/glob.h-data: Likewise.
87269 * conform/data/grp.h-data: Likewise.
87270 * conform/data/pthread.h-data: Likewise.
87271 * conform/data/pwd.h-data: Likewise.
87272 * conform/data/signal.h-data: Likewise.
87273 * conform/data/spawn.h-data: Likewise.
87274 * conform/data/stdio.h-data: Likewise.
87275 * conform/data/stdlib.h-data: Likewise.
87276 * conform/data/stropts.h-data: Likewise.
87277 * conform/data/sys/mman.h-data: Likewise.
87278 * conform/data/sys/stat.h-data: Likewise.
87279 * conform/data/sys/types.h-data: Likewise.
87280 * conform/data/sys/wait.h-data: Likewise.
87281 * conform/data/time.h-data: Likewise.
87282 * conform/data/unistd.h-data: Likewise.
87283 * conform/data/utime.h-data: Likewise.
87284
87285 * io/sys/stat.h: fchmod was always in POSIX.
87286 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87287 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87288 * rt/aio.h: Define __need_timespec before including <time.h>.
87289 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87290 struct. Add forward declaration of pthread_attr_t and use it in
87291 sigevent.
87292 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87294 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87295 always remove CLK_TCK definition.
87296
87297 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
87298
87299 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87300
87301 2012-02-25 Ulrich Drepper <drepper@gmail.com>
87302
87303 * conform/run-conformtest.sh: New file.
87304 * conform/Makefile: Run run-conformtest for tests.
87305 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
87306 support.
87307
87308 * conform/data/uchar.h-data: New file.
87309 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87310 * conform/data/arpa/inet.h-data: Likewise.
87311 * conform/data/assert.h-data: Likewise.
87312 * conform/data/complex.h-data: Likewise.
87313 * conform/data/cpio.h-data: Likewise.
87314 * conform/data/ctype.h-data: Likewise.
87315 * conform/data/dirent.h-data: Likewise.
87316 * conform/data/dlfcn.h-data: Likewise.
87317 * conform/data/errno.h-data: Likewise.
87318 * conform/data/fcntl.h-data: Likewise.
87319 * conform/data/float.h-data: Likewise.
87320 * conform/data/fmtmsg.h-data: Likewise.
87321 * conform/data/fnmatch.h-data: Likewise.
87322 * conform/data/ftw.h-data: Likewise.
87323 * conform/data/glob.h-data: Likewise.
87324 * conform/data/grp.h-data: Likewise.
87325 * conform/data/iconv.h-data: Likewise.
87326 * conform/data/inttypes.h-data: Likewise.
87327 * conform/data/langinfo.h-data: Likewise.
87328 * conform/data/libgen.h-data: Likewise.
87329 * conform/data/limits.h-data: Likewise.
87330 * conform/data/locale.h-data: Likewise.
87331 * conform/data/math.h-data: Likewise.
87332 * conform/data/monetary.h-data: Likewise.
87333 * conform/data/mqueue.h-data: Likewise.
87334 * conform/data/ndbm.h-data: Likewise.
87335 * conform/data/net/if.h-data: Likewise.
87336 * conform/data/netdb.h-data: Likewise.
87337 * conform/data/netinet/in.h-data: Likewise.
87338 * conform/data/nl_types.h-data: Likewise.
87339 * conform/data/poll.h-data: Likewise.
87340 * conform/data/pthread.h-data: Likewise.
87341 * conform/data/pwd.h-data: Likewise.
87342 * conform/data/regex.h-data: Likewise.
87343 * conform/data/sched.h-data: Likewise.
87344 * conform/data/search.h-data: Likewise.
87345 * conform/data/semaphore.h-data: Likewise.
87346 * conform/data/setjmp.h-data: Likewise.
87347 * conform/data/signal.h-data: Likewise.
87348 * conform/data/spawn.h-data: Likewise.
87349 * conform/data/stdarg.h-data: Likewise.
87350 * conform/data/stdio.h-data: Likewise.
87351 * conform/data/stdlib.h-data: Likewise.
87352 * conform/data/string.h-data: Likewise.
87353 * conform/data/strings.h-data: Likewise.
87354 * conform/data/stropts.h-data: Likewise.
87355 * conform/data/sys/ipc.h-data: Likewise.
87356 * conform/data/sys/mman.h-data: Likewise.
87357 * conform/data/sys/msg.h-data: Likewise.
87358 * conform/data/sys/resource.h-data: Likewise.
87359 * conform/data/sys/select.h-data: Likewise.
87360 * conform/data/sys/sem.h-data: Likewise.
87361 * conform/data/sys/shm.h-data: Likewise.
87362 * conform/data/sys/socket.h-data: Likewise.
87363 * conform/data/sys/stat.h-data: Likewise.
87364 * conform/data/sys/statvfs.h-data: Likewise.
87365 * conform/data/sys/time.h-data: Likewise.
87366 * conform/data/sys/timeb.h-data: Likewise.
87367 * conform/data/sys/times.h-data: Likewise.
87368 * conform/data/sys/types.h-data: Likewise.
87369 * conform/data/sys/uio.h-data: Likewise.
87370 * conform/data/sys/un.h-data: Likewise.
87371 * conform/data/sys/utsname.h-data: Likewise.
87372 * conform/data/sys/wait.h-data: Likewise.
87373 * conform/data/syslog.h-data: Likewise.
87374 * conform/data/tar.h-data: Likewise.
87375 * conform/data/termios.h-data: Likewise.
87376 * conform/data/utime.h-data: Likewise.
87377 * conform/data/utmpx.h-data: Likewise.
87378 * conform/data/varargs.h-data: Likewise.
87379 * conform/data/wchar.h-data: Likewise.
87380 * conform/data/wctype.h-data: Likewise.
87381 * conform/data/wordexp.h-data: Likewise.
87382
87383 * include/stropts.h: New file.
87384 * include/uchar.h: New file.
87385 * include/aio.h: Changes to allow conformtest.pl to use the headers.
87386 * include/assert.h: Likewise.
87387 * include/ctype.h: Likewise.
87388 * include/dirent.h: Likewise.
87389 * include/dlfcn.h: Likewise.
87390 * include/fcntl.h: Likewise.
87391 * include/fnmatch.h: Likewise.
87392 * include/glob.h: Likewise.
87393 * include/grp.h: Likewise.
87394 * include/libio.h: Likewise.
87395 * include/locale.h: Likewise.
87396 * include/math.h: Likewise.
87397 * include/net/if.h: Likewise.
87398 * include/netdb.h: Likewise.
87399 * include/netinet/in.h: Likewise.
87400 * include/pthread.h: Likewise.
87401 * include/pwd.h: Likewise.
87402 * include/regex.h: Likewise.
87403 * include/sched.h: Likewise.
87404 * include/search.h: Likewise.
87405 * include/setjmp.h: Likewise.
87406 * include/signal.h: Likewise.
87407 * include/stdio.h: Likewise.
87408 * include/stdlib.h: Likewise.
87409 * include/string.h: Likewise.
87410 * include/sys/cdefs.h: Likewise.
87411 * include/sys/mman.h: Likewise.
87412 * include/sys/msg.h: Likewise.
87413 * include/sys/resource.h: Likewise.
87414 * include/sys/select.h: Likewise.
87415 * include/sys/socket.h: Likewise.
87416 * include/sys/stat.h: Likewise.
87417 * include/sys/statvfs.h: Likewise.
87418 * include/sys/time.h: Likewise.
87419 * include/sys/times.h: Likewise.
87420 * include/sys/uio.h: Likewise.
87421 * include/sys/utsname.h: Likewise.
87422 * include/sys/wait.h: Likewise.
87423 * include/termios.h: Likewise.
87424 * include/time.h: Likewise.
87425 * include/ulimit.h: Likewise.
87426 * include/unistd.h: Likewise.
87427 * include/utime.h: Likewise.
87428 * include/wchar.h: Likewise.
87429 * include/wctype.h: Likewise.
87430 * include/wordexp.h: Likewise.
87431
87432 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87433
87434 * time/time.h: TIME_UTC must be a macro.
87435 Make timespec_get available for ISO C11 only as well.
87436
87437 2012-02-24 Ulrich Drepper <drepper@gmail.com>
87438
87439 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87440 Reported by Peng Haitao <penght@cn.fujitsu.com>.
87441
87442 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87443
87444 * configure.in: Use -o not -a in test for unsupported multi-arch.
87445
87446 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87447
87448 * manual/texinfo.tex: Update to version 2012-01-19.16.
87449
87450 2012-02-24 Joseph Myers <joseph@codesourcery.com>
87451
87452 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87453
87454 2012-02-24 Roland McGrath <roland@hack.frob.com>
87455
87456 [BZ #13738]
87457 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87458 * manual/fdl-1.3.texi: New file.
87459 * manual/fdl-1.1.texi: File removed.
87460
87461 [BZ #13738]
87462 * manual/libc.texinfo (FDL_VERSION): New @set.
87463 Use it for mention of FDL in cover text.
87464 (Documentation License): Use it in @include file name.
87465
87466 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87467 Roland McGrath <roland@hack.frob.com>
87468
87469 [BZ #5461]
87470 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87471 (not LONG_LONG_MAX and LONG_LONG_MIN.
87472 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87473 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
87474 name.
87475 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87476
87477 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87478
87479 [BZ #2547]
87480 [BZ #11365]
87481 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87482 manipulate bits before adding and subtracting TWO23[sx].
87483 * math/libm-test.inc (nearbyint_test): Add more tests.
87484
87485 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87486
87487 [BZ #2548]
87488 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87489 bits before adding and subtracting TWO23[sx].
87490 * math/libm-test.inc (rint_test): Add more tests.
87491 (rint_test_tonearest): Likewise.
87492 (rint_test_towardzero): Likewise.
87493 (rint_test_downward): Likewise.
87494 (rint_test_upward: Likewise.
87495
87496 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87497
87498 [BZ #10110]
87499 * include/stdc-predef.h: New file. Extracted from features.h.
87500 * include/features.h: Include stdc-predef.h.
87501 * Makefile (headers): Add stdc-predef.h.
87502 * CONFORMANCE (Compiler limitations): Update.
87503
87504 2012-02-22 Joseph Myers <joseph@codesourcery.com>
87505
87506 * manual/libc.texinfo (VERSION, UPDATED): Revert.
87507
87508 2012-02-21 David S. Miller <davem@davemloft.net>
87509
87510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87512
87513 2012-02-20 David S. Miller <davem@davemloft.net>
87514
87515 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87516 using a normal save/restore sequence, rather than allocating a
87517 dummy stack frame just to store a frame pointer and restore.
87518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87519
87520 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87521
87522 * manual/install.texi: Fix stray word in line-wrapped comment.
87523
87524 2012-02-20 David S. Miller <davem@davemloft.net>
87525
87526 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87527 both binutils and gcc support GOTDATA.
87528
87529 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87530 "rd %pc" in the PIC register setup sequences.
87531
87532 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87533 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87534 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87535 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87536 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87537 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87538 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87539 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87541 (SYSCALL_ERROR_HANDLER): Likewise.
87542 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87543 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87545 (SYSCALL_ERROR_HANDLER): Likewise.
87546
87547 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87548 (HAVE_GCC_GOTDATA): New.
87549 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87550 relocation support in both binutils and gcc.
87551 * sysdeps/sparc/elf/configure: Regenerate.
87552
87553 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87554 * sysdeps/sparc/sparc32/elf/configure: Delete.
87555 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87556 * sysdeps/sparc/sparc64/elf/configure: Delete.
87557 * sysdeps/sparc/elf/configure.in: New file.
87558 * sysdeps/sparc/elf/configure: Generate.
87559
87560 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87561 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87562 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87563 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87564 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87565
87566 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87567
87568 * manual/install.texi: Do not mention specific glibc version
87569 numbers.
87570 * manual/libc.texinfo (VERSION, UPDATED): Update.
87571 (@copying): Use @copyright{} and range of years.
87572
87573 2012-02-21 Joseph Myers <joseph@codesourcery.com>
87574
87575 [BZ #13695]
87576 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87577 [crti.S not in sysdirs] (generated): Do not append.
87578 [crti.S not in sysdirs] (omit-deps): Likewise.
87579 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87580 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87581 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87582 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87583 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87584 Likewise.
87585 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87586 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87587 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87588 * csu/defs.awk: Remove file.
87589 * sysdeps/generic/initfini.c: Likewise.
87590 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87591 variable.
87592 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87593 Likewise.
87594
87595 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87596
87597 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87598 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87599 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87602 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87603 <bits/epoll.h>.
87604 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87605 (__EPOLL_PACKED): Define to empty if not defined by
87606 <bits/epoll.h>.
87607 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87609 bits/epoll.h.
87610
87611 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87612
87613 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87614 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87615 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87616 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87617 <bits/timerfd.h>.
87618 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87620 bits/timerfd.h.
87621
87622 2012-02-20 Joseph Myers <joseph@codesourcery.com>
87623
87624 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87625 in C locale.
87626 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87627 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87628 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87630
87631 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
87632
87633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87634 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87635
87636 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
87637
87638 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87639 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87640 defined.
87641 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87642 Likewise.
87643 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87644 entry for 2.16.
87645
87646 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
87647
87648 * math/w_acos.c: Use non-signaling floating-point comparisons.
87649 * math/w_acosf.c: Likewise.
87650 * math/w_acosh.c: Likewise.
87651 * math/w_acoshf.c: Likewise.
87652 * math/w_acoshl.c: Likewise.
87653 * math/w_acosl.c: Likewise.
87654 * math/w_asin.c: Likewise.
87655 * math/w_asinf.c: Likewise.
87656 * math/w_asinl.c: Likewise.
87657 * math/w_atanh.c: Likewise.
87658 * math/w_atanhf.c: Likewise.
87659 * math/w_atanhl.c: Likewise.
87660 * math/w_exp2.c: Likewise.
87661 * math/w_exp2f.c: Likewise.
87662 * math/w_exp2l.c: Likewise.
87663 * math/w_j0.c: Likewise.
87664 * math/w_j0f.c: Likewise.
87665 * math/w_j0l.c: Likewise.
87666 * math/w_j1.c: Likewise.
87667 * math/w_j1f.c: Likewise.
87668 * math/w_j1l.c: Likewise.
87669 * math/w_jn.c: Likewise.
87670 * math/w_jnf.c: Likewise.
87671 * math/w_log.c: Likewise.
87672 * math/w_log10.c: Likewise.
87673 * math/w_log10f.c: Likewise.
87674 * math/w_log10l.c: Likewise.
87675 * math/w_log2.c: Likewise.
87676 * math/w_log2f.c: Likewise.
87677 * math/w_log2l.c: Likewise.
87678 * math/w_logf.c: Likewise.
87679 * math/w_logl.c: Likewise.
87680 * math/w_sqrt.c: Likewise.
87681 * math/w_sqrtf.c: Likewise.
87682 * math/w_sqrtl.c: Likewise.
87683 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87684 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
87685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87686 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87687 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87688
87689 2012-02-19 Joseph Myers <joseph@codesourcery.com>
87690
87691 [BZ #9739]
87692 * manual/string.texi (strnlen): Use correct parameter name in
87693 equivalent expression.
87694
87695 2012-02-19 Joseph Myers <joseph@codesourcery.com>
87696
87697 [BZ #11174]
87698 * manual/users.texi (seteuid): Consistently use neweuid for
87699 argument name.
87700
87701 2012-02-19 Joseph Myers <joseph@codesourcery.com>
87702
87703 [BZ #13704]
87704 * manual/nss.texi (Services in the NSS configuration): Correct
87705 list of services in example configuration file.
87706
87707 2012-02-19 Nick Bowler <nbowler@draconx.ca>
87708
87709 [BZ #11322]
87710 * manual/arith.texi: Remove statements about negative zero
87711 behaving identically to zero.
87712
87713 2012-02-18 Joseph Myers <joseph@codesourcery.com>
87714
87715 [BZ #5993]
87716 * manual/install.texi: Do not document upgrading from libc5.
87717
87718 2012-02-18 Joseph Myers <joseph@codesourcery.com>
87719
87720 [BZ #4596]
87721 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
87722
87723 2012-02-18 David S. Miller <davem@davemloft.net>
87724
87725 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
87726 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
87727 %o7 across the call.
87728 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
87729 instead.
87730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
87731 SETUP_PIC_REG_LEAF.
87732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87733 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
87734 * sysdeps/sparc/crtn.S: Likewise.
87735
87736 2012-02-17 Ulrich Drepper <drepper@gmail.com>
87737
87738 * aout/Makefile: Remove.
87739
87740 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
87741
87742 [BZ #13058]
87743 * manual/examples/argp-ex1.c (main): Format definition in GNU
87744 style.
87745 * manual/examples/argp-ex2.c (main): Likewise.
87746 * manual/examples/argp-ex3.c (main): Likewise.
87747 * manual/examples/argp-ex4.c (main): Likewise.
87748 * manual/examples/longopt.c (main): Use new-style prototype
87749 definition.
87750 * manual/examples/strncat.c (main): Specify return type and use
87751 (void) for arguments.
87752 * manual/examples/subopt.c (main): Use char **argv argument.
87753
87754 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87755
87756 [BZ #5077]
87757 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
87758 rounding modes.
87759
87760 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
87761
87762 [BZ #6907]
87763 * manual/string.texi (strchr): Change when strchrnul is
87764 recommended.
87765
87766 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
87767
87768 [BZ #174]
87769 * manual/locale.texi (setlocale): Document LOCPATH.
87770
87771 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87772
87773 [BZ #10210]
87774 * manual/process.texi (execle): Move @dots{} before last argument.
87775
87776 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
87777
87778 [BZ #12047]
87779 * manual/charset.texi (Generic Charset Conversion): Fix typo
87780 (LC_TYPE -> LC_CTYPE).
87781
87782 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
87783
87784 [BZ #5805]
87785 * manual/arith.texi (scalbn): Use @var{} on parameter names.
87786 (scalbnf): Likewise.
87787 (scalbnl): Likewise.
87788 (scalbln): Likewise.
87789 (scalblnf): Likewise.
87790 (scalblnl): Likewise.
87791 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87792 (vwarnx): Likewise.
87793 (verr): Likewise.
87794 (verrx): Likewise.
87795 * manual/filesys.texi (telldir): Use braces around return type.
87796 * manual/llio.texi (mmap): Add space after comma.
87797 (mmap64): Likewise.
87798 * manual/math.texi (jn): Use @var{} on parameter names.
87799 (jnf): Likewise.
87800 (jnl): Likewise.
87801 (yn): Likewise.
87802 (ynf): Likewise.
87803 (ynl): Likewise.
87804 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87805 line.
87806 * manual/resource.texi (ulimit): Use @dots{} instead of literal
87807 "...".
87808 (sched_get_priority_min): Remove semicolon on @deftypefun line.
87809 (sched_get_priority_max): Likewise.
87810 * manual/signal.texi (sigvec): Add space after comma.
87811 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87812 names.
87813 (if_indextoname): Likewise.
87814 (if_freenameindex): Likewise.
87815 (sendto): Use ',' instead of '.' in prototype.
87816 * manual/startup.texi (syscall): Use @dots{} instead of literal
87817 "...".
87818 * manual/stdio.texi (__fpending): Separate initial words of
87819 paragraph from @deftypefun line.
87820 * manual/syslog.texi (syslog): Use @dots{} instead of literal
87821 "...".
87822 (vsyslog): Use @var{} on parameter names.
87823 * manual/terminal.texi (stty): Use @var{} on parameter names.
87824 * manual/users.texi (getutmp): Use @var{} on parameter names.
87825 (getutmpx): Likewise.
87826
87827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87828
87829 [BZ #6884]
87830 * manual/stdio.texi (fopen): Fix typos in description of
87831 ",ccs=STRING".
87832
87833 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
87834
87835 [BZ #4026]
87836 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87837 get clock_id definition.
87838
87839 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
87840
87841 [BZ #4822]
87842 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87843 (madvise): Cast every argument to void on its own.
87844
87845 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87846
87847 [BZ #9902]
87848 * manual/startup.texi (Exit Status): Fix typo.
87849
87850 2012-02-17 Joseph Myers <joseph@codesourcery.com>
87851
87852 [BZ #10140]
87853 * manual/examples/argp-ex1.c: Include <stdlib.h>.
87854 * manual/examples/argp-ex2.c: Likewise.
87855 * manual/examples/argp-ex3.c: Likewise.
87856
87857 2012-02-16 Richard Henderson <rth@redhat.com>
87858
87859 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87860 * sysdeps/s390/s390-32/initfini.c: Remove.
87861 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87862 * sysdeps/s390/s390-64/initfini.c: Remove.
87863
87864 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
87865
87866 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87867 compiler output for sysdeps/generic/initfini.c.
87868 * sysdeps/sh/elf/initfini.c: Remove file.
87869
87870 2012-02-16 David S. Miller <davem@davemloft.net>
87871
87872 [BZ #11494]
87873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87874
87875 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87876 * sysdeps/sparc/crti.S: New file.
87877 * sysdeps/sparc/crtn.S: New file.
87878 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87879 * sysdeps/sparc/sparc64/Makefile: Likewise.
87880
87881 2012-02-15 Mike Frysinger <vapier@gentoo.org>
87882
87883 [BZ #3335]
87884 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87885
87886 2012-02-15 Roland McGrath <roland@hack.frob.com>
87887
87888 [BZ #4822]
87889 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87890
87891 * mach/devstream.c (cookie_io_functions_t): Macro removed.
87892 (write, read, close): Likewise.
87893 Patch by Aurelien Jarno <aurelien@aurel32.net>.
87894
87895 2012-02-15 Joseph Myers <joseph@codesourcery.com>
87896
87897 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87898 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87899 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87900 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87901 <bits/signalfd.h>.
87902 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87904 bits/signalfd.h.
87905
87906 2012-02-14 Marek Polacek <polacek@redhat.com>
87907
87908 * sysdeps/x86_64/crti.S: New file.
87909 * sysdeps/x86_64/crtn.S: New file.
87910 * sysdeps/x86_64/elf/initfini.c: Remove file.
87911
87912 2012-02-13 Joseph Myers <joseph@codesourcery.com>
87913
87914 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87915 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87916 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87917 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87918 <bits/inotify.h>.
87919 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87921 bits/inotify.h.
87922
87923 2012-02-13 Joseph Myers <joseph@codesourcery.com>
87924
87925 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87926 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87927 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87928 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87929 <bits/eventfd.h>.
87930 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87932 bits/eventfd.h.
87933
87934 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
87935
87936 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87937 __feraiseexcept instead of feraiseexcept.
87938
87939 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87940 nanosleep invocations.
87941 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87942 strings, and add error checking for a nanosleep invocations.
87943
87944 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
87945
87946 Replace FSF snail mail address with URLs, as per GNU coding standards.
87947 Most of the snail mail addresses were wrong anyway, and omitting
87948 them makes the source code easier to maintain. Almost all of the
87949 changes are to license notices and to locale LC_IDENTIFICATION
87950 addresses, except for this one:
87951 * manual/libc.texinfo: In "Published by", give the FSF's URL,
87952 not its snail mail address.
87953
87954 2012-02-09 Richard Henderson <rth@twiddle.net>
87955
87956 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87957 of kernel-features.h.
87958
87959 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87960
87961 2012-02-08 Marek Polacek <polacek@redhat.com>
87962
87963 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87964 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87965 * sysdeps/gnu/_G_config.h: Likewise.
87966 * sysdeps/generic/_G_config.h: Likewise.
87967
87968 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
87969
87970 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87971 tests.
87972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87973
87974 * sysdeps/powerpc/powerpc32/crti.S: New file.
87975 * sysdeps/powerpc/powerpc32/crtn.S: New file.
87976 * sysdeps/powerpc/powerpc64/crti.S: New file.
87977 * sysdeps/powerpc/powerpc64/crtn.S: New file.
87978
87979 * Makeconfig (have-initfini): Don't set.
87980 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87981 * configure.in (nopic_initfini): Don't substitute.
87982 * config.h.in (HAVE_INITFINI): Don't #undef.
87983 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87984 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87985
87986 2012-02-08 Joseph Myers <joseph@codesourcery.com>
87987
87988 Support crti.S and crtn.S provided directly by architectures.
87989 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87990 [crti.S in sysdirs] (omit-deps): Likewise.
87991 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87992 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87993 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87994 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87995 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87996 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87997 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87998 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87999 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88000 compiler output for sysdeps/generic/initfini.c.
88001 * sysdeps/i386/elf/Makefile: Remove file.
88002 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88003
88004 2012-02-07 Marek Polacek <polacek@redhat.com>
88005
88006 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88007 * sysdeps/gnu/_G_config.h: Likewise.
88008 * sysdeps/mach/hurd/_G_config.h: Likewise.
88009
88010 2012-02-07 Marek Polacek <polacek@redhat.com>
88011
88012 * math/Makefile (tests): Add tst-CMPLX2.
88013 * math/tst-CMPLX2.c: New file.
88014
88015 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
88016
88017 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88018
88019 * math/libm-test.inc (jn_test): Add missing L suffix.
88020
88021 2012-02-06 Marek Polacek <polacek@redhat.com>
88022
88023 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88024 * sysdeps/i386/fpu/e_powf.S: Likewise.
88025 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88026 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88027 * sysdeps/i386/fpu/e_acosh.S: Likewise.
88028 * sysdeps/i386/fpu/e_pow.S: Likewise.
88029 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88030 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88031 * sysdeps/i386/fpu/s_expm1.S: Likewise.
88032 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88033 * sysdeps/i386/fpu/e_log2.S: Likewise.
88034 * sysdeps/i386/fpu/e_log2l.S: Likewise.
88035 * sysdeps/i386/fpu/e_scalb.S: Likewise.
88036 * sysdeps/i386/fpu/e_powl.S: Likewise.
88037 * sysdeps/i386/fpu/s_log1p.S: Likewise.
88038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
88039 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88040 * sysdeps/i386/fpu/e_logl.S: Likewise.
88041 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88042 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88043 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88044 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88045 * sysdeps/i386/fpu/e_log2f.S: Likewise.
88046 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88047 * sysdeps/i386/fpu/e_log.S: Likewise.
88048 * sysdeps/i386/fpu/s_cexp.S: Likewise.
88049 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88050 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88051 * sysdeps/i386/fpu/e_logf.S: Likewise.
88052 * sysdeps/i386/fpu/e_log10l.S: Likewise.
88053 * sysdeps/i386/fpu/e_atanh.S: Likewise.
88054 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88055 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88056 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88057 * sysdeps/i386/fpu/e_log10.S: Likewise.
88058 * sysdeps/i386/fpu/s_frexp.S: Likewise.
88059 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88060 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88061 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88062 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88063 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88064 * sysdeps/i386/asm-syntax.h: Likewise.
88065 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88066 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88067 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88068 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88069 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88070 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88071 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88072 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88073 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88074 * sysdeps/powerpc/sysdep.h: Likewise.
88075 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88076 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88077
88078 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88079
88080 [BZ #411]
88081 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88082
88083 2012-02-06 Joseph Myers <joseph@codesourcery.com>
88084
88085 * sysdeps/i386/sysdep.h: Include <features.h>.
88086 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88087 version.
88088
88089 2012-02-05 Joseph Myers <joseph@codesourcery.com>
88090
88091 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88092 Define.
88093 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88094 LOAD_PIC_REG_STR.
88095
88096 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88097
88098 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88099 (SETUP_PIC_REG): Use GET_PC_THUNK.
88100 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88101 macro.
88102
88103 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88104
88105 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88106 for non-PIC compilation.
88107 (SETUP_PIC_REG): Add .p2align directive.
88108 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88109 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88110 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88111 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88112 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88113 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88114 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88116 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88117 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88118 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88119 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88120 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88121 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88122 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88123 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88124 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88125 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88126 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88127 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88130 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88131 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88132 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88133 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88134 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88135 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88136 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88137 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88138 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88139 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88140 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88141 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88142 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88143 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88144 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88145 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88146 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88147 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88148 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88149
88150 2012-02-03 Joseph Myers <joseph@codesourcery.com>
88151
88152 * math/tst-CMPLX.c: Include <stdio.h>.
88153
88154 2012-01-31 Joseph Myers <joseph@codesourcery.com>
88155
88156 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88157 float.
88158 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88159 * sysdeps/sparc/bits/mathdef.h: Likewise.
88160
88161 2012-01-31 Marek Polacek <polacek@redhat.com>
88162
88163 * libio/libio.h: Don't define _PARAMS.
88164 * locale/programs/config.h: Don't define PARAMS.
88165 * stdlib/strtol_l.c: Likewise.
88166 (__strtol_l): Remove PARAMS from the prototype.
88167
88168 2012-01-31 Ulrich Drepper <drepper@gmail.com>
88169
88170 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
88171 names. Just use the correct names. Remove unnecessary wrapper
88172 functions.
88173 * malloc/arena.c: Likewise.
88174 * malloc/hooks.c: Likewise.
88175
88176 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88177 ARENA_TEST says not to. Simplify test for creation of a new arena.
88178 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88179
88180 2012-01-30 Ulrich Drepper <drepper@gmail.com>
88181
88182 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88183 into tail calls.
88184 (update_get_addr): New function.
88185 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88186 GET_ADDR_MODULE parameter.
88187
88188 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88189
88190 * crypt/cert.c: Remove __STDC__ conditionals.
88191 * crypt/crypt-entry.c: Likewise.
88192 * crypt/crypt_util.c: Likewise.
88193 * libio/filedoalloc.c: Likewise.
88194 * libio/fileops.c: Likewise.
88195 * libio/genops.c: Likewise.
88196 * libio/iofclose.c: Likewise.
88197 * libio/iofdopen.c: Likewise.
88198 * libio/iofopen.c: Likewise.
88199 * libio/iofopen64.c: Likewise.
88200 * libio/iogetdelim.c: Likewise.
88201 * libio/iopopen.c: Likewise.
88202 * libio/obprintf.c: Likewise.
88203 * libio/oldfileops.c: Likewise.
88204 * libio/oldiofclose.c: Likewise.
88205 * libio/oldiofdopen.c: Likewise.
88206 * libio/oldiofopen.c: Likewise.
88207 * libio/oldiopopen.c: Likewise.
88208 * libio/wfiledoalloc.c: Likewise.
88209 * libio/wgenops.c: Likewise.
88210 * locale/programs/xmalloc.c: Likewise.
88211 * misc/syslog.c: Likewise.
88212 * stdio-common/xbug.c: Likewise.
88213 * string/memchr.c: Likewise.
88214 * string/memcmp.c: Likewise.
88215 * string/memrchr.c: Likewise.
88216 * string/rawmemchr.c: Likewise.
88217 * sysdeps/posix/getcwd.c: Likewise.
88218 * time/strftime_l.c: Likewise.
88219
88220 2012-01-30 Joseph Myers <joseph@codesourcery.com>
88221
88222 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88223 * config.make.in (config-cflags-sse2avx): Define.
88224 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88225 Fix typo.
88226
88227 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
88228
88229 * scripts/config.guess: Update from upstream config git repository.
88230 * scripts/config.sub: Likewise.
88231
88232 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
88233
88234 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88235 (EM_NUM): Update.
88236 (R_TILEPRO_*, R_TILEGX_*): New macros.
88237
88238 * scripts/firstversions.awk: Fix bug in version range handling.
88239
88240 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88241
88242 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88243
88244 * include/sys/epoll.h: New file.
88245 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88246 libc_hidden_def.
88247
88248 2012-01-28 Ulrich Drepper <drepper@gmail.com>
88249
88250 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88251 Avoid unnecessary __WORDSIZE == 64 test.
88252 (fmaxf): Use VEX format if possible.
88253 (fmax): Likewise.
88254 (fminf): Likewise.
88255 (fmin): Likewise.
88256
88257 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88258 * math/math_private.h: Remove libc_fegetround* and
88259 libc_fesetround*.
88260 * sysdeps/i386/configure.in: Check for -msse2avx.
88261 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88262 also if SSE2AVX is defined.
88263 Remove libc_fegetround* and libc_fesetround*.
88264 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88265 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
88266 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88267 of HAS_YMM_USABLE.
88268 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88269 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88271 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88273
88274 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88275
88276 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88277
88278 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88279 size is not set.
88280 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88281
88282 2012-01-27 Ulrich Drepper <drepper@gmail.com>
88283
88284 [BZ #13618]
88285 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88286 relocation.
88287 * Makeconfig (libm): Define.
88288 * elf/Makefile: Add rules to build and run tst-relsort1.
88289 * elf/tst-relsort1.c: New file.
88290 * elf/tst-relsort1mod1.c: New file.
88291 * elf/tst-relsort1mod2.c: New file.
88292
88293 2012-01-27 Joseph Myers <joseph@codesourcery.com>
88294
88295 * math/s_ldexp.c: Remove __STDC__ conditionals.
88296 * math/s_ldexpf.c: Likewise.
88297 * math/s_ldexpl.c: Likewise.
88298 * math/s_nextafter.c: Likewise.
88299 * math/s_nexttowardf.c: Likewise.
88300 * math/s_significand.c: Likewise.
88301 * math/s_significandf.c: Likewise.
88302 * math/s_significandl.c: Likewise.
88303 * math/w_jnl.c: Likewise.
88304 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88305 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88306 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88307 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88308 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88309 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88310 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88311 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88312 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88313 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88314 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88316 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88317 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88318 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88319 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88320 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88321 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88323 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88324 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88325 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88326 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88327 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88328 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88329 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88330 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88331 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88332 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88333 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88334 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88335 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88336 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88337 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88338 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88339 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88340 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88341 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88342 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88343 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88344 * sysdeps/ieee754/k_standard.c: Likewise.
88345 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88346 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88347 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88348 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88349 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88350 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88351 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88352 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88353 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88354 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88355 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88356 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88357 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88358 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88359 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88361 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88362 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88363 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88364 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88365 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88366 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88367 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88368 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88369 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88370 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88371 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88372 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88374 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88375 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88376 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88377 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88378 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88379 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88380 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88381 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88382 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88383 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88384 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88385 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88387 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88388 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88389 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88390 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88391 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88393 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88394 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88395 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88398 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88399 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88400 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88401 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88402 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88403 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88404 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88405 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88406 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88407 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88408 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88409 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88410 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88411 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88412 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88413 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88414 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88415 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88416 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88417 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88418 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88419 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88420 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88422 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88424 * sysdeps/ieee754/s_matherr.c: Likewise.
88425 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88426 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88429
88430 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88431
88432 * crypt/md5.h: Remove __STDC__ conditionals.
88433 * libio/libioP.h: Likewise.
88434 * locale/programs/config.h: Likewise.
88435 * sysdeps/generic/sysdep.h: Likewise.
88436 * sysdeps/i386/asm-syntax.h: Likewise.
88437 * sysdeps/s390/asm-syntax.h: Likewise.
88438 * sysdeps/unix/sysdep.h: Likewise.
88439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88441
88442 2012-01-26 Joseph Myers <joseph@codesourcery.com>
88443
88444 * libio/libio.h: Remove __STDC__ conditionals.
88445 * malloc/obstack.h: Likewise.
88446 * math/complex.h: Likewise.
88447 * math/math.h: Likewise.
88448 * sysdeps/generic/_G_config.h: Likewise.
88449 * sysdeps/gnu/_G_config.h: Likewise.
88450 * sysdeps/mach/hurd/_G_config.h: Likewise.
88451 * sysdeps/powerpc/bits/mathdef.h: Likewise.
88452 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88453 * sysdeps/sparc/bits/mathdef.h: Likewise.
88454
88455 2012-01-26 Ulrich Drepper <drepper@gmail.com>
88456
88457 [BZ #13583]
88458 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88459 Clean up HAS_* macros.
88460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88461 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88462 possible.
88463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88464 HAS_AVX.
88465 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88466 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88468 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88469 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88470
88471 2012-01-25 Joseph Myers <joseph@codesourcery.com>
88472
88473 * elf/tst-unique3.cc (gets): Remove declaration.
88474 * elf/tst-unique3lib.cc (gets): Likewise.
88475 * elf/tst-unique3lib2.cc (gets): Likewise.
88476 * elf/tst-unique4.cc (gets): Likewise.
88477
88478 2012-01-24 Ulrich Drepper <drepper@gmail.com>
88479
88480 * include/stdio.h: Add C++ protection. Add gets declarations and
88481 definitions.
88482 * debug/tst-chk1.c: Don't declare gets here.
88483 * stdio-common/tst-gets.c: Likewise.
88484
88485 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88486
88487 * posix/glob: Remove directory.
88488
88489 2012-01-24 Joseph Myers <joseph@codesourcery.com>
88490
88491 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88492
88493 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
88494
88495 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88496 of the non-standard EPFNOSUPPORT.
88497
88498 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
88499
88500 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88501 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88502 ANYWHERE set to 1 only on KERN_NO_SPACE error.
88503
88504 2012-01-21 Ulrich Drepper <drepper@gmail.com>
88505
88506 * wcsmbs/uchar.h: Test __STDC_VERSION__.
88507
88508 2012-01-20 Ulrich Drepper <drepper@gmail.com>
88509
88510 * nscd/aicache.c (addhstaiX): Do not cache negative results of
88511 transient errors.
88512 * nscd/grpcache.c (cache_addgr): Likewise.
88513 * nscd/hstcache.c (cache_addhst): Likewise.
88514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
88515 * nscd/pwdcache.c (cache_addpw): Likewise.
88516 * nscd/servicescache.c (cache_addserv): Likewise.
88517
88518 2012-01-16 Ulrich Drepper <drepper@gmail.com>
88519
88520 * malloc/malloc.c: Various cleanups.
88521 * malloc/hooks.c: Likewise.
88522
88523 * stdlib/Makefile (tests): Add bug-fmtmsg1.
88524 * stdlib/bug-fmtmsg1.c: New file.
88525
88526 * stdlib/fmtmsg.c (init): Add missing unlock.
88527 Patch by Peng Haitao <penght@cn.fujitsu.com>.
88528
88529 2012-01-12 Marek Polacek <polacek@redhat.com>
88530
88531 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88532 and _GNU_SOURCE.
88533
88534 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
88535
88536 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88537 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88538 macro to ensure uniqueness of label name.
88539 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88540 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88541
88542 2012-01-11 Ulrich Drepper <drepper@gmail.com>
88543
88544 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88545
88546 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88547 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88548 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88550
88551 2012-01-10 Ulrich Drepper <drepper@gmail.com>
88552
88553 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88554
88555 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88556 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88557 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88558
88559 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88560
88561 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88562 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88563 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88565
88566 * math/bits/math-finite.h: Add ldexp support.
88567
88568 2012-01-10 Marek Polacek <polacek@redhat.com>
88569
88570 * locale/programs/localedef.h (show_archive_content): Add noreturn
88571 attribute.
88572
88573 2012-01-09 Ulrich Drepper <drepper@gmail.com>
88574
88575 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88576
88577 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88578
88579 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88580
88581 * io/Makefile (headers): Add bits/poll2.h.
88582
88583 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
88584
88585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88586 typo #include statement.
88587
88588 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88589
88590 * include/sys/cdefs.h: Define __attribute_alloc_size.
88591 * catgets/gencat.c: Add alloc_size attribute and apply consistently
88592 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88593 * elf/pldd.c: Likewise.
88594 * iconv/iconv_charmap.c: Likewise.
88595 * iconv/iconvconfig.c: Likewise.
88596 * iconv/strtab.c: Likewise.
88597 * locale/programs/locale.c: Likewise.
88598 * locale/programs/localedef.h: Likewise.
88599 * locale/programs/simple-hash.c: Likewise.
88600 * nscd/nscd.h: Likewise.
88601 * nss/makedb.c: Likewise.
88602 * sysdeps/generic/ldconfig.h: Likewise.
88603 * locale/programs/localedef.c: Remove xmalloc prototype.
88604 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88605
88606 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
88607
88608 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88609 appropriate.
88610
88611 2012-01-08 Ulrich Drepper <drepper@gmail.com>
88612
88613 * math/Makefile (tests): Add tst-CMPLX.
88614 * math/tst-CMPLX.c: New file.
88615
88616 * math/complex.h (CMPLXL): Fix typo.
88617
88618 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88619 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88620 GLIBC_2.16.
88621 * debug/tst-chk1.c: Add poll and ppoll tests.
88622 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88623 * include/sys/poll.h: Add hidden proto for ppoll.
88624 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88625 * sysdeps/mach/hurd/ppoll.c: Likewise.
88626 * io/ppoll.c: Likewise.
88627 * debug/poll_chk.c: New file.
88628 * debug/ppoll_chk.c: New file.
88629 * include/bits/poll2.h: New file.
88630 * io/bits/poll2.h: New file.
88631
88632 [BZ #1350]
88633 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88634
88635 * configure.in: static is always set to yes. Remove.
88636 * config.make.in: Don't set build-static.
88637 * Makeconfig: Remove use of build-static.
88638 * dlfcn/Makefile: Likewise.
88639 * elf/Makefile: Likewise.
88640 * math/Makefile: Likewise.
88641 * misc/Makefile: Likewise.
88642 * nptl/Makefile: Likewise.
88643 * sysdeps/mach/hurd/Makefile: Likewise.
88644
88645 * configure.in: PWD_P is not used anymore.
88646 * config.make.in: Remove PWD_P entry.
88647
88648 * configure.in: Remove last remnants of RANLIB.
88649 No need to check for signed size_t anymore.
88650 Don't set libc_commonpagesize and libc_relro_required here for Alpha
88651 and IA-64.
88652 Remove __builtin_expect test because we require at least gcc 3.4.
88653 * aclocal.m4: Likewise.
88654
88655 * wcsmbs/mbrtoc16.c: Implement using towc function.
88656 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88657 * wcsmbs/wcsmbsload.c: Likewise.
88658 * iconv/gconv_simple.c: Likewise.
88659 * iconv/gconv_int.h: Likewise.
88660 * iconv/gconv_builtin.h: Likewise.
88661 * iconv/iconv_prog.c: Remove CHAR16 handling.
88662
88663 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
88664
88665 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
88666
88667 * configure.in: Remove --with-elf and --enable-bounded options.
88668 Dont set base_machine for ia64. More non-ELF conditions removed.
88669 Remove testing and setting of leading underscore information.
88670 * config.make.in (build-bounded): Set to no.
88671 * config.h.in: Remove NO_UNDERSCORES entry.
88672 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
88673 them.
88674 * csu/start.c: Remove !NO_UNDERSCORE code.
88675 * locale/localeinfo.h: Likewise.
88676 * sysdeps/generic/machine-gmon.h: Likewise.
88677 * sysdeps/generic/sysdep.h: Likewise.
88678 * sysdeps/i386/sysdep.h: Likewise.
88679 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88680 * sysdeps/mach/sysdep.h: Likewise.
88681 * sysdeps/s390/s390-32/sysdep.h: Likewise.
88682 * sysdeps/s390/s390-64/sysdep.h: Likewise.
88683 * sysdeps/sh/sysdep.h: Likewise.
88684 * sysdeps/sparc/sparc32/alloca.S: Likewise.
88685 * sysdeps/unix/i386/sysdep.S: Likewise.
88686 * sysdeps/unix/sparc/start.c: Likewise.
88687 * sysdeps/unix/sparc/sysdep.S: Likewise.
88688 * sysdeps/unix/sparc/sysdep.h: Likewise.
88689 * sysdeps/unix/start.c: Likewise.
88690 * sysdeps/unix/x86_64/sysdep.S: Likewise.
88691 * sysdeps/x86_64/sysdep.h: Likewise.
88692
88693 2012-01-07 Ulrich Drepper <drepper@gmail.com>
88694
88695 [BZ #13553]
88696 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
88697 for non-gcc.
88698 * argp/argp-fmtstream.h: Use const instead __const.
88699 * argp/argp.h: Likewise.
88700 * assert/assert.h: Likewise.
88701 * bits/fenv.h: Likewise.
88702 * bits/sched.h: Likewise.
88703 * bits/sigset.h: Likewise.
88704 * bits/sigthread.h: Likewise.
88705 * catgets/nl_types.h: Likewise.
88706 * conform/data/pthread.h-data: Likewise.
88707 * crypt/crypt-private.h: Likewise.
88708 * crypt/crypt.h: Likewise.
88709 * crypt/crypt_util.c: Likewise.
88710 * ctype/ctype.h: Likewise.
88711 * debug/execinfo.h: Likewise.
88712 * debug/mbsnrtowcs_chk.c: Likewise.
88713 * debug/mbsrtowcs_chk.c: Likewise.
88714 * debug/wcsnrtombs_chk.c: Likewise.
88715 * debug/wcsrtombs_chk.c: Likewise.
88716 * debug/wcstombs_chk.c: Likewise.
88717 * dirent/dirent.h: Likewise.
88718 * dlfcn/dlfcn.h: Likewise.
88719 * elf/neededtest4.c: Likewise.
88720 * grp/grp.h: Likewise.
88721 * gshadow/gshadow.h: Likewise.
88722 * iconv/gconv.h: Likewise.
88723 * iconv/gconv_int.h: Likewise.
88724 * iconv/gconv_simple.c: Likewise.
88725 * iconv/iconv.h: Likewise.
88726 * iconv/loop.c: Likewise.
88727 * iconv/skeleton.c: Likewise.
88728 * include/aio.h: Likewise.
88729 * include/aliases.h: Likewise.
88730 * include/argz.h: Likewise.
88731 * include/arpa/inet.h: Likewise.
88732 * include/assert.h: Likewise.
88733 * include/dirent.h: Likewise.
88734 * include/dlfcn.h: Likewise.
88735 * include/execinfo.h: Likewise.
88736 * include/fcntl.h: Likewise.
88737 * include/fenv.h: Likewise.
88738 * include/glob.h: Likewise.
88739 * include/grp.h: Likewise.
88740 * include/libintl.h: Likewise.
88741 * include/mntent.h: Likewise.
88742 * include/netdb.h: Likewise.
88743 * include/pwd.h: Likewise.
88744 * include/rpc/netdb.h: Likewise.
88745 * include/sched.h: Likewise.
88746 * include/search.h: Likewise.
88747 * include/shadow.h: Likewise.
88748 * include/signal.h: Likewise.
88749 * include/stdio.h: Likewise.
88750 * include/stdlib.h: Likewise.
88751 * include/string.h: Likewise.
88752 * include/sys/socket.h: Likewise.
88753 * include/sys/stat.h: Likewise.
88754 * include/sys/statfs.h: Likewise.
88755 * include/sys/statvfs.h: Likewise.
88756 * include/sys/syslog.h: Likewise.
88757 * include/sys/time.h: Likewise.
88758 * include/sys/uio.h: Likewise.
88759 * include/time.h: Likewise.
88760 * include/unistd.h: Likewise.
88761 * include/utmp.h: Likewise.
88762 * include/wchar.h: Likewise.
88763 * include/wctype.h: Likewise.
88764 * inet/aliases.h: Likewise.
88765 * inet/arpa/inet.h: Likewise.
88766 * inet/netinet/ether.h: Likewise.
88767 * inet/netinet/in.h: Likewise.
88768 * intl/libintl.h: Likewise.
88769 * io/bits/fcntl2.h: Likewise.
88770 * io/fcntl.h: Likewise.
88771 * io/ftw.h: Likewise.
88772 * io/sys/poll.h: Likewise.
88773 * io/sys/stat.h: Likewise.
88774 * io/sys/statfs.h: Likewise.
88775 * io/sys/statvfs.h: Likewise.
88776 * io/utime.h: Likewise.
88777 * libio/bits/stdio.h: Likewise.
88778 * libio/bits/stdio2.h: Likewise.
88779 * libio/libio.h: Likewise.
88780 * libio/libioP.h: Likewise.
88781 * libio/stdio.h: Likewise.
88782 * locale/lc-ctype.c: Likewise.
88783 * locale/locale.h: Likewise.
88784 * login/utmp.h: Likewise.
88785 * malloc/arena.c: Likewise.
88786 * malloc/malloc.c: Likewise.
88787 * malloc/malloc.h: Likewise.
88788 * malloc/mcheck.c: Likewise.
88789 * malloc/mtrace.c: Likewise.
88790 * math/bits/mathcalls.h: Likewise.
88791 * math/fenv.h: Likewise.
88792 * math/math_private.h: Likewise.
88793 * misc/bits/error.h: Likewise.
88794 * misc/bits/syslog.h: Likewise.
88795 * misc/err.h: Likewise.
88796 * misc/error.h: Likewise.
88797 * misc/fstab.h: Likewise.
88798 * misc/mntent.h: Likewise.
88799 * misc/regexp.h: Likewise.
88800 * misc/search.h: Likewise.
88801 * misc/sgtty.h: Likewise.
88802 * misc/sys/mman.h: Likewise.
88803 * misc/sys/syslog.h: Likewise.
88804 * misc/sys/uio.h: Likewise.
88805 * misc/sys/xattr.h: Likewise.
88806 * misc/ttyent.h: Likewise.
88807 * nis/rpcsvc/ypclnt.h: Likewise.
88808 * nss/nss.h: Likewise.
88809 * posix/bits/unistd.h: Likewise.
88810 * posix/fnmatch.h: Likewise.
88811 * posix/glob.h: Likewise.
88812 * posix/sched.h: Likewise.
88813 * posix/spawn.h: Likewise.
88814 * posix/sys/wait.h: Likewise.
88815 * posix/unistd.h: Likewise.
88816 * posix/wordexp.h: Likewise.
88817 * pwd/pwd.h: Likewise.
88818 * resolv/netdb.h: Likewise.
88819 * resource/sys/resource.h: Likewise.
88820 * rt/aio.h: Likewise.
88821 * rt/bits/mqueue2.h: Likewise.
88822 * rt/mqueue.h: Likewise.
88823 * shadow/shadow.h: Likewise.
88824 * signal/signal.h: Likewise.
88825 * socket/send.c: Likewise.
88826 * socket/sendto.c: Likewise.
88827 * socket/sys/socket.h: Likewise.
88828 * stdio-common/printf.h: Likewise.
88829 * stdlib/bits/stdlib.h: Likewise.
88830 * stdlib/fmtmsg.h: Likewise.
88831 * stdlib/monetary.h: Likewise.
88832 * stdlib/stdlib.h: Likewise.
88833 * stdlib/ucontext.h: Likewise.
88834 * streams/stropts.h: Likewise.
88835 * string/argz.h: Likewise.
88836 * string/bits/string2.h: Likewise.
88837 * string/string.h: Likewise.
88838 * string/strings.h: Likewise.
88839 * sunrpc/rpc/auth.h: Likewise.
88840 * sunrpc/rpc/auth_des.h: Likewise.
88841 * sunrpc/rpc/clnt.h: Likewise.
88842 * sunrpc/rpc/netdb.h: Likewise.
88843 * sunrpc/rpc/pmap_clnt.h: Likewise.
88844 * sunrpc/rpc/xdr.h: Likewise.
88845 * sysdeps/generic/inttypes.h: Likewise.
88846 * sysdeps/generic/net/if.h: Likewise.
88847 * sysdeps/generic/sys/swap.h: Likewise.
88848 * sysdeps/gnu/net/if.h: Likewise.
88849 * sysdeps/gnu/utmpx.h: Likewise.
88850 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88851 * sysdeps/i386/i486/bits/string.h: Likewise.
88852 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88853 * sysdeps/s390/bits/string.h: Likewise.
88854 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88855 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88856 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88857 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88858 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88859 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88860 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88861 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88862 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88863 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88864 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88865 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88866 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88867 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88868 * sysdeps/unix/sysv/linux/readv.c: Likewise.
88869 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88870 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88872 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88873 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88874 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88875 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88876 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88877 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88878 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88879 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88880 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88881 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88882 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88883 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88884 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88885 * sysvipc/sys/ipc.h: Likewise.
88886 * sysvipc/sys/msg.h: Likewise.
88887 * sysvipc/sys/sem.h: Likewise.
88888 * sysvipc/sys/shm.h: Likewise.
88889 * termios/termios.h: Likewise.
88890 * time/sys/time.h: Likewise.
88891 * time/time.h: Likewise.
88892 * wcsmbs/bits/wchar2.h: Likewise.
88893 * wcsmbs/uchar.h: Likewise.
88894 * wcsmbs/wchar.h: Likewise.
88895 * wctype/wctype.h: Likewise.
88896
88897 [BZ #13551]
88898 * Makeconfig: Remove all but ELF support including AIX support.
88899 * Makerules: Likewise.
88900 * config.h.in: Likewise.
88901 * config.make.in: Likewise.
88902 * configure: Likewise.
88903 * configure.in: Likewise.
88904 * csu/Makefile: Likewise.
88905 * csu/version.c: Likewise.
88906 * debug/Makefile: Likewise.
88907 * dlfcn/Makefile: Likewise.
88908 * elf/Makefile: Likewise.
88909 * extra-lib.mk: Likewise.
88910 * iconv/Makefile: Likewise.
88911 * include/libc-symbols.h: Likewise.
88912 * include/shlib-compat.h: Likewise.
88913 * resolv/Makefile: Likewise.
88914 * resolv/res_libc.c: Likewise.
88915 * rt/Makefile: Likewise.
88916 * sysdeps/i386/asm-syntax.h: Likewise.
88917 * sysdeps/i386/sysdep.h: Likewise.
88918 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88919 * sysdeps/mach/sysdep.h: Likewise.
88920 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88921 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88922 * sysdeps/s390/asm-syntax.h: Likewise.
88923 * sysdeps/s390/s390-32/sysdep.h: Likewise.
88924 * sysdeps/s390/s390-64/sysdep.h: Likewise.
88925 * sysdeps/sh/sysdep.h: Likewise.
88926 * sysdeps/unix/sparc/sysdep.h: Likewise.
88927 * sysdeps/wordsize-32/divdi3.c: Likewise.
88928 * sysdeps/x86_64/sysdep.h: Likewise.
88929
88930 * argp/Versions: Remove _argp_unlock_xxx.
88931
88932 [BZ #13559]
88933 * abilist/ld.abilist: Update. Adjust for removal of tls option.
88934 * abilist/libBrokenLocale.abilist: Likewise.
88935 * abilist/libanl.abilist: Likewise.
88936 * abilist/libc.abilist: Likewise.
88937 * abilist/libcrypt.abilist: Likewise.
88938 * abilist/libdl.abilist: Likewise.
88939 * abilist/libm.abilist: Likewise.
88940 * abilist/libnsl.abilist: Likewise.
88941 * abilist/libpthread.abilist: Likewise.
88942 * abilist/libresolv.abilist: Likewise.
88943 * abilist/librt.abilist: Likewise.
88944 * abilist/libthread_db.abilist: Likewise.
88945 * abilist/libutil.abilist: Likewise.
88946 * abilist/libnss_db.abilist: New file.
88947
88948 * scripts/abilist.awk: Add support for indirect functions.
88949
88950 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88951
88952 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88953
88954 * shlib-versions: Remove entries for ports architectures.
88955
88956 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
88957 files in ports.
88958 * elf/stackguard-macros.h: Remove support for IA-64.
88959 * elf/tst-auditmod1.c: Likewise.
88960 * sysdeps/generic/ldsodefs.h: Likewise.
88961
88962 * sysdeps/unix/sysv/linux/configure.in: Ports should define
88963 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88964 configure files.
88965
88966 [BZ #13552]
88967 * configure.in: Remove --enable-omitfp support.
88968 * FAQ.in: Adjust.
88969 * config.make.in: Likewise.
88970 * Makeconfig: Likewise.
88971 * manual/install.texi: Likewise.
88972
88973 In case anyone cares, the IA-64 architecture could move to ports.
88974 * sysdeps/ia64/*: Removed.
88975 * sysdeps/unix/sysv/linux/ia64/*: Removed.
88976 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88977
88978 [BZ #13555]
88979 * configure.in: Remove entries for unsupported architectures.
88980
88981 [BZ #13533]
88982 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88983 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
88984 routines.
88985 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88986 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88987 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
88988 fall back to using wcrtomb.
88989 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88990 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
88991 renaming.
88992 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88993 * wcsmbs/tst-c16c32-1.c: New file.
88994
88995 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88996 local variable.
88997
88998 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88999
89000 * elf/tst-unique3.cc: Add explicit declaration of gets.
89001 * elf/tst-unique3lib.cc: Likewise.
89002 * elf/tst-unique3lib2.cc: Likewise.
89003 * elf/tst-unique4.cc: Likewise.
89004
89005 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89006
89007 2012-01-06 Joseph Myers <joseph@codesourcery.com>
89008
89009 [BZ #13566]
89010 * assert/assert.h (static_assert): Don't define for C++.
89011 * libio/stdio.h (gets): Do declare for C++ <= C++11.
89012 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89013
89014 2012-01-03 Ulrich Drepper <drepper@gmail.com>
89015
89016 * iconv/loop.c (single loop): Fix assertion in storing of
89017 remaining bytes.
89018
89019 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89020
89021 2012-01-01 Ulrich Drepper <drepper@gmail.com>
89022
89023 * posix/getconf.c: Update copyright year.
89024 * nss/getent.c: Likewise.
89025 * nss/makedb.c: Likewise.
89026 * iconv/iconvconfig.c: Likewise.
89027 * iconv/iconv_prog.c: Likewise.
89028 * elf/ldconfig.c: Likewise.
89029 * elf/pldd.c: Likewise.
89030 * elf/sotruss.ksh: Likewise.
89031 * catgets/gencat.c: Likewise.
89032 * csu/version.c: Likewise.
89033 * elf/ldd.bash.in: Likewise.
89034 * elf/sprof.c (print_version): Likewise.
89035 * locale/programs/locale.c: Likewise.
89036 * locale/programs/localedef.c: Likewise.
89037 * login/programs/pt_chown.c: Likewise.
89038 * nscd/nscd.c (print_version): Likewise.
89039 * debug/xtrace.sh: Likewise.
89040 * malloc/memusage.sh: Likewise.
89041 * malloc/mtrace.pl: Likewise.
89042 * debug/catchsegv.sh: Likewise.
89043
89044 2011-12-30 Jakub Jelinek <jakub@redhat.com>
89045
89046 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89047 pure attribute.
89048
89049 2011-12-24 Ulrich Drepper <drepper@gmail.com>
89050
89051 [BZ #13533]
89052 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89053 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89054 transformations.
89055 * iconv/gconv_int.h: Likewise.
89056 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89057 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89058 from libc for GLIBC_2.16.
89059 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89060 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89061 * wcsmbs/uchar.h: Really define mbstate_t.
89062 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89063 * wcsmbs/c16rtomb.c: New file.
89064 * wcsmbs/mbrtoc16.c: New file.
89065 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89066 for C/POSIX locale.
89067 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89068 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89069
89070 * wcsmbs/wchar.h: Add missing __restrict.
89071
89072 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89073
89074 [BZ #13532]
89075 * time/Makefile (routines): Add timespec_get.
89076 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89077 * time/time.h: Define TIME_UTC and declare timespec_get. Define
89078 timespec for ISO C11.
89079 * time/timespec_get.c: New file.
89080 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89081 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89082
89083 [BZ #13531]
89084 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89085 * stdlib/stdlib.h: Declare aligned_alloc.
89086 * Versions.def: Add GLIBC_2.16 for libc.
89087 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89088
89089 [BZ 13527]
89090 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89091 ISO C11.
89092
89093 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89094 code.
89095
89096 [BZ #13528]
89097 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89098
89099 [BZ #13529]
89100 * assert/assert.h (static_assert): Define.
89101
89102 * version.h: Update for 2.16 development version.
89103
89104 [BZ #13526]
89105 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89106 _ISOC11_SOURCE.
89107
89108 * version.h (RELEASE): Bump for 2.15 release.
89109 * include/features.h (__GLIBC_MINOR__): Bump to 15.
89110
89111 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89112 Patch by Marek Polacek <mpolacek@redhat.com>.
89113
89114 * bits/byteswap.h: Protect long long constants with __extension__.
89115 * sysdeps/i386/bits/byteswap.h: Likewise.
89116 * sysdeps/ia64/bits/byteswap.h: Likewise.
89117 * sysdeps/s390/bits/byteswap.h: Likewise.
89118 * sysdeps/x86_64/bits/byteswap.h: Likewise.
89119
89120 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89121
89122 [BZ #13540]
89123 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89124 destination buffer.
89125 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89126
89127 2011-12-23 Marek Polacek <polacek@redhat.com>
89128
89129 * elf/dl-addr.c (determine_info): Add inline keyword.
89130 * elf/tst-auditmod4b.c (check_avx): Likewise.
89131 * elf/tst-auditmod6b.c (check_avx): Likewise.
89132 * elf/tst-auditmod6c.c (check_avx): Likewise.
89133 * elf/tst-auditmod7b.c (check_avx): Likewise.
89134
89135 2011-12-23 Ulrich Drepper <drepper@gmail.com>
89136
89137 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89138 !__SSE_MATH__.
89139
89140 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89141
89142 [BZ #13540]
89143 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89144 processing for last bytes.
89145
89146 2011-08-06 Bruno Haible <bruno@clisp.org>
89147
89148 [BZ #13061]
89149 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89150 U+0385, not to U+1FEE.
89151
89152 [BZ #13062]
89153 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89154 entry for U+00A5 U+0301.
89155
89156 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89157
89158 [BZ #13166]
89159 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89160 buffer for the output is too small.
89161
89162 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89163 optimization.
89164
89165 [BZ #13185]
89166 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89167 SSE flags if possible.
89168
89169 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89170
89171 [BZ #13540]
89172 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89173 processing for last bytes.
89174
89175 2011-12-22 Joseph Myers <joseph@codesourcery.com>
89176
89177 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89178 (syscall-list-default-options, syscall-list-default-condition)
89179 (syscall-list-includes): Define.
89180 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89181 list of ABIs and options and #if conditions for each ABI. Do not
89182 handle common syscalls between ABIs specially.
89183 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89184 Remove.
89185 (syscall-list-variants, syscall-list-32bit-options)
89186 (syscall-list-32bit-condition, syscall-list-64bit-options)
89187 (syscall-list-64bit-condition): Define.
89188 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89189 (syscall-list-variants, syscall-list-32bit-options)
89190 (syscall-list-32bit-condition, syscall-list-64bit-options)
89191 (syscall-list-64bit-condition): Define.
89192 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89193 Remove.
89194 (syscall-list-variants, syscall-list-32bit-options)
89195 (syscall-list-32bit-condition, syscall-list-64bit-options)
89196 (syscall-list-64bit-condition): Define.
89197 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89198 Remove.
89199 (syscall-list-variants, syscall-list-32bit-options)
89200 (syscall-list-32bit-condition, syscall-list-64bit-options)
89201 (syscall-list-64bit-condition): Define.
89202
89203 2011-12-22 Ulrich Drepper <drepper@gmail.com>
89204
89205 * locale/iso-639.def: Add brx entry.
89206
89207 [BZ #13328]
89208 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89209 Proposed by Mariusz_Cukr <marcukr@op.pl>.
89210
89211 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89212 __feraiseexcept_renamed.
89213
89214 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89215
89216 [BZ #13538]
89217 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89218 EPOLLET with unsigned values.
89219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89220 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89221
89222 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89223 to large cancellation.
89224 * math/s_cacoshf.c: Likewise.
89225 * math/s_cacoshl.c: Likewise.
89226
89227 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
89228
89229 [BZ #13305]
89230 [BZ #12786]
89231 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89232 * math/s_cacoshf.c: Likewise.
89233 * math/s_cacoshl.c: Likewise.
89234
89235 2011-12-21 Ulrich Drepper <drepper@gmail.com>
89236
89237 [BZ #13439]
89238 * iconv/gconv.h: Define __GCONV_SWAP.
89239 * iconvdata/unicode.c: The swap bit must be stored in __flags.
89240 * iconvdata/utf-16.c: Likewise.
89241 * iconvdata/utf-32.c: Likewise.
89242
89243 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
89244
89245 [BZ #13524]
89246 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89247 numerator after shifting it by one limb.
89248
89249 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
89250
89251 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89252 under [__USE_EXTERN_INLINES].
89253
89254 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89255
89256 [BZ #13446]
89257 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89258
89259 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89260
89261 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89262 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89263 optimized code.
89264 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89265 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89266 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89267 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89268 for strncasecmp/strncasecmp_l compilation.
89269 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89270 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89271
89272 2011-12-08 Marek Polacek <mpolacek@redhat.com>
89273
89274 [BZ #13484]
89275 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89276 of __asm__.
89277
89278 2011-12-17 Ulrich Drepper <drepper@gmail.com>
89279
89280 [BZ #13506]
89281 * time/tzfile.c (__tzfile_read): Check values from file header.
89282
89283 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
89284
89285 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89286 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89287 * powerpc/powerpc32/dl-start.S: Likewise.
89288 * powerpc/powerpc32/elf/start.S: Likewise.
89289 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89290 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89291 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89292 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89293 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89294 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89295 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89296 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89297 * powerpc/powerpc32/fpu/s_round.S: Likewise.
89298 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89299 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89300 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89301 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89302 * powerpc/powerpc32/memset.S: Likewise.
89303 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89304 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89305 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89306 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89307 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89308 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89309 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89310 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89311 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89312 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89313 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89314 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89315 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89316
89317 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89318
89319 * math/libm-test.inc: Added more nearbyint tests.
89320 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89323 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89324
89325 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
89326
89327 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89328 FD_CLOEXEC.
89329
89330 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89331
89332 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89333 Add wcscpy-ssse3 wcscpy-c.
89334 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89335 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89336 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89337 * sysdeps/x86_64/wcschr.S: New file.
89338 * sysdeps/x86_64/wcsrchr.S: New file.
89339 * string/test-strcmp.c: Remove checking of wcscmp function for
89340 wrong alignments.
89341 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89342 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89343 wcsrchr-sse2 wcsrchr-c.
89344 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89345 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89346 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89347 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89348 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89349 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89350 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89351 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89352 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89353 * wcsmbc/wcschr.c (WCSCHR): New macro.
89354
89355 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
89356
89357 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89358 * wcsmbs/test-wcsrchr.c: New file.
89359 * string/test-strrchr.c: Add wcsrchr support.
89360 (WIDE): New macro.
89361 * wcsmbs/test-wcscpy.c: New file.
89362 * string/test-strcpy.c: Add wcscpy support.
89363 (WIDE): New macro.
89364
89365 2011-12-10 Ulrich Drepper <drepper@gmail.com>
89366
89367 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89368 the inner loop.
89369
89370 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
89371
89372 [BZ #13472]
89373 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89374
89375 2011-12-04 Ulrich Drepper <drepper@gmail.com>
89376
89377 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89378 Minor optimizations.
89379
89380 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89381 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89382 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89383
89384 2011-12-03 Ulrich Drepper <drepper@gmail.com>
89385
89386 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89387 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89388 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89389 for gcc to avoid warnings.
89390 * inet/Makefile (tests): Add tst-checks.
89391 * inet/tst-checks.c: New file.
89392
89393 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89394 warning.
89395
89396 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89397 __wmemcmp_sse2.
89398
89399 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89400 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89401
89402 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89403
89404 2011-12-02 Ulrich Drepper <drepper@gmail.com>
89405
89406 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89407 problem.
89408
89409 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89410
89411 2011-11-29 Joseph Myers <joseph@codesourcery.com>
89412
89413 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89414 conditional on GCC version.
89415 (__arch_compare_and_exchange_val_8_acq)
89416 (__arch_compare_and_exchange_val_16_acq)
89417 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89418 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89419 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89420
89421 2011-12-02 Joseph Myers <joseph@codesourcery.com>
89422
89423 * sysdeps/sh/backtrace.c: New file.
89424
89425 2011-12-02 Andreas Schwab <schwab@redhat.com>
89426
89427 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
89428 parenthesis.
89429
89430 2011-12-01 Andreas Schwab <schwab@redhat.com>
89431
89432 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89433 falling back to utime.
89434
89435 2011-11-30 Andreas Schwab <schwab@redhat.com>
89436
89437 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89438 expectations for float.
89439
89440 2011-11-29 Andreas Schwab <schwab@redhat.com>
89441
89442 * locale/weight.h (findidx): Add parameter len.
89443 * locale/weightwc.h (findidx): Likewise.
89444 * posix/fnmatch_loop.c (FCT): Adjust caller.
89445 * posix/regcomp.c (build_equiv_class): Likewise.
89446 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89447 * posix/regexec.c (check_node_accept_bytes): Likewise.
89448 * string/strcoll_l.c (STRCOLL): Likewise.
89449 * string/strxfrm_l.c (STRXFRM): Likewise.
89450
89451 2011-11-17 Ulrich Drepper <drepper@gmail.com>
89452
89453 * Makefile.in: Remove CVSOPT handling.
89454 * configure.in: Remove use of AC_REVISION.
89455 * iconvdata/Makefile (distribute): No need to filter out CVS.
89456 * scripts/list-sources.sh: Remove CVS, subversion and monotone
89457 handling.
89458
89459 2011-11-16 Andreas Schwab <schwab@redhat.com>
89460
89461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89462 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89463 [USE_AS_STRNCASECMP_L]: Likewise.
89464 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89465 NO_TLS_DIRECT_SEG_REFS.
89466 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89467 Fix argument offsets for non-PIC.
89468 [USE_AS_STRNCASECMP_L]: Likewise.
89469 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89470 NO_TLS_DIRECT_SEG_REFS.
89471
89472 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89473
89474 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89475 O_CLOEXEC.
89476 * locale/loadlocale.c (_nl_load_locale): Likewise.
89477
89478 2011-11-15 Andreas Schwab <schwab@redhat.com>
89479
89480 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89481 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89482 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89483 (SYSCALL_GETTIME): Set errno on error.
89484
89485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89486 count references to noai6ai_cached.
89487
89488 2011-11-15 Ulrich Drepper <drepper@gmail.com>
89489
89490 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89491
89492 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89493 FD_CLOEXEC for /proc/self/maps.
89494
89495 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89496 FD_CLOEXEC for /proc/meminfo.
89497
89498 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89499 gai.conf.
89500
89501 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
89502 FD_CLOEXEC for given file.
89503
89504 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89505
89506 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89507 FD_CLOEXEC for /etc/hosts.
89508 (_gethtent): Likewise.
89509
89510 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89511
89512 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89513 cancellation and set FD_CLOEXEC for /etc/netgroup.
89514
89515 * nss/nss_files/files-key.c (search): Don't allow cancellation when
89516 reading /etc/publickey.
89517
89518 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89519 allow cancellation when reading /etc/group.
89520
89521 * nss/nss_files/files-alias.c (internal_setent): Don't allow
89522 cancellation.
89523 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
89524
89525 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89526 when using data file.
89527
89528 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89529
89530 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89531 (write_nis_obj): Use "c" and "e" in fopen.
89532
89533 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89534
89535 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89536
89537 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89538
89539 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89540
89541 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89542 locale.alias.
89543
89544 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89545
89546 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89547
89548 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89549
89550 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89551 file parsing and set FD_CLOEXEC.
89552
89553 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89554
89555 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89556
89557 2011-11-14 Andreas Schwab <schwab@redhat.com>
89558
89559 * malloc/arena.c (arena_get2): Don't call reused_arena when
89560 _int_new_arena failed.
89561
89562 2011-11-14 Ulrich Drepper <drepper@gmail.com>
89563
89564 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89565 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89566 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89567 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89568 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89569 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89570 to compile strcasecmp and strncasecmp.
89571 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89572 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89573
89574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89575
89576 2011-11-13 Ulrich Drepper <drepper@gmail.com>
89577
89578 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89579 locale-defines.sym to gen-as-const-headers.
89580 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89581 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89583 to compile strcasecmp and strncasecmp.
89584 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89585 strcasecmp_l and strncasecmp_l.
89586 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89587 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89588 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89589 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89590 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89591 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89592 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89593 * sysdeps/i386/i686/multiarch/strncase.S: New file.
89594 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89595 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89596 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89597
89598 2011-11-12 Ulrich Drepper <drepper@gmail.com>
89599
89600 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89601 result of SYSDEP_GETTIME_CPU to retval.
89602 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89603 parameter list to macro. Remove trailing semicolon. Adjust users.
89604
89605 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89606 variable.
89607
89608 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89609 mantissa words.
89610 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89611
89612 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89613 from unused variable.
89614
89615 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89616 DWARF definitions.
89617 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89618 for assembling.
89619
89620 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89621 over namespaces.
89622
89623 * sunrpc/rpc_prot.c (rejected): Fix case value.
89624
89625 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89626 unsigned long long int to avoid warnings in shift.
89627
89628 * posix/regex_internal.c (re_string_reconstruct): Actually use result
89629 of use of trans.
89630 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89631 variable tmp.
89632
89633 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89634 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89635 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89636
89637 * nis/nis_table.c (nis_list): Use variable of correct type for
89638 result of __follow_path call.
89639
89640 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89641
89642 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89643 of math functions ceil, trunc, floor, round, and sqrt, when
89644 avaliable on the platform.
89645 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89646 name clash.
89647 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89648 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89649 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89650
89651 2011-10-30 Marek Polacek <mpolacek@redhat.com>
89652
89653 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89654 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89655
89656 2011-11-11 Roland McGrath <roland@hack.frob.com>
89657
89658 * include/unistd.h: Fix __readlink return type.
89659 Reported by Chris Metcalf <cmetcalf@tilera.com>.
89660
89661 2011-11-11 Ulrich Drepper <drepper@gmail.com>
89662
89663 * stdlib/ucontext.h: Undo last change for makecontext.
89664
89665 2011-11-11 Andreas Schwab <schwab@redhat.com>
89666
89667 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
89668
89669 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
89670 * setjmp/setjmp.h: Mark functions as non-leaf.
89671 * setjmp/bits/setjmp2.h: Likewise.
89672 * stdlib/ucontext.h: Likewise.
89673
89674 2011-11-10 Andreas Schwab <schwab@redhat.com>
89675
89676 * malloc/arena.c (_int_new_arena): Don't increment narenas.
89677 (reused_arena): Don't check arena limit.
89678 (arena_get2): Atomically check arena limit.
89679
89680 2011-11-08 Ulrich Drepper <drepper@gmail.com>
89681
89682 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
89683 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
89684
89685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
89686 instructions.
89687
89688 2011-11-07 Andreas Schwab <schwab@redhat.com>
89689
89690 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
89691 handler when locking.
89692
89693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89694 Fix size of allocated buffer.
89695
89696 2011-11-04 Andreas Schwab <schwab@redhat.com>
89697
89698 [BZ #10103]
89699 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
89700 declarations for long double functions.
89701 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
89702
89703 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
89704
89705 2011-11-03 Andreas Schwab <schwab@redhat.com>
89706
89707 * nscd/nscd.c (main): Don't start AVC thread until credentials are
89708 installed.
89709
89710 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
89711 is disabled.
89712
89713 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
89714
89715 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
89716
89717 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
89718
89719 * include/alloca.h (stackinfo_alloca_round): Define.
89720 (extend_alloca): Use it.
89721 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
89722 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
89723 here.
89724
89725 * scripts/check-local-headers.sh: Ignore libaudit.h.
89726
89727 * nscd/Makefile (extra-objs): Make recursively expanded.
89728
89729 2011-11-01 Ulrich Drepper <drepper@gmail.com>
89730
89731 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
89732 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
89733
89734 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
89735 * posix/tst-rfc3484-2.c: Likewise.
89736 * posix/tst-rfc3484-3.c: Likewise.
89737
89738 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
89739 process_vm_writev.
89740 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
89741 process_vm_writev.
89742 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
89743 process_vm_writev from libc using GLIBC_2.15 version.
89744
89745 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
89746
89747 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
89748
89749 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
89750 stack usage.
89751
89752 2011-10-31 Ulrich Drepper <drepper@gmail.com>
89753
89754 [BZ #13367]
89755 * nss/getent.c (initgroups_keys): Show error message in case no group
89756 names are given.
89757
89758 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
89759 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
89760 __bump_nl_timestamp.
89761 * nscd/connections (nscd_init): When host database is served open
89762 netlink socket and request notification about configuration changes.
89763 (main_loop_poll): Track netlink file descriptor and bump timestamp
89764 in case data becomes available.
89765 (main_loop_epoll): Likewise.
89766 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
89767 (database_pers_head): Add extra_data fileds.
89768 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
89769 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
89770 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
89771 Adjust caller.
89772 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
89773 in6ai data, call __free_in6ai.
89774 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
89775 Add -DHAVE_NETLINK.
89776 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
89777 interface information. Reuse previous data if netlink timestamp
89778 is not changed.
89779 (__bump_nl_timestamp): New function.
89780 (__free_in6ai): New function.
89781
89782 2011-10-30 Ulrich Drepper <drepper@gmail.com>
89783
89784 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89785 close_not_cancel_no_status here.
89786 (__check_pf): Reorganize code a bit to not call close twice if OOM.
89787
89788 2011-10-29 Ulrich Drepper <drepper@gmail.com>
89789
89790 [BZ #13276]
89791 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89792 return value.
89793
89794 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89795 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89796 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89797
89798 2011-07-03 Andreas Jaeger <aj@suse.de>
89799
89800 [BZ #10709]
89801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89802 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89803 * math/libm-test.inc (sin_test): Add test case.
89804
89805 2011-10-29 Ulrich Drepper <drepper@gmail.com>
89806
89807 [BZ #13337]
89808 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89809 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89810
89811 * elf/chroot_canon.c (chroot_canon): Cleanups.
89812
89813 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89814
89815 [BZ #13335]
89816 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89817 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89818
89819 * string/test-strchr.c: Make usable for strchrnul testing.
89820 * string/test-strchrnul.c: New file.
89821 * string/Makefile (strop-tests): Add strchrnul.
89822
89823 * po/it.po: Update from translation team.
89824 * po/es.po: Likewise.
89825
89826 2011-10-28 Ulrich Drepper <drepper@gmail.com>
89827
89828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89829 the three constants needed as parameters. Drop the others.
89830 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89831 __m128i_strloadu_tolower.
89832 Create and initialize variable zero and use it in all the places
89833 where _mm_setzero_si128 was used.
89834
89835 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89836 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89837 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89839 anymore.
89840 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89841 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89842 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89843 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89844 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89845 __mpranred, __mptan.
89846 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89847 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89848 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89849 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89850 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89851 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89852 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89853 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89854 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89855
89856 2011-10-28 Andreas Schwab <schwab@redhat.com>
89857
89858 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89859 redefine if SHARED.
89860 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89861
89862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89863 wide char related routines to wcsmbs subdir.
89864
89865 2011-10-27 Andreas Schwab <schwab@redhat.com>
89866
89867 [BZ #13344]
89868 * misc/sys/cdefs.h (__THROWNL): Define.
89869 * posix/unistd.h: Use __THREADNL instead of __THREAD
89870 for memory synchronization functions.
89871
89872 2011-10-26 Roland McGrath <roland@hack.frob.com>
89873
89874 [BZ #13349]
89875 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89876 doesn't exist.
89877 * manual/stdio.texi (Obstack Streams): Node removed.
89878
89879 2011-10-26 Andreas Schwab <schwab@redhat.com>
89880
89881 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89882 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89883 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89884
89885 * math/math_private.h (math_force_eval): Allow non-addressable
89886 arguments.
89887 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89888
89889 2011-10-25 Ulrich Drepper <drepper@gmail.com>
89890
89891 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89892 file is not needed.
89893
89894 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89897 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89901 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89902 Add AVX variants.
89903 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89904 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89905 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89906 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89907 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89908 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89909 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89910 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89911 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89912 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89913 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89914 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89916 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89917 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89918 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89919 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89920 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89921 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89922
89923 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89924 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
89925
89926 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89927 place. Use VEX encoding when compiling for AVX.
89928
89929 2011-10-25 Andreas Schwab <schwab@redhat.com>
89930
89931 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89932 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89933
89934 * string/test-strchr.c (do_test): Don't generate NUL bytes.
89935
89936 2011-10-25 Ulrich Drepper <drepper@gmail.com>
89937
89938 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89939 useless if() expression.
89940 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89941 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89942 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89944 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89945 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89948 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89949 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89950 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89951 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89952 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89954 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89955 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89956 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89957 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89958 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89959
89960 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89961
89962 2011-10-25 Andreas Schwab <schwab@redhat.com>
89963
89964 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89965 condition.
89966 * elf/dl-fini.c (_dl_sort_fini): Likewise.
89967
89968 2011-10-25 Ulrich Drepper <drepper@gmail.com>
89969
89970 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89971 .text section. Avoid duplicate constants.
89972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89976 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89980 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89981 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89982 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89983 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89984 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89985 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89986 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89987 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89988 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89989 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89990 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89992 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89993 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89994 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89995 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89996 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89997 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89998 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89999 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90000 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90001 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90002 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90003 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90004 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90005 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90006 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90007 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90008 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90009 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90010 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90011 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90012 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90013 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90014 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90015 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90016 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90017
90018 2011-10-24 Ulrich Drepper <drepper@gmail.com>
90019
90020 * sysdeps/x86_64/dla.h: Move to ...
90021 * sysdeps/x86_64/fpu/dla.h: ...here.
90022 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90023 situations. Use __builtin_fma only for gcc 4.6 and up.
90024
90025 * config.make.in: Add have-mfma4 entry.
90026 * configure.in: Substitute libc_cv_cc_fma4.
90027 * math/Makefile (dbl-only-routines): Add sincostab.
90028 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90029 Use __sincostab not sincos.
90030 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90031 name is a macro.
90032 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90033 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90034 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
90036 using __copysign.
90037 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
90038 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
90039 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90040 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90041 and __inv.
90042 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90043 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90044 __copysign.
90045 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
90046 define aliases when function name is a macro.
90047 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90048 sysdeps/ieee754/dbl-64/sincos.tbl.
90049 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90050 fma4-enabled routines.
90051 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90052 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90053 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90054 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90055 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90056 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90057 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90058 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90059 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90060 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90061 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90062 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90063 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90064 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90065 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90066 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90067 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90068 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90069 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90070 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90071 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90072 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90073 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90074 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90075 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90078 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90079 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90080 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90081
90082 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90083 rename.
90084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90090 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90091 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90092
90093 2011-10-24 Andreas Schwab <schwab@redhat.com>
90094
90095 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90096
90097 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90098
90099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90100
90101 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90102 prediction.
90103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90104
90105 * string/strnlen.c: Don't define STRNLEN, reverse logic.
90106 Remove unused variable magic_bits.
90107 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90108
90109 * string/strnlen.c: Define and use STRNLEN macro.
90110 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90111 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90112 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90113 * wcsmbs/wcslen.c: Define and use WCSLEN.
90114 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90115 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90116 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90117 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90118 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90119 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90120 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90121
90122 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90123
90124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90125 strnlen-sse2-no-bsf.
90126 Rename strlen-no-bsf to strlen-sse2-no-bsf.
90127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90128 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90129 Add strnlen support.
90130 (USE_AS_STRNLEN): New macro.
90131 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90132 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90133 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90134 * sysdeps/x86_64/wcslen.S: New file.
90135
90136 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
90137
90138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90139 XMM-moves are used for copying on small sizes.
90140
90141 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90142
90143 * wcsmbs/Makefile (strop-tests): Add wcschr.
90144 * wcsmbs/test-wcschr.c: New file.
90145 * string/test-strchr.c: Update.
90146 Add wcschr support.
90147 (WIDE): New macro.
90148
90149 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90150
90151 * wcsmbs/Makefile (strop-tests): Add wcslen.
90152 * wcsmbs/test-wcslen.c: New file.
90153 * string/test-strlen.c: Update.
90154 Add wcslen support.
90155 (WIDE): New macro.
90156
90157 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90158
90159 * po/it.po: Update from translation team.
90160
90161 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90162
90163 * sysdeps/x86_64/wcscmp.S: Update.
90164 Fix wrong comparison semantics.
90165 wcscmp shall use signed comparison not unsigned.
90166 Don't use substraction to avoid overflow bug.
90167 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90168 * wcsmbc/wcscmp.c: Likewise.
90169 * string/test-strcmp.c: Likewise.
90170 Add new tests to check cases with negative values.
90171
90172 2011-10-23 Ulrich Drepper <drepper@gmail.com>
90173
90174 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90175 * sysdeps/x86_64/dla.h: ...here. New file.
90176 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90178 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90179 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90180 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90185
90186 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
90187
90188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90189 __ynl_finite aliases.
90190
90191 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90192
90193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90194
90195 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90196 define DLA_FMA.
90197 [DLA_FMA] (EMULV): Use DLA_FMA.
90198 [DLA_FMA] (MUL12): Use EMULV.
90199 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90200 that are not needed.
90201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90208
90209 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
90210
90211 * math/s_nan.c: Undef __nan.
90212 * math/s_nanf.c: Undef __nanf.
90213 * math/s_nanl.c: Undef __nanl.
90214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90215 "math_private.h".
90216
90217 2011-10-22 Ulrich Drepper <drepper@gmail.com>
90218
90219 * math/s_catan.c: Add branch predictions.
90220 * math/s_catanf.c: Likewise.
90221 * math/s_catanh.c: Likewise.
90222 * math/s_catanhf.c: Likewise.
90223 * math/s_catanhl.c: Likewise.
90224 * math/s_catanl.c: Likewise.
90225 * math/s_cexp.c: Likewise.
90226 * math/s_cexpf.c: Likewise.
90227 * math/s_cexpl.c: Likewise.
90228 * math/s_clog.c: Likewise.
90229 * math/s_clog10.c: Likewise.
90230 * math/s_clog10f.c: Likewise.
90231 * math/s_clog10l.c: Likewise.
90232 * math/s_clogf.c: Likewise.
90233 * math/s_clogl.c: Likewise.
90234 * math/s_csqrt.c: Likewise.
90235 * math/s_csqrtf.c: Likewise.
90236 * math/s_csqrtl.c: Likewise.
90237 * math/s_ctanf.c: Likewise.
90238 * math/s_ctanh.c: Likewise.
90239 * math/s_ctanhf.c: Likewise.
90240 * math/s_ctanhl.c: Likewise.
90241 * math/s_ctanl.c: Likewise.
90242
90243 * math/math_private.h: Define __nan, __nanf, __nanl.
90244 * math/s_cacosh.c: Include <math_private.h>.
90245 * math/s_cacoshl.c: Likewise.
90246 * math/s_casinh.c: Likewise.
90247 * math/s_casinhf.c: Likewise.
90248 * math/s_casinhl.c: Likewise.
90249 * math/s_ccos.c: Rely entire on ccosh.
90250 * math/s_ccosf.c: Rely entire on ccoshf.
90251 * math/s_ccosl.c: Rely entirely on ccoshl.
90252 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
90253 Remove tests for FE_INVALID.
90254 * math/s_ccoshf.c: Likewise.
90255 * math/s_ccoshl.c: Likewise.
90256 * math/s_csin.c: Likewise.
90257 * math/s_csinf.c: Likewise.
90258 * math/s_csinh.c Likewise.
90259 * math/s_csinhf.c: Likewise.
90260 * math/s_csinhl.c: Likewise.
90261 * math/s_csinl.c: Likewise.
90262 * math/s_ctan.c: Likewise.
90263 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90264 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90266
90267 2011-10-21 Ulrich Drepper <drepper@gmail.com>
90268
90269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90270 compilation problems.
90271
90272 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90273 __builtin_expect.
90274
90275 2011-10-20 Ulrich Drepper <drepper@gmail.com>
90276
90277 * sysdeps/i386/configure.in: Test for -mfma4 option.
90278 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90279 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90280 COMMON_CPUID_INDEX_80000001.
90281 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90282 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90283 use it if FMA3 is not supported.
90284 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90285
90286 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90287 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90288
90289 2011-10-20 Andreas Schwab <schwab@redhat.com>
90290
90291 [BZ #12892]
90292 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90293 it would create a cycle with a link time dependency.
90294
90295 2011-10-19 Ulrich Drepper <drepper@gmail.com>
90296
90297 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90298 instruction.
90299 * string/Makefile (strop-tests): Add rawmemchr.
90300 * string/test-rawmemchr.c: New file.
90301
90302 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90303 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
90304 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
90305 when compiling str{,n}casecmp and when AVX is available. Hook up
90306 new optimized code in initializers.
90307
90308 2011-10-19 Andreas Schwab <schwab@redhat.com>
90309
90310 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90311 __feraiseexcept instead of feraiseexcept.
90312
90313 2011-10-18 Ulrich Drepper <drepper@gmail.com>
90314
90315 * math/math_private.h: Define defaults for libc_fetestexcept and
90316 libc_feupdateenv.
90317 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90318 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90319 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90320 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90321 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90322 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90323 libc_fetestexcept and libc_feupdateenv.
90324
90325 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90326 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90327 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90328 * sysdeps/x86_64/fpu/math_private.h: Define special version of
90329 libc_feholdexcept_setround.
90330
90331 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90332 Add s_nearbyint-c and s_nearbyintf-c.
90333 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90334 nearbyintf inlines.
90335 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90336 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90337 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90339
90340 * math/math_private.h: Define defaults for libc_fegetround,
90341 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90342 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90343 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90345 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90346 standard functions.
90347 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90348 Remove comments and hacks for old compiler versions.
90349 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90350 libc_fegetround, libc_fesetround, libc_feholdexcept, and
90351 libc_feholdexceptl.
90352
90353 2011-10-18 Andreas Schwab <schwab@redhat.com>
90354
90355 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90356 (__feraiseexcept_renamed): Add __NTH.
90357 (feraiseexcept): Add __NTH. Rename local variables to fix
90358 namespace violations.
90359
90360 2011-10-17 Ulrich Drepper <drepper@gmail.com>
90361
90362 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90363
90364 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90365
90366 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90367 recently added interfaces.
90368 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90369
90370 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90371 about macro parameter expansion.
90372
90373 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90374 __NO_MATH_INLINES is defined. Cleanups.
90375
90376 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90377 and __floorf is target has SSE4.1.
90378 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90379 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90380 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90381 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90382
90383 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90384 name.
90385 (floorf): Likewise.
90386
90387 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90388
90389 2011-10-17 Andreas Schwab <schwab@redhat.com>
90390
90391 * misc/sys/cdefs.h: Fix last change.
90392
90393 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90394 database lookup.
90395
90396 2011-10-16 Ulrich Drepper <drepper@gmail.com>
90397
90398 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90399
90400 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90401 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90402 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90403 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90405 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90406 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90407 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90408 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90409 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90410 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90411 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90412 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90413 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90414 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90415 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90416 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90417 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90418 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90419 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90420 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90421 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90422
90423 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90424 ceil, ceilf, floor, floorf.
90425
90426 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90427 Perform IRELATIVE relocations last.
90428
90429 * elf/do-rel.h: Add another parameter nrelative, replacing the
90430 local variable with the same name. Change name of the function
90431 to end in Rel or Rela (uppercase).
90432 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90433 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
90434 elf_dynamic_do_##reloc function.
90435
90436 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90437
90438 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90439 is sufficient, at least on modern CPUs.
90440
90441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90442
90443 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90444 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90445
90446 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90447 __expl_finite.
90448 * math/bits/math-finite.h: Add entries for exp.
90449 * math/e_expl.c: Add __*_finite alias.
90450 * sysdeps/i386/fpu/e_exp.S: Likewise.
90451 * sysdeps/i386/fpu/e_expf.S: Likewise.
90452 * sysdeps/i386/fpu/e_expl.c: Likewise.
90453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90454 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90455 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90456 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90457 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90458 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90459 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90460
90461 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90462 is sufficient, at least on modern CPUs.
90463
90464 * ctype/ctype-info.c (__ctype_init): Define.
90465 * include/ctype.h (__ctype_init): Declare.
90466 (__ctype_b_loc): The variable is always initialized.
90467 (__ctype_toupper_loc): Likewise.
90468 (__ctype_tolower_loc): Likewise.
90469 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90470 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90471
90472 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
90473
90474 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90475
90476 * configure.in: Also look in $cxxmachine/include for C++ system
90477 headers.
90478
90479 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90480
90481 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90482 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90483 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90484 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
90485 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90486 (USE_AS_WMEMCMP): New macro.
90487 Fixing indents.
90488 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90489 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90490 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90491 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90493 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90494 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90495 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90496 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90497 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90498 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90499 (USE_AS_WMEMCMP): New macro.
90500 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90501 * sysdeps/string/test-memcmp.c: Update.
90502 Fix simple_wmemcmp.
90503 Add new tests.
90504 * wcsmbs/wmemcmp.c: Update.
90505 (WMEMCMP): New macro.
90506 Fix overflow bug.
90507
90508 2011-10-12 Andreas Jaeger <aj@suse.de>
90509
90510 [BZ #13268]
90511 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90512
90513 2011-10-15 Ulrich Drepper <drepper@gmail.com>
90514
90515 * libio/iofwide.c (do_length): Avoid warning.
90516
90517 * ctype/ctype.h (__isctype_f): Add missing __THROW.
90518
90519 2011-10-14 Ulrich Drepper <drepper@gmail.com>
90520
90521 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90522
90523 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90524 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90525 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90526 * sysdeps/i386/i686/fpu/e_log.S: New file.
90527 * sysdeps/i386/i686/fpu/e_logf.S: New file.
90528 * sysdeps/i386/i686/fpu/e_logl.S: New file.
90529
90530 * ctype/ctype.h: Add support for inlined isXXX functions when
90531 compiling C++ code.
90532
90533 2011-10-14 Andreas Schwab <schwab@redhat.com>
90534
90535 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90536
90537 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90538
90539 2011-10-13 Roland McGrath <roland@hack.frob.com>
90540
90541 [BZ #13291]
90542 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90543
90544 2011-10-13 Andreas Schwab <schwab@redhat.com>
90545
90546 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90547 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90548 feraiseexcept.
90549
90550 * sysdeps/x86_64/memrchr.S: Check for zero size.
90551
90552 * string/stratcliff.c: Add memrchr tests.
90553
90554 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
90555
90556 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90557 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90558 rawmemchr-sse2 rawmemchr-sse2-bsf.
90559 * sysdeps/i386/i686/multiarch/memchr.S: New file.
90560 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90561 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90562 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90563 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90564 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90565 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90566 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90567 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90568 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90569 * string/memrchr.c (MEMRCHR): New macro.
90570
90571 2011-10-12 Ulrich Drepper <drepper@gmail.com>
90572
90573 Add integration with gcc's -ffinite-math-only and optimize wrapper
90574 functions in libm.
90575 * Versions.def: Define GLIBC_2.15 version for libm.
90576 * math/Makefile (headers): Add bits/math-finite.h.
90577 * math/bits/math-finite.h: New file.
90578 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90579 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90580 * math/e_acoshl.c: Add __*_finite alias.
90581 * math/e_acosl.c: Likewise.
90582 * math/e_asinl.c: Likewise.
90583 * math/e_atan2l.c: Likewise.
90584 * math/e_atanhl.c: Likewise.
90585 * math/e_coshl.c: Likewise.
90586 * math/e_exp10.c: Likewise.
90587 * math/e_exp10f.c: Likewise.
90588 * math/e_exp10l.c: Likewise.
90589 * math/e_exp2l.c: Likewise.
90590 * math/e_fmodl.c: Likewise.
90591 * math/e_gammal_r.c: Likewise.
90592 * math/e_hypotl.c: Likewise.
90593 * math/e_j0l.c: Likewise.
90594 * math/e_j1l.c: Likewise.
90595 * math/e_jnl.c: Likewise.
90596 * math/e_lgammal_r.c: Likewise.
90597 * math/e_log10l.c: Likewise.
90598 * math/e_log2l.c: Likewise.
90599 * math/e_logl.c: Likewise.
90600 * math/e_powl.c: Likewise.
90601 * math/e_sinhl.c: Likewise.
90602 * math/e_sqrtl.c: Likewise.
90603 * math/e_scalb.c: Completely rewritten and optimized.
90604 * math/e_scalbf.c: Likewise.
90605 * math/e_scalbl.c: Likewise.
90606 * math/w_acos.c: Likewise.
90607 * math/w_acosf.c: Likewise.
90608 * math/w_acosl.c: Likewise.
90609 * math/w_acosh.c: Likewise.
90610 * math/w_acoshf.c: Likewise.
90611 * math/w_acoshl.c: Likewise.
90612 * math/w_asin.c: Likewise.
90613 * math/w_asinf.c: Likewise.
90614 * math/w_asinl.c: Likewise.
90615 * math/w_atan2.c: Likewise.
90616 * math/w_atan2f.c: Likewise.
90617 * math/w_atan2l.c: Likewise.
90618 * math/w_atanh.c: Likewise.
90619 * math/w_atanhf.c: Likewise.
90620 * math/w_atanhl.c: Likewise.
90621 * math/w_exp10.c: Likewise.
90622 * math/w_exp10f.c: Likewise.
90623 * math/w_exp10l.c: Likewise.
90624 * math/w_fmod.c: Likewise.
90625 * math/w_fmodf.c: Likewise.
90626 * math/w_fmodl.c: Likewise.
90627 * math/w_j0.c: Likewise.
90628 * math/w_j0f.c: Likewise.
90629 * math/w_j0l.c: Likewise.
90630 * math/w_j1.c: Likewise.
90631 * math/w_j1f.c: Likewise.
90632 * math/w_j1l.c: Likewise.
90633 * math/w_jn.c: Likewise.
90634 * math/w_jnf.c: Likewise.
90635 * math/w_log.c: Likewise.
90636 * math/w_logf.c: Likewise.
90637 * math/w_logl.c: Likewise.
90638 * math/w_log10.c: Likewise.
90639 * math/w_log10f.c: Likewise.
90640 * math/w_log10l.c: Likewise.
90641 * math/w_log2.c: Likewise.
90642 * math/w_log2f.c: Likewise.
90643 * math/w_log2l.c: Likewise.
90644 * math/w_pow.c: Likewise.
90645 * math/w_powf.c: Likewise.
90646 * math/w_powl.c: Likewise.
90647 * math/w_remainder.c: Likewise.
90648 * math/w_remainderf.c: Likewise.
90649 * math/w_remainderl.c: Likewise.
90650 * math/w_scalb.c: Likewise.
90651 * math/w_scalbf.c: Likewise.
90652 * math/w_scalbl.c: Likewise.
90653 * math/w_sqrt.c: Likewise.
90654 * math/w_sqrtf.c: Likewise.
90655 * math/w_sqrtl.c: Likewise.
90656 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90657 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
90658 used.
90659 * math/math_private.h: Declare __kernel_standard_f.
90660 * math/w_cosh.c: Remove cruft and optimize a bit.
90661 * math/w_coshf.c: Likewise.
90662 * math/w_coshl.c: Likewise.
90663 * math/w_exp2.c: Likewise.
90664 * math/w_exp2f.c: Likewise.
90665 * math/w_exp2l.c: Likewise.
90666 * math/w_hypot.c: Likewise.
90667 * math/w_hypotf.c: Likewise.
90668 * math/w_hypotl.c: Likewise.
90669 * math/w_lgamma.c: Likewise.
90670 * math/w_lgamma_r.c: Likewise.
90671 * math/w_lgammaf.c: Likewise.
90672 * math/w_lgammaf_r.c: Likewise.
90673 * math/w_lgammal.c: Likewise.
90674 * math/w_lgammal_r.c: Likewise.
90675 * math/w_sinh.c: Likewise.
90676 * math/w_sinhf.c: Likewise.
90677 * math/w_sinhl.c: Likewise.
90678 * math/w_tgamma.c: Likewise.
90679 * math/w_tgammaf.c: Likewise.
90680 * math/w_tgammal.c: Likewise.
90681 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
90682 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90683 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
90684 Minor optimizations. Pretty printing. Remove cruft.
90685 * sysdeps/i386/fpu/e_acosf.S: Likewise.
90686 * sysdeps/i386/fpu/e_acosh.S: Likewise.
90687 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
90688 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
90689 * sysdeps/i386/fpu/e_acosl.c: Likewise.
90690 * sysdeps/i386/fpu/e_asin.S: Likewise.
90691 * sysdeps/i386/fpu/e_asinf.S: Likewise.
90692 * sysdeps/i386/fpu/e_atan2.S: Likewise.
90693 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
90694 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
90695 * sysdeps/i386/fpu/e_atanh.S: Likewise.
90696 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
90698 * sysdeps/i386/fpu/e_exp10.S: Likewise.
90699 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
90700 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
90701 * sysdeps/i386/fpu/e_exp2.S: Likewise.
90702 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
90703 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
90704 * sysdeps/i386/fpu/e_fmod.S: Likewise.
90705 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
90706 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
90707 * sysdeps/i386/fpu/e_hypot.S: Likewise.
90708 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
90709 * sysdeps/i386/fpu/e_log.S: Likewise.
90710 * sysdeps/i386/fpu/e_log10.S: Likewise.
90711 * sysdeps/i386/fpu/e_log10f.S: Likewise.
90712 * sysdeps/i386/fpu/e_log10l.S: Likewise.
90713 * sysdeps/i386/fpu/e_log2.S: Likewise.
90714 * sysdeps/i386/fpu/e_log2f.S: Likewise.
90715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
90716 * sysdeps/i386/fpu/e_logf.S: Likewise.
90717 * sysdeps/i386/fpu/e_logl.S: Likewise.
90718 * sysdeps/i386/fpu/e_pow.S: Likewise.
90719 * sysdeps/i386/fpu/e_powf.S: Likewise.
90720 * sysdeps/i386/fpu/e_powl.S: Likewise.
90721 * sysdeps/i386/fpu/e_remainder.S: Likewise.
90722 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
90723 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
90724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
90725 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
90726 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90727 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
90728 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
90729 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
90730 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
90731 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90733 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
90734 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90735 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
90736 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
90737 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
90738 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
90740 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
90741 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
90742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90743 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
90744 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
90745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90746 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
90747 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
90748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90750 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
90751 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
90752 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
90753 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
90754 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
90755 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
90756 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90757 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
90758 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
90759 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
90760 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90761 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
90762 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90763 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
90764 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
90765 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
90766 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
90767 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
90768 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
90769 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
90770 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
90771 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
90772 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
90773 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
90774 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
90775 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
90776 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90777 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90778 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90779 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90780 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90781 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90782 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90783 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90784 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90785 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90786 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90787 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90788 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90789 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90790 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90791 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90794 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90795 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90796 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90798 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90799 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90800 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90801 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90802 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90804 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90805 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90806 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90807 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90808 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90809 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90810 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90811 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90812 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90813 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90814 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90815 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90816 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90817 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90818 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90819 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90821 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90822 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90823 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90824 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90825 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90826 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90827 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90828 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90829 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90830 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90831 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90832 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90833 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90834 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90835 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90836 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90837 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90838 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90839 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90840 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
90841 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90842 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90843 (__isnanf): Likewise.
90844 (__isinf_ns): Likewise.
90845 (__isinf_nsf): Likewise.
90846 (__finite): Likewise.
90847 (__finitef): Likewise.
90848 (__ieee754_sqrt): Define as macro.
90849 (__ieee754_sqrtf): Define as macro.
90850 (__ieee754_sqrtl): Define as macro.
90851 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90852 inlined copy.
90853 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90854 __FINITE_MATH_ONLY__ consistent.
90855 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90856
90857 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
90858
90859 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90860 of rawmemchr.
90861
90862 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90863
90864 2011-10-09 Ulrich Drepper <drepper@gmail.com>
90865
90866 * po/ja.po: Update from translation team.
90867
90868 2011-10-08 Roland McGrath <roland@hack.frob.com>
90869
90870 * locale/programs/locarchive.c (prepare_address_space): New function.
90871 (create_archive, enlarge_archive, open_archive): Use it.
90872
90873 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90874 inside [SHARED], where it is used.
90875
90876 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90877
90878 * nss/getent.c (netgroup_keys): Remove unused variable.
90879 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90880
90881 2011-10-08 Ulrich Drepper <drepper@gmail.com>
90882
90883 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90884 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90886 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90887 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90888 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90889 * math/Makefile (libm-calls): Add s_isinf_ns.
90890 * math/divtc3.c: Use __isinf_nsl instead of isinf.
90891 * math/multc3.c: Likewise.
90892 * math/s_casin.c: Likewise.
90893 * math/s_casinf.c: Likewise.
90894 * math/s_casinl.c: Likewise.
90895 * math/s_ccos.c: Likewise.
90896 * math/s_ccosf.c: Likewise.
90897 * math/s_ccosl.c: Likewise.
90898 * math/s_ctan.c: Likewise.
90899 * math/s_ctanf.c: Likewise.
90900 * math/s_ctanh.c: Likewise.
90901 * math/s_ctanhf.c: Likewise.
90902 * math/s_ctanhl.c: Likewise.
90903 * math/s_ctanl.c: Likewise.
90904 * math/w_fmod.c: Likewise.
90905 * math/w_fmodf.c: Likewise.
90906 * math/w_fmodl.c: Likewise.
90907 * math/w_remainder.c: Likewise.
90908 * math/w_remainderf.c: Likewise.
90909 * math/w_remainderl.c: Likewise.
90910 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90911 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90912 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90914 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90915 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90916 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90917 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90918
90919 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90920 of the number.
90921 * stdio-common/printf_fphex.c: Likewise.
90922 * stdio-common/printf_size.c: Likewise.
90923
90924 * math/e_exp10.c: Include math_private.h using <...> not "...".
90925 * math/e_exp10f.c: Likewise.
90926 * math/e_exp10l.c: Likewise.
90927 * math/e_exp2l.c: Likewise.
90928 * math/e_j0l.c: Likewise.
90929 * math/e_j1l.c: Likewise.
90930 * math/e_jnl.c: Likewise.
90931 * math/e_lgammal_r.c: Likewise.
90932 * math/e_rem_pio2l.c: Likewise.
90933 * math/e_scalb.c: Likewise.
90934 * math/e_scalbf.c: Likewise.
90935 * math/e_scalbl.c: Likewise.
90936 * math/k_cosl.c: Likewise.
90937 * math/k_sinl.c: Likewise.
90938 * math/k_tanl.c: Likewise.
90939 * math/s_cacoshf.c: Likewise.
90940 * math/s_catan.c: Likewise.
90941 * math/s_catanf.c: Likewise.
90942 * math/s_catanh.c: Likewise.
90943 * math/s_catanhf.c: Likewise.
90944 * math/s_catanhl.c: Likewise.
90945 * math/s_catanl.c: Likewise.
90946 * math/s_ccosh.c: Likewise.
90947 * math/s_ccoshf.c: Likewise.
90948 * math/s_ccoshl.c: Likewise.
90949 * math/s_cexp.c: Likewise.
90950 * math/s_cexpf.c: Likewise.
90951 * math/s_cexpl.c: Likewise.
90952 * math/s_clog.c: Likewise.
90953 * math/s_clog10.c: Likewise.
90954 * math/s_clog10f.c: Likewise.
90955 * math/s_clog10l.c: Likewise.
90956 * math/s_clogf.c: Likewise.
90957 * math/s_clogl.c: Likewise.
90958 * math/s_csin.c: Likewise.
90959 * math/s_csinf.c: Likewise.
90960 * math/s_csinh.c: Likewise.
90961 * math/s_csinhf.c: Likewise.
90962 * math/s_csinhl.c: Likewise.
90963 * math/s_csinl.c: Likewise.
90964 * math/s_csqrt.c: Likewise.
90965 * math/s_csqrtf.c: Likewise.
90966 * math/s_csqrtl.c: Likewise.
90967 * math/s_ctan.c: Likewise.
90968 * math/s_ctanf.c: Likewise.
90969 * math/s_ctanh.c: Likewise.
90970 * math/s_ctanhf.c: Likewise.
90971 * math/s_ctanhl.c: Likewise.
90972 * math/s_ctanl.c: Likewise.
90973 * math/s_ldexp.c: Likewise.
90974 * math/s_ldexpf.c: Likewise.
90975 * math/s_ldexpl.c: Likewise.
90976 * math/s_significand.c: Likewise.
90977 * math/s_significandf.c: Likewise.
90978 * math/s_significandl.c: Likewise.
90979 * math/w_acos.c: Likewise.
90980 * math/w_acosf.c: Likewise.
90981 * math/w_acosh.c: Likewise.
90982 * math/w_acoshf.c: Likewise.
90983 * math/w_acoshl.c: Likewise.
90984 * math/w_acosl.c: Likewise.
90985 * math/w_asin.c: Likewise.
90986 * math/w_asinf.c: Likewise.
90987 * math/w_asinl.c: Likewise.
90988 * math/w_atan2.c: Likewise.
90989 * math/w_atan2f.c: Likewise.
90990 * math/w_atan2l.c: Likewise.
90991 * math/w_atanh.c: Likewise.
90992 * math/w_atanhf.c: Likewise.
90993 * math/w_atanhl.c: Likewise.
90994 * math/w_cosh.c: Likewise.
90995 * math/w_coshf.c: Likewise.
90996 * math/w_coshl.c: Likewise.
90997 * math/w_dremf.c: Likewise.
90998 * math/w_exp10.c: Likewise.
90999 * math/w_exp10f.c: Likewise.
91000 * math/w_exp10l.c: Likewise.
91001 * math/w_exp2.c: Likewise.
91002 * math/w_exp2f.c: Likewise.
91003 * math/w_fmod.c: Likewise.
91004 * math/w_fmodf.c: Likewise.
91005 * math/w_fmodl.c: Likewise.
91006 * math/w_hypot.c: Likewise.
91007 * math/w_hypotf.c: Likewise.
91008 * math/w_hypotl.c: Likewise.
91009 * math/w_j0.c: Likewise.
91010 * math/w_j0f.c: Likewise.
91011 * math/w_j0l.c: Likewise.
91012 * math/w_j1.c: Likewise.
91013 * math/w_j1f.c: Likewise.
91014 * math/w_j1l.c: Likewise.
91015 * math/w_jn.c: Likewise.
91016 * math/w_jnf.c: Likewise.
91017 * math/w_jnl.c: Likewise.
91018 * math/w_lgamma.c: Likewise.
91019 * math/w_lgamma_r.c: Likewise.
91020 * math/w_lgammaf.c: Likewise.
91021 * math/w_lgammaf_r.c: Likewise.
91022 * math/w_lgammal.c: Likewise.
91023 * math/w_lgammal_r.c: Likewise.
91024 * math/w_log.c: Likewise.
91025 * math/w_log10.c: Likewise.
91026 * math/w_log10f.c: Likewise.
91027 * math/w_log10l.c: Likewise.
91028 * math/w_log2.c: Likewise.
91029 * math/w_log2f.c: Likewise.
91030 * math/w_log2l.c: Likewise.
91031 * math/w_logf.c: Likewise.
91032 * math/w_logl.c: Likewise.
91033 * math/w_pow.c: Likewise.
91034 * math/w_powf.c: Likewise.
91035 * math/w_powl.c: Likewise.
91036 * math/w_remainder.c: Likewise.
91037 * math/w_remainderf.c: Likewise.
91038 * math/w_remainderl.c: Likewise.
91039 * math/w_scalb.c: Likewise.
91040 * math/w_scalbf.c: Likewise.
91041 * math/w_scalbl.c: Likewise.
91042 * math/w_sinh.c: Likewise.
91043 * math/w_sinhf.c: Likewise.
91044 * math/w_sinhl.c: Likewise.
91045 * math/w_sqrt.c: Likewise.
91046 * math/w_sqrtf.c: Likewise.
91047 * math/w_sqrtl.c: Likewise.
91048 * math/w_tgamma.c: Likewise.
91049 * math/w_tgammaf.c: Likewise.
91050 * math/w_tgammal.c: Likewise.
91051
91052 * po/ja.po: Update from translation team.
91053
91054 2011-09-29 Andreas Jaeger <aj@suse.de>
91055
91056 [BZ #13179]
91057 * sunrpc/netname.c (netname2host): Fix logic.
91058
91059 [BZ #6779]
91060 [BZ #6783]
91061 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91062 correctly.
91063 * math/w_remainder.c (__remainder): Likewise.
91064 * math/w_remainderf.c (__remainderf): Likewise.
91065 * math/libm-test.inc (remainder_test): Add test cases.
91066
91067 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
91068
91069 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
91070 sdiv_qrnnd.
91071
91072 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91073
91074 * string/test-memcmp.c: Avoid unncessary #defines.
91075 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91076
91077 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91078
91079 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91080 Use new sse2 version for core i3 - i7 as it's faster
91081 than sse42 version.
91082 (bit_Prefer_PMINUB_for_stringop): New.
91083 * sysdeps/x86_64/rawmemchr.S: Update.
91084 Replace with faster SSE2 version.
91085 * sysdeps/x86_64/memrchr.S: New file.
91086 * sysdeps/x86_64/memchr.S: Update.
91087 Replace with faster SSE2 version.
91088
91089 2011-09-12 Marek Polacek <mpolacek@redhat.com>
91090
91091 * elf/dl-load.c (lose): Add cast to avoid warning.
91092
91093 2011-10-07 Ulrich Drepper <drepper@gmail.com>
91094
91095 * po/ca.po: Update from translation team.
91096
91097 * inet/getnetgrent_r.c: Hook up nscd.
91098 * nscd/Makefile (routines): Add nscd_netgroup.
91099 (nscd-modules): Add netgroupcache.
91100 (CFLAGS-netgroupcache.c): Define.
91101 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91102 (cache_search): Add const to second parameter.
91103 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91104 INNETGR.
91105 (dbs): Add netgrdb entry.
91106 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91107 (verify_persistent_db): Handle netgrdb.
91108 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91109 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91110 GETFDNETGR.
91111 (netgroup_response_header): Define.
91112 (innetgroup_response_header): Define.
91113 (datahead): Add netgroup_response_header and innetgroup_response_header
91114 elements.
91115 * nscd/nscd.conf: Add entries for netgroup cache.
91116 * nscd/nscd.h (dbtype): Add netgrdb.
91117 (_PATH_NSCD_NETGROUP_DB): Define.
91118 (netgroup_iov_disabled): Declare.
91119 (xmalloc, xcalloc, xrealloc): Move declarations here.
91120 (cache_search): Adjust prototype.
91121 Add netgroup-related prototypes.
91122 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91123 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91124 (__nscd_innetgr): Declare.
91125 * nscd/selinux.c (perms): Use access_vector_t as element type and
91126 add netgroup-related initializers.
91127 * nscd/netgroupcache.c: New file.
91128 * nscd/nscd_netgroup.c: New file.
91129 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91130 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91131 For four parameters use innetgr.
91132 * nss/nss_files/files-init.c: Add definition and callback for netgr.
91133 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91134 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91135 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91136
91137 * nscd/connections.c (register_traced_file): Don't register file
91138 for disabled databases.
91139
91140 2011-10-06 Ulrich Drepper <drepper@gmail.com>
91141
91142 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91143
91144 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91145 from tree and freeing node.
91146
91147 2011-09-25 Jiri Olsa <jolsa@redhat.com>
91148
91149 * nss/nsswitch.c (__nss_database_lookup): Handle
91150 nss_parse_service_list out of memory case.
91151
91152 2011-09-15 Jiri Olsa <jolsa@redhat.com>
91153
91154 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91155 out of memory case.
91156
91157 2011-10-04 Andreas Schwab <schwab@redhat.com>
91158
91159 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91160 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91161 pass it down.
91162 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91163 elf_machine_rela, elf_machine_lazy_rel.
91164 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91165 (ELF_DYNAMIC_DO_REL): Likewise.
91166 (ELF_DYNAMIC_DO_RELA): Likewise.
91167 (ELF_DYNAMIC_RELOCATE): Likewise.
91168 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91169 to ELF_DYNAMIC_DO_REL.
91170 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91171 (dl_main): In trace mode always set __RTLD_NOIFUNC.
91172 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91173 elf_machine_rela.
91174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91175 skip_ifunc, don't call ifunc function if non-zero.
91176 (elf_machine_rela): Likewise.
91177 (elf_machine_lazy_rel): Likewise.
91178 (elf_machine_lazy_rela): Likewise.
91179 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91180 (elf_machine_lazy_rel): Likewise.
91181 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91182 Likewise.
91183 (elf_machine_lazy_rel): Likewise.
91184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91185 Likewise.
91186 (elf_machine_lazy_rel): Likewise.
91187 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91188 (elf_machine_lazy_rel): Likewise.
91189 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91190 (elf_machine_lazy_rel): Likewise.
91191 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91192 (elf_machine_lazy_rel): Likewise.
91193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91194 (elf_machine_lazy_rel): Likewise.
91195 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91196 (elf_machine_lazy_rel): Likewise.
91197 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91198 (elf_machine_lazy_rel): Likewise.
91199
91200 2011-09-28 Ulrich Drepper <drepper@gmail.com>
91201
91202 * nss/nss_files/files-init.c (_nss_files_init): Use static
91203 initialization for all the *_traced_file variables.
91204
91205 2011-09-28 Andreas Schwab <schwab@redhat.com>
91206
91207 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91208
91209 2011-09-27 Roland McGrath <roland@hack.frob.com>
91210
91211 [BZ #13226]
91212 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91213
91214 2011-09-27 Andreas Schwab <schwab@redhat.com>
91215
91216 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91217 Reread the line before reparsing it.
91218
91219 2011-09-26 Andreas Schwab <schwab@redhat.com>
91220
91221 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91222
91223 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
91224 Maxim Kuvyrkov <maxim@codesourcery.com>
91225 Joseph Myers <joseph@codesourcery.com>
91226
91227 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91228 if needed for __stack_chk_guard.
91229
91230 2011-09-19 Roland McGrath <roland@hack.frob.com>
91231
91232 * sysdeps/posix/spawni.c (script_execute): Always define it.
91233 It will be optimized away if unused.
91234 (maybe_script_execute): New function.
91235 (__spawni): Call it.
91236
91237 * Makerules: Don't include tls.make.
91238 (config-tls): Always set to thread.
91239 * tls.make.c: File removed.
91240
91241 2011-09-19 Mike Frysinger <vapier@gentoo.org>
91242
91243 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91244 * config.make.in (CPPFLAGS-config): New substituted variable.
91245
91246 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91247
91248 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91249
91250 [BZ #13192]
91251 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91252 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91253
91254 2011-09-15 Roland McGrath <roland@hack.frob.com>
91255
91256 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91257 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91258 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91259 (CALL_FAIL): Likewise.
91260 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91261 (CALL_FAIL): Macro removed.
91262 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91263
91264 2011-09-15 Ulrich Drepper <drepper@gmail.com>
91265
91266 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91267 for __FINITE_MATH_ONLY__ == 1.
91268
91269 2011-09-15 Andreas Schwab <schwab@redhat.com>
91270
91271 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91272 __ieee754_sqrt instead of sqrt.
91273 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91274 __ieee754_sqrtf instead of sqrtf.
91275 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91276 __floorf instead of floorf.
91277 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91278 __floorf, __truncf instead of floorf, truncf.
91279
91280 2011-09-14 Ulrich Drepper <drepper@gmail.com>
91281
91282 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91283
91284 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91285 __extern_always_inline.
91286 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91287 32-bit.
91288
91289 2011-09-14 Andreas Schwab <schwab@redhat.com>
91290
91291 * elf/rtld.c (dl_main): Also relocate in dependency order when
91292 doing symbol dependency testing.
91293
91294 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
91295
91296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91297 Always define `refsym'.
91298
91299 2011-09-13 Andreas Schwab <schwab@redhat.com>
91300
91301 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91302 (__FD_ELT): Renamed from __FDELT.
91303 * misc/bits/select2.h (__FD_ELT): Likewise.
91304 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91305 __FD_MASK instead of __FDELT, __FDMASK.
91306 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91307 Likewise.
91308 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91309 Likewise.
91310
91311 * elf/Makefile (gen-ldd): Fix pattern.
91312
91313 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91314 (init_tls): Likewise.
91315
91316 2011-09-12 Ulrich Drepper <drepper@gmail.com>
91317
91318 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91319
91320 2011-09-12 Andreas Schwab <schwab@redhat.com>
91321
91322 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91323 `struct cmsghdr *' instead of `void *'.
91324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91325 Likewise.
91326
91327 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
91328
91329 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91330 if non-absolute.
91331 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91332 ldd_rewrite_script.
91333
91334 2011-09-11 Ulrich Drepper <drepper@gmail.com>
91335
91336 * configure.in: Remove --with-tls option.
91337 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91338 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91339 out in case it is missing.
91340 * sysdeps/ia64/elf/configure.in: Likewise.
91341 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91342 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91343 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91344 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91345 * sysdeps/sh/elf/configure.in: Likewise.
91346 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91347 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91348 * sysdeps/x86_64/elf/configure.in: Likewise.
91349 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91350 * sysdeps/mach/hurd/tls.h: Likewise.
91351
91352 [BZ #13067]
91353 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91354
91355 [BZ #13090]
91356 * configure.in: Fix use of AC_INIT.
91357
91358 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91359
91360 2011-09-10 Ulrich Drepper <drepper@gmail.com>
91361
91362 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91363 __set_errno.
91364 * malloc/hooks.c: Likewise.
91365
91366 [BZ #11929]
91367 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
91368 variables statically.
91369 (narenas): Initialize.
91370 (list_lock): Initialize.
91371 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
91372 initializtion of main_arena and list_lock. Small cleanups.
91373 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91374 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
91375 Add initializers to main_arena and mp_.
91376 (malloc_state): Remove pagesize member. Change all users to use
91377 GLRO(dl_pagesize).
91378
91379 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91380 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
91381 is always initialized.
91382
91383 * malloc/malloc.c: Removed unused configurations and dead code.
91384 * malloc/arena.c: Likewise.
91385 * malloc/hooks.c: Likewise.
91386 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91387
91388 * include/tls.h: Removed. USE___THREAD must always be defined.
91389 * bits/libc-tsd.h: Don't handle !USE___THREAD.
91390 * elf/dl-libc.c: Likewise.
91391 * elf/dl-tsd.c: Likewise.
91392 * include/errno.h: Likewise.
91393 * include/netdb.h: Likewise.
91394 * include/resolv.h: Likewise.
91395 * inet/herrno-loc.c: Likewise.
91396 * inet/herrno.c: Likewise.
91397 * malloc/arena.c: Likewise.
91398 * malloc/hooks.c: Likewise.
91399 * malloc/malloc.c: Likewise.
91400 * resolv/res-state.c: Likewise.
91401 * resolv/res_libc.c: Likewise.
91402 * sysdeps/i386/dl-machine.h: Likewise.
91403 * sysdeps/ia64/dl-machine.h: Likewise.
91404 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91405 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91406 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91407 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91408 * sysdeps/sh/dl-machine.h: Likewise.
91409 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91410 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91411 * sysdeps/unix/i386/sysdep.S: Likewise.
91412 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91413 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91414 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91418 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91422 * sysdeps/unix/x86_64/sysdep.S: Likewise.
91423 * sysdeps/x86_64/dl-machine.h: Likewise.
91424 * tls.make.c: Likewise.
91425
91426 * configure.in: Remove --with-__thread option. Make tests for
91427 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91428 tls_model attribute fail if no support is available. Remove
91429 USE_IN_LIBIO.
91430 * Makeconfig: Adjust for dropped configure option. All features are
91431 now mandatory.
91432 * Makerules: Likewise.
91433 * Versions.def: Likewise.
91434 * argp/argp-fmtstream.c: Likewise.
91435 * argp/argp-fmtstream.h: Likewise.
91436 * argp/argp-help.c: Likewise.
91437 * assert/assert.c: Likewise.
91438 * config.h.in: Likewise.
91439 * config.make.in: Likewise.
91440 * configure: Likewise.
91441 * configure.in: Likewise.
91442 * csu/Versions: Likewise.
91443 * csu/init.c: Likewise.
91444 * elf/tst-audit2.c: Likewise.
91445 * elf/tst-tls10.c: Likewise.
91446 * elf/tst-tls10.h: Likewise.
91447 * elf/tst-tls11.c: Likewise.
91448 * elf/tst-tls12.c: Likewise.
91449 * elf/tst-tls14.c: Likewise.
91450 * elf/tst-tlsmod11.c: Likewise.
91451 * elf/tst-tlsmod12.c: Likewise.
91452 * elf/tst-tlsmod13.c: Likewise.
91453 * elf/tst-tlsmod13a.c: Likewise.
91454 * elf/tst-tlsmod14a.c: Likewise.
91455 * elf/tst-tlsmod15b.c: Likewise.
91456 * elf/tst-tlsmod16a.c: Likewise.
91457 * elf/tst-tlsmod16b.c: Likewise.
91458 * elf/tst-tlsmod7.c: Likewise.
91459 * elf/tst-tlsmod8.c: Likewise.
91460 * elf/tst-tlsmod9.c: Likewise.
91461 * gmon/gmon.c: Likewise.
91462 * grp/fgetgrent_r.c: Likewise.
91463 * grp/putgrent.c: Likewise.
91464 * hurd/fopenport.c: Likewise.
91465 * include/libc-symbols.h: Likewise.
91466 * include/tls.h: Likewise.
91467 * intl/gettextP.h: Likewise.
91468 * intl/loadinfo.h: Likewise.
91469 * locale/global-locale.c: Likewise.
91470 * locale/localeinfo.h: Likewise.
91471 * mach/devstream.c: Likewise.
91472 * malloc/arena.c: Likewise.
91473 * malloc/set-freeres.c: Likewise.
91474 * misc/err.c: Likewise.
91475 * misc/getttyent.c: Likewise.
91476 * misc/mntent_r.c: Likewise.
91477 * posix/getopt.c: Likewise.
91478 * posix/wordexp.c: Likewise.
91479 * pwd/fgetpwent_r.c: Likewise.
91480 * resolv/Versions: Likewise.
91481 * resolv/res_hconf.c: Likewise.
91482 * shadow/fgetspent_r.c: Likewise.
91483 * shadow/putspent.c: Likewise.
91484 * stdio-common/printf_fphex.c: Likewise.
91485 * stdio-common/tmpfile.c: Likewise.
91486 * stdlib/abort.c: Likewise.
91487 * stdlib/fmtmsg.c: Likewise.
91488 * sunrpc/auth_unix.c: Likewise.
91489 * sunrpc/clnt_perr.c: Likewise.
91490 * sunrpc/clnt_tcp.c: Likewise.
91491 * sunrpc/clnt_udp.c: Likewise.
91492 * sunrpc/clnt_unix.c: Likewise.
91493 * sunrpc/openchild.c: Likewise.
91494 * sunrpc/svc_simple.c: Likewise.
91495 * sunrpc/svc_tcp.c: Likewise.
91496 * sunrpc/svc_udp.c: Likewise.
91497 * sunrpc/svc_unix.c: Likewise.
91498 * sunrpc/xdr.c: Likewise.
91499 * sunrpc/xdr_array.c: Likewise.
91500 * sunrpc/xdr_rec.c: Likewise.
91501 * sunrpc/xdr_ref.c: Likewise.
91502 * sunrpc/xdr_stdio.c: Likewise.
91503
91504 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91505
91506 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91507
91508 2011-07-03 Andreas Jaeger <aj@suse.de>
91509
91510 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91511 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91512 regenerate with gen-libm-tests.pl.
91513
91514 2010-05-12 Petr Baudis <pasky@suse.cz>
91515
91516 [BZ #11589]
91517 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91518 around j0() zero points by switching to j1().
91519 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91520 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91522 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91523
91524 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91525
91526 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91527 instead of 0.
91528 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91529 instead of 0.
91530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91531 Patch in part by Pavel Roskin <proski@gnu.org>.
91532
91533 [BZ #13138]
91534 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91535 realloc.
91536 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
91537 Free memory block if necessary.
91538
91539 [BZ #12847]
91540 * libio/genops.c (INTDEF): For string streams the _lock pointer can
91541 be NULL. Don't lock in this case.
91542
91543 2011-09-09 Roland McGrath <roland@hack.frob.com>
91544
91545 * elf/elf.h (ELFOSABI_GNU): New macro.
91546 (ELFOSABI_LINUX): Define to that.
91547
91548 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
91549
91550 * string/strncat.c (strncat): Undef the symbol in case it has been
91551 defined in bits/string.h.
91552
91553 2011-09-09 Ulrich Drepper <drepper@gmail.com>
91554
91555 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91556
91557 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91558 link map.
91559
91560 2011-08-17 Andreas Jaeger <aj@suse.de>
91561
91562 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91563
91564 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
91565 Ian Lance Taylor <iant@google.com>
91566
91567 * math/libm-test.inc (lround_test): New testcase.
91568 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91569
91570 2011-09-08 Ulrich Drepper <drepper@gmail.com>
91571
91572 * Makefile: Remove support for automatic cvs check-ins.
91573 * Makerules: Likewise.
91574 * config.make.in: Likewise.
91575 * configure.in: Likewise.
91576 * intl/Makefile: Likewise.
91577 * locale/Makefile: Likewise.
91578 * po/Makefile: Likewise.
91579 * posix/Makefile: Likewise.
91580 * sysdeps/gnu/Makefile: Likewise.
91581 * sysdeps/mach/hurd/Makefile: Likewise.
91582 * sysdeps/sparc/sparc32/Makefile: Likewise.
91583
91584 [BZ #13118]
91585 * posix/Makefile (bug-regex32-ENV): Define.
91586 Patch by John Stanley <jpsinthemix@verizon.net>.
91587
91588 * misc/Makefile (headers): Add bits/select2.h.
91589 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91590 * misc/bits/select2.h: New file.
91591 * include/bits/select2.h: New file.
91592 * debug/Makefile (routines): Add fdelt_chk.
91593 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91594 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91595 FD_ISSET.
91596 * debug/fdelt_chk.c: New file.
91597
91598 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
91599 * wcsmbs/test-wmemcmp.c: Likewise.
91600 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91601 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91602
91603 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91604
91605 * string/Makefile (strop-tests): Add memcmp.
91606 * string/test-wmemcmp.c: New file.
91607 * string/test-memcmp.c: Add wmemcmp support.
91608
91609 2011-09-08 Roland McGrath <roland@hack.frob.com>
91610
91611 [BZ #13153]
91612 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91613 2011-07-19 change.
91614
91615 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91616 garbage value in a __mach_port_mod_refs call in the cases of the
91617 task-self and thread-self ports.
91618
91619 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
91620
91621 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91622
91623 2011-09-08 Andreas Schwab <schwab@redhat.com>
91624
91625 * elf/dl-load.c (lose): Check for non-null L.
91626
91627 2011-09-07 Ulrich Drepper <drepper@gmail.com>
91628
91629 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91630
91631 * elf/dl-libc.c (dlerror_run): Pass back error code from
91632 dl_catch_error.
91633
91634 [BZ #13123]
91635 * elf/dl-load.c (lose): Free l_origin if it is valid.
91636
91637 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91638 names.
91639 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91640 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91642 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91643 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91644 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91645
91646 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91647
91648 * sysdeps/powerpc/fpu/e_hypot.c: New file.
91649 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91650 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91651 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91652 * sysdeps/powerpc/fpu/k_cosf.c: New file.
91653 * sysdeps/powerpc/fpu/k_sinf.c: New file.
91654 * sysdeps/powerpc/fpu/s_cosf.c: New file.
91655 * sysdeps/powerpc/fpu/s_sinf.c: New file.
91656 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91657 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
91658
91659 2011-08-15 Alan Modra <amodra@gmail.com>
91660
91661 [BZ #13092]
91662 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
91663 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
91664 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
91665 ppc_mcount to static-only-routines.
91666 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
91667 __mcount_internal.
91668 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
91669 __mcount_internal with usual JUMPTARGET. Remove useless nop.
91670
91671 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
91672
91673 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
91674 for finite and infinity parameters.
91675
91676 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
91677
91678 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
91679 and add nop instructions for throughput optimization.
91680 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91681
91682 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
91683
91684 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
91685 aligned copy for power7 with vector-scalar instructions.
91686 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
91687
91688 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
91689
91690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
91691 AVX check.
91692
91693 2011-09-07 Andreas Schwab <schwab@redhat.com>
91694
91695 [BZ #13144]
91696 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
91697 last change.
91698
91699 2011-09-07 Ulrich Drepper <drepper@gmail.com>
91700
91701 * sysdeps/unix/sysv/linux/x86_64/init-first.c
91702 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91703 syscall wrapper around clock_gettime in __vdso_clock_gettime.
91704 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
91705 clock_gettime.
91706
91707 2011-09-06 Ulrich Drepper <drepper@gmail.com>
91708
91709 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
91710 Forgot to demangle the pointer.
91711
91712 * sysdeps/i386/sysdep.h: Define atom_text_section.
91713 * sysdeps/x86_64/sysdep.h: Likewise.
91714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
91715 section with atom_text_section.
91716 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91717 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91718 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
91719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91720 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
91721
91722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
91723 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
91724 already be defined. Change to take two parameters and don't assign
91725 result to variable. Adjust all users.
91726 Define INTERNAL_GETTIME if not already defined.
91727 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
91728 call.
91729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
91730 HAVE_CLOCK_GETTIME_VSYSCALL.
91731 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
91732
91733 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
91734 gettimeofday vsyscall, just use time.
91735
91736 2011-09-06 Andreas Schwab <schwab@redhat.com>
91737
91738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
91739 <errno.h>.
91740
91741 2011-09-06 Ulrich Drepper <drepper@gmail.com>
91742
91743 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
91744 syscall on x86-64.
91745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
91746 syscall.
91747 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
91748 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
91749 syscall if possible.
91750
91751 2011-09-05 Ulrich Drepper <drepper@gmail.com>
91752
91753 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
91754 e_ident. Don't pass to find_mapsXX.
91755 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
91756
91757 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91758
91759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91760 strchr-sse2-no-bsf strrchr-sse2-no-bsf
91761 * sysdeps/x86_64/multiarch/strchr.S: Update.
91762 Check bit_slow_BSF bit.
91763 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
91764 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
91765 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
91766
91767 2011-09-05 Ulrich Drepper <drepper@gmail.com>
91768
91769 [BZ #13134]
91770 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
91771 before glibc 2.15.
91772 (tryshell): Define.
91773 (__spawni): Change last parameter to be flag. Test
91774 SPAWN_XFLAGS_USE_PATH flag to use path or not.
91775 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
91776 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91777 * posix/spawni.c: Likewise.
91778 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91779 * posix/spawnp.c: Likewise. Change normal version to use
91780 SPAWN_XFLAGS_USE_PATH.
91781 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91782 SPAWN_XFLAGS_TRY_SHELL.
91783
91784 [BZ #13150]
91785 * posix/glob.h: Remove gcc 1.x support.
91786
91787 [BZ #13068]
91788 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91789
91790 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
91791
91792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91793 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91794 strrchr-sse2-bsf
91795 * sysdeps/i386/i686/multiarch/strchr.S: New file.
91796 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91797 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91798 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91799 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91800 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91801
91802 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
91803
91804 * sysdeps/x86_64/wcscmp.S: New file.
91805
91806 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91807 wcscmp-c wcscmp-sse2
91808 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91809 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91810 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91811 * wcsmbs/wcscmp.c: Allow renaming.
91812
91813 2011-09-05 David S. Miller <davem@davemloft.net>
91814
91815 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91816 stack slot, rather than the struct return pointer slot.
91817 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91818 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91820 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91821
91822 2011-09-05 Ulrich Drepper <drepper@gmail.com>
91823
91824 * po/ja.po: Update from translation team.
91825
91826 [BZ #13144]
91827 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91828 kernel in 64-bit binaries.
91829
91830 2011-09-01 David S. Miller <davem@davemloft.net>
91831
91832 * elf/elf.h (HWCAP_SPARC_*): Move to..
91833 * sysdeps/sparc/sysdep.h: this new file and add new values.
91834 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91835 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91836 _DL_HWCAP_COUNT to 24.
91837 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91838 entries.
91839 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91840 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91841 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91842 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91843 instead of magic constants.
91844 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91845
91846 2011-08-31 David S. Miller <davem@davemloft.net>
91847
91848 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91850 Reimplement to do errno handling inline.
91851 (SYSCALL_ERROR_HANDLER): New macro.
91852 (__SYSCALL_STRING): Do not do errno handling in asm.
91853 (__CLONE_SYSCALL_STRING): Delete.
91854 (__INTERNAL_SYSCALL_STRING): Delete.
91855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91856 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91857 (PSEUDO): Reimplement to do errno handling inline.
91858 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91859 (SYSCALL_ERROR_HANDLER): New macro.
91860 (__SYSCALL_STRING): Do not do errno handling in asm.
91861 (__CLONE_SYSCALL_STRING): Delete.
91862 (__INTERNAL_SYSCALL_STRING): Delete.
91863 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91864 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91865 i386.
91866 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91867 (inline_syscall*): Add 'err' argument.
91868 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91869 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91870 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91871 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91872
91873 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91874 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91875
91876 2011-08-30 Andreas Schwab <schwab@redhat.com>
91877
91878 * elf/rtld.c (dl_main): Relocate objects in dependency order.
91879
91880 2011-08-29 Jiri Olsa <jolsa@redhat.com>
91881
91882 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91883 directive.
91884
91885 2011-08-24 David S. Miller <davem@davemloft.net>
91886
91887 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91888
91889 2011-08-24 Andreas Schwab <schwab@redhat.com>
91890
91891 * elf/Makefile: Add rules to build and run unload8 test.
91892 * elf/unload8.c: New file.
91893 * elf/unload8mod1.c: New file.
91894 * elf/unload8mod1x.c: New file.
91895 * elf/unload8mod2.c: New file.
91896 * elf/unload8mod3.c: New file.
91897
91898 * elf/dl-close.c (_dl_close_worker): Reset private search list if
91899 it wasn't used.
91900
91901 2011-08-23 David S. Miller <davem@davemloft.net>
91902
91903 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91904 subtract stack bias.
91905 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91906 %sp not %fp in calculations.
91907 (_JMPBUF_UNWINDS_ADJ): Likewise.
91908
91909 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91910 (aio_suspend): Call it to force an exception region around the
91911 AIO_MISC_WAIT() invocation.
91912
91913 2011-08-23 Andreas Schwab <schwab@redhat.com>
91914
91915 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91916 backslash.
91917
91918 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
91919
91920 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91921 protection macro.
91922 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91923 and <dl-machine.h>.
91924 (Elf64_FuncDesc): Remove.
91925
91926 2011-08-22 David S. Miller <davem@davemloft.net>
91927
91928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91929 sigaltstack check, add missing cfi directives.
91930 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91931 missing cfi directives, and sigaltstack handling.
91932
91933 2011-08-16 Andreas Schwab <schwab@redhat.com>
91934
91935 [BZ #11724]
91936 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91937 object is seen twice.
91938 * elf/dl-fini.c (_dl_sort_fini): Likewise.
91939
91940 * elf/Makefile (distribute): Add tst-initorder2.c.
91941 (tests): Add tst-initorder2.
91942 (modules-names): Add tst-initorder2a tst-initorder2b
91943 tst-initorder2c tst-initorder2d. Add rules to build them.
91944 ($(objpfx)tst-initorder2.out): New rule.
91945 * elf/tst-initorder2.c: New file.
91946 * elf/tst-initorder2.exp: New file.
91947
91948 2011-08-22 Andreas Schwab <schwab@redhat.com>
91949
91950 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91951
91952 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91953 dependencies back to end of function.
91954
91955 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91956 $(elfobjdir)/ld.so.
91957
91958 2011-08-21 Ulrich Drepper <drepper@gmail.com>
91959
91960 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91961 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91962 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91963 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91964 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91965 of __vdso_gettimeofday.
91966 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91967 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
91968 attribute_hidden.
91969 (_libc_vdso_platform_setup): Remove initialization of
91970 __vdso_gettimeofday and __vdso_time.
91971
91972 2011-08-20 Ulrich Drepper <drepper@gmail.com>
91973
91974 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91975 and fgetc_unlocked.
91976 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91977 getc_unlocked.
91978
91979 * elf/dl-open.c (add_to_global): Report additions to the global scope
91980 for LD_DEBUG=scopes.
91981 (dl_open_worker): Also print scope of newly loaded dependencies.
91982 (_dl_show_scope): Indicate if there is no scope.
91983
91984 [BZ #13114]
91985 * stdio-common/Makefile (tests): Add bug24.
91986 * stdio-common/bug24.c: New file.
91987
91988 2011-08-19 Andreas Jaeger <aj@suse.de>
91989
91990 [BZ #13114]
91991 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91992 non-existant file when using close-on-exec mode.
91993
91994 2011-08-20 Ulrich Drepper <drepper@gmail.com>
91995
91996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91997 the very first instruction.
91998
91999 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92000 the CFI state in the end.
92001 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92002 inclusion of dl-trampoline.h.
92003 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92004
92005 2011-08-19 Andreas Schwab <schwab@redhat.com>
92006
92007 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92008 expectations for long double.
92009
92010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92011 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92012
92013 2011-08-14 David S. Miller <davem@davemloft.net>
92014
92015 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92016 artificual limit depends upon the system page size.
92017
92018 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92019
92020 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92021 * resolv/Makefile: Define CFLAGS-libresolv.
92022
92023 2011-08-17 Andreas Schwab <schwab@redhat.com>
92024
92025 * nss/makedb.c (compute_tables): Make variables used in nested
92026 function static.
92027
92028 2011-08-17 Ulrich Drepper <drepper@gmail.com>
92029
92030 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92031 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92032 if buffer was too small.
92033
92034 * elf/pldd.c (main): Attach to all threads in the process.
92035 Rewrite /proc handling to use *at functions.
92036
92037 2011-08-16 Ulrich Drepper <drepper@gmail.com>
92038
92039 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92040 specifies first scope to show.
92041 (dl_open_worker): Update callers. Move printing scope of new
92042 object to before the relocation.
92043 * elf/rtld.c (dl_main): Update _dl_show_scope call.
92044 * sysdeps/generic/ldsodefs.h: Update declaration.
92045
92046 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92047 string for the scope number.
92048
92049 2011-08-14 Ulrich Drepper <drepper@gmail.com>
92050
92051 * nscd/servicescache.c (cache_addserv): Make sure written is always
92052 initialized.
92053
92054 2011-08-14 Roland McGrath <roland@hack.frob.com>
92055
92056 * sysdeps/i386/i486/bits/atomic.h
92057 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92058 statement expression, so as to suppress "set but not used" warning.
92059 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92060
92061 * string/strncat.c (STRNCAT): Use prototype definition.
92062
92063 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92064 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92065 -Iprograms here.
92066 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92067 (localedef-modules): Add localedef.
92068 (locale-modules): Add locale.
92069
92070 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92071 * elf/rtld.c (dl_main): Invert order of assignment in last change,
92072 to avoid a warning.
92073
92074 2011-08-14 David S. Miller <davem@davemloft.net>
92075
92076 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92077 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92078
92079 2011-08-13 Ulrich Drepper <drepper@gmail.com>
92080
92081 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92082 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92083 * elf/rtld.c (dl_main): Set l_name of vDSO.
92084 Call _dl_show_scope when DL_DEBUG_SCOPES.
92085 (process_dl_debug): Recognize scopes flag and also set it for all.
92086 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92087 Declare _dl_show_scope.
92088
92089 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92090 (do_dlopen): Pass caller_dlopen to dl_open.
92091 (__libc_dlopen_mode): Initialize caller_dlopen.
92092
92093 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92094 of libc. Make tolower call locale-independent. Optimize a bit by
92095 using isdigit instead of isalnum.
92096 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92097
92098 2011-08-12 Ulrich Drepper <drepper@gmail.com>
92099
92100 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92101 was a dependency or dynamically loaded.
92102
92103 2011-08-11 Ulrich Drepper <drepper@gmail.com>
92104
92105 * intl/l10nflist.c: Allow architecture-specific pop function.
92106 * sysdeps/x86_64/l10nflist.c: New file.
92107
92108 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92109 classification.
92110
92111 2011-08-10 Andreas Schwab <schwab@redhat.com>
92112
92113 * include/dirent.h: Add libc_hidden_proto for scandirat and
92114 scandirat64. Don't declare __scandirat64.
92115 * dirent/scandirat.c: Add libc_hidden_def.
92116 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92117 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92118
92119 2011-08-10 David S. Miller <davem@davemloft.net>
92120
92121 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92122 enum.
92123 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92124 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92126
92127 2011-08-09 Ulrich Drepper <drepper@gmail.com>
92128
92129 * Versions.def [libc]: Add GLIBC_2.15.
92130 * dirent/Makefile (routines): Add scandirat and scandirat64.
92131 * dirent/Versions [libc]: Export scandirat and scandirat64 for
92132 GLIBC_2.15.
92133 * dirent/dirent.h: Declare scandirat and scandirat64.
92134 * dirent/scandirat.c: New file.
92135 * dirent/scandirat64.c: New file.
92136 * sysdeps/wordsize-64/scandirat.c: New file.
92137 * sysdeps/wordsize-64/scandirat64.c: New file.
92138 * dirent/opendir.c: Define opendirat.
92139 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
92140 using scandirat.
92141 * dirent/scandir64.c: Adjust for scandir.c change.
92142 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
92143 __scandirat64, and __scandir_cancel_handler.
92144 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
92145 additional parameter and use openat instead of open (outside of ld.so).
92146 Add new __opendir as wrapper around __opendirat.
92147 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92148 here without requiring old scandirat implementation.
92149
92150 2011-08-08 Ulrich Drepper <drepper@gmail.com>
92151
92152 * dirent/scandir.c (cancel_handler): Renamed to
92153 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
92154 defined. Adjust users.
92155 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92156 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92157
92158 2011-08-04 Ulrich Drepper <drepper@gmail.com>
92159
92160 * string/test-string.h (IMPL): Use __STRING to expand name and then
92161 stringify it.
92162
92163 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
92164 of cleanups.
92165
92166 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92167
92168 * string/Makefile: Update.
92169 (strop-tests): Append strncat.
92170 * string/test-wcscmp.c: New file.
92171 New comprehensive test for wcscmp.
92172 * string/test-strcmp.c: Update.
92173 (WIDE): New define.
92174
92175 2011-07-22 Andreas Schwab <schwab@redhat.com>
92176
92177 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92178 line.
92179
92180 2011-07-26 Andreas Schwab <schwab@redhat.com>
92181
92182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92183 encoding to ACE if AI_IDN.
92184
92185 2011-08-01 Jakub Jelinek <jakub@redhat.com>
92186
92187 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92188 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92189
92190 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92191
92192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92193 Fix overflow bug in strncat.
92194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92195
92196 * string/test-strncat.c: Update.
92197 Add new tests for checking overflow bugs.
92198
92199 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92200
92201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92202 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92203 * sysdeps/i386/i686/multiarch/strcat.S: New file.
92204 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92206 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92207 * sysdeps/i386/i686/multiarch/strncat.S: New file.
92208 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92209 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92210
92211 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92212 (USE_AS_STRCAT): Define.
92213 Add strcat and strncat support.
92214 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92215
92216 2011-07-25 Andreas Schwab <schwab@redhat.com>
92217
92218 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92219 __n bigger than INT_MAX+1.
92220 (__strncmp_g): Likewise.
92221
92222 2011-07-23 Ulrich Drepper <drepper@gmail.com>
92223
92224 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92225 * libio/stido.h: Likewise.
92226
92227 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92228 (AF_NFC): Define.
92229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92230 (AF_NFC): Define.
92231
92232 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92233 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92234 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92235 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92237
92238 [BZ #13021]
92239 * scripts/test-installation.pl: Don't expect libnss_test1 to be
92240 installed.
92241
92242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92243 typo.
92244 (_dl_x86_64_save_sse): Likewise.
92245
92246 2011-07-22 Ulrich Drepper <drepper@gmail.com>
92247
92248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92249 OSXSAVE.
92250 (_dl_x86_64_save_sse): Likewise.
92251
92252 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92253
92254 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92255
92256 2011-07-21 Andreas Schwab <schwab@redhat.com>
92257
92258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92259 change.
92260 (_dl_x86_64_save_sse): Use correct AVX check.
92261
92262 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
92263
92264 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92265 bug in strncpy/strncat.
92266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92267
92268 2011-07-21 Ulrich Drepper <drepper@gmail.com>
92269
92270 * string/tester.c (test_strcat): Add tests for different alignments
92271 of source and destination.
92272 (test_strncat): Likewise.
92273
92274 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92275
92276 [BZ #12852]
92277 * posix/glob.c (glob): Check passed in values before using them in
92278 expressions to avoid some overflows.
92279 (glob_in_dir): Likewise.
92280
92281 [BZ #13007]
92282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92283 check for AVX enablement so that we don't crash with old kernels and
92284 new hardware.
92285 * elf/tst-audit4.c: Add same checks here.
92286 * elf/tst-audit6.c: Likewise.
92287
92288 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92289
92290 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
92291
92292 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92293
92294 2011-07-20 Ulrich Drepper <drepper@gmail.com>
92295
92296 * po/cs.po: Update from translation team.
92297 * po/bg.po: Likewise.
92298
92299 2011-07-12 Marek Polacek <mpolacek@redhat.com>
92300
92301 * misc/sys/cdefs.h: Add support for const attribute.
92302 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92303 to gnu_dev_{major,minor,makedev} functions.
92304
92305 2011-07-20 Marek Polacek <mpolacek@redhat.com>
92306
92307 * intl/dcigettext.c (get_output_charset): Add missing bracket.
92308
92309 2011-07-20 Andreas Schwab <schwab@redhat.com>
92310
92311 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92312 strlen results.
92313
92314 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
92315
92316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92317 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92318 register in order to avoid conflicts with the soft frame pointer
92319 being held in r11 when necessary.
92320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92321 (INTERNAL_VSYSCALL_NCS): Likewise.
92322
92323 2011-07-14 Marek Polacek <mpolacek@redhat.com>
92324
92325 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92326 * elf/dl-fini.c (_dl_fini): Adjust caller.
92327 * elf/dl-close.c (_dl_close_worker): Likewise.
92328 * sysdeps/generic/ldsodefs.h: Adjust declaration.
92329
92330 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92331
92332 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92333 "aux_cache->nlibs < 0".
92334
92335 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92336 in the reload-count case.
92337
92338 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
92339
92340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92341 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92342 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92343 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92344 * sysdeps/x86_64/multiarch/strcat.S: New file.
92345 * sysdeps/x86_64/multiarch/strncat.S: New file.
92346 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92347 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92348 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92349 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92350 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92351 (USE_AS_STRCAT): Define.
92352 Add strcat and strncat support.
92353 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92354 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92355 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92356 * string/strncat.c: Update.
92357 (USE_AS_STRNCAT): Define.
92358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92359 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92360 and i7.
92361 * sysdeps/x86_64/multiarch/init-arch.h
92362 (bit_Prefer_PMINUB_for_stringop): New.
92363 (index_Prefer_PMINUB_for_stringop): Likewise.
92364 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92365 bit_Prefer_PMINUB_for_stringop.
92366
92367 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92368
92369 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92370 buffer64.
92371 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92372 of casting of buffer.
92373 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92374 buffer32 and buffer64.
92375 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92376 writes instead of casting of buffer.
92377 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92378 buffer32.
92379 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92380 casting of buffer.
92381
92382 2011-07-19 Andreas Schwab <schwab@redhat.com>
92383
92384 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92385
92386 2011-07-19 Ulrich Drepper <drepper@gmail.com>
92387
92388 * nscd/nscd.c (termination_handler): Don't do anything for a database
92389 if it has not yet been initialized.
92390
92391 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92392
92393 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92394
92395 2011-07-15 Marek Polacek <mpolacek@redhat.com>
92396
92397 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92398
92399 2011-07-18 Ulrich Drepper <drepper@gmail.com>
92400
92401 * po/nl.po: Update from translation team.
92402 * po/sv.po: Likewise.
92403
92404 2011-07-16 Roland McGrath <roland@hack.frob.com>
92405
92406 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92407 now disallowed by GCC.
92408
92409 * configure.in (use-default-link): Default to yes if a test -shared
92410 link meets our qualifications.
92411 * configure: Regenerated.
92412
92413 * config.make.in (output-format): New variable.
92414 * configure.in: Check for ld --print-output-format support.
92415 * configure: Regenerated.
92416 * Makerules ($(common-objpfx)format.lds)
92417 [$(output-format) != unknown]: Just use $(output-format),
92418 instead of the linker-script munging.
92419
92420 2011-07-14 Roland McGrath <roland@hack.frob.com>
92421
92422 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92423 of $(common-objpfx)shlib.lds.
92424 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92425
92426 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92427 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92428
92429 * configure.in (-z relro check): Adjust test code to add a large
92430 writable data section after it.
92431 * configure: Regenerated.
92432
92433 2011-07-11 Roland McGrath <roland@hack.frob.com>
92434
92435 * configure.in (-z relro check): Fix test code to make the variable
92436 truly const.
92437 * configure: Regenerated.
92438
92439 2011-07-11 Ulrich Drepper <drepper@gmail.com>
92440
92441 * nscd/nscd.h (struct traced_file): Define.
92442 (struct database_dyn): Remove inotify_descr, reset_res, and filename
92443 elements. Add traced_files.
92444 (inotify_fd): Declare.
92445 (register_traced_file): Declare.
92446 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92447 (inotify_fd): Export.
92448 (resolv_conf_descr): Remove.
92449 (nscd_init): Move inotify descriptor creation to main.
92450 Don't register files for notification here.
92451 (register_traced_file): New function.
92452 (invalidate_cache): Don't use reset_res to determine whether to call
92453 res_init, go through the list of registered files.
92454 (main_loop_poll): The inotify descriptors are now stored in the
92455 structures for the traced files.
92456 (main_loop_epoll): Likewise.
92457 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
92458 to __nss_disable_nscd.
92459 * nscd/cache.c (prune_cache): There is no single inotify descriptor
92460 for a database anymore. Check the records for all the registered
92461 files instead.
92462 * nss/Makefile (libnss_files-routines): Add files-init.
92463 (libnss_db-routines): Add db-init.
92464 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92465 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92466 * nss/nss_db/db-init.c: New file.
92467 * nss/nss_files/files-init.c: New file.
92468 * nss/nsswitch.c (nss_load_library): New function. Broken out of
92469 __nss_lookup_function.
92470 (__nss_lookup_function): Call nss_load_library.
92471 (nss_load_all_libraries): New function.
92472 (__nss_disable_nscd): Take parameter with callback function for files
92473 to register. Set is_nscd. Load all the DSOs for the NSS modules
92474 used for the cached services.
92475 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92476 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92477 options for features to all the files in nscd.
92478
92479 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92480
92481 2011-07-10 Roland McGrath <roland@hack.frob.com>
92482
92483 * csu/elf-init.c (__libc_csu_init): Comment typo.
92484
92485 2011-07-09 Ulrich Drepper <drepper@gmail.com>
92486
92487 * po/pl.po: Update from translation team.
92488 * po/ja.po: Likewise.
92489 * po/ru.po: Likewise.
92490 * po/ko.po: Likewise.
92491 * po/fr.po: Likewise.
92492
92493 2011-07-09 Roland McGrath <roland@hack.frob.com>
92494
92495 * configure.in (.ctors/.dtors header and trailer check):
92496 Use an empirical test on a built program.
92497 * configure: Regenerated.
92498
92499 * configure.in (-z relro check): Use an empirical test on a built DSO.
92500 Detect, but do not require, on ia64.
92501 * configure: Regenerated.
92502
92503 * configure.in (READELF): Find it with AC_CHECK_TOOL.
92504 Update tests that use readelf to use $READELF instead.
92505 * configure: Regenerated.
92506
92507 2011-07-08 Ulrich Drepper <drepper@gmail.com>
92508
92509 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92510 if the result is not used.
92511
92512 2011-07-05 Andreas Jaeger <aj@suse.de>
92513
92514 [BZ #9696]
92515 * stdlib/tst-strtod.c: Add testcase.
92516
92517 2011-07-07 Ulrich Drepper <drepper@gmail.com>
92518
92519 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92520 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92521 The latter has a higher limit. Take additional parameter to pass to
92522 the new function.
92523 (__pathconf): Pass file to __statfs_link_max.
92524 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92525 __statfs_link_max.
92526 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92527 __statfs_link_max.
92528
92529 [BZ #12868]
92530 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92531 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92532 Handle Lustre.
92533 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92534 (__statfs_filesize_max): Likewise.
92535 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92536
92537 2011-07-05 Andreas Jaeger <aj@suse.de>
92538
92539 * resolv/res_comp.c (dn_skipname): Remove unused variable.
92540
92541 2011-07-06 Marek Polacek <mpolacek@redhat.com>
92542
92543 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92544 `status' variable.
92545 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92546 Likewise.
92547
92548 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
92549
92550 * Makefile (strop-tests): Add strncat.
92551 * string/test-strncat.c: New file.
92552
92553 2011-06-30 Marek Polacek <mpolacek@redhat.com>
92554
92555 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92556
92557 2011-06-21 Andreas Jaeger <aj@suse.de>
92558
92559 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92560 Copy rule from iconvdata/Makefile.
92561
92562 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92563
92564 [BZ #12922]
92565 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92566 but no long options are defined, just return 'W'.
92567
92568 2011-06-22 Marek Polacek <mpolacek@redhat.com>
92569
92570 [BZ #9696]
92571 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92572
92573 2011-07-06 Ulrich Drepper <drepper@gmail.com>
92574
92575 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92576 netgroups to read.
92577 (innetgr): Likewise.
92578
92579 2011-07-05 Roland McGrath <roland@hack.frob.com>
92580
92581 * config.make.in (install_root): Default to $(DESTDIR).
92582
92583 2011-07-05 Ulrich Drepper <drepper@gmail.com>
92584
92585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92586
92587 2011-07-02 Roland McGrath <roland@hack.frob.com>
92588
92589 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92590
92591 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92592 containing directory rather than embedding absolute directory names.
92593
92594 * scripts/check-local-headers.sh: Rewritten using awk.
92595 Match by word, not by line. Print error messages for matches.
92596 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92597
92598 * Makerules [shlib-lds-flags empty]:
92599 ($(common-objpfx)libc_pic.opts): New target.
92600 ($(common-objpfx)libc_pic.os.clean): New target.
92601 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92602
92603 * config.make.in (OBJCOPY): New variable.
92604 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92605 * configure: Regenerated.
92606
92607 * config.make.in (use-default-link): New variable.
92608 * configure.in (use_default_link): Grok --with-default-link to set it.
92609 * configure: Regenerated.
92610 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92611 (shlib-lds, shlib-lds-flags): Define to empty.
92612
92613 * Makerules (shlib-lds): New variable.
92614 (shlib-lds-flags): New variable.
92615 (build-shlib, build-moduile, build-module-asneeded): Use it.
92616 ($(common-objpfx)libc.so): Use $(shlib-lds).
92617 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92618 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92619
92620 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92621 DT_FLAGS/DT_FLAGS_1 with zero flags.
92622
92623 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92624 linker script munging.
92625
92626 2011-07-02 Ulrich Drepper <drepper@gmail.com>
92627
92628 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92629 as 128-bit value.
92630 * crypt/sha512.c (sha512_process_block): Perform total addition using
92631 128-bit if possible.
92632 (__sha512_finish_ctx): Likewise.
92633 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92634 as 64-bit value.
92635 * crypt/sha256.c (SWAP64): Define.
92636 (sha256_process_block): Perform total addition using 64-bit if
92637 possible.
92638 (__sha256_finish_ctx): Likewise.
92639
92640 2011-07-01 Ulrich Drepper <drepper@gmail.com>
92641
92642 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
92643 * nscd/initgrcache.c (addinitgroupsX): Likewise.
92644 * nscd/hstcache.c (cache_addhst): Likewise.
92645 * nscd/grpcache.c (cache_addgr): Likewise.
92646 * nscd/aicache.c (addhstaiX): Likewise.
92647 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92648
92649 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
92650
92651 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
92653 * nscd/hstcache.c (cache_addhst): Likewise.
92654 * nscd/grpcache.c (cache_addgr): Likewise.
92655 * nscd/aicache.c (addhstaiX): Likewise.
92656
92657 2011-07-01 Andreas Schwab <schwab@redhat.com>
92658
92659 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
92660 domain only when needed.
92661
92662 2011-06-30 Andreas Schwab <schwab@redhat.com>
92663
92664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
92665 is always restored.
92666
92667 2011-06-29 Ulrich Drepper <drepper@gmail.com>
92668
92669 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
92670 are re-adding the entry.
92671 * nscd/servicescache.c (cache_addserv): Likewise.
92672
92673 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
92674
92675 * sysdeps/generic/dl-irel.h: fix protection against multiple
92676 inclusions.
92677 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92678
92679 2011-06-28 Ulrich Drepper <drepper@gmail.com>
92680
92681 [BZ #12935]
92682 * malloc/memusage.sh: Fix quoting in message.
92683 * debug/xtrace.sh: Likewise.
92684
92685 * configure.in: Remove support for --experimental-malloc option, make
92686 it the default.
92687 * config.make.in: Likewise.
92688 * malloc/Makefile: Likewise.
92689
92690 2011-06-27 Andreas Schwab <schwab@redhat.com>
92691
92692 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
92693 two-byte characters.
92694
92695 2011-06-27 Roland McGrath <roland@hack.frob.com>
92696
92697 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
92698 AC_CACHE_CHECK invocation.
92699 * configure: Regenerated.
92700
92701 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92702
92703 2011-06-27 Ulrich Drepper <drepper@gmail.com>
92704
92705 [BZ #12350]
92706 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
92707 bit from old_res_options.
92708
92709 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92710
92711 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
92712 value type for setfct.
92713
92714 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
92715
92716 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92717 __gettimeofday instead of gettimeofday.
92718
92719 2011-06-26 Ulrich Drepper <drepper@gmail.com>
92720
92721 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92722
92723 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
92724
92725 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92726
92727 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
92728 info.
92729
92730 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
92731
92732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92733 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92734 strcpy-sse2-unaligned strncpy-sse2-unaligned
92735 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
92736 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
92737 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
92738 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
92739 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
92740 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
92741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
92742 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
92743 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
92744 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
92745 (STRCPY): Support SSE2 and SSSE3 versions.
92746
92747 2011-06-24 Ulrich Drepper <drepper@gmail.com>
92748
92749 [BZ #12874]
92750 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
92751 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
92752 kernels which artificially limit size of requests.
92753
92754 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
92755
92756 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92757 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92758 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
92759 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
92760 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
92761 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
92762 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
92763 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
92764 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
92765 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
92766 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
92767 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
92768 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
92769 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92770 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
92771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92772 Enable unaligned load optimization for Intel Core i3, i5 and i7
92773 processors.
92774 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
92775 Define.
92776 (index_Fast_Unaligned_Load): Define.
92777 (HAS_FAST_UNALIGNED_LOAD): Define.
92778
92779 2011-06-23 Marek Polacek <mpolacek@redhat.com>
92780
92781 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92782
92783 2011-06-22 Ulrich Drepper <drepper@gmail.com>
92784
92785 [BZ #12907]
92786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92787 until it is clear that the information is realy needed.
92788 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92789
92790 2011-06-22 Andreas Schwab <schwab@redhat.com>
92791
92792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92793
92794 2011-06-22 Ulrich Drepper <drepper@gmail.com>
92795
92796 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92797 /sys/devices/system/cpu/online if it is usable.
92798
92799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92800 reading the information from the /proc filesystem to once a second.
92801
92802 2011-06-21 Andreas Jaeger <aj@suse.de>
92803
92804 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92805 NULL after inclusion of kernel headers.
92806
92807 2011-06-21 Ulrich Drepper <drepper@gmail.com>
92808
92809 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92810 calls to internal_setent.
92811
92812 [BZ #12885]
92813 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92814 addresses using gethostbyname4_r ignore IPv4 addresses.
92815
92816 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92817 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
92818
92819 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92820
92821 2011-06-20 David S. Miller <davem@davemloft.net>
92822
92823 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92824 inclusions.
92825 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92826
92827 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92828 (elf_irel): Use it.
92829 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92830 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92831 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92832 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92833 * sysdeps/x86_64/dl-irel.h: Likewise.
92834
92835 * elf/dl-runtime.c: Use elf_ifunc_invoke.
92836 * elf/dl-sym.c: Likewise.
92837
92838 2011-06-15 Ulrich Drepper <drepper@gmail.com>
92839
92840 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
92841 need to dereference resplen2.
92842
92843 2011-06-14 Andreas Schwab <schwab@redhat.com>
92844
92845 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92846
92847 2011-06-15 Ulrich Drepper <drepper@gmail.com>
92848
92849 * Makeconfig: Define vardbdir and inst_vardbdir.
92850 * nss/Makefile: Add rules to install db-Makefile.
92851
92852 * nss/nss_db/db-XXX.c: Cleanup.
92853
92854 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92855 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92856 GLIBC_PRIVATE.
92857 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92858 * nss/makedb.c: Implement -g option to specify that value strings
92859 are generated and should not be added to table iterated over for
92860 get*ent calls.
92861 * nss/nss_db/db-initgroups.c: New file.
92862
92863 * nss/getent.c: Add support for initgroups lookups through getgrouplist
92864 interface.
92865
92866 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92867 (internal_getgrouplist): Adjust to name change.
92868 Update use_initgroups_entry if this is not the first call.
92869 * nss/databases.def: Add initgroups entry.
92870
92871 * nss/makedb.c (compute_tables): Check result of multiple hash table
92872 sizes to minimize maximum chain length.
92873
92874 2011-06-14 Ulrich Drepper <drepper@gmail.com>
92875
92876 * Versions.def: Add entry for libnss_db.
92877 * shlib-versions: Likewise.
92878 * nss/Makefile: Add rules to build libnss_db.
92879 * nss/Versions: Add libnss_db information. Organize libnss_files
92880 entries better.
92881 * nss/db-Makefile: Add gshadow support. Change rules for the new
92882 makedb progra. Some minor improvements to generate smaller files.
92883 * nss/nss_db/nss_db.h: Move NSS database header data structures to
92884 here from...
92885 * nss/makedb.c: ...here.
92886 Improve database format to be smaller and require less memory at
92887 runtime.
92888 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
92889 db anymore.
92890 * nss/nss_db/db-netgrp.c: Likewise.
92891 * nss/nss_db/db-open.c: Likewise.
92892 * nss/nss_files/flies-XXX.x: Adjust comments.
92893 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92894 * nss/nss_files/files-grp.c: Likewise.
92895 * nss/nss_files/files-hosts.c: Likewise.
92896 * nss/nss_files/files-network.c: Likewise.
92897 * nss/nss_files/files-proto.c: Likewise.
92898 * nss/nss_files/files-pwd.c: Likewise.
92899 * nss/nss_files/files-rpc.c: Likewise.
92900 * nss/nss_files/files-service.c: Likewise.
92901 * nss/nss_files/files-sgrp.c: Likewise.
92902 * nss/nss_files/files-spwd.c: Likewise.
92903 * nss/nss_db/db-alias.c: Removed.
92904 * nss/nss_db/dummy-db.h: Removed.
92905
92906 2011-06-02 Ulrich Drepper <drepper@gmail.com>
92907
92908 * nss/makedb.c: Rewritten to not use database library.
92909 * nss/Makefile: Update to build new makedb program.
92910
92911 2011-06-14 Andreas Jaeger <aj@suse.de>
92912
92913 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92914 memset declaration.
92915
92916 2011-06-10 Andreas Schwab <schwab@redhat.com>
92917
92918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92919 tmpbuf.
92920
92921 2011-06-10 Roland McGrath <roland@hack.frob.com>
92922
92923 * Makerules (shlib.lds): Fail if the linker script comes out empty.
92924 * elf/Makefile ($(objpfx)ld.so): Likewise.
92925
92926 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92927 Don't list ld.so twice in dependencies.
92928
92929 * posix/bug-regex31.c: Include <stdlib.h>.
92930
92931 * nscd/hstcache.c (cache_addhst): Remove unused variable.
92932
92933 * nis/nss_compat/compat-spwd.c
92934 (getspent_next_nss_netgr): Remove unused variable.
92935 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92936
92937 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92938 nonmembers" output to use the right array.
92939
92940 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92941
92942 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92943
92944 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92945 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92946 * catgets/gencat.c (read_input_file): Likewise.
92947 * locale/programs/locarchive.c (enlarge_archive): Likewise.
92948
92949 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92950 variable definition inside #if's controlling its use.
92951
92952 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92953
92954 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92955
92956 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92957
92958 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92959 unreachable code.
92960
92961 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92962
92963 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92964 * configure: Regenerated.
92965
92966 * Makerules: Revert last change.
92967 * elf/Makefile: Likewise.
92968
92969 2011-06-09 Roland McGrath <roland@hack.frob.com>
92970
92971 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92972 * elf/Makefile ($(objpfx)librtld.os): Likewise.
92973 (reloc-link): Likewise.
92974
92975 2011-06-09 Ulrich Drepper <drepper@gmail.com>
92976
92977 * elf/Makefile: Add rules to build pldd.
92978 * elf/pldd.c: New file.
92979 * elf/pldd-xx.c: New file.
92980
92981 2011-06-07 Ulrich Drepper <drepper@gmail.com>
92982
92983 * version.h: Update for 2.15 development version.
92984
92985 2011-06-07 David S. Miller <davem@davemloft.net>
92986
92987 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92988 ifuncs.
92989 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92990 elf_machine_lazy_rel): Likewise.
92991 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92992 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92993 elf_machine_lazy_rel): Likewise.
92994 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92995 dl_hwcap via passed in argument.
92996 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92997 Likewise.
92998
92999 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93000
93001 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
93002
93003 2011-06-06 Roland McGrath <roland@hack.frob.com>
93004
93005 [BZ #12849]
93006 * manual/fdl-1.1.texi: New file, verbatim from:
93007 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93008 * manual/lgpl-2.1.texi: New file, verbatim from:
93009 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93010 * manual/Makefile (licenses): New variable, list those new file names.
93011 (texis): Use it.
93012 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93013
93014 * manual/fdl.texi: File removed.
93015 * manual/lesser.texi: File removed.
93016 * manual/libc.texinfo (Copying, Documentation License):
93017 Use new @include file names, put @appendix directive before @include.
93018
93019 2011-06-04 Jakub Jelinek <jakub@redhat.com>
93020
93021 [BZ #12841]
93022 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93023 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93024 (mq_open): Add __NTH.
93025
93026 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
93027
93028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93029 Assume Intel Core i3/i5/i7 processor if AVX is available.
93030
93031 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93032
93033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93034 typo.
93035
93036 2011-05-31 Andreas Schwab <schwab@redhat.com>
93037
93038 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93039 memory. Use alloca_account. Fix memory leak when retrying.
93040
93041 2011-05-31 Ulrich Drepper <drepper@gmail.com>
93042
93043 * version.h (RELEASE): Bump for 2.14 release.
93044 * include/features.h (__GLIBC_MINOR__): Bump to 14.
93045
93046 * config.make.in (RANLIB): Remove entry.
93047
93048 2011-05-30 Ulrich Drepper <drepper@gmail.com>
93049
93050 * po/Makefile (po-sed-cmd): Add ksh to extensions.
93051 (libc.pot): Work around missing support for .ksh extension in xgettext.
93052
93053 [BZ #12684]
93054 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93055 if both request failed.
93056 (send_dg): In case of server errors clear resplen or *resplen2.
93057
93058 [BZ #12454]
93059 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93060 when there are multiple maps.
93061 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93062 (_dl_fini): Remove test here.
93063
93064 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93065
93066 2011-05-29 Ulrich Drepper <drepper@gmail.com>
93067
93068 [BZ #12350]
93069 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93070 bit from old_res_options.
93071 (gaih_inet): Likewise.
93072
93073 [BZ #11099]
93074 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93075 as signed.
93076
93077 * resolv/res_init.c (res_setoptions): Make the code more compact.
93078
93079 [BZ #11558]
93080 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93081 set RES_USEVC.
93082
93083 [BZ #11634]
93084 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93085
93086 * malloc/malloc.h: Mark malloc hook variables as deprecated.
93087
93088 [BZ #11781]
93089 * malloc/malloc.h: Declare malloc hook variables as volatile.
93090
93091 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93092 in last patch.
93093
93094 [BZ #11799]
93095 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93096 raise in the comment.
93097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93098 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93099 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93100
93101 2011-05-28 Ulrich Drepper <drepper@gmail.com>
93102
93103 [BZ #12811]
93104 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93105 grow the buffers more if it already has to be sufficient.
93106 (build_wcs_upper_buffer): Likewise.
93107 * posix/regexec.c (check_matching): Likewise.
93108 (clean_state_log_if_needed): Likewise.
93109 (extend_buffers): Don't enlarge buffers beyond size of the input
93110 buffer.
93111 Patches mostly by Emil Wojak <emil@wojak.eu>.
93112 * posix/bug-regex32.c: New file.
93113 * posix/Makefile (tests): Add bug-regex32.
93114
93115 * locale/findlocale.c (_nl_find_locale): Return right away if
93116 _nl_explode_name failed.
93117 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93118
93119 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93120
93121 * debug/xtrace.sh: Unify messages.
93122 * malloc/memusage.sh: Likewise.
93123
93124 [BZ #12813]
93125 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93126 time symbol from vDSO. Substitute with vsyscall if not available.
93127 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93128 __vdso_time.
93129
93130 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93131 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93132 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93133 Add sendmmsg and internal_sendmmsg.
93134 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93135 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93136 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93137
93138 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93139 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93140 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93141
93142 2011-05-27 Ulrich Drepper <drepper@gmail.com>
93143
93144 [BZ #12813]
93145 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93146 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
93147 available.
93148 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93149 __vdso_getcpu.
93150
93151 [BZ #12814]
93152 * iconvdata/Makefile (tests): Add bug-iconv9.
93153 * iconvdata/bug-iconv9.c: New file.
93154
93155 2011-05-27 Andreas Schwab <schwab@redhat.com>
93156
93157 [BZ #12814]
93158 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93159
93160 2011-05-25 Jakub Jelinek <jakub@redhat.com>
93161
93162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93163 (struct user_regs_struct): Change intcs field back to cs.
93164
93165 2011-05-25 Ulrich Drepper <drepper@gmail.com>
93166
93167 * po/ja.po: Update from translation team.
93168
93169 2011-05-23 Ulrich Drepper <drepper@gmail.com>
93170
93171 [BZ #12795]
93172 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93173 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93174
93175 2011-05-20 Andreas Schwab <schwab@redhat.com>
93176
93177 * stdlib/longlong.h: Update from GCC.
93178
93179 2011-05-23 Andreas Schwab <schwab@redhat.com>
93180
93181 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93182 parameter name.
93183 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93184 Add parameter name.
93185 (__sysconf): Pass it down.
93186
93187 2011-05-22 Ulrich Drepper <drepper@gmail.com>
93188
93189 [BZ #12671]
93190 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93191 some situations.
93192 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93193 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93194 add in in __libc_use_alloca calls. Adjust callers.
93195 (glob): Use malloc in some situations.
93196
93197 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93198 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93199 pltexit.
93200
93201 2011-05-21 Ulrich Drepper <drepper@gmail.com>
93202
93203 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93204 and CLOCK_BOOTTIME_ALARM.
93205
93206 [BZ #12782]
93207 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93208 is returned.
93209
93210 * string/_strerror.c (__strerror_r): Print negative errors as signed
93211 numbers.
93212
93213 [BZ #12777]
93214 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93215 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93216 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93217
93218 * configure.in: Fix typo in redirection and correct removal of test
93219 files in two cases.
93220
93221 [BZ #12788]
93222 * locale/setlocale.c (new_composite_name): Fix test to check for
93223 identical name of all categories.
93224
93225 [BZ #12792]
93226 * libio/filedoalloc.c (local_isatty): New function.
93227 (_IO_file_doallocate): Use local_isatty.
93228 * stdio-common/perror.c (perror): In case a new stream is used
93229 forward the stream error.
93230 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93231 error flag.
93232
93233 2011-05-20 Ulrich Drepper <drepper@gmail.com>
93234
93235 [BZ #11884]
93236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93237 alloca.
93238 * include/alloca.h (extend_alloca_account): Define.
93239
93240 [BZ #11857]
93241 * posix/regex.h: Fix comments with documentation of user-accessible
93242 fields after compilation and describe correct free'ing of pattern
93243 after re_compile_pattern.
93244 Patch by Reuben Thomas <rrt@sc3d.org>.
93245
93246 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
93247
93248 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93249 and -mno-altivec to prevent the compiler from using Altivec and/or
93250 VSX instructions when the corresponding registers are not available.
93251
93252 2011-05-19 Andreas Schwab <schwab@redhat.com>
93253
93254 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93255
93256 2011-05-19 Ulrich Drepper <drepper@gmail.com>
93257
93258 * libio/freopen.c (freopen): Use __dup2, not dup2.
93259 * libio/freopen64.c (freopen64): Likewise.
93260
93261 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
93262
93263 [BZ #12775]
93264 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93265 * math/Makefile (tests): Add test-powl.
93266 (CFLAGS-test-powl.c): Define.
93267 * math/test-powl.c: New file.
93268
93269 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
93270
93271 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93272
93273 2011-05-17 Ulrich Drepper <drepper@gmail.com>
93274
93275 [BZ #11837]
93276 * iconvdata/gb18030.c: Update to GB18020-2005.
93277
93278 2011-05-16 Ulrich Drepper <drepper@gmail.com>
93279
93280 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93281 RE_SYNTAX_POSIX_AWK): Update to match recent development.
93282 Patch by Aharon Robbins <arnold@skeeve.com>.
93283
93284 [BZ #11892]
93285 * stdlib/putenv.c (putenv): Don't always create copy of the variable
93286 on the stack.
93287
93288 [BZ #11895]
93289 * misc/pselect.c (__pselect): Handle timeout value errors hidden
93290 through underflows.
93291
93292 [BZ #12766]
93293 * misc/error.c (error_at_line): Ensure file_name and old_file_name
93294 point to strings before performing equality test for error_one_per_line
93295 mode.
93296
93297 [BZ #11697]
93298 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93299
93300 [BZ #11820]
93301 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93302 (struct user_fpregs_struct): Avoid __uint*_t types.
93303
93304 [BZ #6420]
93305 * malloc/mtrace.c (tr_where): Add additional parameter to point to
93306 symbol info. Use it instead of calling _dl_addr locally.
93307 (lock_and_info): New function.
93308 (tr_freehook): Call lock_and_info and pass symbol info as additional
93309 parameter to tr_where.
93310 (tr_mallochook): Likewise.
93311 (tr_reallochook): Likewise.
93312 (tr_memalignhook): Likewise.
93313
93314 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
93315 used and couldn't be at all thread-safe.
93316
93317 2011-05-15 Ulrich Drepper <drepper@gmail.com>
93318
93319 * libio/freopen.c (freopen): Don't close old file descriptor
93320 before the new one is opened. Instead dup the new file descriptor
93321 to the old one after the new stream is created.
93322 * libio/freopen64.c (freopen64): Likewise.
93323 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93324 * libio/fileops.c (_IO_new_file_close_it): Handle new
93325 _IO_FLAGS2_NOCLOSE flag.
93326 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93327 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93328 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93329 _IO_FLAGS2_NOCLOSE flag.
93330 * include/unistd.h: Add hidden_proto for dup3.
93331 Define __have_dup3.
93332 * io/dup3.c: Define hidden symbol.
93333 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93334
93335 [BZ #7101]
93336 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93337 when an incomplete long option is used.
93338 * posix/tst-getopt_long1.c: New file.
93339 * posix/Makefile (tests): Add tst-getopt_long1.
93340
93341 [BZ #10138]
93342 * scripts/config.guess: Update from autoconf-2.68.
93343 * scripts/config.sub: Likewise.
93344
93345 [BZ #10157]
93346 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93347 tests into ...
93348 (has_cpuclock): ...this. New function.
93349 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93350 macro here based on has_cpuclock code.
93351
93352 [BZ #10149]
93353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93354 First byte (not low byte) is now always NUL.
93355 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93356
93357 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93358 Use non-cancelable interfaces.
93359
93360 [BZ #9809]
93361 * locale/iso-639.def: Add entry for Sorani.
93362
93363 [BZ #11901]
93364 * include/stdlib.h: Move include protection to the right place.
93365 Define abort_msg_s. Declare __abort_msg with it.
93366 * stdlib/abort.c (__abort_msg): Adjust type.
93367 * assert/assert.c (__assert_fail_base): New function. Majority
93368 of code from __assert_fail. Allocate memory for __abort_msg with
93369 mmap.
93370 (__assert_fail): Now call __assert_fail_base.
93371 * assert/assert-perr.c: Remove bulk of implementation. Use
93372 __assert_fail_base.
93373 * include/assert.hL Declare __assert_fail_base.
93374 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93375 mmap.
93376 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93377
93378 2011-05-14 Ulrich Drepper <drepper@gmail.com>
93379
93380 [BZ #11952]
93381 [BZ #12453]
93382 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93383 until all modules are registered in the DTV.
93384 * elf/Makefile: Add rules to build and run tst-tls19.
93385 * elf/tst-tls19.c: New file.
93386 * elf/tst-tls19mod1.c: New file.
93387 * elf/tst-tls19mod2.c: New file.
93388 * elf/tst-tls19mod3.c: New file.
93389 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93390
93391 [BZ #12083]
93392 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93393 correctly.
93394
93395 [BZ #12601]
93396 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93397 two-byte sequence errors.
93398 * iconvdata/Makefile (tests): Add bug-iconv8.
93399 * iconvdata/bug-iconv8.c: New file.
93400
93401 [BZ #12626]
93402 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93403 buf2 definition.
93404
93405 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93406
93407 [BZ #12432]
93408 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93409 (dummy_getcfa): New function.
93410 (init): Get _Unwind_GetCFA address, use dummy if not found.
93411 (backtrace_helper): In recursion check, also check whether CFA changes.
93412 (__backtrace): Completely initialize arg.
93413
93414 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93415 storing incomplete byte sequence in state object. Avoid testing for
93416 guaranteed too small input if we know there is enough data available.
93417
93418 2011-05-11 Andreas Schwab <schwab@redhat.com>
93419
93420 * Makeconfig (+link-pie): Indent.
93421 * Rules (binaries-pie): Define if $(have-fpie) and
93422 $(build-shared).
93423 (binaries-shared): Also filter out $(binaries-pie).
93424 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93425 * nscd/Makefile (others-pie): Add nscd.
93426 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93427 ($(objpfx)nscd): Remove command override.
93428 * login/Makefile (others-pie): Add pt_chown.
93429 ($(objpfx)pt_chown): Remove command override.
93430 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93431 remove command overrides.
93432
93433 2011-05-13 Ulrich Drepper <drepper@gmail.com>
93434
93435 * libio/tst_putwc.c: Fix error messages.
93436
93437 [BZ #12724]
93438 * libio/fileops.c (_IO_new_file_close_it): Always flush when
93439 currently writing and seek to current position when not.
93440 * libio/Makefile (tests): Add bug-fclose1.
93441 * libio/bug-fclose1.c: New file.
93442
93443 2011-05-12 Ulrich Drepper <drepper@gmail.com>
93444
93445 [BZ #12511]
93446 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93447 don't set DF_1_NODELETE here.
93448 (do_lookup_x): When entering new entry test for copy relocation
93449 and if necessary set DF_1_NODELETE flag.
93450 * elf/tst-unique4.cc: New file.
93451 * elf/tst-unique4.h: New file.
93452 * elf/tst-unique4lib.cc: New file.
93453 * elf/Makefile: Add rules to build and run tst-unique4.
93454 Patch by Piotr Bury <pbury@goahead.com>.
93455
93456 2011-05-11 Ulrich Drepper <drepper@gmail.com>
93457
93458 [BZ #12052]
93459 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93460
93461 [BZ #12625]
93462 * misc/mntent_r.c (addmntent): Flush the stream after the output
93463
93464 [BZ #12393]
93465 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93466 (is_trusted_path_normalize): Skip initial colon. Append slash
93467 to empty buffer. Duplicate is_trusted_path code but allow
93468 constructed patch to be prefix.
93469 (is_dst): Allow $ORIGIN followed by /.
93470 (_dl_dst_substitute): Correct clearing of check_for_trusted.
93471 Correct testing of result of is_trusted_path_normalize
93472 (decompose_rpath): Fix warning.
93473
93474 2011-05-10 Ulrich Drepper <drepper@gmail.com>
93475
93476 [BZ #11257]
93477 * grp/initgroups.c (internal_getgrouplist): When we found the service
93478 list through the initgroups entry in nsswitch.conf do not always
93479 continue on a successful lookup. Don't always use the
93480 __nss_group_database value if it is set.
93481 * nss/nsswitch.conf (initgroups): Change action for successful db
93482 lookup to continue for compatibility.
93483
93484 2011-05-09 Ulrich Drepper <drepper@gmail.com>
93485
93486 [BZ #11532]
93487 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93488 and CP774 modules.
93489 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93490 and CP774 modules.
93491 * iconvdata/tst-tables.sh: Likewise.
93492 * iconvdata/cp770.c: New file.
93493 * iconvdata/cp771.c: New file.
93494 * iconvdata/cp772.c: New file.
93495 * iconvdata/cp773.c: New file.
93496 * iconvdata/cp774.c: New file.
93497 * iconvdata/testdata/CP770: New file.
93498 * iconvdata/testdata/CP770..UTF8: New file.
93499 * iconvdata/testdata/CP771: New file.
93500 * iconvdata/testdata/CP771..UTF8: New file.
93501 * iconvdata/testdata/CP772: New file.
93502 * iconvdata/testdata/CP772..UTF8: New file.
93503 * iconvdata/testdata/CP773: New file.
93504 * iconvdata/testdata/CP773..UTF8: New file.
93505 * iconvdata/testdata/CP774: New file.
93506 * iconvdata/testdata/CP774..UTF8: New file.
93507
93508 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93509 END CHARMAP line.
93510 * iconvdata/gen-8bit-gap.sh: Likewise.
93511 * iconvdata/gen-8bit.sh: Likewise.
93512
93513 * locale/iso-639.def: Add ary entry.
93514
93515 [BZ #11258]
93516 * locale/C-translit.h.in: Add U20A1 transliteration.
93517
93518 [BZ #12178]
93519 * locale/iso-639.def: Add wae entry.
93520 Patch by Kevin Bortis <bortis@translate-wae.ch>.
93521
93522 [BZ #12545]
93523 * locale/programs/localedef.c (construct_output_path): Use ssize_t
93524 for n.
93525
93526 [BZ #12711]
93527 * locale/C-translit.h.in: Add entry for U20B9.
93528 Patch by pravin.d.s@gmail.com.
93529
93530 2011-05-08 Ulrich Drepper <drepper@gmail.com>
93531
93532 [BZ #12713]
93533 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93534 ENAMETOOLONG use generic getcwd.
93535 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
93536 in rtld. Use *stat64.
93537 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93538 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93539 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93540 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93541 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93542 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93543 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93544 __fstatat64 macros.
93545 * include/dirent.h: Add libc_hidden_proto for rewinddir.
93546 * dirent/rewinddir.c: Add libc_hidden_def.
93547 * sysdeps/mach/hurd/rewinddir.c: Likewise.
93548 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
93549
93550 * include/dirent.h (__alloc_dir): Add flags parameter.
93551 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93552 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93553 __alloc_dir.
93554 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
93555 from fdopendir if O_CLOEXEC is already set.
93556
93557 2011-03-15 Alan Modra <amodra@gmail.com>
93558
93559 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93560 l_tls_firstbyte_offset non-zero. Save padding offset in
93561 l_tls_firstbyte_offset for later use.
93562 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93563 freeing static tls block.
93564
93565 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
93566
93567 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93568 where #ifdef was intended. The intent is to prevent ARG_MAX from
93569 being defined by the kernel headers.
93570
93571 2011-05-07 Ulrich Drepper <drepper@gmail.com>
93572
93573 [BZ #12734]
93574 * resolv/resolv.h: Define RES_NOTLDQUERY.
93575 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93576 no-tld-query and set RES_NOTLDQUERY.
93577 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93578 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93579 modern BIND to search name as TLD unless forbidden.
93580
93581 2011-05-07 Petr Baudis <pasky@suse.cz>
93582 Ulrich Drepper <drepper@gmail.com>
93583
93584 [BZ #12393]
93585 * elf/dl-load.c (fillin_rpath): Move trusted path check...
93586 (is_trusted_path): ...to here.
93587 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93588 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93589 using is_trusted_path_normalize() in setuid scripts.
93590
93591 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
93592
93593 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93594 __BEGIN/__END_DECLS.
93595
93596 2011-05-06 Ulrich Drepper <drepper@gmail.com>
93597
93598 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93599 NSS_STATUS_NOTFOUND if no record was found.
93600
93601 2011-05-05 Andreas Schwab <schwab@redhat.com>
93602
93603 * sunrpc/Makefile (headers): Add rpc/netdb.h.
93604 (headers-not-in-tirpc): Remove rpc/netdb.h
93605 * resolv/netdb.h: Revert last change.
93606
93607 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
93608
93609 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93610 circular dependency between libgcc.a and libc.a.
93611
93612 2011-05-05 Andreas Schwab <schwab@redhat.com>
93613
93614 * resolv/netdb.h: Don't include <rpc/netdb.h>.
93615 * nis/Makefile: Don't install rpcsvc/*.
93616 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93617 instead of <rpc/types.h>.
93618 (MAXHOSTNAMELEN): Define.
93619
93620 2011-05-03 Andreas Schwab <schwab@redhat.com>
93621
93622 * elf/ldconfig.c (add_dir): Don't crash on empty path.
93623
93624 2011-04-28 Maciej Babinski <mbabinski@google.com>
93625
93626 [BZ #12714]
93627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93628 gethostbyname4_r when IPv6 results are possible.
93629
93630 2011-05-02 Ulrich Drepper <drepper@gmail.com>
93631
93632 [BZ #12723]
93633 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93634 _PC_PIPE_BUF handling.
93635
93636 2011-04-30 Bruno Haible <bruno@clisp.org>
93637
93638 [BZ #12717]
93639 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93640 * resolv/netdb.h (getnameinfo): Change type of flags parameter
93641 to 'int'.
93642 * inet/getnameinfo.c (getnameinfo): Likewise.
93643
93644 2011-04-29 Ulrich Drepper <drepper@gmail.com>
93645
93646 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93647 to groups setting in database lookup.
93648 * nss/nsswitch.conf: Add initgroups entry.
93649
93650 2011-04-22 Ulrich Drepper <drepper@gmail.com>
93651
93652 [BZ #12685]
93653 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93654 mode string.
93655 Patch by Eric Blake <eblake@redhat.com>.
93656
93657 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
93658
93659 * sunrpc/Makefile (need-export-routines): Add svc_run.
93660 (routines): Remove svc_run.
93661 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
93662 * sunrpc/clnt_perr.c (clnt_perrno): Export.
93663 * sunrpc/svc_run.c (svc_run): Likewise.
93664 * sunrpc/svc_udp.c (svcudp_create): Likewise.
93665
93666 2011-04-21 Ulrich Drepper <drepper@gmail.com>
93667
93668 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
93669 problem in reallocation in last patch.
93670
93671 2011-04-20 Ulrich Drepper <drepper@gmail.com>
93672
93673 * sunrpc/Makefile: Move inclusion of Rules.
93674
93675 2011-04-19 Ulrich Drepper <drepper@gmail.com>
93676
93677 * nss/nss_files/files-initgroups.c: New file.
93678 * nss/Makefile (libnss_files-routines): Add files-initgroups.
93679 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
93680 _nss_files_initgroups_dyn.
93681
93682 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
93683
93684 * elf/elf.h (R_ARM_IRELATIVE): Define.
93685
93686 2011-04-19 Ulrich Drepper <drepper@gmail.com>
93687
93688 * po/ru.po: Update from translation team.
93689
93690 2011-04-17 Ulrich Drepper <drepper@gmail.com>
93691
93692 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
93693 dependencies.
93694
93695 2011-02-06 Mike Frysinger <vapier@gentoo.org>
93696
93697 [BZ #12653]
93698 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
93699 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
93700 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
93701 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
93702 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93703
93704 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
93705
93706 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
93707 differing bytes.
93708 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
93709 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
93710 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
93711
93712 2011-04-17 Ulrich Drepper <drepper@gmail.com>
93713
93714 [BZ #12420]
93715 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
93716 storing it.
93717 * stdlib/bug-getcontext.c: New file.
93718 * stdlib/Makefile: Add rules to build and run bug-getcontext.
93719
93720 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93721
93722 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
93723 instructions into .machine "z9-109".
93724 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
93725 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
93726
93727 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
93728
93729 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
93730 between environment variables and auxiliary vector.
93731
93732 2011-04-16 Ulrich Drepper <drepper@gmail.com>
93733
93734 * Makefile: Add rules to build linkobj/libc.so.
93735 * include/libc-symbols.h: Define libc_hidden_nolink.
93736 * include/rpc/auth.h: Mark functions which are to be hidden.
93737 * include/rpc/auth_des.h: Likewise.
93738 * include/rpc/auth_unix.h: Likewise.
93739 * include/rpc/clnt.h: Likewise.
93740 * include/rpc/des_crypt.h: Likewise.
93741 * include/rpc/key_prot.h: Likewise.
93742 * include/rpc/pmap_clnt.h: Likewise.
93743 * include/rpc/pmap_prot.h: Likewise.
93744 * include/rpc/pmap_rmt.h: Likewise.
93745 * include/rpc/rpc_msg.h: Likewise.
93746 * include/rpc/svc.h: Likewise.
93747 * include/rpc/svc_auth.h: Likewise.
93748 * include/rpc/xdr.h: Likewise.
93749 * nis/Makefile: Link all DSOs against linkobj/libc.so.
93750 * nss/Makefile: Likewise.
93751 * sunrpc/Makefile: Don't install headers. Build library with normal
93752 entry points. Don't build rpcinfo. Link RPC tests appropriately.
93753 * sunrpc/auth_des.c: Hide exported symbols by default, export some
93754 for the compat linking library. Remove use of INTDEF/INTUSE.
93755 * sunrpc/auth_none.c: Likewise.
93756 * sunrpc/auth_unix.c: Likewise.
93757 * sunrpc/authdes_prot.c: Likewise.
93758 * sunrpc/authuxprot.c: Likewise.
93759 * sunrpc/clnt_gen.c: Likewise.
93760 * sunrpc/clnt_perr.c: Likewise.
93761 * sunrpc/clnt_raw.c: Likewise.
93762 * sunrpc/clnt_simp.c: Likewise.
93763 * sunrpc/clnt_tcp.c: Likewise.
93764 * sunrpc/clnt_udp.c: Likewise.
93765 * sunrpc/clnt_unix.c: Likewise.
93766 * sunrpc/des_crypt.c: Likewise.
93767 * sunrpc/des_soft.c: Likewise.
93768 * sunrpc/get_myaddr.c: Likewise.
93769 * sunrpc/key_call.c: Likewise.
93770 * sunrpc/key_prot.c: Likewise.
93771 * sunrpc/netname.c: Likewise.
93772 * sunrpc/pm_getmaps.c: Likewise.
93773 * sunrpc/pm_getport.c: Likewise.
93774 * sunrpc/pmap_clnt.c: Likewise.
93775 * sunrpc/pmap_prot.c: Likewise.
93776 * sunrpc/pmap_prot2.c: Likewise.
93777 * sunrpc/pmap_rmt.c: Likewise.
93778 * sunrpc/publickey.c: Likewise.
93779 * sunrpc/rpc_cmsg.c: Likewise.
93780 * sunrpc/rpc_common.c: Likewise.
93781 * sunrpc/rpc_dtable.c: Likewise.
93782 * sunrpc/rpc_prot.c: Likewise.
93783 * sunrpc/rpc_thread.c: Likewise.
93784 * sunrpc/rtime.c: Likewise.
93785 * sunrpc/svc.c: Likewise.
93786 * sunrpc/svc_auth.c: Likewise.
93787 * sunrpc/svc_authux.c: Likewise.
93788 * sunrpc/svc_raw.c: Likewise.
93789 * sunrpc/svc_run.c: Likewise.
93790 * sunrpc/svc_simple.c: Likewise.
93791 * sunrpc/svc_tcp.c: Likewise.
93792 * sunrpc/svc_udp.c: Likewise.
93793 * sunrpc/svc_unix.c: Likewise.
93794 * sunrpc/svcauth_des.c: Likewise.
93795 * sunrpc/xcrypt.c: Likewise.
93796 * sunrpc/xdr.c: Likewise.
93797 * sunrpc/xdr_array.c: Likewise.
93798 * sunrpc/xdr_float.c: Likewise.
93799 * sunrpc/xdr_intXX_t.c: Likewise.
93800 * sunrpc/xdr_mem.c: Likewise.
93801 * sunrpc/xdr_rec.c: Likewise.
93802 * sunrpc/xdr_ref.c: Likewise.
93803 * sunrpc/xdr_sizeof.c: Likewise.
93804 * sunrpc/xdr_stdio.c: Likewise.
93805
93806 2011-04-10 Ulrich Drepper <drepper@gmail.com>
93807
93808 [BZ #12650]
93809 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93810 * sysdeps/ia64/dl-tls.h: Likewise.
93811 * sysdeps/powerpc/dl-tls.h: Likewise.
93812 * sysdeps/s390/dl-tls.h: Likewise.
93813 * sysdeps/sh/dl-tls.h: Likewise.
93814 * sysdeps/sparc/dl-tls.h: Likewise.
93815 * sysdeps/x86_64/dl-tls.h: Likewise.
93816 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93817
93818 2011-03-14 Andreas Schwab <schwab@redhat.com>
93819
93820 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93821 rpath element also skip the following colon.
93822 (expand_dynamic_string_token): Add is_path parameter and pass
93823 down to DL_DST_REQUIRED and _dl_dst_substitute.
93824 (decompose_rpath): Call expand_dynamic_string_token with
93825 non-zero is_path. Ignore empty rpaths.
93826 (_dl_map_object_from_fd): Call expand_dynamic_string_token
93827 with zero is_path.
93828
93829 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
93830
93831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93832 Make cancelable.
93833
93834 2011-04-09 Ulrich Drepper <drepper@gmail.com>
93835
93836 [BZ #12655]
93837 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93838 Patch by Filipe David Manana <fdmanana@apache.org>.
93839
93840 2011-04-07 Andreas Schwab <schwab@redhat.com>
93841
93842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93843 Maintain aligned stack.
93844 (CHECK_RSP): Remove unused macro.
93845
93846 2011-04-03 Ulrich Drepper <drepper@gmail.com>
93847
93848 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93849 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93850
93851 2011-04-02 Ulrich Drepper <drepper@gmail.com>
93852
93853 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93854
93855 * include/features.h: Mention __USE_XOPEN2K8 in comment.
93856
93857 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
93858
93859 [BZ #12518]
93860 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93861 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93862 * sysdeps/x86_64/memmove.c: New file.
93863 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93864 (memcpy): Renamed to ...
93865 (__new_memcpy): This.
93866 (memcpy): Provide GLIBC_2_14 memcpy.
93867 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93868 (memcpy): Provide GLIBC_2_2_5 memcpy.
93869
93870 2011-04-01 Ulrich Drepper <drepper@gmail.com>
93871
93872 [BZ #12631]
93873 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93874
93875 2011-03-30 Andreas Schwab <schwab@redhat.com>
93876
93877 * misc/syncfs.c: New file.
93878 * misc/Makefile (routines): Add syncfs.
93879 * posix/unistd.h: Declare syncfs.
93880 * sysdeps/unix/syscalls.list: Add syncfs.
93881
93882 2011-04-01 Andreas Schwab <schwab@redhat.com>
93883
93884 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93885 open_by_handle_at.
93886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93891 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93892 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93893
93894 2011-04-01 Ulrich Drepper <drepper@gmail.com>
93895
93896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93897 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93898 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93900 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93901 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93902 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93903
93904 * io/Makefile: Compile fallocate.c, fallocate64.c, and
93905 sync_file_range.c with -fexceptions.
93906 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93907 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93908 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93909 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93910 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93911 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93912 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93913 sync_file_range as cancellation point
93914 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
93915 now a wrapper around __call_sync_file_range with cancellation handling.
93916 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93917 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
93918 function name to __call_sync_file_range.
93919 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93920 Add call_sync_file_range.
93921
93922 2011-04-01 Andreas Schwab <schwab@redhat.com>
93923
93924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93925 bits/timex.h.
93926
93927 2011-04-01 Ulrich Drepper <drepper@gmail.com>
93928
93929 * iconv/iconv.h: Fix typo in comment.
93930 * io/fcntl.h: Likewise.
93931 * libio/stdio.h: Likewise.
93932 * posix/spawn.h: Likewise.
93933 * posix/unistd.h: Likewise.
93934 * stdlib/stdlib.h: Likewise.
93935 * time/time.h: Likewise.
93936 * wcsmbs/wchar.h: Likewise.
93937
93938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93939 open_by_handle): Add.
93940 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93941 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
93942 Augment a few comments.
93943 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93944 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93947 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93948 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93949 open_by_handle.
93950
93951 * io/fcntl.h (AT_EMPTY_PATH): Define.
93952
93953 2011-03-30 Ulrich Drepper <drepper@gmail.com>
93954
93955 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93956 * sysdeps/unix/sysv/linux/bits/time.h: New file.
93957 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93958 to...
93959 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
93960 * Versions.def: Add GLIBC_2.14.
93961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93962 Export.
93963
93964 2011-03-22 Ulrich Drepper <drepper@gmail.com>
93965
93966 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93967 round counter.
93968 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93969
93970 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
93971
93972 [BZ #12597]
93973 * string/test-strncmp.c (do_page_test): New function.
93974 (check2): Likewise.
93975 (test_main): Call check2.
93976 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93977
93978 2011-03-20 Ulrich Drepper <drepper@gmail.com>
93979
93980 [BZ #12587]
93981 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93982 Handle cache information in CPU leaf 4.
93983 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93984
93985 2011-03-18 Ulrich Drepper <drepper@gmail.com>
93986
93987 [BZ #12583]
93988 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93989 character representation.
93990 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93991
93992 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
93993
93994 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93995 END(__isnan) to END(__isnanf) to match function entry point/label
93996 EALIGN(__isnanf,...).
93997
93998 2011-03-10 Jakub Jelinek <jakub@redhat.com>
93999
94000 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94001
94002 2011-03-10 Ulrich Drepper <drepper@gmail.com>
94003
94004 [BZ #12510]
94005 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94006 copy from the symbol referenced in the relocation to initialize the
94007 used variable.
94008 Patch by Piotr Bury <pbury@goahead.com>.
94009 * elf/Makefile: Add rules to build and tst-unique3.
94010 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94011 * elf/tst-unique3.cc: New file.
94012 * elf/tst-unique3.h: New file.
94013 * elf/tst-unique3lib.cc: New file.
94014 * elf/tst-unique3lib2.cc: New file.
94015
94016 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94017
94018 2011-03-10 Mike Frysinger <vapier@gentoo.org>
94019
94020 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94021 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
94022 to _start.
94023
94024 2011-03-06 Ulrich Drepper <drepper@gmail.com>
94025
94026 * elf/dl-load.c (_dl_map_object): If we are looking for the first
94027 to-be-loaded object along a path to loader is ld.so.
94028
94029 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94030 Ulrich Drepper <drepper@gmail.com>
94031
94032 * sysdeps/x86_64/memset.S: After aligning destination, code
94033 branches to different locations depending on the value of
94034 misalignment, when multiarch is enabled. Fix this.
94035
94036 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
94037
94038 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94039 Set _x86_64_preferred_memory_instruction for AMD processsors.
94040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94041 Set bit_Prefer_SSE_for_memop for AMD processors.
94042
94043 2011-03-04 Ulrich Drepper <drepper@gmail.com>
94044
94045 * libio/fmemopen.c (fmemopen): Optimize a bit.
94046
94047 2011-03-03 Andreas Schwab <schwab@redhat.com>
94048
94049 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94050
94051 2011-03-03 Roland McGrath <roland@redhat.com>
94052
94053 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94054
94055 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
94056
94057 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94058 __bzero_ultra1 instead of __memset_ultra1.
94059
94060 2011-02-23 Andreas Schwab <schwab@redhat.com>
94061 Ulrich Drepper <drepper@gmail.com>
94062
94063 [BZ #12509]
94064 * include/link.h (struct link_map): Add l_orig_initfini.
94065 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94066 returning unsuccessfully.
94067 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94068 close of a file loaded at startup, restore the original l_initfini
94069 list.
94070 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94071 list, store the pointer.
94072 * elf/Makefile ($(objpfx)noload-mem): New rule.
94073 (noload-ENV): Define.
94074 (tests): Add $(objpfx)noload-mem.
94075 * elf/noload.c: Include <memcheck.h>.
94076 (main): Call mtrace. Close all opened handles.
94077
94078 2011-02-17 Andreas Schwab <schwab@redhat.com>
94079
94080 [BZ #12454]
94081 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94082 dependencies are missing.
94083
94084 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
94085
94086 Fix __if_freereq crash: Unlike the generic version which uses free,
94087 Hurd needs munmap.
94088 * sysdeps/mach/hurd/ifreq.h: New file.
94089
94090 2011-01-27 Petr Baudis <pasky@suse.cz>
94091 Ulrich Drepper <drepper@gmail.com>
94092
94093 [BZ 12445]#
94094 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94095 to extend_alloca().
94096 * stdio-common/bug23.c: New file.
94097 * stdio-common/Makefile (tests): Add bug23.
94098
94099 2010-09-28 Andreas Schwab <schwab@redhat.com>
94100 Ulrich Drepper <drepper@gmail.com>
94101
94102 [BZ #12489]
94103 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94104 before performing relro protection. At old place add assertion
94105 to make sure nothing changed.
94106
94107 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
94108 Glauber de Oliveira Costa <glommer@gmail.com>
94109
94110 * elf/elf.h: Add new ARM TLS relocs.
94111
94112 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
94113
94114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94115 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94116 cast from r3.
94117 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
94118 'tests' variable.
94119 * sysdeps/wordsize-64/tst-writev.c: New file.
94120
94121 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
94122
94123 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94124 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94125 insns in _dl_start to prevent a TOC reference before relocs are
94126 resolved.
94127
94128 2011-02-15 Ulrich Drepper <drepper@gmail.com>
94129
94130 [BZ #12469]
94131 * Makeconfig: Remove RANLIB definition.
94132 * Makerules: Don't use RANLIB.
94133 * aclocal.m4: Remove ranlib test.
94134 * configure.in: No need to check for ranlib.
94135 * elf/rtld-Rules: Don't use RANLIB.
94136
94137 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
94138
94139 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94140 protection macro.
94141 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94142 inclusion protection macro.
94143
94144 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94145 SIGRTMIN and SIGRTMAX and print information in that case only when
94146 SIGRTMIN is defined.
94147
94148 2011-02-11 Jakub Jelinek <jakub@redhat.com>
94149
94150 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94151 arginfo fn returning -1.
94152
94153 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94154 and thousands string is zero terminated.
94155
94156 2011-02-03 Andreas Schwab <schwab@redhat.com>
94157
94158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94159 sysdeps/unix/sysv/linux/bits/socket.h.
94160
94161 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
94162
94163 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94164 (__CPU_COUNT): Remove old macros.
94165 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94166 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94167 (__CPU_ALLOC, __CPU_FREE): Add macros.
94168 (__sched_cpualloc, __sched_cpufree): Add declarations.
94169
94170 2011-02-05 Ulrich Drepper <drepper@gmail.com>
94171
94172 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94173 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94174 * nscd/aicache.c (addhstaiX): Return timeout of added value.
94175 (readdhstai): Return value of addhstaiX call.
94176 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94177 (addgrbyX): Return value returned by cache_addgr.
94178 (readdgrbyname): Return value returned by addgrbyX.
94179 (readdgrbygid): Likewise.
94180 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94181 (addpwbyX): Return value returned by cache_addpw.
94182 (readdpwbyname): Return value returned by addhstbyX.
94183 (readdpwbyuid): Likewise.
94184 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94185 (addservbyX): Return value returned by cache_addserv.
94186 (readdservbyname): Return value returned by addservbyX:
94187 (readdservbyport): Likewise.
94188 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94189 (addhstbyX): Return value returned by cache_addhst.
94190 (readdhstbyname): Return value returned by addhstbyX.
94191 (readdhstbyaddr): Likewise.
94192 (readdhstbynamev6): Likewise.
94193 (readdhstbyaddrv6): Likewise.
94194 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94195 (readdinitgroups): Return value returned by addinitgroupsX.
94196 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94197 (prune_cache): Keep track of timeout value of re-added entries.
94198 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94199 * nscd/nscd.h: Adjust prototypes of readd* functions.
94200
94201 2011-02-04 Roland McGrath <roland@redhat.com>
94202
94203 * nis/nis_server.c (nis_servstate): Use the right name for 0.
94204 (nis_stats): Likewise.
94205 * nis/nis_modify.c (nis_modify): Likewise.
94206 * nis/nis_remove.c (nis_remove): Likewise.
94207 * nis/nis_add.c (nis_add): Likewise.
94208
94209 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94210
94211 * posix/fnmatch_loop.c: Add some consts.
94212
94213 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94214
94215 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
94216
94217 [BZ #12460]
94218 * config.make.in (config-cflags-novzeroupper): Define.
94219 * configure.in: Substitute libc_cv_cc_novzeroupper.
94220 * elf/Makefile (AVX-CFLAGS): Define.
94221 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94222 (CFLAGS-tst-auditmod4a.c): Likewise.
94223 (CFLAGS-tst-auditmod4b.c): Likewise.
94224 (CFLAGS-tst-auditmod6b.c): Likewise.
94225 (CFLAGS-tst-auditmod6c.c): Likewise.
94226 (CFLAGS-tst-auditmod7b.c): Likewise.
94227 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94228
94229 2011-02-02 Ulrich Drepper <drepper@gmail.com>
94230
94231 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94232 function to the callback.
94233 Patch partly by Jiri Olsa <jolsa@redhat.com>.
94234
94235 2011-02-02 Andreas Schwab <schwab@redhat.com>
94236
94237 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94238 of errno.
94239
94240 2011-01-19 Ulrich Drepper <drepper@gmail.com>
94241
94242 [BZ #11724]
94243 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94244 of constructors.
94245 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94246 of destructors.
94247 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94248
94249 [BZ #11724]
94250 * elf/Makefile: Add rules to build and run new test.
94251 * elf/tst-initorder.c: New file.
94252 * elf/tst-initorder.exp: New file.
94253 * elf/tst-initordera1.c: New file.
94254 * elf/tst-initordera2.c: New file.
94255 * elf/tst-initordera3.c: New file.
94256 * elf/tst-initordera4.c: New file.
94257 * elf/tst-initorderb1.c: New file.
94258 * elf/tst-initorderb2.c: New file.
94259 * elf/tst-order-a1.c: New file.
94260 * elf/tst-order-a2.c: New file.
94261 * elf/tst-order-a3.c: New file.
94262 * elf/tst-order-a4.c: New file.
94263 * elf/tst-order-b1.c: New file.
94264 * elf/tst-order-b2.c: New file.
94265 * elf/tst-order-main.c: New file.
94266 New test case by George Gensure <werkt0@gmail.com>.
94267
94268 2010-10-01 Andreas Schwab <schwab@redhat.com>
94269
94270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94271 decoding ACE if AI_CANONIDN.
94272
94273 2011-01-18 Ulrich Drepper <drepper@gmail.com>
94274
94275 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94276
94277 2011-01-17 Ulrich Drepper <drepper@gmail.com>
94278
94279 * version.h (RELEASE): Bump for 2.13 release.
94280 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94281
94282 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94283
94284 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94285 MADV_NOHUGEPAGE.
94286 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94287 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94288 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94289 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94290 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94291 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94292
94293 * posix/getconf.c: Update copyright year.
94294 * catgets/gencat.c: Likewise.
94295 * csu/version.c: Likewise.
94296 * debug/catchsegv.sh: Likewise.
94297 * debug/xtrace.sh: Likewise.
94298 * elf/ldconfig.c: Likewise.
94299 * elf/ldd.bash.in: Likewise.
94300 * elf/sprof.c (print_version): Likewise.
94301 * iconv/iconv_prog.c: Likewise.
94302 * iconv/iconvconfig.c: Likewise.
94303 * locale/programs/locale.c: Likewise.
94304 * locale/programs/localedef.c: Likewise.
94305 * malloc/memusage.sh: Likewise.
94306 * malloc/mtrace.pl: Likewise.
94307 * nscd/nscd.c (print_version): Likewise.
94308 * nss/getent.c: Likewise.
94309
94310 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94311 PF_CAIF, and PF_ALG.
94312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94313
94314 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
94315
94316 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94317 (modules-names): Use them.
94318 (ifunc-test-modules, ifunc-pie-tests): Define.
94319 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94320 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94321 (test-extras): Likewise.
94322 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94323 $(compile-command.c).
94324 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94325 (all-built-dso): Define.
94326 (check-textrel.out, check-execstack.out): Depend on it.
94327
94328 * configure.in: Don't override --enable-multi-arch.
94329
94330 2011-01-15 Ulrich Drepper <drepper@gmail.com>
94331
94332 [BZ #6812]
94333 * nscd/hstcache.c (tryagain): Define.
94334 (cache_addhst): Return tryagain not notfound for temporary errors.
94335 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94336 failed.
94337
94338 2011-01-14 Ulrich Drepper <drepper@gmail.com>
94339
94340 [BZ #10563]
94341 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94342 to make the syscall.
94343 * sysdeps/unix/sysv/linux/setgroups.c: New file.
94344
94345 [BZ #12378]
94346 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94347 and fall back to matching as normal character if the string ends before
94348 the matching ']' is found. This is what POSIX requires.
94349 * posix/testfnm.c: Adjust test result.
94350 * posix/globtest.sh: Adjust test result. Add new test.
94351 * posix/tst-fnmatch.input: Likewise.
94352 * posix/tst-fnmatch2.c: Add new test.
94353
94354 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
94355
94356 * elf/Makefile (check-execstack): Revert last change. Depend on
94357 check-execstack.h.
94358 (check-execstack.h): New target.
94359 (generated): Add check-execstack.h.
94360 * elf/check-execstack.c: Include "check-execstack.h".
94361 (main): Revert last change.
94362 (handle_file): Return zero if GNU_STACK is absent and
94363 DEFAULT_STACK_PERMS doesn't include PF_X.
94364
94365 2011-01-13 Ulrich Drepper <drepper@gmail.com>
94366
94367 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94368 in child fails because the descriptor is already closed.
94369 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94370 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94371 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94372
94373 [BZ #12397]
94374 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94375 syscall.
94376
94377 [BZ #10484]
94378 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94379 temporary buffer used to handle multi lookups locally.
94380 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94381
94382 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94383
94384 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94385 loader is ld.so.
94386
94387 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
94388
94389 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94390 alignment for SSE2.
94391
94392 2011-01-12 Ulrich Drepper <drepper@gmail.com>
94393
94394 [BZ #12394]
94395 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94396 characters. When rounding increased number of integer digits recompute
94397 number of groups.
94398 * stdio-common/tst-grouping.c: New file.
94399 * stdio-common/Makefile: Add rules to build and run tst-grouping.
94400
94401 2011-01-09 Ulrich Drepper <drepper@gmail.com>
94402
94403 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94404 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
94405
94406 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94407 void.
94408 * bits/select.h: Likewise.
94409
94410 2011-01-08 Ulrich Drepper <drepper@gmail.com>
94411
94412 * po/ja.po: Update from translation team.
94413
94414 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
94415
94416 [BZ #11155]
94417 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94418 implementation just like for lxstat, fxstatat, et al.
94419
94420 2010-12-27 Jim Meyering <meyering@redhat.com>
94421
94422 [BZ #12348]
94423 * posix/regexec.c (build_trtable): Return failure indication upon
94424 calloc failure. Otherwise, re_search_internal could infloop on OOM.
94425
94426 2010-12-25 Ulrich Drepper <drepper@gmail.com>
94427
94428 [BZ #12201]
94429 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94430 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94431 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94432 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94433
94434 [BZ #12207]
94435 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94436
94437 [BZ #12204]
94438 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94439 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94440
94441 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
94442
94443 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94444 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94445 script has SORT_BY_INIT_PRIORITY.
94446 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94447 NO_CTORS_DTORS_SECTIONS is defined.
94448 * elf/soinit.c: Likewise.
94449 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94450 NO_CTORS_DTORS_SECTIONS is defined.
94451 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94452 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94453 * sysdeps/sh/init-first.c: Likewise.
94454 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94455
94456 2010-12-24 Ulrich Drepper <drepper@gmail.com>
94457
94458 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94459 always use the slow path.
94460
94461 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
94462
94463 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94464 similar rule which adds the sysdep directories to the header search in
94465 order to pick up the correct platform stackinfo.h.
94466 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94467 perform test if it is, otherwise return successfully without testing.
94468 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94469 DEFAULT_STACK_PERMS define in stackinfo.h.
94470 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94471 defined in stackinfo.h.
94472 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94473 DEFAULT_STACK_PERMS defined in stackinfo.h.
94474 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94475 * sysdeps/ia64/stackinfo.h: Likewise.
94476 * sysdeps/s390/stackinfo.h: Likewise.
94477 * sysdeps/sh/stackinfo.h: Likewise.
94478 * sysdeps/sparc/stackinfo.h: Likewise.
94479 * sysdeps/x86_64/stackinfo.h: Likewise.
94480 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94481 PF_X for powerpc64. Retain PF_X for powerpc32.
94482
94483 2010-12-19 Ulrich Drepper <drepper@gmail.com>
94484
94485 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94486 accurately.
94487 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94488 GETDENTS_64BIT_ALIGNED.
94489
94490 2010-12-14 Ulrich Drepper <dreper@gmail.com>
94491
94492 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94493
94494 2010-12-10 Andreas Schwab <schwab@redhat.com>
94495
94496 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94497 _GNU_SOURCE.
94498
94499 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94500 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94501 Remove __restrict.
94502 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94503 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94504
94505 2010-12-09 Ulrich Drepper <drepper@gmail.com>
94506
94507 [BZ #11655]
94508 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94509 are initialized.
94510
94511 2010-12-09 Jakub Jelinek <jakub@redhat.com>
94512
94513 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94514
94515 2010-12-03 Ulrich Drepper <drepper@gmail.com>
94516
94517 * po/it.po: Update from translation team.
94518
94519 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
94520
94521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94522 unused codes.
94523
94524 2010-11-30 Ulrich Drepper <drepper@gmail.com>
94525
94526 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94527
94528 2010-11-24 Andreas Schwab <schwab@redhat.com>
94529
94530 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94531 specially.
94532 (gaih_getanswer_slice): Likewise.
94533
94534 2010-10-20 Jakub Jelinek <jakub@redhat.com>
94535
94536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94537
94538 2010-05-31 Petr Baudis <pasky@suse.cz>
94539
94540 [BZ #11149]
94541 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94542 silently even in the chroot mode.
94543
94544 2010-11-22 Ulrich Drepper <drepper@gmail.com>
94545
94546 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94547 last patch a bit. Pretty printing
94548
94549 2010-05-31 Petr Baudis <pasky@suse.cz>
94550
94551 [BZ #10085]
94552 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94553 initialization of skip_initgroups_dyn.
94554
94555 2010-11-19 Ulrich Drepper <drepper@gmail.com>
94556
94557 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94559
94560 2010-11-16 Ulrich Drepper <drepper@gmail.com>
94561
94562 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94563
94564 2010-11-11 Andreas Schwab <schwab@redhat.com>
94565
94566 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94567 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94568 (tst-fnmatch-ENV): Set MALLOC_TRACE.
94569 ($(objpfx)tst-fnmatch-mem): New rule.
94570 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94571 * posix/tst-fnmatch.c (main): Call mtrace.
94572
94573 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
94574
94575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94576 Support Intel processor model 6 and model 0x2c.
94577
94578 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
94579
94580 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94581 signed comparison.
94582
94583 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
94584
94585 [BZ #12205]
94586 * string/test-strncasecmp.c (check_result): New function.
94587 (do_one_test): Use it.
94588 (check1): New function.
94589 (test_main): Use it.
94590 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94591 Support strcasecmp and strncasecmp.
94592
94593 2010-11-08 Ulrich Drepper <drepper@gmail.com>
94594
94595 [BZ #12194]
94596 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
94598
94599 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
94600
94601 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94602 IFUNC support.
94603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94604 memset-x86-64.
94605 * sysdeps/x86_64/multiarch/bzero.S: New file.
94606 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94607 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94608 * sysdeps/x86_64/multiarch/memset.S: New file.
94609 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94611 Set bit_Prefer_SSE_for_memop for Intel processors.
94612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94613 Define.
94614 (index_Prefer_SSE_for_memop): Define.
94615 (HAS_PREFER_SSE_FOR_MEMOP): Define.
94616
94617 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
94618
94619 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94620 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94621
94622 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
94623
94624 [BZ #12191]
94625 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94626 (__x86_64_raw_data_cache_size_half): Likewise.
94627 (__x86_64_raw_shared_cache_size): Likewise.
94628 (__x86_64_raw_shared_cache_size_half): Likewise.
94629
94630 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94631 (__x86_64_raw_data_cache_size_half): Likewise.
94632 (__x86_64_raw_shared_cache_size): Likewise.
94633 (__x86_64_raw_shared_cache_size_half): Likewise.
94634 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94635 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94636 and __x86_64_raw_shared_cache_size_half. Round
94637 __x86_64_data_cache_size_half, __x86_64_data_cache_size
94638 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94639 to multiple of 256 bytes.
94640
94641 2010-11-03 Ulrich Drepper <drepper@gmail.com>
94642
94643 [BZ #12167]
94644 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94645 of inacessible symlinks. Verify result of symlink before returning it.
94646 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94647 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94648
94649 2010-10-28 Erich Ritz <erichritz@gmail.com>
94650
94651 * math/math.h (isinf): Fix typo in comment.
94652
94653 2010-11-01 Ulrich Drepper <drepper@gmail.com>
94654
94655 * po/da.po: Update from translation team.
94656
94657 2010-10-26 Ulrich Drepper <drepper@gmail.com>
94658
94659 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
94660 is added to the list.
94661
94662 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94663 Ulrich Drepper <drepper@gmail.com>
94664
94665 * elf/dl-object.c (_dl_new_object): Don't append the new object to
94666 the global list here. Move code to...
94667 (_dl_add_to_namespace_list): ...here. New function.
94668 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
94669 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
94670 * elf/dl-load.c (lose): Don't remove the element from the list.
94671 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
94672 (_dl_map_object): Likewise.
94673
94674 2010-10-25 Ulrich Drepper <drepper@gmail.com>
94675
94676 [BZ #12159]
94677 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
94678 into all bytes of SSE register.
94679 Patch by Richard Li <richardpku@gmail.com>.
94680
94681 2010-10-24 Ulrich Drepper <drepper@gmail.com>
94682
94683 [BZ #12140]
94684 * malloc/malloc.c (_int_free): Fill correct number of bytes when
94685 perturbing.
94686
94687 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
94688
94689 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
94690 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
94691 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
94692 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
94693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
94694 submachine.
94695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
94696
94697 2010-10-22 Andreas Schwab <schwab@redhat.com>
94698
94699 * include/dlfcn.h (__RTLD_SECURE): Define.
94700 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
94701 mode & __RTLD_SECURE instead.
94702 (open_path): Rename preloaded parameter to secure.
94703 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
94704 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
94705 * elf/dl-deps.c (openaux): Likewise.
94706 * elf/rtld.c (struct map_args): Remove is_preloaded.
94707 (map_doit): Don't use it.
94708 (dl_main): Likewise.
94709 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
94710 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
94711
94712 2010-09-09 Andreas Schwab <schwab@redhat.com>
94713
94714 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94715 (sysd-rules-targets): Remove duplicates.
94716 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
94717 rtld-%.$o dependency.
94718
94719 2010-10-18 Andreas Schwab <schwab@redhat.com>
94720
94721 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
94722 _dl_map_object do it.
94723
94724 2010-10-19 Ulrich Drepper <drepper@gmail.com>
94725
94726 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
94727 fast fma builtins, define the macros in the C99 standard.
94728 (FP_FAST_FMAF): Likewise.
94729 (FP_FAST_FMAL): Likewise.
94730 * sysdeps/x86_64/bits/mathdef.h: Likewise.
94731
94732 * bits/mathdef.h: Update copyright year.
94733 * sysdeps/powerpc/bits/mathdef.h: Likewise.
94734
94735 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
94736
94737 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
94738 builtins, define the macros in the C99 standard.
94739 (FP_FAST_FMAF): Likewise.
94740 (FP_FAST_FMAL): Likewise.
94741 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
94742 multiply/add.
94743 (FP_FAST_FMAF): Likewise.
94744
94745 2010-10-15 Jakub Jelinek <jakub@redhat.com>
94746
94747 [BZ #3268]
94748 * math/libm-test.inc (fma_test): Some new testcases.
94749 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
94750 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
94751 y and infinite z. Do multiplication by C already in long double.
94752 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
94753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
94754 y and infinite z. Do bitwise or of inexact bit into u.d.
94755 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
94756 * sysdeps/i386/fpu/s_fmaf.S: Removed.
94757 * sysdeps/i386/fpu/s_fma.S: Removed.
94758 * sysdeps/i386/fpu/s_fmal.S: Removed.
94759
94760 2010-10-16 Jakub Jelinek <jakub@redhat.com>
94761
94762 [BZ #3268]
94763 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
94764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
94765 computation is not scheduled after fetestexcept. Fix value
94766 of minimum denormal long double.
94767
94768 2010-10-14 Jakub Jelinek <jakub@redhat.com>
94769
94770 [BZ #3268]
94771 * math/libm-test.inc (fma_test): Add some more tests.
94772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
94773 correctly.
94774
94775 2010-10-15 Andreas Schwab <schwab@redhat.com>
94776
94777 * scripts/data/localplt-s390-linux-gnu.data: New file.
94778 * scripts/data/localplt-s390x-linux-gnu.data: New file.
94779
94780 2010-10-13 Jakub Jelinek <jakub@redhat.com>
94781
94782 [BZ #3268]
94783 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94784 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94785 instead of dbl-64.
94786 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94787 inlines.
94788 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94790 if one of x and y is very large and the other is subnormal.
94791 * sysdeps/s390/fpu/s_fmaf.c: New file.
94792 * sysdeps/s390/fpu/s_fma.c: New file.
94793 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94794 * sysdeps/powerpc/fpu/s_fma.S: New file.
94795 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94796 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94797 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94798
94799 2010-10-12 Jakub Jelinek <jakub@redhat.com>
94800
94801 [BZ #3268]
94802 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94803 fma tests.
94804 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94805 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94806 * sysdeps/i386/i686/multiarch/s_fma.c: Include
94807 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94808 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94809 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94810 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94811
94812 2010-10-12 Ulrich Drepper <drepper@redhat.com>
94813
94814 [BZ #12078]
94815 * posix/regcomp.c (parse_branch): One more memory leak plugged.
94816 * posix/bug-regex31.input: Add test case.
94817
94818 2010-10-11 Ulrich Drepper <drepper@gmail.com>
94819
94820 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94821 * posix/bug-regex31.input: New file.
94822
94823 [BZ #12078]
94824 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94825 (parse_sub_exp): Fix last change, use postorder.
94826
94827 * posix/bug-regex31.c: New file.
94828 * posix/Makefile: Add rules to build and run bug-regex31.
94829
94830 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94831
94832 [BZ #12078]
94833 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94834
94835 [BZ #12108]
94836 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94837 to have entries in sys_siglist.
94838
94839 [BZ #12093]
94840 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94841 be NULL.
94842
94843 2010-10-07 Jakub Jelinek <jakub@redhat.com>
94844
94845 [BZ #3268]
94846 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94847 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94848 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94849 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94850 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94851 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94852 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94853 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94854 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94855 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94856 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94857 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94858 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94859 * math/ftestexcept.c (fetestexcept): Likewise.
94860 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94861 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94862 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94863 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94864 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94865 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94867
94868 2010-10-11 Ulrich Drepper <drepper@gmail.com>
94869
94870 [BZ #12107]
94871 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94872 newline.
94873
94874 2010-10-06 Ulrich Drepper <drepper@gmail.com>
94875
94876 * string/bug-strstr1.c: New file.
94877 * string/Makefile: Add rules to build and run bug-strstr1.
94878
94879 2010-10-05 Eric Blake <eblake@redhat.com>
94880
94881 [BZ #12092]
94882 * string/str-two-way.h (two_way_long_needle): Always clear memory
94883 when skipping input due to the shift table.
94884
94885 2010-10-03 Ulrich Drepper <drepper@gmail.com>
94886
94887 [BZ #12005]
94888 * malloc/mcheck.c: Handle large requests.
94889
94890 [BZ #12077]
94891 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94892 for strncmp and strncasecmp.
94893 * string/stratcliff.c: Add tests for strcmp and strncmp.
94894 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94895
94896 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
94897
94898 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94899 __set_fpscr.
94900
94901 2010-09-30 Andreas Jaeger <aj@suse.de>
94902
94903 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94904 (CGROUP_SUPER_MAGIC): Define.
94905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94906 Handle btrfs and cgroup file systems.
94907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94908 Likewise.
94909
94910 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
94911
94912 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94913 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94914
94915 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
94916
94917 [BZ #12067]
94918 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94919 trying to locate the ELF header.
94920
94921 2010-09-27 Andreas Schwab <schwab@redhat.com>
94922
94923 [BZ #11611]
94924 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94925 Mask out sign-bit copies when constructing f_fsid.
94926
94927 2010-09-24 Petr Baudis <pasky@suse.cz>
94928
94929 * debug/stack_chk_fail_local.c: Add missing licence exception.
94930 * debug/warning-nop.c: Likewise.
94931
94932 2010-09-15 Joseph Myers <joseph@codesourcery.com>
94933
94934 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94935 implementing getdents64 using getdents syscall, set d_type if
94936 __ASSUME_GETDENTS32_D_TYPE.
94937
94938 2010-09-16 Andreas Schwab <schwab@redhat.com>
94939
94940 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94941 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94942
94943 2010-09-21 Ulrich Drepper <drepper@redhat.com>
94944
94945 [BZ #12037]
94946 * posix/unistd.h: Undo change of feature selection for ftruncate from
94947 2010-01-11.
94948
94949 2010-09-20 Ulrich Drepper <drepper@redhat.com>
94950
94951 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94952 detection.
94953
94954 2010-09-20 Andreas Schwab <schwab@redhat.com>
94955
94956 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94957 fanotify_mark.
94958 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94959
94960 2010-09-14 Andreas Schwab <schwab@redhat.com>
94961
94962 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94963 variables after CHECK_SP call.
94964 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94965
94966 2010-09-13 Andreas Schwab <schwab@redhat.com>
94967 Ulrich Drepper <drepper@redhat.com>
94968
94969 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94970 re-relocationg ld.so.
94971 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94972 _dl_init_paths call.
94973 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
94974 here anymore.
94975
94976 2010-09-14 Ulrich Drepper <drepper@redhat.com>
94977
94978 * resolv/res_init.c (__res_vinit): Count the default server we added.
94979
94980 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
94981 Ulrich Drepper <drepper@redhat.com>
94982
94983 [BZ #11968]
94984 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94985 (____longjmp_chk): Use %ebx for saving value across system call.
94986 Add unwind info.
94987
94988 2010-09-06 Andreas Schwab <schwab@redhat.com>
94989
94990 * manual/Makefile: Don't mix pattern rules with normal rules.
94991
94992 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
94993
94994 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94995 operation.
94996 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94997 * libio/iofopncook.c (_IO_cookie_init): Likewise.
94998 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94999 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95001 Likewise.
95002
95003 2010-09-04 Ulrich Drepper <drepper@redhat.com>
95004
95005 [BZ #11979]
95006 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95007 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95008
95009 2010-09-02 Ulrich Drepper <drepper@redhat.com>
95010
95011 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95012 * sysdeps/x86_64/addmul_1.S: Likewise.
95013 * sysdeps/x86_64/lshift.S: Likewise.
95014 * sysdeps/x86_64/mul_1.S: Likewise.
95015 * sysdeps/x86_64/rshift.S: Likewise.
95016 * sysdeps/x86_64/sub_n.S: Likewise.
95017 * sysdeps/x86_64/submul_1.S: Likewise.
95018
95019 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
95020
95021 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95022 Define __sched_param instead of SCHED_* and sched_param when
95023 <bits/sched.h> is included with __need_schedparam defined.
95024 * bits/sched.h [__need_schedparam]
95025 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95026 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95027 (__defined_schedparam): Define to 1.
95028 (__sched_param): New structure, identical to sched_param.
95029 (__need_schedparam): Undefine.
95030
95031 2010-08-31 Mike Frysinger <vapier@gentoo.org>
95032
95033 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95034 (epoll_create1): Declare.
95035
95036 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95037
95038 2010-08-31 Andreas Schwab <schwab@redhat.com>
95039
95040 [BZ #7066]
95041 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95042 shifting retval into place.
95043
95044 2010-09-01 Ulrich Drepper <drepper@redhat.com>
95045
95046 * nis/rpcsvc/nis.h: Update copyright notice.
95047 * nis/rpcsvc/nis.x: Likewise.
95048 * nis/rpcsvc/nis_callback.h: Likewise.
95049 * nis/rpcsvc/nis_callback.x: Likewise.
95050 * nis/rpcsvc/nis_object.x: Likewise.
95051 * nis/rpcsvc/nis_tags.h: Likewise.
95052 * nis/rpcsvc/yp.h: Likewise.
95053 * nis/rpcsvc/yp.x: Likewise.
95054 * nis/rpcsvc/ypupd.h: Likewise.
95055 * nis/yp_xdr.c: Likewise.
95056 * nis/ypupdate_xdr.c: Likewise.
95057
95058 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
95059 mainly the body of pmap_getport. Add parameters to specify timeouts.
95060 (pmap_getport): Use __libc_rpc_getport.
95061 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95062 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95063 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95064
95065 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
95066
95067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95068 fanotify_mark.
95069
95070 2010-08-27 Roland McGrath <roland@redhat.com>
95071
95072 * sysdeps/i386/i686/multiarch/Makefile
95073 (CFLAGS-varshift.c): New variable.
95074
95075 2010-08-27 Ulrich Drepper <drepper@redhat.com>
95076
95077 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95078 * sysdeps/i386/i686/multiarch/varshift.c: New file.
95079
95080 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95081
95082 * sysdeps/x86_64/strlen.S: Minimal code improvement.
95083
95084 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
95085
95086 * sysdeps/x86_64/strlen.S: Unroll the loop.
95087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95088 strlen-sse2 strlen-sse2-bsf.
95089 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95090 __strlen_no_bsf if bit_Slow_BSF is set.
95091 (__strlen_sse42): Removed.
95092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95093 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95094
95095 2010-08-25 Roland McGrath <roland@redhat.com>
95096
95097 * sysdeps/x86_64/multiarch/varshift.S: File removed.
95098 * sysdeps/x86_64/multiarch/varshift.c: New file.
95099 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95100 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95101 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95102 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95103
95104 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
95105
95106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95107 strlen-sse2 strlen-sse2-bsf.
95108 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95109 __strlen_sse2_bsf if bit_Slow_BSF is unset.
95110 (__strlen_sse2): Removed.
95111 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95112 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95114 bit_Slow_BSF for Atom.
95115 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95116 (index_Slow_BSF): Define.
95117 (HAS_SLOW_BSF): Define.
95118
95119 2010-08-25 Ulrich Drepper <drepper@redhat.com>
95120
95121 [BZ #10851]
95122 * resolv/res_init.c (__res_vinit): When no server address at all
95123 is given default to loopback.
95124
95125 2010-08-24 Roland McGrath <roland@redhat.com>
95126
95127 * configure.in: Remove config-name.h generation.
95128 * configure: Regenerated.
95129 * config-name.in: File removed.
95130 * scripts/config-uname.sh: New file.
95131 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95132 ($(objdir)config-name.h): New target.
95133
95134 * sunrpc/rpc_parse.h: Avoid nested comment.
95135
95136 2010-08-24 Richard Henderson <rth@redhat.com>
95137 Ulrich Drepper <drepper@redhat.com>
95138 H.J. Lu <hongjiu.lu@intel.com>
95139
95140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95142 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95143 Replace _mm_srli_si128 with __m128i_shift_right. Replace
95144 _mm_alignr_epi8 with _mm_loadu_si128.
95145 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95146 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95147 (__m128i_shift_right): Removed.
95148 * sysdeps/i386/i686/multiarch/varshift.h: New file.
95149 * sysdeps/i386/i686/multiarch/varshift.S: New file.
95150 * sysdeps/x86_64/multiarch/varshift.h: New file.
95151 * sysdeps/x86_64/multiarch/varshift.S: New file.
95152
95153 2010-08-21 Mike Frysinger <vapier@gentoo.org>
95154
95155 * configure.in: Move assembler checks to before sysdep dir checking.
95156
95157 2010-08-20 Petr Baudis <pasky@suse.cz>
95158
95159 * LICENSES: Sync the sunrpc license.
95160
95161 2010-08-19 Ulrich Drepper <drepper@redhat.com>
95162
95163 * sunrpc/auth_des.c: Update copyright notice once again.
95164 * sunrpc/auth_none.c: Likewise.
95165 * sunrpc/auth_unix.c: Likewise.
95166 * sunrpc/authdes_prot.c: Likewise.
95167 * sunrpc/authuxprot.c: Likewise.
95168 * sunrpc/bindrsvprt.c: Likewise.
95169 * sunrpc/clnt_gen.c: Likewise.
95170 * sunrpc/clnt_perr.c: Likewise.
95171 * sunrpc/clnt_raw.c: Likewise.
95172 * sunrpc/clnt_simp.c: Likewise.
95173 * sunrpc/clnt_tcp.c: Likewise.
95174 * sunrpc/clnt_udp.c: Likewise.
95175 * sunrpc/clnt_unix.c: Likewise.
95176 * sunrpc/des_crypt.c: Likewise.
95177 * sunrpc/des_soft.c: Likewise.
95178 * sunrpc/get_myaddr.c: Likewise.
95179 * sunrpc/getrpcport.c: Likewise.
95180 * sunrpc/key_call.c: Likewise.
95181 * sunrpc/key_prot.c: Likewise.
95182 * sunrpc/openchild.c: Likewise.
95183 * sunrpc/pm_getmaps.c: Likewise.
95184 * sunrpc/pm_getport.c: Likewise.
95185 * sunrpc/pmap_clnt.c: Likewise.
95186 * sunrpc/pmap_prot.c: Likewise.
95187 * sunrpc/pmap_prot2.c: Likewise.
95188 * sunrpc/pmap_rmt.c: Likewise.
95189 * sunrpc/rpc/auth.h: Likewise.
95190 * sunrpc/rpc/auth_unix.h: Likewise.
95191 * sunrpc/rpc/clnt.h: Likewise.
95192 * sunrpc/rpc/des_crypt.h: Likewise.
95193 * sunrpc/rpc/key_prot.h: Likewise.
95194 * sunrpc/rpc/netdb.h: Likewise.
95195 * sunrpc/rpc/pmap_clnt.h: Likewise.
95196 * sunrpc/rpc/pmap_prot.h: Likewise.
95197 * sunrpc/rpc/pmap_rmt.h: Likewise.
95198 * sunrpc/rpc/rpc.h: Likewise.
95199 * sunrpc/rpc/rpc_des.h: Likewise.
95200 * sunrpc/rpc/rpc_msg.h: Likewise.
95201 * sunrpc/rpc/svc.h: Likewise.
95202 * sunrpc/rpc/svc_auth.h: Likewise.
95203 * sunrpc/rpc/types.h: Likewise.
95204 * sunrpc/rpc/xdr.h: Likewise.
95205 * sunrpc/rpc_clntout.c: Likewise.
95206 * sunrpc/rpc_cmsg.c: Likewise.
95207 * sunrpc/rpc_common.c: Likewise.
95208 * sunrpc/rpc_cout.c: Likewise.
95209 * sunrpc/rpc_dtable.c: Likewise.
95210 * sunrpc/rpc_hout.c: Likewise.
95211 * sunrpc/rpc_main.c: Likewise.
95212 * sunrpc/rpc_parse.c: Likewise.
95213 * sunrpc/rpc_parse.h: Likewise.
95214 * sunrpc/rpc_prot.c: Likewise.
95215 * sunrpc/rpc_sample.c: Likewise.
95216 * sunrpc/rpc_scan.c: Likewise.
95217 * sunrpc/rpc_scan.h: Likewise.
95218 * sunrpc/rpc_svcout.c: Likewise.
95219 * sunrpc/rpc_tblout.c: Likewise.
95220 * sunrpc/rpc_util.c: Likewise.
95221 * sunrpc/rpc_util.h: Likewise.
95222 * sunrpc/rpcinfo.c: Likewise.
95223 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95224 * sunrpc/rpcsvc/key_prot.x: Likewise.
95225 * sunrpc/rpcsvc/klm_prot.x: Likewise.
95226 * sunrpc/rpcsvc/mount.x: Likewise.
95227 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95228 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95229 * sunrpc/rpcsvc/rex.x: Likewise.
95230 * sunrpc/rpcsvc/rstat.x: Likewise.
95231 * sunrpc/rpcsvc/rusers.x: Likewise.
95232 * sunrpc/rpcsvc/sm_inter.x: Likewise.
95233 * sunrpc/rpcsvc/spray.x: Likewise.
95234 * sunrpc/rpcsvc/yppasswd.x: Likewise.
95235 * sunrpc/rtime.c: Likewise.
95236 * sunrpc/svc.c: Likewise.
95237 * sunrpc/svc_auth.c: Likewise.
95238 * sunrpc/svc_authux.c: Likewise.
95239 * sunrpc/svc_raw.c: Likewise.
95240 * sunrpc/svc_run.c: Likewise.
95241 * sunrpc/svc_simple.c: Likewise.
95242 * sunrpc/svc_tcp.c: Likewise.
95243 * sunrpc/svc_udp.c: Likewise.
95244 * sunrpc/svc_unix.c: Likewise.
95245 * sunrpc/svcauth_des.c: Likewise.
95246 * sunrpc/xcrypt.c: Likewise.
95247 * sunrpc/xdr.c: Likewise.
95248 * sunrpc/xdr_array.c: Likewise.
95249 * sunrpc/xdr_float.c: Likewise.
95250 * sunrpc/xdr_mem.c: Likewise.
95251 * sunrpc/xdr_rec.c: Likewise.
95252 * sunrpc/xdr_ref.c: Likewise.
95253 * sunrpc/xdr_sizeof.c: Likewise.
95254 * sunrpc/xdr_stdio.c: Likewise.
95255
95256 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95257 handling.
95258
95259 2010-08-19 Andreas Schwab <schwab@redhat.com>
95260
95261 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95262
95263 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
95264
95265 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95266 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95267 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95268 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95269 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95270 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95271 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95272 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95273 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95274 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95275 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95276 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95277 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95278 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95279
95280 2010-07-26 Anton Blanchard <anton@samba.org>
95281
95282 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95283 * malloc/arena.c (heap_trim): Likewise.
95284
95285 2010-08-16 Ulrich Drepper <drepper@redhat.com>
95286
95287 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95288 here. Not...
95289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95290 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95291
95292 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
95293
95294 * sysdeps/i386/elf/Makefile: New file.
95295
95296 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95297
95298 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95299 from fanotify_init.
95300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95302
95303 2010-08-15 Ulrich Drepper <drepper@redhat.com>
95304
95305 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95306 of strncasecmp_l.
95307 * sysdeps/multiarch/strcmp.S: Likewise.
95308
95309 2010-08-14 Ulrich Drepper <drepper@redhat.com>
95310
95311 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95312 strncase_l-nonascii.
95313 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95314 Add strncase_l-ssse3.
95315 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95316 * sysdeps/x86_64/strcmp.S: Likewise.
95317 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95318 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95319 * sysdeps/x86_64/strncase.S: New file.
95320 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95321 * sysdeps/x86_64/strncase_l.S: New file.
95322 * string/Makefile (strop-tests): Add strncasecmp.
95323 * string/test-strncasecmp.c: New file.
95324
95325 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95326 warning.
95327
95328 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95329 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95330
95331 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
95332
95333 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95334
95335 2010-08-12 Ulrich Drepper <drepper@redhat.com>
95336
95337 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95338 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95339 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95340
95341 2010-05-01 Alan Modra <amodra@gmail.com>
95342
95343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95344 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95345 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95346 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95347 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95348 tidying. Don't tail-call __sigjmp_save for static lib.
95349 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95350 save location.
95351 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95352 (CALL_MCOUNT): Add eh info, and nop after bl.
95353 (TAIL_CALL_SYSCALL_ERROR): New macro.
95354 (PSEUDO_RET): Use it.
95355 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95356 Correct save location of integer regs and cr.
95357 (_dl_profile_resolve): Correct cr save location. Delete nops
95358 after bl when SHARED. Reduce cfi size a little by better
95359 placement of cfi directives.
95360 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95361 make a stack frame. Instead use parm save area as a temp.
95362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95363 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
95364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95365 Don't make a stack frame for parent, use parm save area.
95366 Increase child stack frame to 112 bytes. Don't save unused reg,
95367 and adjust reg usage. Set up cfi on error recovery and
95368 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95370 (__makecontext): Add dummy nop after jump to exit.
95371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95372 Use correct parm save area and cr save, reduce stack frame.
95373 Correct cfi for possible PSEUDO_RET frame setup.
95374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95375 Branch to local label emitted by PSEUDO_RET rather than
95376 __syscall_error.
95377
95378 2010-08-12 Andreas Schwab <schwab@redhat.com>
95379
95380 [BZ #11904]
95381 * locale/programs/locale.c (print_assignment): New function.
95382 (show_locale_vars): Use it.
95383
95384 2010-08-11 Ulrich Drepper <drepper@redhat.com>
95385
95386 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95387 field.
95388 (struct statfs64): Likewise.
95389 (_STATFS_F_FLAGS): Define.
95390 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95391 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95392 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95393 (ST_VALID): Define locally.
95394 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95395 __statvfs_getflags, use the provided value.
95396 * sysdeps/unix/sysv/linux/kernel-features.h: Define
95397 __ASSUME_STATFS_F_FLAGS.
95398
95399 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95400
95401 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95402 Add sys/fanotify.h.
95403 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95404 fanotify_mask for GLIBC_2.13.
95405 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95406 fanotify_init and fanotify_mark.
95407 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95408 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95409
95410 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95411 Add prlimit.
95412 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95413 prlimit64 for GLIBC_2.13.
95414 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95415 prlimit64.
95416 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95417 syscall.
95418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95420 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95421 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95422 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
95423 add prlimit alias.
95424 * sysdeps/unix/sysv/linux/prlimit.c: New file.
95425
95426 [BZ #11903]
95427 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95428 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95429
95430 * nss/Makefile: Add rules to build and run tst-nss-test1.
95431 * shlib-versions: Add entry for libnss_test1.
95432 * nss/nss_test1.c: New file.
95433 * nss/tst-nss-test1.c: New file.
95434
95435 * nss/nsswitch.c (__nss_database_custom): Define new variable.
95436 (__nss_configure_lookup): Set appropriate entry in
95437 __nss_configure_lookup to true.
95438 * nss/nsswitch.h: Define enum with indeces of databases in
95439 databases and __nss_database_custom arrays. Declare
95440 __nss_database_custom.
95441 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95442 to avoid using nscd when custom rules are installed.
95443 * nss/getXXbyYY_r.c: Likewise.
95444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95445
95446 * nss/nss_files/files-parse.c: Whitespace fixes.
95447
95448 2010-08-09 Ulrich Drepper <drepper@redhat.com>
95449
95450 [BZ #11883]
95451 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95452 * posix/fnmatch_loop.c: Likewise.
95453
95454 2010-07-17 Andi Kleen <ak@linux.intel.com>
95455
95456 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95457 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95458 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95459 * Versions.def [GLIBC_2.13]: Add.
95460
95461 2010-08-06 Ulrich Drepper <drepper@redhat.com>
95462
95463 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95464 Also fail if tpwd after pwuid call is NULL.
95465
95466 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
95467
95468 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95469 when converting to ms.
95470
95471 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
95472
95473 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95474 EOPNOTSUPP errors with ENOTTY.
95475 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95476 EOPNOTSUPP errors with ENOTTY.
95477
95478 2010-07-31 Ulrich Drepper <drepper@redhat.com>
95479
95480 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95481 Add strcasecmp_l-ssse3.
95482 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95483 strcasecmp.
95484 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95485 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95486 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95487
95488 2010-07-30 Ulrich Drepper <drepper@redhat.com>
95489
95490 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95491
95492 * string/Makefile (strop-tests): Add strcasecmp.
95493 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95494 strcasecmp_l-nonascii.
95495 (gen-as-const-headers): Add locale-defines.sym.
95496 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95497 * sysdeps/x86_64/strcasecmp.S: New file.
95498 * sysdeps/x86_64/strcasecmp_l.S: New file.
95499 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95500 * sysdeps/x86_64/locale-defines.sym: New file.
95501 * string/test-strcasecmp.c: New file.
95502
95503 * string/test-strcasestr.c: Test both ends of the range of characters.
95504 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95505
95506 2010-07-29 Roland McGrath <roland@redhat.com>
95507
95508 [BZ #11856]
95509 * manual/locale.texi (Yes-or-No Questions): Fix example code.
95510
95511 2010-07-27 Ulrich Drepper <drepper@redhat.com>
95512
95513 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95514 for ld.so.
95515
95516 2010-07-27 Andreas Schwab <schwab@redhat.com>
95517
95518 * manual/memory.texi (Malloc Tunable Parameters): Document
95519 M_PERTURB.
95520
95521 2010-07-26 Roland McGrath <roland@redhat.com>
95522
95523 [BZ #11840]
95524 * configure.in (-fgnu89-inline check): Set and substitute
95525 gnu89_inline, not libc_cv_gnu89_inline.
95526 * configure: Regenerated.
95527 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95528
95529 2010-07-26 Ulrich Drepper <drepper@redhat.com>
95530
95531 * string/test-strnlen.c: New file.
95532 * string/Makefile (strop-tests): Add strnlen.
95533 * string/tester.c (test_strnlen): Add a few more test cases.
95534 * string/tst-strlen.c: Better error reporting.
95535
95536 * sysdeps/x86_64/strnlen.S: New file.
95537
95538 2010-07-24 Ulrich Drepper <drepper@redhat.com>
95539
95540 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95541 lower-latency instructions.
95542
95543 2010-07-23 Ulrich Drepper <drepper@redhat.com>
95544
95545 * string/test-strcasestr.c: New file.
95546 * string/test-strstr.c: New file.
95547 * string/Makefile (strop-tests): Add strstr and strcasestr.
95548 * string/str-two-way.h: Don't undefine MAX.
95549 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95550
95551 2010-07-21 Andreas Schwab <schwab@redhat.com>
95552
95553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95554 strcasestr-nonascii.
95555 (CFLAGS-strcasestr-nonascii.c): Define.
95556 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95558 Remove unused attribute.
95559
95560 2010-07-20 Roland McGrath <roland@redhat.com>
95561
95562 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95563 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
95564 ld.so.cache was broken. With it, there is no way to disable dsocaps
95565 like LD_HWCAP_MASK can disable hwcaps.
95566
95567 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95568
95569 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95570
95571 2010-07-16 Ulrich Drepper <drepper@redhat.com>
95572
95573 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95574 call in strcasestr.
95575 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95576 __strcasestr_sse42_nonascii.
95577 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95578 strcasestr-nonascii.c.
95579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95580
95581 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
95582
95583 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95585 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95586 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95587
95588 2010-07-09 Ulrich Drepper <drepper@redhat.com>
95589
95590 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95591 fcntl.
95592
95593 2010-07-06 Andreas Schwab <schwab@redhat.com>
95594
95595 [BZ #11577]
95596 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95597 dl_signal_cerror.
95598
95599 2010-07-06 Ulrich Drepper <drepper@redhat.com>
95600
95601 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95602 _PC_PIPE_BUF using F_GETPIPE_SZ.
95603
95604 2010-07-05 Roland McGrath <roland@redhat.com>
95605
95606 * manual/arith.texi (Rounding Functions): Fix rint description
95607 implicit in round description.
95608
95609 2010-07-02 Ulrich Drepper <drepper@redhat.com>
95610
95611 * elf/Makefile: Fix linking for a few tests to make recent linker
95612 happy.
95613
95614 2010-06-30 Andreas Schwab <schwab@redhat.com>
95615
95616 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95617 $(common-objpfx)libc_nonshared.a.
95618
95619 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
95620
95621 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95622 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95623 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95624 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95625 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95626 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95627 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95628 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95643 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95644 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95645 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95646 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95647 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95648 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95649 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95650 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95651 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95652 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95653 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95654 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
95658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
95659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
95660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
95661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
95662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
95663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
95664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
95665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
95666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
95667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
95668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
95669
95670 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
95671
95672 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
95673 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
95674 * string/memmove.c (memmove): Renamed to ...
95675 (MEMMOVE): ...this. Default to memmove.
95676 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
95677 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
95678 (END_CHK): Define.
95679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95680 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
95681 mempcpy-ssse3-back memmove-ssse3-back.
95682 * sysdeps/x86_64/multiarch/bcopy.S: New file .
95683 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
95684 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
95685 * sysdeps/x86_64/multiarch/memcpy.S: New file.
95686 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
95687 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
95688 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
95689 * sysdeps/x86_64/multiarch/memmove.c: New file.
95690 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
95691 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
95692 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
95693 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
95694 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
95695 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
95696 Define.
95697 (index_Fast_Copy_Backward): Define.
95698 (HAS_ARCH_FEATURE): Define.
95699 (HAS_FAST_REP_STRING): Define.
95700 (HAS_FAST_COPY_BACKWARD): Define.
95701
95702 2010-06-21 Andreas Schwab <schwab@redhat.com>
95703
95704 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95705 Restore proper fallback handling.
95706
95707 2010-06-19 Ulrich Drepper <drepper@redhat.com>
95708
95709 [BZ #11701]
95710 * posix/group_member.c (__group_member): Correct checking loop.
95711
95712 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
95713 OOM in getpwuid_r correctly. Return error number when the caller
95714 should return, otherwise -1.
95715 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
95716 call returning > 0 value.
95717 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
95718
95719 2010-06-07 Andreas Schwab <schwab@redhat.com>
95720
95721 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
95722 libc_nonshared.a from targets in modules-names.
95723
95724 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
95725
95726 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
95727 requires it.
95728
95729 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
95730
95731 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
95732 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
95733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
95734 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
95735
95736 2010-06-02 Andreas Schwab <schwab@redhat.com>
95737
95738 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
95739
95740 2010-06-14 Ulrich Drepper <drepper@redhat.com>
95741
95742 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
95743 and F_GETPIPE_SZ.
95744 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
95745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
95746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
95747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
95748 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
95749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
95750
95751 2010-06-14 Roland McGrath <roland@redhat.com>
95752
95753 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
95754
95755 2010-06-07 Jakub Jelinek <jakub@redhat.com>
95756
95757 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
95758 __REDIRECT followed by __THROW.
95759 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
95760 * posix/getopt.h (getopt): Likewise.
95761
95762 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
95763
95764 * hurd/lookup-at.c (__file_name_lookup_at): Accept
95765 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
95766 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
95767 in AT_FLAGS.
95768 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
95769 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
95770
95771 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
95772
95773 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
95774
95775 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
95776
95777 [BZ #11640]
95778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95779 Properly check family and model.
95780
95781 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
95782
95783 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95784
95785 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
95786
95787 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95788
95789 2010-05-21 Ulrich Drepper <drepper@redhat.com>
95790
95791 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95792 symbol reference.
95793
95794 2010-05-19 Andreas Schwab <schwab@redhat.com>
95795
95796 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95797 symbol reference.
95798
95799 2010-05-21 Andreas Schwab <schwab@redhat.com>
95800
95801 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95802 and internal_recvmmsg.
95803 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95804 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95805 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95806 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95807
95808 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95809 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95810 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95811
95812 2010-05-20 Andreas Schwab <schwab@redhat.com>
95813
95814 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95815
95816 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
95817
95818 POWER7 optimizations.
95819 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95820 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95821
95822 2010-05-19 Ulrich Drepper <drepper@redhat.com>
95823
95824 * version.h: Update for 2.13 development version.
95825
95826 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
95827
95828 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95829 exceptions. Return 0.
95830
95831 2010-05-07 Roland McGrath <roland@redhat.com>
95832
95833 * elf/ldconfig.c (main): Add a const.
95834
95835 2010-05-06 Ulrich Drepper <drepper@redhat.com>
95836
95837 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95838 (args_options): Add no-idn option.
95839 (ahosts_keys_int): Add idn_flags to ai_flags.
95840 (parse_option): Handle 'i' option to clear idn_flags.
95841
95842 * malloc/malloc.c (_int_free): Possible race in the most recently
95843 added check. Only act on the data if no current modification
95844 happened.
95845
95846 See ChangeLog.17 for earlier changes.